Skip to main content
Nowledge MemNowledge Mem

Skill Builder Edit Body

POST
/agent/skill-builder/edit-body

Stage a user-authored body as a pending version (the user as a third author of pending_version, beside refine-AI and the curator).

Stages INSTANTLY (validate + compose + secret-scan), then computes the A/B transparency proof in the BACKGROUND so the save isn't blocked on running the benchmark through the model (that was the 20-second "Saving…"). The edit is INTENT (D4): the proof never refuses it, only shows it, and the user can apply via POST /skills/{id}/apply-version without waiting for it.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

The user authored a new body for a skill directly (power-user edit).

Response Body

application/json

application/json

curl -X POST "https://example.com/agent/skill-builder/edit-body" \  -H "Content-Type: application/json" \  -d '{    "body": "string",    "skill_id": "string"  }'
{}