mode
Skill2 starsChanged 16 days agoApache-2.0View on GitHub
Show or switch the session mode (chat, deep, delegate, or off). Modes are enforced by hooks, not just by instructions. Use for "/shipright:mode", "what mode am I in", or "switch mode".
11 other projects use a version of this.
Adopted by
Most recently taken up by
- Edmonds-Commerce-Limited/claude-code-hooks-daemontheir own version, first seen Oct 28, 2026
- eprouveze/claude-skillstheir own version, first seen Oct 20, 2026
- Scylla23/modelroutertheir own version, first seen Oct 20, 2026
- ProjectAJ14/eklavyatheir own version, first seen Oct 20, 2026
- DATA-AI-XYZ/Tandemtheir own version, first seen Oct 15, 2026
- lukasrepublic/agentic-foundrytheir own version, first seen Oct 11, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- ProjectAJ14/eklavya★ 29same name
- YehudaFrankel/clankbrain★ 16same name
- Edmonds-Commerce-Limited/claude-code-hooks-daemon★ 4same name
- LarryStanley/pi-delegate★ 4same name
- ahamedzoha/atelier★ 2same name
- ibahgat/oh-my-iflow★ 2same name
- lukasrepublic/agentic-foundry★ 1same name
- Scylla23/modelrouter★ 1same name
- StakeholderSensei/polygraph★ 1same name
- DATA-AI-XYZ/Tandem★ 0same name
1 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.
The file
Files
/shipright:mode
Three mutually exclusive modes. The current mode lives in a per-session flag file; hooks inject a banner each turn and check every tool call. It persists until you switch it or the session ends. No mode set means no quotas.
| Mode | Lookups per turn | What is blocked |
| chat | 3 (Read, Grep, Glob, Bash, WebFetch, WebSearch) | Replies of more than 300 words are sent back for a rewrite (chat 200 changes the limit). Agent, Workflow, edits and artifact or document tools are denied. |
| deep | 10 (the same tools plus Agent) | Only read-only subagents (shipright:scout, scout, Explore, Plan, claude-code-guide). Workflow and edits are denied. |
| delegate | 5 personal lookups | Edits ask first. Agent is not limited but is monitored: more than 4 at once, more than 8 per turn, or one running over 10 minutes raises an alert and a "Subagent status:" line in the reply. |
Skill, AskUserQuestion, ToolSearch, mcp__ccd_*, SendMessage, ListAgents and ScheduleWakeup are never counted. Tool calls made inside subagents are not counted either, but edits stay denied in chat and deep.
The red-zone gate (see /shipright:grill) is independent of modes and always applies.
How
/shipright:mode <chat|deep|delegate>: runpython3 "${CLAUDE_PLUGIN_ROOT}/scripts/shipright_hooks.py" set <mode>(for chat, an optional word limit may follow:set chat 200)./shipright:mode off: runpython3 "${CLAUDE_PLUGIN_ROOT}/scripts/shipright_hooks.py" clear.- Status: run
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/shipright_hooks.py" status. - Relay the one-line output to the user. Claude cannot change the model itself: remind the user to switch the model and effort in the model menu to match the mode.
- Modes only work in a project with a valid
shipright.yaml; otherwise the hooks stay inert.
Arguments: $ARGUMENTS
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.

