curl -X POST "https://api.danubeai.com/v1/skills" \ -H "danube-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "pdf-processing", "skill_md_content": "---\ndescription: Extract and process PDF documents\n---\n\n# PDF Processing\n\n## Steps\n1. Parse the PDF file\n2. Extract text content\n3. Return structured data", "scripts": [ {"name": "extract.py", "content": "import fitz\n\ndef extract(path):\n doc = fitz.open(path)\n return [p.get_text() for p in doc]"} ], "visibility": "private" }'
Copy
{ "id": "skill_abc123", "name": "pdf-processing", "description": "Extract and process PDF documents", "skill_md": "---\ndescription: Extract and process PDF documents\n---\n\n# PDF Processing\n...", "scripts": [ {"name": "extract.py", "content": "..."} ], "references": [], "assets": [], "visibility": "private", "created_at": "2026-02-24T12:00:00Z"}
Skills
Create Skill
Create a new skill
POST
/
v1
/
skills
Copy
curl -X POST "https://api.danubeai.com/v1/skills" \ -H "danube-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "pdf-processing", "skill_md_content": "---\ndescription: Extract and process PDF documents\n---\n\n# PDF Processing\n\n## Steps\n1. Parse the PDF file\n2. Extract text content\n3. Return structured data", "scripts": [ {"name": "extract.py", "content": "import fitz\n\ndef extract(path):\n doc = fitz.open(path)\n return [p.get_text() for p in doc]"} ], "visibility": "private" }'
Copy
{ "id": "skill_abc123", "name": "pdf-processing", "description": "Extract and process PDF documents", "skill_md": "---\ndescription: Extract and process PDF documents\n---\n\n# PDF Processing\n...", "scripts": [ {"name": "extract.py", "content": "..."} ], "references": [], "assets": [], "visibility": "private", "created_at": "2026-02-24T12:00:00Z"}
Creates a new skill with SKILL.md content, optional scripts, reference files, and assets. Private skills are created immediately. Public skills require the /skill-submissions review flow.Auth: Accepts either JWT or API key (danube-api-key header).
curl -X POST "https://api.danubeai.com/v1/skills" \ -H "danube-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "pdf-processing", "skill_md_content": "---\ndescription: Extract and process PDF documents\n---\n\n# PDF Processing\n\n## Steps\n1. Parse the PDF file\n2. Extract text content\n3. Return structured data", "scripts": [ {"name": "extract.py", "content": "import fitz\n\ndef extract(path):\n doc = fitz.open(path)\n return [p.get_text() for p in doc]"} ], "visibility": "private" }'
Copy
{ "id": "skill_abc123", "name": "pdf-processing", "description": "Extract and process PDF documents", "skill_md": "---\ndescription: Extract and process PDF documents\n---\n\n# PDF Processing\n...", "scripts": [ {"name": "extract.py", "content": "..."} ], "references": [], "assets": [], "visibility": "private", "created_at": "2026-02-24T12:00:00Z"}