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 skills add iso73-ops/claude-keitaro --skill keitaro-optimizegit clone --depth 1 https://github.com/iso73-ops/claude-keitaroWrote 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/skills/iso73-ops/claude-keitaro/keitaro-optimize)<a href="https://agentmods.dev/skills/iso73-ops/claude-keitaro/keitaro-optimize"><img src="https://agentmods.dev/badge/skills/iso73-ops/claude-keitaro/keitaro-optimize/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/skills/iso73-ops/claude-keitaro/keitaro-optimize"><img src="https://agentmods.dev/badge/skills/iso73-ops/claude-keitaro/keitaro-optimize.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.00066 | $0.00882 |
| Opus 5 | $0.00033 | $0.00441 |
| Sonnet 5 | $0.00013 | $0.00176 |
| Haiku 4.5 | $0.00007 | $0.00088 |
Grade A, and why
keitaro-optimize 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 11d 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 — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Keitaro Auto-Optimization
Process
- Read
keitaro/references/optimization-rules.mdfor decision logic - Read
keitaro/references/verticals.mdfor vertical-specific thresholds - Pull performance data via report API
- Apply rules to identify actions
- Present action plan with estimated impact
- Execute only after user confirmation
Optimization Pipeline
Step 1: Collect Data
Build report grouped by stream_id with metrics:
clicks, conversions, revenue, cost, profit, roi, cr, epc
Step 2: Classify Each Flow
For each flow, determine status based on vertical thresholds:
| Status | Condition | Action |
|---|---|---|
| KILL | ROI < kill threshold AND clicks >= min | Recommend pause |
| WARNING | ROI in warning range | Monitor, flag |
| STABLE | ROI in good range | Keep running |
| SCALE | ROI > scale threshold AND clicks >= scale min | Recommend weight increase |
| TESTING | clicks < min threshold | Wait for data |
Step 3: Generate Action Plan
Present as prioritized list:
Optimization Plan — Campaign #12
═══════════════════════════════════════
KILL (save $X/day):
✗ Flow "Test Landing C" — ROI: -45%, 180 clicks, 0 conv
→ Action: Pause flow (saves ~$15/day)
SCALE (earn +$X/day):
↑ Flow "DE Mobile" — ROI: +78%, 3,259 clicks, 62 conv
→ Action: Increase weight 60% → 70% (est. +$12/day)
TESTING (wait):
? Flow "New Offer X" — ROI: +15%, 45 clicks, 2 conv
→ Action: Need 55 more clicks before decision
TOTAL ESTIMATED IMPACT: +$27/day
Step 4: Execute (After Confirmation)
Only execute after user says "yes", "do it", "apply", etc.
Actions:
- Kill →
POST /streams/{id}/disable - Scale →
PUT /streams/{id}with new weight - Rebalance → adjust all weights proportionally
Bulk Optimization
When user says "optimize all campaigns":
- Get all active campaigns
- Build report grouped by campaign_id
- For each campaign with sufficient data:
- Run flow-level optimization
- Aggregate actions
- Present summary:
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.
- 11d ago First seen · 114 lines · 66 tokens per session scan A e30cddee7f3c
keitaro-optimize is a skill published in the GitHub repository iso73-ops/claude-keitaro (24 stars, last pushed 5mo ago), licensed MIT. It adds 66 tokens to every session and 882 once invoked, about $0.0003 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-30.
Other skills, from other repositories
financial-planner
Your Personal Finance Manager for Canadians — an AI financial planning partner that conducts thorough financial interviews, builds complete plans, generates interactive dashboards, and provides ongoing coaching. Use this skill whenever someone asks about budgeting, saving, investing, debt strategy, retirement…
powerpoint-mcp
PowerPoint MCP Server skill for Windows presentation automation via a live PowerPoint desktop instance (COM/PIA). Use when an assistant needs rich MCP tools to create, open, build, format, and export PowerPoint (.pptx/.pptm) presentations — slides, shapes, text boxes, tables, native charts, images, audio, video…
vibe-ship
Generates a complete, production-ready deployment setup for any app in one pass -- Dockerfile, docker-compose.yml, .dockerignore, CI/CD (GitHub Actions), scalability config (health checks, resource limits, K8s on request), and security hardening (non-root user, secrets, dependency scanning). Auto-detects the stack…
swarm
Run a multi-agent audit of a codebase by spawning specialized parallel subagents (security, performance, tests, architecture, dead-code), then synthesize their findings into a single prioritized action plan. Use this whenever the user runs /swarm, asks to "audit the repo," "review this codebase," "find issues across…
log-correlation
Correlates and troubleshoots logs across OS (Linux/macOS), AWS (CloudWatch, CloudTrail, ALB, Lambda), application (JSON, logfmt), and web servers (Nginx, Apache).
tools-unity-behavior-designer
Behavior Designer patterns for AI behavior trees including task creation, shared variables, conditionals, and debugging.