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/juan294/cc-rpi/codex-simplifynpx skills add juan294/cc-rpi --skill codex-simplifygit clone --depth 1 https://github.com/juan294/cc-rpiWrote 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/juan294/cc-rpi/codex-simplify)<a href="https://agentmods.dev/skills/juan294/cc-rpi/codex-simplify"><img src="https://agentmods.dev/badge/skills/juan294/cc-rpi/codex-simplify.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.00063 | $0.01024 |
| Opus 5 | $0.00032 | $0.00512 |
| Sonnet 5 | $0.00013 | $0.00205 |
| Haiku 4.5 | $0.00006 | $0.00102 |
Grade A, and why
codex-simplify 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 4d 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 — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Codex Simplify
Run a post-implementation cleanup pass over recently changed files.
This skill is the Codex approximation of Claude Code's bundled
/simplify behavior. It intentionally lives outside .claude/skills/
and uses the non-conflicting name codex-simplify so Claude Code keeps
its native /simplify command.
Preserve the public contract:
- target recently changed files
- review for reuse, quality, and efficiency
- use three independent review passes
- aggregate findings
- apply fixes
Treat any user-supplied focus, such as memory efficiency, dead code, duplication, or readability, as extra weighting rather than a replacement for the core three review lenses.
When to use
Use this skill when:
- the code already exists
- the implementation or bug fix is already done
- the user wants a cleanup or refactoring pass rather than new feature work
- a workflow calls for a
/simplify-style pass after review approval
Do not use this skill as a substitute for initial implementation, plan compliance review, or full validation.
Target file selection
Approximate "recently changed files" with this priority order:
- Tracked unstaged changes in the current worktree
- Tracked staged changes
- Untracked files clearly related to the current task
- If the tree is clean, files changed by the most recent commit
Use git to discover the set. Prefer file lists equivalent to:
git diff --name-only --diff-filter=ACMR
git diff --cached --name-only --diff-filter=ACMR
git ls-files --others --exclude-standard
git diff --name-only --diff-filter=ACMR HEAD~1..HEAD
Deduplicate the list. Exclude generated artifacts, lockfiles, build output, and unrelated files unless the user explicitly asks for them.
If there are no relevant changed files, stop and report that
codex-simplify has nothing to do.
Review workflow
Run three independent review passes over the same target file set:
- Reuse pass Look for duplication, repeated logic, avoidable branching, and places where a simpler shared helper or existing abstraction should be used.
- Quality pass Look for confusing structure, dead code, weak naming, brittle conditionals, unnecessary complexity, and maintainability problems.
- Efficiency pass Look for avoidable work, redundant allocations, repeated I/O, wasteful data transformations, and obvious performance footguns.
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.
- 4d ago First seen · 142 lines · 63 tokens per session scan A 7800fb5487a3
codex-simplify is a skill published in the GitHub repository juan294/cc-rpi (5 stars, last pushed 3d ago), licensed MIT. It adds 63 tokens to every session and 1,024 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-31.
Other skills, from other repositories
code-review-expert
Expert-level code review focusing on quality, security, performance, and maintainability. Use this skill for conducting thorough code reviews, identifying issues, and providing constructive feedback.
python-patterns
Python design patterns, best practices, and idiomatic code.
mcporter
List, auth, and call MCP servers/tools from the terminal.
article-writing
Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.
sector-rotation
行业轮动分析——申万行业景气度评分、行业动量排名、产业链传导、估值/盈利/资金流多维比较框架.
mem0-oss-to-platform
Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…