agentleFS
agoopintsaiagoopintsai/shipright/skills/mode/SKILL.md

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

The file

Files
SKILL.md

/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.

ModeLookups per turnWhat is blocked
chat3 (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.
deep10 (the same tools plus Agent)Only read-only subagents (shipright:scout, scout, Explore, Plan, claude-code-guide). Workflow and edits are denied.
delegate5 personal lookupsEdits 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>: run python3 "${CLAUDE_PLUGIN_ROOT}/scripts/shipright_hooks.py" set <mode> (for chat, an optional word limit may follow: set chat 200).
  • /shipright:mode off: run python3 "${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

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.