Skip to content

Skill submissions and review

Last updated: 2026-11-14T00:33:14-03:00 (UTC-3)

Team members can propose skills for the skill registry without publishing them. Every submission goes through a built-in content scan, and a global administrator who is not the submitter approves it (which publishes it) or rejects it. A failed scan blocks publication; no reviewer can override it.

Flag Default What it turns on
skill_submissions false Submissions, the review queue and a passing scan as a condition of every publication; requires skill_registry and skill_management

The flag is an operator control (it is not a team plan right): it opens a review workflow, and members never publish by themselves. It is a runtime switch (YAML features, the feature API or the console).

Action Who
Submit user or team_admin of the owning team, or a global admin. The owner team and every proposed grant must be teams the member belongs to
See submissions A member sees its own; global admins and viewers see all
Approve or reject A global admin (skills:review), never the submitter

A submission names a new skill ID, or an existing skill of the same owner team (it becomes a new revision of that skill). An existing skill keeps its owner: a submission for another team’s skill ID is refused with 409, which tells the member that the ID is taken (not who owns it or what it holds). Approving never re-enables a disabled or removed skill (409 skill_unavailable); an admin who wants it back saves and publishes it directly.

  1. Submit. In Skill registry → Skill submissions, select Submit a skill, fill the same fields as a draft and select Submit for review. Over the API: POST /api/v1/admin/skill-submissions with {"skill": {...}} (published and disabled false).
  2. Scan. The gateway scans the content before storing the submission. A passed scan gives status pending; any finding gives scan_failed, with each finding’s rule, file and line.
  3. Review. The reviewer opens the submission, reads its files and findings, and selects Approve and publish (POST .../{id}/approve with {"version": n}) or writes a reason and selects Reject submission (POST .../{id}/reject with {"version": n, "reason": "..."}). A scan_failed submission can only be rejected.
  4. Publish. Approval runs the scan again on the exact content, checks skill_signing when it is on, appends the definition as a new revision and publishes it to its grants, all in one transaction. The skill then appears to its teams and in the installable feed.

Every submission, approval and rejection is written to the audit log, without the content.

The scan is built in, deterministic and local: fixed rules over the name, the description and every line of every file. It sends nothing out and runs nothing. A finding records the rule, the file and the line, never the matched text, so a leaked secret is not copied into the record.

Rule Flags
secret_material Private key blocks and token formats of common clouds and providers
remote_code_execution A download piped into a shell or interpreter (curl ... | sh, bash <(curl ...), PowerShell download-and-run, base64 -d | sh)
destructive_command rm -rf / or home, mkfs, dd onto a disk device, fork bombs
credential_access Paths of local credentials (~/.ssh/id_*, ~/.aws/credentials, /etc/shadow and similar)
instruction_override Phrases that tell the model to ignore or disregard its previous or system instructions
hidden_unicode Every Unicode bidirectional control and format character (zero-width space, byte order mark, soft hyphen, invisible operators, tag characters) and variation selectors. The joiners (U+200C, U+200D) and the emoji presentation selectors (U+FE0E, U+FE0F) are allowed, so ordinary emoji pass; tag-sequence flag emoji are flagged

Unicode spaces count as ordinary spaces for the text rules, so a no-break space does not hide a phrase. The scanner version is reported as builtin-v1. At most 100 findings are kept; more mark the result as truncated, which also fails. Rules work line by line: a command split across lines is not detected, and passing the scan does not prove a skill is safe. A skill that legitimately documents one of these patterns (a security playbook, for example) has to rephrase it; there is no allowlist.

While skill_submissions is on, the scan is a condition of every publication, not only of approvals:

  • Publish of an admin-authored draft (POST /api/v1/admin/skills/{id}/publish) answers 409 scan_failed when the revision fails the scan.
  • A skill declared published: true in YAML that fails the scan makes the configuration invalid, so turning the flag on with such a skill is refused rather than hiding it.
  • A revision published before the flag was turned on, and failing the scan, is not delivered while the flag is on: the bundle answers 409 scan_failed and the installable feed leaves it out. It stays visible in the registry so an admin can fix or disable it.
Request Permission Notes
GET /api/v1/admin/skill-submissions skills:read Filters status (pending, scan_failed, approved, rejected), limit 1-100 (default 25), offset 0-10,000; no contents
GET /api/v1/admin/skill-submissions/{id} skills:read Includes the files, re-verified against the recorded hashes
POST /api/v1/admin/skill-submissions skills:submit Answers 201 with the scan result
POST /api/v1/admin/skill-submissions/{id}/approve skills:review {"version"}
POST /api/v1/admin/skill-submissions/{id}/reject skills:review {"version", "reason"}, reason 1-500 characters

Example answer after a failed scan:

{
"id": "sub_3f9c0e8a1b2d4c5e6f708192",
"skill_id": "member-bad",
"team": "platform",
"name": "Bad skill",
"submitted_by": "user_member",
"status": "scan_failed",
"version": 1,
"scan": {
"scanner": "builtin-v1",
"passed": false,
"truncated": false,
"findings": [{ "rule": "remote_code_execution", "path": "SKILL.md", "line": 2 }]
},
"published_revision": null,
"own": true
}
Status Code When
403 role_forbidden The role lacks the permission (a team viewer submitting, a member reviewing)
403 role_forbidden A member submits for, or proposes grants to, a team it does not belong to
403 self_review_forbidden The reviewer is the submitter
404 submission_not_found Unknown submission, or another member’s
409 submission_closed Approving a submission that is not pending, or rejecting a closed one
409 version_conflict The submission changed since it was read; reload
409 scan_failed The scan fails at approval or at a direct publication
409 signature_required skill_signing is on and the content has no verified signature
409 skill_capacity 20 open submissions for this submitter, or 10,000 in total
409 skill_unavailable The existing skill is disabled

The release adds database migration 129 (gateway_skill_submissions). It runs with the normal migration procedure; nothing changes until the flag is turned on. Upgrade every replica before turning it on: an older replica neither shows nor enforces submissions, and would publish without the scan.

m7gtw[email protected]