forge-resume
Skill2 starsChanged 5 months agoMITView on GitHub
Resume work on a Forge-managed project after a session restart. Reads pipeline
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Dshamir/slm-forgetheir own version, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- Dshamir/slm-forge★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository46 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- forge-opencode/CLAUDE.mdCLAUDE.md
- forge-adoptSkill
- forge-arch-proSkill
- forge-archSkill
- forge-autopilotSkill
- forge-autopilot-stopSkill
- forge-build-proSkill
- forge-buildSkill
- forge-deploySkill
- forge-doctorSkill
- dreamer-runSkill
- forge-evalSkill
- forge-feedbackSkill
- flowSkill
- forge-force-advanceSkill
- graduateSkill
- health-checkSkill
- forge-initSkill
- forge-monitorSkill
- forge-orchestrateSkill
- forge-plan-proSkill
- forge-planSkill
- preflightSkill
- forge-product-proSkill
- forge-productSkill
- forge-releaseSkill
- forge-resolveSkill
- forge-retroSkill
- forge-reviewSkill
- forge-rulesSkill
- forge-set-profileSkill
- skill-creatorSkill
- forge-spec-proSkill
- forge-specSkill
- forge-sprint-proSkill
- forge-sprintSkill
- forge-srs-proSkill
- forge-srsSkill
- forge-statusSkill
- forge-trace-matrixSkill
- forge-uninstallSkill
- forge-validateSkill
- watchSkill
- watch-stopSkill
- forge-whySkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
After a long gap and the context window is fresh
- Distinctive: line 25
Run this check first:
- Very specific: line 31
If the command fails or the directory has no pipeline/state.md, tell the user the project is not initialized and suggest /forge:init.
- Very specific: line 54
Read its content field directly (do not re-read from disk — use what the pruner returned)
- Very specific: line 119
After displaying the summary, immediately continue working.
- Distinctive: line 123
If there are unmet blocker-severity gate criteria, surface them before proceeding and ask whether to address them first or continue anyway.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
forge-resume
Re-orient after a session break. Inject the stage-appropriate context and state the exact next action — no re-discovery required.
When to Use
- User runs
/forge:resume - User starts a new session and asks to continue Forge work
- User says "pick up where we left off", "resume", "what was I doing?"
- After a long gap and the context window is fresh
Pre-flight
Run this check first:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/state-manager.py --cwd . readIf the command fails or the directory has no pipeline/state.md, tell the user
the project is not initialized and suggest /forge:init.
Steps
1. Read pipeline state
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/state-manager.py --cwd . readExtract: current_stage, current_task, current_milestone, last_updated, blockers.
2. Load stage-appropriate context
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/context-pruner.py \
--stage <current_stage> \
--cwd . \
--budget 1800For each artifact in the returned artifacts list:
- Read its
contentfield directly (do not re-read from disk — use what the pruner returned) - Inject the content into your working context
These artifacts are already priority-ordered and budget-capped. Do not load additional files beyond what the pruner returns unless the user explicitly asks.
3. Read last reflection
From pipeline/state.md, extract the Last Reflection section. This shows what happened
in the previous session segment. If it is empty, note "no prior reflection found."
4. Read recent lessons
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/state-manager.py --cwd . readFrom tasks/lessons.md, read the 3 most recent lesson entries (those under the most recent
### headings). Surface any lessons tagged for the current stage.
5. Check gate status
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/check-gate.py \
--stage <current_stage> \
--cwd . \
--plugin-dir ${CLAUDE_PLUGIN_ROOT}Note how many gate criteria pass. If any blocker-severity criteria fail, surface them.
6. Display the resume summary
Print this exact structure (fill in the values):
## Forge Resume
**Project**: <project_type> **Stage**: <current_stage>/12 (<stage_name>)
**Task**: <current_task or "(none)"> **Cycle**: <cycle>
**Last updated**: <last_updated>
### Context loaded
<list each artifact path and its token count, e.g.:>
- pipeline/state.md (142 tokens)
- pipeline/05-plan/task-dag.md (680 tokens)
- pipeline/04-spec/spec.md (423 tokens)
Total: <total_tokens> / 1800 tokens
### Last reflection
<paste the Last Reflection section content, or "(none)">
### Gate status
<current_stage>/<total> criteria passing
<list any unmet blocker-severity criteria>
### Blockers
<list blockers from state.md, or "(none)">
### Next action
<one concrete sentence describing exactly what to do next>7. Proceed
After displaying the summary, immediately continue working. Do not wait for the user to
re-explain the task — you have the context. Pick up from the current_task or, if that
is empty, from the next unstarted task for the current stage.
If there are unmet blocker-severity gate criteria, surface them before proceeding and ask whether to address them first or continue anyway.
Stage Names
| Stage | Name | Command |
| 0 | not started | — |
| 1 | SRS | /forge:srs |
| 2 | Product/UX | /forge:product |
| 3 | Architecture | /forge:arch |
| 4 | Spec | /forge:spec |
| 5 | Plan | /forge:plan |
| 6 | Build | /forge:build |
| 7 | Eval | /forge:eval |
| 8 | Deploy | /forge:deploy |
| 9 | Monitor | /forge:monitor |
| 10 | Feedback | /forge:feedback |
| 11 | Resolve | /forge:resolve |
| 12 | Release | /forge:release |
Verification
The skill worked correctly if:
- The resume summary shows the correct stage, task, and project type
- Artifacts listed match what
context-pruner.pyreturned for the stage - The "Next action" is specific and actionable (not "continue working")
- You are actively working on the task within 1-2 turns, not still asking questions
Example Output
## Forge Resume
**Project**: saas-api **Stage**: 6/12 (Build)
**Task**: T-007 — implement auth middleware **Cycle**: 1
**Last updated**: 2026-05-11T09:14:00Z
### Context loaded
- pipeline/state.md (187 tokens)
- pipeline/05-plan/task-dag.md (643 tokens)
- pipeline/04-spec/spec.md (498 tokens)
- pipeline/02-product-ux/design-system.md (201 tokens)
Total: 1529 / 1800 tokens
### Last reflection
**Timestamp**: 2026-05-11T09:14:00Z
**Stage**: 6 | **Task**: T-007
**Turns this session segment**: 4 user message(s)
**Files touched**: src/middleware/auth.py, tests/unit/test_auth.py
### Gate status
2/5 criteria passing
⚠️ Unmet blockers:
- all_tests_pass: tests/unit/ must be green
### Blockers
(none)
### Next action
Run the failing test suite (`pytest tests/unit/test_auth.py`) and fix the 2
authentication header validation errors before proceeding to T-008.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.

