dev-workflow
Skill2 starsChanged 36 days agoMITView on GitHub
How to run AgentWarden development cheaply and keep sessions continuous — which work goes to Sonnet, Opus or Meta models (Muse Code), how to hand work to Muse Code, when to tell the user to /clear, and what to save to which .md file before ending a session. Use at the start of every task, when choosing a model or delegating to a subagent, when a task is finished, and when the session is getting long.
- Reads credentials
40 other projects use a version of this.
Adopted by
Most recently taken up by
- programmerraja/claude-code-toolboxtheir own version, first seen Nov 29, 2026
- bmsuisse/skillstheir own version, first seen Nov 27, 2026
- ma-serra/claude-skillsjtheir own version, first seen Nov 22, 2026
- bryceklinker/claude-skillstheir own version, first seen Nov 22, 2026
- satoh-y-0323/claude-code-conductortheir own version, first seen Nov 19, 2026
- Marcovinci-2025/claude-skillstheir own version, first seen Nov 16, 2026
Used with
Projects with it also use brainstorm, retrospective and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
nicolasestremSkillbrainstorm
Structured idea generation and solution exploration with systematic analysis.
Also in 5 projects that use this
MicrosoftSkillretrospective
Review how work went and improve the next round. USE WHEN asked for a retro, delays, or process lessons. DO NOT USE for code review or transcript replay.
Also in 3 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 4 projects that use this
HashiCorpSkillchangelog
Add a Changie change fragment (`.changes/<major>.x/unreleased/*.yaml`) for a GitHub Pull Request, commit, and push.
Also in 3 projects that use this
VercelSkilldeploy
Deploy applications to Vercel. Use when the user says "deploy", "deploy to Vercel", "push to production", "deploy my app", or "go live".
Also in 3 projects that use this
GoogleSkillimprove-codebase-architecture
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
Also in 3 projects that use this
Other versions40 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 40
- ag2ai/faststream★ 5.4ksame name
- xstongxue/best-skills★ 3.2ksame name
- AltimateAI/vscode-dbt-power-user★ 585same name
- openflocon/Flocon★ 391same name
- SmartThingsCommunity/SmartThingsEdgeDrivers★ 351same name
- pandazki/pneuma-skills★ 162same name
- AsiaOstrich/universal-dev-standards★ 86same name
- clarity-digital-development/tworkflow★ 47same name
- addxai/enterprise-harness-engineering★ 44same name
- muyen/vibe-to-prod★ 34same name
30 more not listed
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 repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- eval-caseSkill
- hook-protocolSkill
- judge-tuningSkill
- meta-apiSkill
- meta-redteamSkill
- warden-specSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 0 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 29 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Never send to Muse Code: anything in prompts/, decide.py, cascade.py, redact.py, scanner.py, hook wrappers, .env or anything with secrets, …
- Very specific: line 30
When the current task fits a different row than the model in use, say at the start: "Эта задача для Opus — переключи /model opus, или …
- Very specific: line 48
When the user returns, review the diff (Sonnet) against the brief before committing.
- Very specific: line 69
Do not write to CLAUDE.md or docs/CONTEXT.md without the user's yes.
- Very specific: line 100
Keep it to these lines. Do not recommend /clear in the middle of a change that is not committed or noted in SESSION.md.
- Very specific: line 104
Read docs/SESSION.md if it exists.
“Common” is measured: kept by at least 6 in 10 of the 29 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Development workflow
Goal: spend the Claude subscription only where it pays off, push mechanical work to Meta credits, and never lose context between sessions.
You cannot switch your own model. When a task needs a different model, say so in one line and the user switches with /model. For subagents, set the model yourself through the subagent's model field or the delegation call.
1. Pick the model
| Work | Model | Why |
Implementing a Size: small spec, tests, fixtures, refactors, rules, eval script, CI, docs edits | Sonnet (default) | Well-specified work; Opus adds cost, not quality |
| Read-only searching across the repo, finding where something is used | Sonnet subagent (or Haiku) | Keeps file dumps out of the main context |
| Architecture changes, new module boundaries | Opus | Wrong decisions here cost days |
decide.py, cascade.py escalation logic, fail-safe paths, redact.py, hook wrappers | Opus for design and review, Sonnet may implement | Security-critical; this is what judges and attackers probe |
| Judge, scanner and red-team prompt design, analysing eval and red-team failures between tuning rounds | Opus | Reasoning about why the model misjudges |
| Bulk attack generation for the eval set | Meta — Muse Spark via make redteam | Runs on Meta credits, not the Claude subscription; it is also a product feature |
| Scanner content cases (documents), seed action cases before the Meta loop exists | Sonnet redteam subagent | Hand-crafted hard negatives need careful wording |
| Debugging after 2 failed fix attempts on Sonnet | Opus | Stop the loop; a stronger model with a clean context is cheaper than a 3rd–5th attempt |
Writing a Size: large spec | Opus, user edits | The spec drives everything after it |
| Dashboard HTML/CSS/JS, README draft, demo repo scaffolding, docstrings, eval report formatting, bulk eval case drafts | Meta — Muse Code (user runs it, on Meta credits, Standard tier) | Mechanical work; also counts as using Meta tools in judging |
| The judge, scanner and red-team generator inside the product | Meta open weights (local) + Muse Spark | Product requirement; see the meta-api skill for which model plays which role |
Never send to Muse Code: anything in prompts/, decide.py, cascade.py, redact.py, scanner.py, hook wrappers, .env or anything with secrets, labelling of eval/cases/ or eval/content/.
When the current task fits a different row than the model in use, say at the start: "Эта задача для Opus — переключи /model opus, или продолжу на Sonnet." Then continue as the user decides.
2. Handing work to Muse Code
You cannot run Muse Code. Prepare a brief the user pastes into it, saved as docs/handoff/NNN-<topic>.md:
# Handoff NNN — <topic> (for Muse Code, Standard tier)
Goal: <one sentence>
Read first: CLAUDE.md, <the 2–4 files it needs>
May change: <exact files or folders>
Must not change: everything else, especially src/agentwarden/decide.py, redact.py, hooks/, prompts/, eval/cases/
Contract: <endpoint / function signatures / data shape it must use>
Done when: <command(s) and expected result, e.g. `make test` green, page loads at /dashboard and lists events from /log>
Style: <constraints, e.g. one HTML file, no frameworks, no Streamlit>When the user returns, review the diff (Sonnet) against the brief before committing. Note in the commit message (Muse Code) so it can be cited in the submission.
3. Where knowledge goes
| File | What goes there | Update when |
CLAUDE.md | Stable rules, commands, invariants | Rarely; only when a rule changes |
docs/CONTEXT.md | Decisions, scope, plan changes, positioning | The user decides something, or the plan shifts |
docs/SESSION.md | Current state, next step, open problems | End of every session and before every /clear. Overwrite, keep it under 30 lines |
.claude/skills/* | Repeated procedures, verified facts about APIs and hooks | A fact is verified (e.g. a VERIFY item in meta-api), a real payload is captured, or the same explanation was needed twice |
docs/specs/NNN-*.md | Tick acceptance criteria | When each criterion passes |
4. Prompt the user to save knowledge
Say it in one line, right when it happens, and offer to write it:
- The user made a decision ("делаем без MCP", "дашборд режем") → "Записать в
docs/CONTEXT.md?" - You verified a fact about Meta API or hooks → update the skill and say so.
- You explained the same thing twice, or found a non-obvious workaround → "Это стоит записать в скилл
<name>— добавить?" - A rule in
CLAUDE.mdturned out wrong or missing → propose the exact edit.
Do not write to CLAUDE.md or docs/CONTEXT.md without the user's yes. docs/SESSION.md you update yourself.
5. When to tell the user to /clear
Recommend /clear when any of these happens:
- A spec is finished and committed.
- The next task is in a different area than the last one.
- The session is long: roughly 30+ tool calls, or many large files read, or context was compacted.
- You notice yourself re-reading files or forgetting earlier decisions.
- A debugging loop hit 3 attempts without progress.
Before recommending it:
- Overwrite
docs/SESSION.md:# Session state — <date time> Done: <specs/commits this session> In progress: <what, and exactly where it stopped> Next: <next spec or step, and which model> Open problems: <bugs, unknowns, VERIFY items> - List any pending knowledge to save (section 4) and ask.
- Then say, in the user's language, in this shape:
✅ 003 готова и закоммичена. SESSION.md обновлён.
Предлагаю записать в CONTEXT.md: <одна строка> — да?
Пора /clear. Следующая: 004 (Sonnet) — начни новую сессию с «Read docs/SESSION.md and continue».Keep it to these lines. Do not recommend /clear in the middle of a change that is not committed or noted in SESSION.md.
6. Starting a session
Read docs/SESSION.md if it exists. Read docs/CONTEXT.md only when the task needs background. Do not scan the repo; open only the files the task names.
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.

