update-sop
Skill4 starsChanged 2 months agoMITView on GitHub
Close an Agent SOP session with tests, review evidence, Backlog updates, validators and a resume record.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- finishSkill
- migrate-to-multi-agentSkill
- restart-sopSkill
- source-command-finishSkill
- source-command-migrate-to-multi-agentSkill
- source-command-restart-sopSkill
- source-command-update-agent-sopSkill
- source-command-update-sopSkill
- update-agent-sopSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Update Backlog tags and review citations in place.
- Very specific: line 20
Run scripts/refresh-priorities.sh, scripts/archive-backlog.sh and scripts/detect-trackers.sh where installed.
- Very specific: line 23
Run scripts/validate-state-transitions.sh normally, with --check-drift, and with --check-replication.
- Distinctive: line 26
Write substantive decisions/gotchas, refresh in-flight state, write a session record under docs/recent-work, and refresh the rollup.
- Distinctive: line 31
Commit only files belonging to the task when authorized by the workflow.
- Very specific: line 36
If this session holds a worktree writer claim, release it with the installed sop-worktree-claim.sh release <session-id> after recording the …
≈ “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
Confirm Backlog.md and docs/sop/claude-agent-sop.md exist. Read the shared SOP's session-end section and docs/sop/codex.md. Preserve the user's task scope.
- Resolve the agent ID and resume path with scripts/resolve-resume-path.sh. Establish this session's actual diff from git history, in-flight work and the previous record. Do not assume the entire branch is this session.
- Determine project type with the installed Codex sop-project-type.sh or the project's scripts/hooks/sop-project-type.sh. Run the real existing suites. Missing runners are reported, not recorded as a pass.
- Apply the shared SOP review triggers. When ship-sop auto-mode applies, use the ship skill once and cite its report. Otherwise use an isolated read-only reviewer as described in docs/sop/codex.md. Include uncommitted changes in a temporary review snapshot when needed. Missing evidence blocks shipping.
- Update Backlog tags and review citations in place; preserve all items. Run scripts/refresh-priorities.sh, scripts/archive-backlog.sh and scripts/detect-trackers.sh where installed. A missing required script is an installation gap to report and repair with update-agent-sop.
- Run scripts/validate-state-transitions.sh normally, with --check-drift, and with --check-replication. For Codex checks set AGENT_SOP_RUNTIME=codex. Resolve failures; never manufacture a pass or mark unfinished work shipped.
- Write substantive decisions/gotchas, refresh in-flight state, write a session record under docs/recent-work, and refresh the rollup. Overwrite the resolved resume snapshot with what changed, what's next and blockers. Preserve the shared legacy memory location; never guess a path. Project state stays in these project files; do not copy it into a runtime's global memory store.
- Commit only files belonging to the task when authorized by the workflow; respect an explicit request to leave changes uncommitted. Summarize changes, test/review results and any remaining work. Publication requires its own user authorization; closing the session does not imply sending messages.
If this session holds a worktree writer claim, release it with the installed
sop-worktree-claim.sh release <session-id> after recording the handoff. Only the
coordinating session writes shared close-out records.
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.

