reset

reset is a skill for Claude Code, Codex from oprogramadorreal/optimus-claude. It costs 81 tokens per session (2,207 once invoked), scanned B, original, MIT.

A cleanup tool for files installed by the Optimus initialization and permissions commands. It checks whether each file is unchanged, generated, or modified by the user before removal.

In plain words
What is it for?
Use it to review and remove eligible Optimus files from the project's configuration and documentation areas, with confirmation before deletion.
Why use it?
It helps remove setup files while identifying user changes and leaving tests and protected files untouched.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the optimus plugin — 19 skills, 15 agents, 3 hooks shipped together

Install

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.

agentmods
npx agentmods add skills/oprogramadorreal/optimus-claude/reset
Any agent
npx skills add oprogramadorreal/optimus-claude --skill reset
Clone the repo
git clone --depth 1 https://github.com/oprogramadorreal/optimus-claude

Made for: Claude Code, Codex.

Or install optimus, the plugin that ships this one along with the rest of its 19 skills, 15 agents, 3 hooks.

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 reset

README.md
[![agentmods](https://agentmods.dev/badge/skills/oprogramadorreal/optimus-claude/reset.svg)](https://agentmods.dev/skills/oprogramadorreal/optimus-claude/reset)
Your own site
<a href="https://agentmods.dev/skills/oprogramadorreal/optimus-claude/reset"><img src="https://agentmods.dev/badge/skills/oprogramadorreal/optimus-claude/reset.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,207 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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 $0.00081 $0.02207
Opus 5 $0.00041 $0.01104
Sonnet 5 $0.00016 $0.00441
Haiku 4.5 $0.00008 $0.00221

Measured 4d ago against content hash 63690aebc1e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

reset scanned grade B 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 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- CLAUDE.md files: compare line 1 (`head -n 1`) against the template's line-1 HTML comment. Root `.claude/CLAUDE.md` matches `single-project-claude.md` or `monorepo-claude.md`; subproject `CLAUDE.md` → `subproject-claude
skills/reset/SKILL.md · 85 lines

How it starts

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

Reset — Remove optimus-generated files

Remove files installed by /optimus:init and /optimus:permissions. Does NOT uninstall the plugin itself — it only removes files from the project.

Safety Rules

Two boundaries the steps below cannot express, and that override anything else this skill does:

  • NEVER touch test files, test directories, or test configuration — even if /optimus:unit-test created them
  • NEVER touch anything outside .claude/, subproject CLAUDE.md, subproject docs/, and workspace-root CLAUDE.md

.claude/settings.json is never deleted outright — Step 4 removes optimus entries surgically and keeps user content.

Step 1 — Detect and inventory

If the current directory has no .git/ directory, read $CLAUDE_PLUGIN_ROOT/skills/init/references/multi-repo-detection.md and apply it; in a multi-repo workspace, process each child repo independently and also check for a workspace-root CLAUDE.md (local-only). Otherwise it is a single repo — possibly a monorepo whose subprojects have their own init-installed CLAUDE.md and docs/ files.

Inventory optimus-managed files, listing only what exists:

  • .claude/CLAUDE.md, .claude/.optimus-version, .claude/settings.json
  • .claude/docs/{coding-guidelines,testing,styling,architecture,skill-writing-guidelines}.md
  • .claude/hooks/format-* — the plugin's template hooks, any custom format-<language>.sh from init's unsupported-stack fallback, and the legacy format-python.py installed by optimus <= 3.5.0
  • .claude/hooks/restrict-paths.sh
  • .claude/agents/{code-simplifier,test-guardian}.md (legacy — installed by older optimus versions)
  • Monorepo: subproject CLAUDE.md and docs/{coding-guidelines,testing,styling,architecture}.md (subproject coding-guidelines.md exists only when init found the subproject's conventions differ from root — classify it via the near-exact-pair rule below)
  • Multi-repo: the above per child repo, plus the workspace-root CLAUDE.md

If no optimus files are found anywhere → say "Nothing to reset — no optimus files found" and stop. If .claude/.optimus-version is missing, warn that the project may not have been initialized by optimus, but proceed.

Read the full file on GitHub · 85 lines

Files

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.

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. 4d ago First seen · 85 lines · 81 tokens per session scan B 63690aebc1e8

Subscribe to this mod's changes

reset is a skill published in the GitHub repository oprogramadorreal/optimus-claude (73 stars, last pushed yesterday), licensed MIT. It adds 81 tokens to every session and 2,207 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.