/agentic-sop-kit:agentic-sopfrom agentic-sop-kit
Transforms human SOPs or manual processes into agentic workflows with tool skills, topology declarations, and governance gates. Guides intake, decomposition, and kit bootstrap.
Ships in agentic-sop-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
agentic-workflow-audit;執行既有 GMP 產生器 → 用該工具自己的 skill。觸發後第一件事——看使用者怎麼來,別急著動工:
templates/human_sop_template.md)→ 照原樣採用、不重寫,直接進下面的拆解。templates/human_sop_template.md 起草一份 Human SOP:能由輸入得到的填上、未知的標【待補】(絕不臆造);草稿好 STOP 給人看一眼(「這樣有抓到你的流程嗎?改/確認」)→ 確認後才續入拆解。Human SOP → 工具 Skill(SKILL.md) → Agentic Workflow(拓撲宣告 + 誠實閘門 + hook)。 中間的 Skill 環最易被忘:工具一改,SKILL.md 必須同次更新。每支工具實作同一條七階段迴圈: intake → 分類/前置檢查 → 確定性層(程式) → 生成層(Claude,只整理輸入) → 組裝 DRAFT → 閘門自評(≤2 次) → 覆核包 → 人核准 STOP。
拆出節點之後、寫 flow.json 之前,先把圖講清楚——這一步只花幾分鐘,卻是後面所有閘門的地基:
schema_ref 指向 workflow/schemas/<tag>.json):邊沒有型別,交接協定就是假的。reads。值不另外存——留在該節點的 artifact 裡(written_by 就是 produced_by)。back:true + max_revisits:<N>。
沒有上界的環不准存在;退回的判定必須由確定性的欄位決定,不是由模型當場決定。python3 workflow/run.py --plan 會把整張圖靜態判過(不可達節點、read-before-write、
寫入衝突、無界環、孤邊),不合法在跑之前就 exit 2;--graph 畫出來給人看。五題有任一題答不出來,就是還沒拆完——別急著寫 flow.json。 若流程本來就是一條直線、也沒有退回,那就照直線做:以上宣告全是選擇性的,不宣告即維持線性行為。
方法論已封裝成可攜套件,直接導入、別重寫:
python3 "${CLAUDE_PLUGIN_ROOT}/kit/bootstrap.py" --project /path/to/project(複製 kit+裝 /sop-flow)。canonical kit 在本 plugin 的 ${CLAUDE_PLUGIN_ROOT}/kit/;Stop 回歸閘門由 plugin hook 負責(沒裝 plugin 才加 --with-hooks)。python3 agentic-sop-kit/check_deps.py 驗依賴;workflow/run.py 跑通範例。templates/human_sop_template.md 寫 SOP(每步標工具);依拆解規則把每個「步驟×工具」用 templates/skill_template/ 建成 skills/<name>/。workflow/flow.json 接線(節點順序、schema_ref、reads/writes、退回邊);
--plan 驗過再跑;/sop-flow 由 bootstrap 裝好,Stop 回歸閘門由 plugin hook 負責。
詳見 kit 的 SOP.md(方法論 canonical)與 README.md(安裝);圖示範流程見 workflow/examples/graph.json。本 skill 是提醒與指引(散文,機率性)。真正的強制力有兩處,都不在散文裡:
decision:block 把原因餵回去修,附重試上限防迴圈。要讓某專案「真的被擋」,就把 kit 的 hooks/(SessionStart 依賴檢查 + Stop 回歸)裝上。run.py --plan 對不合法的圖 exit 2(sopkit/graph.py),且執行期同樣拒跑——
上面那些拓撲鐵則之所以是鐵則,是因為它們有這道確定性的閘門,不是因為這裡寫了。What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub s0912758806p/agentic-sop-to-work --plugin agentic-sop-kit4 skills in this plugin
/agentic-workflow-auditUse when reviewing or auditing an existing agent / LLM-pipeline architecture — e.g. 'is my workflow actually decomposed or secretly a mega-agent?', 'are my task boundaries and success criteria right?', 'is our shared state a blackboard?', 'can this retry loop run forever?' — even without the word 'audit'. | 要檢視/review/稽核既有 agent 或 LLM pipeline 的架構,或問「有沒有拆好」「是不是變成 mega agent」「task 邊界/成功標準對不對」「共享狀態是不是黑板」「退回會不會無限轉」「拓撲畫不畫得出來」時使用;任何評估既有 agent 系統結構的請求都觸發。不適用:要新建或自動化流程(改用 agentic-sop)。/six-rung-ladderUse when deciding whether to write a piece of code, add a dependency, or introduce an abstraction / module / config — the "should I build this at all?" filter, applied before building. | 要決定「要不要寫這段 code/引這個依賴/加這層抽象或模組」時使用——「到底該不該做」的過濾網,動手之前先走一遍。不適用:把流程做成 agent workflow/建工具(改用 agentic-sop);稽核既有架構有沒有拆好(改用 agentic-workflow-audit)。/sop-flowOther plugins' skills for the same job