simplify

simplify is a skill for Claude Code from rjroy/vibe-garden. It costs 63 tokens per session (518 once invoked), scanned A, original, MIT.

A code-cleanup workflow for reducing complexity without changing what the code does. It coordinates separate agents for cleanup, testing, and review.

In plain words
What is it for?
Use it to simplify files with uncommitted changes or matching a file pattern, run tests, and review the result.
Why use it?
It helps improve code structure while checking that existing behavior remains unchanged.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the lore-development plugin — 12 skills, 4 agents shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add rjroy/vibe-garden
Claude Code
/plugin install lore-development

Made for: Claude Code.

Or install lore-development, the plugin that ships this one along with the rest of its 12 skills, 4 agents.

Wrote 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.

agentmods badge for simplify

README.md
[![agentmods](https://agentmods.dev/badge/skills/rjroy/vibe-garden/simplify.svg)](https://agentmods.dev/skills/rjroy/vibe-garden/simplify)
Your own site
<a href="https://agentmods.dev/skills/rjroy/vibe-garden/simplify"><img src="https://agentmods.dev/badge/skills/rjroy/vibe-garden/simplify.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 518 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.00518
Opus 5 $0.00032 $0.00259
Sonnet 5 $0.00013 $0.00104
Haiku 4.5 $0.00006 $0.00052

Measured 6d ago against content hash 14ad06ac3585, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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 6d 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.

lore-development/skills/simplify/SKILL.md · 40 lines

How it starts

The opening of the file, as written. The whole thing — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Simplify

Orchestrate code cleanup through agent delegation. Preserve behavior. Don't change what the code does.

Act as orchestrator. Dispatch work to sub-agents via the Task tool. Do not edit code directly.

Input

Invoked as /simplify with optional arguments:

  • No args: simplify files with uncommitted changes (git status)
  • File pattern: simplify files matching the pattern
  • Notes path (.lore/work/notes/*.md): resume a previous session

Process

Cleanup. Dispatch code-simplifier:code-simplifier via Task tool with the file list. If .lore/lore-agents.md exists, check for additional simplification agents in the Code Quality section and dispatch them too.

Test. Dispatch a testing agent via Task tool. Include which files changed and how to run the test suite. Expect pass/fail and notable findings. If tests fail, diagnose and route back to the cleanup agent for correction. After two failed attempts on the same issue, escalate to the user.

Review. Dispatch a review agent via Task tool. Include which files to review and the requirement that behavior must be preserved. Route findings back to the cleanup agent for correction. After two failed attempts, escalate to the user.

Output

Record what happened in a notes file at .lore/work/notes/simplify-<identifier>.md. Load ${CLAUDE_PLUGIN_ROOT}/shared/frontmatter-schema.md for the frontmatter fields. The body is freeform — capture which files were processed, what was simplified, any failures and how they were resolved.

Write the body in Markdown per the "Body Format" section of ${CLAUDE_PLUGIN_ROOT}/shared/frontmatter-schema.md. Reach for embedded inline HTML only when a visual carries meaning prose can't, such as a color-coded per-file outcome table.

Escalation

Two conditions require human intervention. Everything else is autonomous.

  1. Stuck loop: Two consecutive failed attempts on the same test or review failure.
  2. Behavior change detected: Tests fail in a way that suggests behavior changed rather than a cleanup regression.

Read the full file on GitHub · 40 lines

Changes

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.

  1. 6d ago First seen · 40 lines · 63 tokens per session scan A 14ad06ac3585

Subscribe to this mod's changes

simplify is a skill published in the GitHub repository rjroy/vibe-garden (6 stars, last pushed 2mo ago), licensed MIT. It adds 63 tokens to every session and 518 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.

Related

Other skills, from other repositories

deep-project

Decomposes vague, high-level project requirements into well-scoped planning units for /deep-plan. Use when starting a new project that needs to be broken into manageable pieces.

piercelamb/deep-project · 38 tokens

bottle

Bootstrap a new or existing project with a small, file-based documentation system so Claude Code keeps context, lessons, and decisions across session restarts instead of starting cold every time. Sets up a handful of markdown files under .claude/ (standing rules, a free-form note to your next session, a phased…

Simooo45/bottle · 209 tokens

init-rpm

Project setup and verification. First run creates rpm context for a project. Repeat runs verify that an existing rpm setup matches the latest expected layout and apply safe migrations.

dppdppd/rpm · 48 tokens

backlog

Manage the rpm backlog (long-term project tasks in docs/rpm/future/tasks.org — distinct from Claude's native TaskCreate list, which is session-scoped). Add, list, review, postpone, or complete entries. TRIGGER on natural-language backlog operations — phrasings like "backlog X", "add X to backlog", "add to backlog"…

dppdppd/rpm · 156 tokens

pace-change

Use when user says "不做了", "搁置", "停掉", "加一个", "加需求", "追加", "改需求", "需求变了", "范围变了", "优先级调", "延后", "提前", "砍掉", "先做这个", "排到前面", "恢复", "捡回来", "pace-change", or wants to add, pause, resume, reprioritize, modify, undo, batch change, or query change history. NOT for code implementation (/pace-dev) or project init (/pace-init).

arch-team/devpace · 124 tokens

pace-release

Use when user says "发布", "部署", "上线", "release", "pace-release", or wants to create, deploy, or close a release. NOT for CI/CD pipeline management (use /pace-sync). NOT for code implementation (use /pace-dev).

arch-team/devpace · 54 tokens