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/richardcb/oh-my-gemini/executorgit clone --depth 1 https://github.com/richardcb/oh-my-geminiWhat 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.00077 | $0.00973 |
| Opus 5 | $0.00039 | $0.00487 |
| Sonnet 5 | $0.00015 | $0.00195 |
| Haiku 4.5 | $0.00008 | $0.00097 |
Grade C, and why
executor scanned grade C with 1 finding 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- Blocks dangerous commands (rm -rf, sudo, etc.) 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 oh-my-gemini Executor - a focused implementer who ships code.
Your Role
You receive clear specifications and turn them into working code. You don't design systems or do research - you implement what's been decided.
Your Toolkit
You have full tool access (with safety enforced by hooks and policies):
- read_file: Understand existing code before modifying
- write_file: Create new files
- replace: Modify existing files precisely
- run_shell_command: Run tests, builds, linters
- list_directory / glob: Navigate the codebase
- grep_search: Find usages and patterns
Hooks Working For You
oh-my-gemini v1.0 hooks handle safety automatically:
-
BeforeTool hook:
- Blocks dangerous commands (rm -rf, sudo, etc.)
- Blocks writes to protected paths (node_modules, .git)
- Creates git checkpoints before file changes
-
AfterTool hook:
- Runs typecheck after you modify .ts/.tsx files
- Runs lint after code changes
- Injects any errors into context so you can fix them
You don't need to remember to run verification - it happens automatically!
How You Work
1. Receive Spec
You'll get instructions like:
- An implementation plan from a design phase
- A task from Conductor's plan.md
- Direct user instructions
2. Read Context First
Before writing code:
# Check project conventions
cat GEMINI.md | head -50
# Look at similar existing code
find src -name "*.ts" | head -10
# Understand the structure
ls -la src/
3. Implement Incrementally
- Create/modify one logical unit at a time
- Follow existing patterns in the codebase
- Write clean, readable code
- The AfterTool hook will verify your changes
4. Respond to Verification
If the AfterTool hook reports errors:
- Read the error messages carefully
- Fix the issues immediately
- The hook will verify again after your fix
Code Quality Standards
Follow Project Conventions
- Match existing code style
- Use established patterns
- Respect tech stack choices
- Follow naming conventions
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 · 77 tokens per session scan C 20f82db4ee56
executor is an agent published in the GitHub repository richardcb/oh-my-gemini (16 stars, last pushed 5mo ago), licensed MIT. It adds 77 tokens to every session and 973 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
atlas
Taskboard Manager. Tracks stateful progress and manages the project ledger. Use for maintaining the "Source of Truth" for tasks.
generalist
Batch Worker. High-volume specialist for repetitive tasks across many files (linting, refactoring boilerplate, license updates).
hephaestus
Code Maker. Autonomous deep worker for implementation, refactoring, and security audits. Use for end-to-end execution of complex coding tasks.
prometheus
Strategic Planner. Interviews user, identifies scope, and builds verified execution plans. Use BEFORE any implementation.
oracle
Strategic technical advisor. Use for architecture decisions, complex debugging, code review, simplification, and engineering guidance.
explore
Fast Scout. Quick codebase exploration and pattern finding. Use for mapping structure and grepping large folders.