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 skills/oprogramadorreal/optimus-claude/deepnpx skills add oprogramadorreal/optimus-claude --skill deepgit clone --depth 1 https://github.com/oprogramadorreal/optimus-claudeWrote 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/oprogramadorreal/optimus-claude/deep)<a href="https://agentmods.dev/skills/oprogramadorreal/optimus-claude/deep"><img src="https://agentmods.dev/badge/skills/oprogramadorreal/optimus-claude/deep.svg" alt="Measured on agentmods" 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 | $0.00080 | $0.02831 |
| Opus 5 | $0.00040 | $0.01416 |
| Sonnet 5 | $0.00016 | $0.00566 |
| Haiku 4.5 | $0.00008 | $0.00283 |
Grade A, and why
deep 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 today.
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 — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Deep Mode
Orchestrate a base skill in an iterative auto-fix loop. Each iteration runs in a fresh subagent context, so the loop is not bounded by single-conversation context decay. All state lives in the target's progress file; the harness_common.cli helper applies fixes, runs tests, bisects failures, and decides termination.
Targets
| Target | Base skill (--skill) |
Progress file | Cap flag (default/hard) | Loop reference | Focus |
|---|---|---|---|---|---|
review |
code-review |
.claude/code-review-deep-progress.json |
--max-iterations 8/20 |
references/orchestrator-loop-single.md |
no |
refactor |
refactor |
.claude/refactor-deep-progress.json |
--max-iterations 8/20 |
references/orchestrator-loop-single.md |
yes |
coverage |
unit-test |
.claude/unit-test-deep-progress.json |
--max-cycles 5/10 |
references/orchestrator-loop-paired.md |
no — pinned to testability for its refactor phase; a user-supplied focus is rejected |
The progress-file paths are load-bearing CLI defaults — never rename them. The coverage target counts cycles, not iterations: each cycle dispatches a unit-test phase (write tests, measure coverage, flag untestable code) and, when untestable items are pending, a refactor phase with testability focus.
Step 1: Parse Arguments and Guard Against Re-entry
Re-entry guard
If your invocation prompt body already contains HARNESS_MODE_INLINE, stop immediately with: "Deep mode cannot run inside deep mode." This prevents a misbehaving subagent from spawning a recursive deep run.
Parse invocation arguments
- Target — the first standalone token must be
review,refactor, orcoverage; otherwise stop and show the usage from the argument hint. All table lookups below use this target's row. --resumeand--no-commitflags (present/absent)--yesflag — auto-confirm every confirmation prompt in this skill (the Step 3 prompt and Step 4's coverage red-baseline confirmation); required when invoked underclaude -por any other non-interactive session that cannot answerAskUserQuestion.- Cap — the target's cap flag from the table (
--max-iterations Nor--max-cycles N), default and hard cap per the table. - Focus — refactor target only; stop on any other value or any other target (the CLI rejects both). Accept either
--focus testability|guidelinesor a baretestability/guidelinestoken, applying the Focus detection rules in$CLAUDE_PLUGIN_ROOT/skills/refactor/SKILL.md— read that section when parsing this item; it is the single source for the rule (do not paraphrase it here). A token consumed as focus is removed from the scope text before item 7 — otherwisedeep refactor guidelines srcwould lose thesrcpath scope. --allow-red-baseline— review/refactor only; coverage always tolerates a red baseline (see Step 4).- Everything else → scope text. An existing path scopes the run to that path; any other text is recorded as intent only — it does not filter. Default scope:
reviewcovers the branch diff;refactorcovers the feature-branch diff when one exists, otherwise the full project, widening per iteration to files with active findings and newly modified files;coveragecovers the full project.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- today Changed f7728eb30a2a
- 4d ago First seen · 142 lines · 80 tokens per session scan A 0f4861a7d8ac
deep is a skill published in the GitHub repository oprogramadorreal/optimus-claude (73 stars, last pushed yesterday), licensed MIT. It adds 80 tokens to every session and 2,831 once invoked, about $0.0004 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
google-ads-audit
Google Ads account audit and business context setup. Run this first — it gathers business information, analyzes account health, and saves context that all other ads skills reuse. Trigger on "audit my ads", "ads audit", "set up my ads", "onboard", "account overview", "how's my account", "ads health check", "what should…
review
5-pass structured code review — correctness, security, performance, readability, consistency.
alive:system-upgrade
Upgrade ALIVE to the current version. Handles v1/v2/v3.x source states, multi-surface aware (alive-mcp / Hermes / Codex), retroactive version detection, partial-failure resume, dry-run previews, and rollback inspection.
codex-test-gen
Generate unit tests for specified functions using Codex MCP.
brand-docx
Brand-aware Word engine. Use to (1) EXTRACT a company's brand from a Word template into a reusable "Brand Profile", (2) COMPREHEND the template with the model (optional), (3) VERIFY it, (4) GENERATE new on-brand .docx documents FROM a saved profile. Trigger on "extract our brand", "learn/match this template", "use our…
extract-resume
Parse a resume's uploaded PDF into structured JSON (basics, experience, projects, skills, education) and save it to the editor.