From 0c2954565dce632053c068131bbdd9d20807dd0c Mon Sep 17 00:00:00 2001 From: Affaan Mustafa Date: Tue, 10 Mar 2026 20:08:20 -0700 Subject: [PATCH] docs: add skill-stocktake agent invocation example --- skills/skill-stocktake/SKILL.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/skills/skill-stocktake/SKILL.md b/skills/skill-stocktake/SKILL.md index 9d86b4db..7ae77c27 100644 --- a/skills/skill-stocktake/SKILL.md +++ b/skills/skill-stocktake/SKILL.md @@ -74,7 +74,24 @@ Scanning: ### Phase 2 — Quality Evaluation -Launch an Agent tool subagent (**general-purpose agent**) with the full inventory and checklist. +Launch an Agent tool subagent (**general-purpose agent**) with the full inventory and checklist: + +```text +Agent( + subagent_type="general-purpose", + prompt=" +Evaluate the following skill inventory against the checklist. + +[INVENTORY] + +[CHECKLIST] + +Return JSON for each skill: +{ \"verdict\": \"Keep\"|\"Improve\"|\"Update\"|\"Retire\"|\"Merge into [X]\", \"reason\": \"...\" } +" +) +``` + The subagent reads each skill, applies the checklist, and returns per-skill JSON: `{ "verdict": "Keep"|"Improve"|"Update"|"Retire"|"Merge into [X]", "reason": "..." }`