No slash command · from agent-flow
Defines behavioral rules for agent model selection, tool access permissions, and operational guardrails across multiple agent roles.
Ships in agent-flow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Define behavioral rules governing model selection, tool access, and operational guardrails.
This skill consolidates four core constraint domains:
Apply these constraints when spawning agents, checking permissions, or reviewing behavior.
| Agent | Model | Rationale |
|---|---|---|
| Senku (Planner) | Opus | Strategic planning needs deep reasoning |
| Riko (Explorer) | Sonnet (effort: medium) | Exploration is breadth-first search; speed matters more than deep reasoning |
| Loid (Executor) | Sonnet | Balanced speed and capability for implementation |
| Lawliet (Reviewer) | Sonnet | Fast iteration for review feedback loops |
| Alphonse (Verifier) | Sonnet | Quick verification command execution |
| Speedwagon (Authoring) | Sonnet | Fast content authoring for explainer modules |
Decision Rule:
effort: high)See Model Selection Guide for detailed criteria.
Riko (Explorer): [Read] [Grep] [Glob] [Bash]* [WebSearch] [WebFetch]
Senku (Planner): [Read] [Grep] [Glob] [Write]§
Loid (Executor): [Read] [Write] [Edit] [Bash] [Grep] [Glob]
Lawliet (Reviewer): [Read] [Grep] [Glob] [Bash]
Alphonse (Verifier): [Read] [Bash] [Grep]
Speedwagon (Authoring):[Read] [Grep] [Glob] [Write]† [Edit]† [Bash]‡
Key Restrictions:
.claude/agent-reports/ via Bash heredocFootnotes:
.claude/agent-reports/ or .senku/ only — never source codeexplain-out/ and .claude/explain-briefs/ onlybash ${CLAUDE_PLUGIN_ROOT}/scripts/compile-explain.sh onlySee Tool Access Details for per-agent breakdowns.
The orchestrator may invoke the OpenAI Codex CLI as an external Bash dispatch
during Phase 4 (Review) when the Execution Profile includes Codex (not fast) and codex.available: true in orchestration state.
Codex is off by default and enabled per run with --codex or AGENT_FLOW_CODEX=1; the default second opinion is the
review panel (read-only Lawliet lenses, see skills/verification-gates/references/review-panel.md), which is a persona dispatch, not an external CLI.
This is the only sanctioned non-persona tool call from the orchestrator.
git diff under review (or only
the fix diff via --diff-base <rev> in review-fix rounds). It runs in
parallel with Lawliet and Alphonse and does NOT receive Lawliet's findings —
those are included only on a sequential re-check (e.g. a disputed finding).
See skills/verification-gates/references/codex-co-review.md and
docs/guides/using-codex-review.md for the data boundary.-s read-only --ignore-user-config sandbox.skills/verification-gates/references/codex-co-review.md (canonical).--codex or AGENT_FLOW_CODEX=1; AGENT_FLOW_NO_CODEX=1 forces it off and wins.Personas (Riko/Senku/Loid/Lawliet/Alphonse) must NOT invoke codex directly.
| Agent | Key Constraints |
|---|---|
| Riko | Read-only; summarize findings concisely |
| Senku | Create actionable plans; estimate complexity |
| Loid | Run targeted checks on changed code (Alphonse runs the full suite); follow the plan exactly |
| Lawliet | Cite specific code; distinguish blockers from suggestions; no file writes except its own report in .claude/agent-reports/ |
| Alphonse | Run all verification commands (except type/lint in parallel mode — reported COVERED (Lawliet)); report exact output; no file writes except its own report in .claude/agent-reports/ |
| Speedwagon | Write only to explain-out/ and .claude/explain-briefs/; Bash only for compile-explain.sh |
Prefer MCP tools over shell commands for domain operations.
| Domain | Preferred | Fallback |
|---|---|---|
| GitHub | gh CLI or MCP | API calls |
| Obsidian | MCP tools | File operations |
| Playwright | MCP tools | - |
| Database | MCP tools | Direct SQL |
See MCP Tool Guide for domain-specific guidance.
| Tool | Riko | Senku | Loid | Lawliet | Alphonse | Speedwagon |
|---|---|---|---|---|---|---|
| Read | Yes | Yes | Yes | Yes | Yes | Yes |
| Grep | Yes | Yes | Yes | Yes | Yes | Yes |
| Glob | Yes | Yes | Yes | Yes | - | Yes |
| Write | - | Scoped§ | Yes | - | - | Scoped† |
| Edit | - | - | Yes | - | - | Scoped† |
| Bash | Yes* | - | Yes | Yes | Yes | Scoped‡ |
| WebSearch | Yes | - | - | - | - | - |
*Riko: Bash restricted to AST analysis tools only (ast-grep, tree-sitter, language parsers), plus writing its own report to .claude/agent-reports/
§Senku: Write restricted to plan/report files under .claude/agent-reports/ or .senku/
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
agent-routing, tool-permissions, guardrails, mcp-preferences
npx claudepluginhub josix/agent-flow --plugin agent-flow11 skills in this plugin
/agentsview-usageSearch prior session history to recall how similar work was handled before. Use when you want to leverage a past approach, check prior experience on a topic, answer "how was this handled before", or cross-verify current handling against precedent from earlier sessions./evidence-driven-workGround work in what the system actually did, then tell people about it so they get it at a glance. Use when investigating why something is slow, failing, or ignoring a setting; choosing what to measure, which tool or view can show it, or what access to ask the user for; a hypothesis or estimate was just disproven; judging whether a change is worth making or weighing a proposed approach; verifying a change after it runs in the target environment; citing numbers, logs, or screenshots as evidence; writing a report, PR or ticket description, announcement, or completion summary. Covers observation surfaces across domains, evidence standards, argument structure, narrative reports (background, change, purpose, impact), explaining terms, and clarity over decoration./explainer-design-systemTurn any codebase into a beautiful, interactive single-page HTML course that teaches how the code works to non-technical people. Use this skill whenever someone wants to create an interactive course, tutorial, or educational walkthrough from a codebase or project. Also trigger when users mention 'turn this into a course,' 'explain this codebase interactively,' 'teach this code,' 'interactive tutorial from code,' 'codebase walkthrough,' 'learn from this codebase,' or 'make a course from this project.' This skill produces a stunning, self-contained HTML file with scroll-based navigation, animated visualizations, embedded quizzes, and code-with-plain-English side-by-side translations.Other plugins' skills for the same job