mode-auto
Skill0 starsChanged 12 days agoMITView on GitHub
Trigger this if the user says 'mode auto' or 'auto mode', or when `hedge mode show` prints `Mode: Auto` for this thread. The agent works on its own until each pull request is ready to merge, then brings the user one merge card with an explainer.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- packs/base/AGENTS.mdAGENTS.md
- packs/communication/AGENTS.mdAGENTS.md
- packs/memory/AGENTS.mdAGENTS.md
- packs/orchestration/AGENTS.mdAGENTS.md
- packs/pull-requests/AGENTS.mdAGENTS.md
- packs/security/AGENTS.mdAGENTS.md
- src/reconciler/fixtures/engine/packs/base/AGENTS.mdAGENTS.md
- src/reconciler/fixtures/engine/packs/pull-requests/AGENTS.mdAGENTS.md
- writing-voiceSkill
- hedge-hubSkill
- dreamSkill
- mode-fullSkill
- mode-supervisedSkill
- writing-voiceSkill
- full-stopSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Put the label mode:auto on the work's tracking issue, and take off any other mode: label.
- Very specific: line 14
Run hedge mode show when you are unsure which mode a thread runs in.
- Distinctive: line 26
Ask with the question tool, in one card, only for:
- Distinctive: line 32
Keep working on every other part while the card waits.
≈ “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.
Files
Mode auto
The default mode. You run the work on your own until each pull request is ready to merge. Then you stop and bring the user one merge card. You decide every routine question yourself and record it. The user sees your decisions once, on the merge card and in the explainer.
Start
- When the user said "mode auto" or "auto mode" and
hedge mode showprints another mode, ask the questionhedge mode setnames on your question tool, "Which mode should thread<this thread>run in?", with the options "mode supervised", "mode auto", and "mode full". Describe "mode full" as "Merges every pull request on its own, also in repositories that want your approval for each one, unless your own instructions say otherwise", so that the answer is an informed approval. Record the mode they chose:hedge mode set <mode> --thread <this thread> --message <answer id> --words '<date> "<their whole answer>"', with the answer's id and its whole text, such asmode full (Recommended), fromhedge thread read <this thread> --words. Their typed words alone switch nothing. Whenhedge mode setcannot reach the decision ledger, the thread runs supervised: once the hub answers, ask the card again before any other step and record that new answer, never the old one. Then go by the mode thathedge mode setprints on its first line, never by the choice alone: a newer answer may hold. When it is notMode: Auto, follow that mode's skill from here and stop this one. Never switch the mode yourself. - Put the label
mode:autoon the work's tracking issue, and take off any othermode:label. - Run
hedge mode showwhen you are unsure which mode a thread runs in.
Build
Build the work as full-stop says: slice it, build it test-first, prove it, and review it. full-stop turns on Ready on green in this mode: mark each pull request ready once it passes the ready gate. These parts of full-stop change:
- No plan question. Decide the plan yourself and write it on the tracking issue, with each decision and its reason. Ask only for what the next section keeps for the user.
- Review and proof. Decide how many review rounds and final reads run, which proof gaps you accept, and when the review stops, as
hedge proofprints. Record each decision withhedge decision record --mark 🤖orhedge proof review --agent. - Stamp. When the repo has an approval bot, slice the work to the stamp before you write code, and ask the bot for a stamp once the pull request is ready, as
full-stopReady on green says. Its verdict goes on the merge card. Never merge on the stamp alone.
What you bring to the user at once
Ask with the question tool, in one card, only for:
- a big gap: a proof that cannot run on a critical pull request, or a proof the user named;
- a blocker: no part of the work can move without the user, such as a secret only they hold;
- a critical issue: an open security finding, a guard or policy refusal, a destructive action the user did not ask for, a new public contract, or a one-way door.
Keep working on every other part while the card waits.
Grilling and prototypes
A grilling or prototype session always has the user in the loop: ask each round on the question tool, and wait for the answer. The mode never answers for them.
Merge card
When every pull request of a stack is ready, bring them together: one merge card for the stack, or for every stack of the work once all of them are ready. Each row is the merge card line of hedge proof gate. For each pull request, the card also says:
- the stamp verdict, or the forecast when no stamp ran;
- your recommendation on a team review: Team review when it makes a decision the team should know, Heads-up when it changes a core path, or No team review;
- each gap you accepted, and each known issue.
Before the card, build an explainer of the whole work across its stacks with explain-diff, unasked. It names every decision you made, every gap you accepted, and every known issue, so the user reviews the work through it. Link it in the card's question text.
A pull request with a gap you accepted gets its own question on the card, as the merge gate's refusal names it. The user's "Merge" is the merge word for that pull request at that head. Record it with hedge decision record --mark 👤 --class merge, merge in the same turn, and roll out with rollout. A push after the answer needs a new card.
Last line
End every final message with Mode: Auto on the line with the next action.
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.

