Agent skill

Sop Plan

by Stanshy in Stanshy/AgentHub

L1 計畫模式 SOP — 強制上下文載入 + Plan Mode 評估 + 任務拆解. An agent skill from Stanshy/AgentHub.

MITAuto-check: notesAgent Workflows

Install Sop Plan

skills CLI
$ npx skills add Stanshy/AgentHub --skill sop-plan -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Stanshy/AgentHub sop-plan --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Stanshy/AgentHub.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.knowledge/company/skill-templates/sop-plan .claude/skills/sop-plan && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sop-plan
GitHub stars
202
Token cost
~437 tokens
SKILL.md length
107 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

L1 計畫模式 SOP — 強制上下文載入 + Plan Mode 評估 + 任務拆解. An agent skill from Stanshy/AgentHub.

  • Tasks that involve Operations and SOPs
  • SKILL.md covers 使用方式 and 執行步驟
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Planning

What it does

Sop Plan is an agent skill from Stanshy/AgentHub. L1 計畫模式 SOP — 強制上下文載入 + Plan Mode 評估 + 任務拆解

Its SKILL.md is about 440 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Operations and SOPs and Planning. The repository describes itself as: One person, one software company. Manage 47 AI agents from a single Electron app — with Harness Engineering (Skills + Hooks + FileWatchers) for disciplined, traceable AI workflows. The licence is MIT.

When your agent uses it

  • Tasks that involve Operations and SOPs
  • Tasks that involve Planning

Example prompts

  • “/sop-plan”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Edit, Glob, Grep, Bash

What it can do on your machine

Read from SKILL.md and the folder at commit 5300820. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Glob
    • Grep
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sop Plan loads about 437 tokens when it runs. Until then it costs about 13 tokens; SKILL.md has 107 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~13
When it runs · the whole SKILL.md, loaded when a task matches
~437

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Glob, Grep, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Stanshy/AgentHub at commit 5300820, republished under its MIT licence (© Stanshy). 107 words, ~437 tokens.

Download SKILL.mdSave it as .claude/skills/sop-plan/SKILL.md (or your agent's skills folder).
name
sop-plan
description
L1 計畫模式 SOP — 強制上下文載入 + Plan Mode 評估 + 任務拆解
allowed-tools
Read, Write, Edit, Glob, Grep, Bash

L1 計畫模式 SOP

L1 收到任務分派後,必須依序完成以下所有步驟,不得跳過任何 ⛔ CHECKPOINT。

使用方式

/sop-plan

執行步驟

⛔ STEP 1 — 載入 Sprint 計畫書

讀取當前 Sprint dev-plan: !ls -t proposal/sprint*-dev-plan.md 2>/dev/null | head -1

確認並記錄:

  • Sprint 目標(第 1 節)
  • 技術方案(第 4 節)
  • 任務清單(第 6 節):任務總數、各任務的指派對象、P0/P1/P2 分布、依賴關係

✋ 確認已閱讀 dev-plan,整理出任務清單後再繼續。


⛔ STEP 2 — 載入踩坑紀錄

讀取:.knowledge/postmortem-log.md

標記出與本次任務相關的地雷,後續在驗收標準中必須加入對應防呆。

✋ 確認已列出相關地雷(或確認無相關項目)後再繼續。


⛔ STEP 3 — 載入架構文件

讀取:.knowledge/architecture.md(若不存在則跳過並說明)

確認:

  • 系統層次與模組邊界
  • 現有服務與依賴關係
  • 本次任務涉及的模組範圍

✋ 確認架構限制已納入考量後再繼續。


⛔ STEP 4 — 複雜度評估 + Plan Mode 建議

根據前三步收集的資訊,產出評估報告:

📊 任務複雜度評估
─────────────────────────────
任務總數:N 個
P0 任務:N 個
跨模組依賴:N 條
最長依賴鏈:T1 → T3 → T5(N 層)
涉及模組:[列出]
postmortem 相關地雷:N 條

建議:[進入 Plan Mode ✅ / 不需要 ⚪]

建議理由:
- [說明原因,例如:有 3 條跨模組依賴、P0 任務涉及核心架構變更...]
─────────────────────────────

建議進入 Plan Mode 的條件(符合任一即建議):

  • 任務總數 ≥ 5
  • 存在 P0 任務
  • 跨模組依賴 ≥ 2
  • 最長依賴鏈 ≥ 3 層
  • postmortem 有直接相關地雷

詢問老闆:

以上是本次 Sprint 的複雜度評估。是否要進入 Plan Mode 後再開始拆解任務? 進入 Plan Mode 後,我會先提出完整計畫供您審核,確認後再執行。

若老闆確認進入 → 使用 EnterPlanMode 工具進入計畫模式 若老闆選擇跳過 → 直接進入 STEP 5

✋ 等待老闆決策後再繼續。


⛔ STEP 5 — 執行任務拆解

執行 /task-delegation(讀取 .claude/commands/task-delegation.md 並依步驟執行)

✋ 確認所有 .tasks/sprint-{N}/ 檔案已建立後再繼續。


STEP 6 — 輸出計畫摘要
✅ L1 計畫完成

Sprint:Sprint N
已讀文件:dev-plan ✅ | postmortem ✅ | architecture ✅
Plan Mode:[已進入 / 跳過]

已建立任務:
- T1: {名稱} → {agent} (P0)
- T2: {名稱} → {agent} (P1)
- ...

依賴關係:
T1 → T3 → T5
T2 → T4

地雷提醒:
- {相關 postmortem 條目}

下一步:通知各 L2 執行 /sop-execute {task-id}

© Stanshy, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .knowledge/company/skill-templates/sop-plan of Stanshy/AgentHub.

Open the folder on GitHubat commit 5300820

Compare with similar skills

Sop Plan next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sop Plan compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sop Plan this skillStanshy/AgentHub202—~437Automated safety check: NotesMIT
Solution ArchitectIBM/ibm-watsonx-orchestrate-adk178—~8.4kAutomated safety check: PassMIT
Exp ReflectHHU3637kr/skills145—~2.3kAutomated safety check: PassNone
User Onboarding SopIgorWarzocha/Opencode-Workflows122—~563Automated safety check: PassNone
Project Creatoraiskillstore/marketplace430—~5.9kAutomated safety check: PassNone
Cc Sdd New Agentgotalab/cc-sdd3.7k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Solution Architect

    IBM/ibm-watsonx-orchestrate-adk

    Official

    Expert guidance for creating high-level solution architecture documents from business requirements, use cases, or problem statements.

    178 GitHub stars~8.4k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Exp Reflect

    HHU3637kr/skills

    当任务完成、解决困难问题、用户要求总结经验/记录项目理解/更新项目规范,或 spec-end/spec-update 需要从当前 Spec 文档判断是否沉淀经验、知识、SOP、工具记忆、长期项目规范时使用。本 Skill 只做识别 + 分类 + 权重判断 + 草稿 + 用户确认,不落盘写入;内容已经明确、只需写入经验/知识文件并更新索引时直接用 exp-write;程序记忆(SOP)落盘成新…

    145 GitHub stars~2.3k tokensUpdated 16 days ago
    Agent WorkflowsAuto-check passed
  • User Onboarding Sop

    IgorWarzocha/Opencode-Workflows

    Generate AGENTS.md for end-user assistance. An agent skill from IgorWarzocha/Opencode-Workflows.

    122 GitHub stars~563 tokensUpdated 8 mo ago
    Agent WorkflowsAuto-check passed
  • Project Creator

    aiskillstore/marketplace

    Creates new projects in CCGG Business Operations with all required mechanisms automatically implemented.

    430 GitHub stars~5.9k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Cc Sdd New Agent

    gotalab/cc-sdd

    Add or extend coding-agent support in cc-sdd by executing the SOP in docs/cc-sdd/sop-new-agent.md end-to-end.

    3.7k GitHub stars~1.1k tokensUpdated 16 days ago
    Business, Finance & HRAuto-check passed
  • DBS Business Toolkit Entry

    dontbesilent2025/dbskill

    Chinese-language entry skill for the dontbesilent business toolkit: onboards new users, orchestrates tasks across sub-skills, runs numbered prompts and lists hidden ones.

    11k GitHub stars~2k tokensUpdated 2 days ago
    Business, Finance & HRAuto-check passed

More from Stanshy/AgentHub

All 23 skills in this repo
  • Dev Plan

    Stanshy/AgentHub

    Generate a development plan with task breakdown and section 10 tracking tables

    202 GitHub stars~686 tokensUpdated 6 mo ago
    Auto-check: notes
  • Knowledge Feedback

    Stanshy/AgentHub

    Scan child projects for pitfalls and propose company standard updates

    202 GitHub stars~549 tokensUpdated 6 mo ago
    Auto-check: notes
  • Product Diagnosis

    Stanshy/AgentHub

    Six-question diagnostic framework for G0 pre-check — validate product direction before development starts

    202 GitHub stars~690 tokensUpdated 6 mo ago
    Auto-check passed
  • Project Kickoff

    Stanshy/AgentHub

    Initialize new project with CLAUDE.md, .knowledge/ structure, company rules, and git

    202 GitHub stars~528 tokensUpdated 6 mo ago
    Auto-check: notes
  • Review

    Stanshy/AgentHub

    L1 internal review with auto-detection, design comparison, and Gate escalation path

    202 GitHub stars~854 tokensUpdated 6 mo ago
    Auto-check: notes
  • Sop Review

    Stanshy/AgentHub

    L1 Code Review SOP — 強制規範對照 + 審核決策,不得跳過任何 checkpoint. An agent skill from Stanshy/AgentHub.

    202 GitHub stars~522 tokensUpdated 6 mo ago
    Auto-check: notes

Questions about Sop Plan

What does Sop Plan do?

L1 計畫模式 SOP — 強制上下文載入 + Plan Mode 評估 + 任務拆解. An agent skill from Stanshy/AgentHub. Sop Plan is an agent skill from Stanshy/AgentHub.

When should I use Sop Plan?

Sop Plan fits situations like: tasks that involve Operations and SOPs; tasks that involve Planning.

How do I install Sop Plan in Claude Code?

Run `npx skills add Stanshy/AgentHub --skill sop-plan -a claude-code`. Or copy the skill folder (.knowledge/company/skill-templates/sop-plan in Stanshy/AgentHub) into .claude/skills/sop-plan in your project. Claude Code loads it when a task matches its description.

How do I install Sop Plan in Codex?

Run `npx skills add Stanshy/AgentHub --skill sop-plan -a codex`. Or copy the skill folder (.knowledge/company/skill-templates/sop-plan in Stanshy/AgentHub) into .agents/skills/sop-plan in your project. Codex loads it when a task matches its description.

Can I use Sop Plan in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Stanshy/AgentHub --skill sop-plan -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sop-plan, .gemini/skills/sop-plan, .github/skills/sop-plan and .opencode/skills/sop-plan in your project.

What does Sop Plan need to run?

SKILL.md names no scripts, command-line tools or credentials: Sop Plan is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Glob, Grep, Bash.

Does Sop Plan access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Sop Plan safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Sop Plan use?

Sop Plan is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sop Plan use?

About 437 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Sop Plan?

Skills that share tags, products or a category with Sop Plan: Solution Architect (IBM/ibm-watsonx-orchestrate-adk, 178 stars), Exp Reflect (HHU3637kr/skills, 145 stars), User Onboarding Sop (IgorWarzocha/Opencode-Workflows, 122 stars) and Project Creator (aiskillstore/marketplace, 430 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sop Plan?

Stanshy (a GitHub user) maintains it in Stanshy/AgentHub, which has 202 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on April 9, 2026.

Source: Stanshy/AgentHub on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.