project-commander
Skill1 starsChanged 6 months agoMITView on GitHub
Shen-Hua long-task commander for complex project work. Use when the user asks Codex to complete a project, coordinate a multi-step goal, continue long-running work, recover from an interrupted task, manage several skills/subagents, or turn a broad objective into an executable plan with task tracking, memory updates, verification, review, and handoff.
In this repository9 other files it gives its agents.
- templates/AGENTS.mdAGENTS.md
- deep-plannerSkill
- handoff-writerSkill
- persistent-memorySkill
- runtime-operatorSkill
- self-reviewerSkill
- shen-huaSkill
- subagent-orchestratorSkill
- verification-loopSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 6 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use this skill when:
- Distinctive: line 19
Do not use this skill for:
- Distinctive: line 26
Read the project memory before acting:
- Very specific: line 41
Create or update .agent/PLAN.md with phases, milestones, risks, and verification gates.
- Very specific: line 42
Create or update .agent/TASKS.md with concrete status lines: pending, in_progress, blocked, done.
- Very specific: line 44
After code or project-file changes, invoke or follow $verification-loop.
- Very specific: line 45
Before final response, invoke or follow $self-reviewer.
- Distinctive: line 63
Call or follow these skills when their condition is met:
- Distinctive: line 74
Use real subagents only when the runtime exposes subagent tools and the current tool policy allows delegation for this user request.
- Very specific: line 78
Do not mark a task complete without a verification statement.
- Distinctive: line 82
When reporting to the user, use:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Project Commander
Project Commander is the main control skill for Shen-Hua. It keeps the task moving from goal intake to plan, execution, verification, review, and handoff without pretending to add model capabilities that the current runtime does not provide.
Trigger Conditions
Use this skill when:
- The request is broad, multi-step, ambiguous, or likely to span several files/modules.
- The user asks for "complete this project", "continue", "coordinate agents", "long task", "make a plan and execute", "finish end to end", or invokes
$project-commander. - The task needs
.agent/memory, explicit phase tracking, verification, and a final handoff.
Do Not Trigger
Do not use this skill for:
- Tiny one-shot answers, simple translations, or single-command questions.
- Pure brainstorming where the user explicitly says not to edit or plan execution.
- Tasks where project rules forbid file writes and the user has not authorized memory updates.
Workflow
- Read the project memory before acting:
.agent/PROJECT_BRIEF.md.agent/PLAN.md.agent/TASKS.md.agent/LOG.md.agent/DECISIONS.md.agent/HANDOFF.md.agent/REVIEW_CHECKLIST.md
- Restate the objective in one or two operational sentences.
- Classify the task:
small: execute directly, still log if files change.complex: invoke or follow$deep-plannerbefore edits.multi-agent: invoke or follow$subagent-orchestratorwhen subagent tools are available and current policy/user authorization allows it.runtime: invoke or follow$runtime-operatorwhen queueing, resume prompts, automation bridges, external sync, or memory search are needed.repair: start from failure evidence, then use$verification-loop.
- Create or update
.agent/PLAN.mdwith phases, milestones, risks, and verification gates. - Create or update
.agent/TASKS.mdwith concrete status lines:pending,in_progress,blocked,done. - Execute the next highest-value step. Keep the critical path local; delegate only bounded side work.
- After code or project-file changes, invoke or follow
$verification-loop. - Before final response, invoke or follow
$self-reviewer. - At the end of every work round, invoke or follow
$handoff-writer.
Required .agent/ Updates
Always update:
.agent/LOG.md: what happened this round, commands run, failures, fixes..agent/TASKS.md: current statuses and next task..agent/HANDOFF.md: current state and next-start instructions.
Update when relevant:
.agent/PROJECT_BRIEF.md: goal, constraints, source priority, repo conventions..agent/PLAN.md: phase changes, milestone changes, risk changes..agent/DECISIONS.md: architecture, tooling, workflow, or tradeoff decisions..agent/REVIEW_CHECKLIST.md: review findings and final readiness checks.
Other Skills
Call or follow these skills when their condition is met:
$persistent-memory: when initializing, repairing, or normalizing.agent/memory.$runtime-operator: when durable task queue, event log, memory index, automation prompt, sync outbox, or runtime gate is needed.$deep-planner: before large refactors, architecture work, public API changes, or unclear multi-file work.$subagent-orchestrator: for independent parallel research/work streams when permitted.$verification-loop: after modifications and before declaring readiness.$self-reviewer: before final answer.$handoff-writer: before ending the round.
Subagents
Use real subagents only when the runtime exposes subagent tools and the current tool policy allows delegation for this user request. If subagents are unavailable or disallowed, run the same roles sequentially in the main agent and record the limitation in .agent/LOG.md.
Verification
Do not mark a task complete without a verification statement. If no build/test/lint command exists, record what was checked instead and why stronger verification was unavailable.
Output Format
When reporting to the user, use:
COMMANDER STATUS
- Objective:
- Current phase:
- Done this round:
- Verification:
- Open risks:
- Next step:Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

