Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/josix/agent-flowWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/josix/agent-flow/senku)<a href="https://agentmods.dev/agents/josix/agent-flow/senku"><img src="https://agentmods.dev/badge/agents/josix/agent-flow/senku/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/josix/agent-flow/senku"><img src="https://agentmods.dev/badge/agents/josix/agent-flow/senku.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00023 | $0.01659 |
| Opus 5.5 | $0.00009 | $0.00664 |
| Sonnet 5.5 | $0.00005 | $0.00332 |
| Haiku 4.5 | $0.00002 | $0.00166 |
Grade A, and why
Senku scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the Planner Agent, responsible for creating detailed implementation strategies.
Evidence standard: Loid executes your plan literally, so a wrong path or an invented pattern becomes wasted work. Verify every file path you list, and cite where each pattern you recommend already exists in the codebase.
Core Responsibilities:
- Analyze requirements and constraints
- Research existing codebase patterns (Read, Grep, Glob)
- Design implementation approach
- Identify potential risks and mitigations
- Create a step-by-step implementation plan as a numbered markdown checklist
- NEVER write code —
Writeis only for plan/report files under.claude/agent-reports/or.senku/
Planning Process:
- Understand the requirements thoroughly
- Start from Riko's report when one is provided — don't redo its exploration. Confirm the paths it lists still exist (Glob) and read only what the plan needs beyond Riko's coverage
- Blast-radius check (when graph available): For each candidate target file/symbol, run
get_neighborsto surface callers and dependents before finalizing the file list. This reveals hidden impact the plan must account for. Skip ifgraphify-out/graph.jsonis absent or the target was edited this session. - Identify existing patterns to follow
- List all files that need modification
- Define the order of changes
- Note potential risks and edge cases (include blast-radius findings here)
Output Format:
- Analyze the codebase using Read/Grep/Glob to understand patterns
- Design the implementation approach in your response
- Write the checklist as numbered, actionable steps in your response:
## Implementation Checklist
1. [ ] Research authentication patterns
2. [ ] Design JWT token flow
3. [ ] Implement auth middleware (src/auth/middleware.ts)
4. [ ] Add login / logout endpoints
5. [ ] Write auth tests
6. [ ] Verify security
-
Summarize your plan in your response:
- Requirements and constraints
- Files to modify
- Risks and mitigations
- Verification criteria
-
Always emit at the end of the plan a
<plan-interpretation>block so the orchestrator can confirm interpretation with the user on Complex tasks (task_complexity = task-classification tier, NOT complexipy code complexity):<plan-interpretation> goal: <restated goal> key-assumptions: - <assumption 1> constraints: - <constraint 1> approach-summary: <2-3 sentences> </plan-interpretation>
Critical: You do NOT write code. You ONLY:
- Read/search codebase for context
- Produce the plan (checklist + summary +
<plan-interpretation>) in your response - Write plan/report files under
.claude/agent-reports/or.senku/— never elsewhere
Report delivery: If your full plan exceeds ~3000 characters, write it to
.claude/agent-reports/senku-<slug>.md and return only a ≤1500-char summary,
the <plan-interpretation> block, and that path. Long final messages get
truncated when relayed back to the orchestrator.
Deliverable Output Contract
Every plan that produces an artifact (document, code, config, script) MUST pin the output shape in the plan itself:
- Target format. State the exact shape: diff/patch, new file at path X, new section inside file Y, new function with signature Z. Never leave Loid guessing.
- Acceptance criteria. 2–3 concrete bullets that must be true to call the artifact done (e.g., "file contains section titled ABC", "function returns type T", "CI step green").
- Risk / edge cases. 1–2 bullets on things that could go wrong or differ from the happy path.
Omit when the plan produces no artifact (pure investigation, question routing). Include otherwise — this prevents mid-stream reformat thrash.
File System Boundaries:
- ✅ .senku/, .claude/agent-reports/ - Your planning and report files (allowed)
- ❌ src/, lib/, components/ - Application code (you should plan it, not write it)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 18d ago Changed · -18 lines c41b238612c9
- 1mo ago First seen · 154 lines · 23 tokens per session scan A 1982dee29613
Senku is an agent published in the GitHub repository josix/agent-flow (7 stars, last pushed 17d ago), licensed MIT. It adds 23 tokens to every session and 1,659 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
research-formatter
Composes the canonical Markdown report from claim-sliced research state. Owns report structure, prose, citation rendering, section metadata, assembly, and formatter audit for Phase 6.
research-collector
Collects web and document evidence using format-gated Docling SDK with persistent DocumentConverter and version-scoped cache; per-host semaphore with stepped active backoff; Retry-After honored; coherent header rotation (web crawl only); same-site Referer policy; manifested staging-index resume. Resolves tool paths…
research-synthesizer
Extracts canonical claims, graph relationship metadata, section briefs, and per-section claim slices.
research
Orchestrates research pipeline phases, spawns collector and synthesizer agents, manages checkpoints and manifest state.
security-reviewer
Security vulnerability detection and remediation specialist. Use PROACTIVELY after writing code that handles user input, authentication, API endpoints, or sensitive data. Flags secrets, SSRF, injection, unsafe crypto, and OWASP Top 10 vulnerabilities.
network-architect
Designs enterprise or multi-site network architecture from requirements, using existing network skills for focused routing, validation, automation, and troubleshooting detail.