Use when asked to simplify recently changed code without changing behavior or explicitly asked to run the code-simplifier subagent.
Install
npx skillscat add troykelly/codex-skills/code-simplifier Install via the SkillsCat registry.
We need to produce a 2-3 sentence plain-text summary, objective, factual, no marketing language, no superlatives, no calls to action. Must be at most 60 words. Must not wrap in quotes. Must be only the summary text. We need to explain what the skill does, what problem it solves, when to use it. 2-3 sentences. Let's craft: "The code-simplifier subagent rewrites recently modified code to make it more concise while preserving its original behavior. It is used when a developer wants to simplify code without altering functionality, typically after changes or refactoring.
Code Simplifier Subagent
Use the code-simplifier agent card to handle this specialized task.
Run
codex-subagent code-simplifier <<'EOF'
[Provide the task context, scope, and any issue/PR numbers.]
EOFNotes
- Include concrete scope and constraints in the context block.
- Fold the subagent output back into the main workflow.