agentleFS
mmjclaytonmmjclayton/agent-sop/.agents/skills/restart-sop/SKILL.md

restart-sop

Skill4 starsChanged 2 months agoMITView on GitHub

Resume an Agent SOP project session, read relevant memory and locate the current Backlog work item.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read AGENTS.md and docs/sop/codex.md.

    line 8
  2. Very specific:

    If the Agent SOP context hook already printed state, use it.

    line 9
  3. Distinctive:

    Search decisions and gotchas by the task topic and affected paths before using recency.

    line 12

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Confirm the project has Backlog.md and docs/sop/claude-agent-sop.md; otherwise report that it is not an SOP project and follow its own instructions. Read AGENTS.md and docs/sop/codex.md. Follow the shared SOP session-start section. If the Agent SOP context hook already printed state, use it. Otherwise run bash scripts/resolve-resume-path.sh --read, read that snapshot when present, and inspect recent git history and dirty tracker diffs before trusting them. Search decisions and gotchas by the task topic and affected paths before using recency. Read the relevant invariants even when older. Locate the requested Backlog P-number and read only that item. If interrupted, read the corresponding build plan and in-flight entry. Report what is current and continue the user's task. Do not invent missing snapshots or initialize a non-SOP project as part of resume.

For parallel editing, inspect the installed sop-worktree-claim.sh status from this worktree. Claim a unique session ID, task ID and intended source paths before editing. Use the runtime's user hook directory (~/.codex/scripts/hooks/agent-sop or ~/.claude/scripts/hooks/agent-sop). A conflicting claim must be reconciled; never release another session without first inspecting its work. Read-only review sessions do not claim writing ownership.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.