tidy

tidy is a skill for Claude Code, Codex from OutlineDriven/odin-codex-plugin. It costs 84 tokens per session (1,066 once invoked), scanned A, original, Apache-2.0.

A dispatcher for tidying structural mess in code, memory files, workspaces, Git history, and documentation. It identifies the target from the current context and sends the work to the relevant cleanup guidance.

In plain words
What is it for?
Use it when you ask to tidy or clean up a file, workspace, Git stack, memory directory, document, or active code diff.
Why use it?
It keeps cleanup focused and separate from behavior changes, avoiding broad or unrelated reorganizing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it when you ask to tidy or clean up a file, workspace, Git stack, memory directory, document, or active code diff.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/outlinedriven/odin-codex-plugin/tidy
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.

Any agent
npx skills add OutlineDriven/odin-codex-plugin --skill tidy
Clone the repo
git clone --depth 1 https://github.com/OutlineDriven/odin-codex-plugin

Made for: Claude Code, Codex.

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 tidy

README.md
[![agentmods](https://agentmods.dev/badge/skills/outlinedriven/odin-codex-plugin/tidy/github.svg)](https://agentmods.dev/skills/outlinedriven/odin-codex-plugin/tidy)
Your own site
<a href="https://agentmods.dev/skills/outlinedriven/odin-codex-plugin/tidy"><img src="https://agentmods.dev/badge/skills/outlinedriven/odin-codex-plugin/tidy/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tidy

Your own site · 80×15
<a href="https://agentmods.dev/skills/outlinedriven/odin-codex-plugin/tidy"><img src="https://agentmods.dev/badge/skills/outlinedriven/odin-codex-plugin/tidy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,066 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00084 $0.01066
Opus 5.5 $0.00034 $0.00426
Sonnet 5.5 $0.00017 $0.00213
Haiku 4.5 $0.00008 $0.00107

Measured 1mo ago against content hash fe45e4a53c8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tidy 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • tidy — 100% identical, 0 lines differ
skills/tidy/SKILL.md · 88 lines

How it starts

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

Tidy — structural-cleanup dispatcher

Compress first. Before adding complexity, reduce coupling. Before changing behavior, improve structure. This skill detects what needs tidying from context and routes to the right sibling skill. Domain procedures live in the siblings — this skill owns only scope detection, dispatch, and the output contract.

Invariants:

  • Every tidy action is atomic and scoped to what is already in view.
  • Tidy commits are always separate from behavior commits.
  • No opportunistic sweeps beyond the declared or clearly active scope.

Scope detection

Inspect context in priority order and dispatch to the first matching domain:

Signal Domain Dispatch to
File path(s), active diff, or cargo/dune target named Code cleanup-codebase skill
memory/ directory, MEMORY.md, or memory file(s) named Memory memory-clean then memory-update skills
.outline/, /tmp scratch, *.tmp, *.bak, repomix packs Workspace Inline (see below)
git sl, commit stack, commit message(s) named Git git-branchless skill + atomic-commit skill
Docs, comments, ADRs, READMEs, plan files named Docs Inline (see below)
User explicitly says "tidy ICM" or names an ICM topic ICM state Inline (see below)
No clear signal — Ask: "What are we tidying — code, memory, workspace, git, docs, or ICM?"

Inline procedures (workspace, docs, and ICM state)

These three domains are handled inline without a dedicated sibling skill.

Workspace

  1. Discover scratch artifacts in scope:
    fd -t f -E '.git' -E 'target' -E '_build' \
      '(\.(tmp|bak|outline)|repomix-output)' .
    fd -t f /tmp -g '<session-prefix>-*' 2>/dev/null
    
  2. Confirm each is truly scratch (not referenced by any open plan, task, or active diff).
  3. Remove with rip (not rm). Report count and paths.

Docs

  1. Scan in-scope file(s) for: stale TODO/FIXME (git-blame date > 6 months), comments contradicting current code, commented-out code blocks, multi-paragraph docstrings on non-API-surface functions, overclaims about external contracts.
  2. Show the current text + proposed change for each candidate. Edit only on confirmation or for purely cosmetic fixes (whitespace, spelling).
  3. Overclaims: annotate with <!-- VERIFY --> and surface to the user rather than deleting.

Read the full file on GitHub · 88 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. 1mo ago First seen · 88 lines · 84 tokens per session scan A fe45e4a53c8f

Subscribe to this mod's changes

tidy is a skill published in the GitHub repository OutlineDriven/odin-codex-plugin (14 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 84 tokens to every session and 1,066 once invoked, about $0.0003 per session on Opus 5.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.

Related

Other skills, from other repositories

duet

Two-party posture — user as director, agent as executor; every fork, tradeoff, or choice surfaced via batched AskUserQuestion with a recommended default. Use when the user invokes /duet, says "ask before" / "pair with me" / "human-in-the-loop", or for aesthetic/architectural/irreversible decisions.

OutlineDriven/odin-gemini-cli-extension · 73 tokens

ai-collab-protocols

Surface in-task-collaboration protocols when the user describes an AI workflow informally — URL-as-entity-reference, PR-comment threads as session memory. Trigger when the user names entities by colloquial label instead of stable URL, asks "how should I structure this for Claude", or describes a multi-step Claude…

OutlineDriven/odin-gemini-cli-extension · 84 tokens

tidy

Tidy-operations dispatcher. Invoke on "tidy", "clean up", "tidy this file/memory/workspace/git/docs", or when active context (current file, diff, stack, memory directory) has structural rot to resolve before touching behavior. Detects target domain from context and routes to the sibling skill. Requires explicit target…

OutlineDriven/odin-gemini-cli-extension · 84 tokens

inbox

Drain parked decisions — read a tagged digest of every blockedonquestion task's open questions, pick which to answer now, deep-dive each via AskUserQuestion, and record the answer through the answer verb. One pass, suggest-don't-force, no self-loop.

firatcand/forge · 58 tokens

setup

Use when superb's skills need their dependencies installed or checked — "set up superb", "install the dependencies", "why does pipeline say superpowers is missing", after a fresh plugin install, or on a new machine. Also use when a skill fails complaining that a superpowers sub-skill cannot be found.

kardebadas/claude-plugin · 64 tokens

status

Show a one-line Claude Code usage snapshot — current streak, hours today, and burnout risk.

sasly2048/codex-atlas · 19 tokens