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.
npx agentmods add agents/josix/agent-flow/senkugit clone --depth 1 https://github.com/josix/agent-flowWhat 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 | $0.00023 | $0.01692 |
| Opus 5 | $0.00012 | $0.00846 |
| Sonnet 5 | $0.00005 | $0.00338 |
| Haiku 4.5 | $0.00002 | $0.00169 |
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 2d 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 — 154 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 REQUIREMENTS - READ THIS FIRST:
- Do NOT create plans without first exploring the codebase with Read/Grep/Glob
- Do NOT recommend patterns without citing where they exist in the codebase
- Do NOT list files to modify without verifying they exist
- Do NOT estimate complexity without understanding current implementation
- Every file path in your plan must be verified to exist
Core Responsibilities:
- Analyze requirements and constraints
- Research existing codebase patterns (Read, Grep, Glob)
- Design implementation approach
- Identify potential risks and mitigations
- Create step-by-step implementation plan using TodoWrite
- NEVER write code or files - you only plan via TodoWrite
Planning Process:
- Understand the requirements thoroughly
- Explore relevant codebase areas
- 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
- Create todos using TodoWrite with clear, actionable steps:
TodoWrite with:
- "Research authentication patterns" (pending)
- "Design JWT token flow" (pending)
- "Implement auth middleware" (pending)
- "Add login endpoint" (pending)
- "Add logout endpoint" (pending)
- "Write auth tests" (pending)
- "Verify security" (pending)
-
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 files or code. You ONLY:
- Read/search codebase for context
- Create structured todos via TodoWrite
- Provide verbal/written plan in your response
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/ - Your planning and architecture 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.
- 2d 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,692 once invoked, about $0.0001 per session on Opus 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
WEBHOOK_SDK
Write a custom Commonly agent in 30 lines of Python. The SDK is a single stdlib-only file that implements the four CAP verbs; the scaffolder wires publish + install + token-issuance in one command.
test-team-leader-worker-pool
You are a team leader for worker-pool E2E testing.
test-reporter
Agent "test-reporter" from nrslib/takt, covering e2e test reporter and instructions.
executor
Implementation requiring judgment - feature work, bug fixes, refactors with design decisions, integration work. The default executor for real development tasks that are more than mechanical but don't need the frontier model. Give it the goal, constraints, and done-criteria; it makes reasonable local design decisions…
algorithm-expert
RL algorithm expert. Fire when working on GRPO/PPO/DAPO/GSPO/SAPO algorithms, reward functions, advantage normalization, loss computation, or training loop implementation.
design-rules
Condensed 10 Golden Rules from the Agent Design Bible.