Skip to main content
Nowledge MemNowledge Mem

Edit Skill File

POST
/skills/{skill_id}/edit-file

Write one of a skill's own asset files (scripts/references) directly — the answer to "4 files but I can only edit SKILL.md". Asset files are opt-gated, so the edit commits straight away (no proof gate, unlike edit-body), bumps the version, and re-syncs tools. SKILL.md/evals refused. By id; cross-space.

Path Parameters

skill_id*Skill Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/skills/string/edit-file" \  -H "Content-Type: application/json" \  -d '{    "content": "string",    "path": "string"  }'
{}