intuitive-refactor

intuitive-refactor is a skill for Claude Code, Codex from MiaoDX/intuitive-flow. It costs 25 tokens per session (871 once invoked), scanned A, original, MIT.

A procedure for cleaning up a known code, module, or API boundary and making one implementation the clear owner of the behavior.

In plain words
What is it for?
Use it for targeted refactors, architecture cleanup, repeated maintenance campaigns, and reviews of recently changed code.
Why use it?
It reduces stale code, duplicate concepts, compatibility workarounds, and oversized modules while checking that behavior still works.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: $skill-name invocation.

Good fit Use it for targeted refactors, architecture cleanup, repeated maintenance campaigns, and reviews of recently changed code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/miaodx/intuitive-flow/intuitive-refactor
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 MiaoDX/intuitive-flow --skill intuitive-refactor
Clone the repo
git clone --depth 1 https://github.com/MiaoDX/intuitive-flow

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 intuitive-refactor

README.md
[![agentmods](https://agentmods.dev/badge/skills/miaodx/intuitive-flow/intuitive-refactor/github.svg)](https://agentmods.dev/skills/miaodx/intuitive-flow/intuitive-refactor)
Your own site
<a href="https://agentmods.dev/skills/miaodx/intuitive-flow/intuitive-refactor"><img src="https://agentmods.dev/badge/skills/miaodx/intuitive-flow/intuitive-refactor/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 intuitive-refactor

Your own site · 80×15
<a href="https://agentmods.dev/skills/miaodx/intuitive-flow/intuitive-refactor"><img src="https://agentmods.dev/badge/skills/miaodx/intuitive-flow/intuitive-refactor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 871 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00025 $0.00871
Opus 5.5 $0.00010 $0.00348
Sonnet 5.5 $0.00005 $0.00174
Haiku 4.5 $0.00003 $0.00087

Measured 22d ago against content hash 971ca59500f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

intuitive-refactor 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 22d 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.

skills/intuitive-refactor/SKILL.md · 80 lines

How it starts

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

Intuitive Refactor

Use $intuitive-refactor to make selected cleanup canonical: delete stale surfaces, merge duplicate concepts, move behavior to the right owner, update callers/tests/docs, and prove the behavior still holds.

This is a compact runtime router for mutation work. $intuitive-reduce-entropy owns unknown-target discovery and cleanup candidate ranking; return here only after the user names a target or selects a candidate packet.

Route

Need Read
Route selection, scope gate, severity guide, evidence ladder Mode router
Repeated cleanup, oversized modules, stale surfaces, deletion/owner-move ratchets Ratchet mode
Long-running ratchet overlay, active capsule, selected-slice loop, or repo-wide maintenance goal Ratchet campaign and durable run
Diff-scoped reuse/quality/efficiency review after implementation Changed code review
Detailed workflow, templates, command naming, persistent-state examples Detailed guidance

If multiple routes match, load the narrowest reference first and add the next one only when the work crosses that boundary.

Operating Rule

Start from a target and a stop condition, not from "make it cleaner."

  • Known seam/module/API/stale surface: gate or execute a bounded refactor slice.
  • Unknown repo-wide cleanup or deletion/merge discovery: route to $intuitive-reduce-entropy first. Use its selected-candidate packet as this skill's discovery source.
  • Repeated cleanup or "keep going": run ratchet route, add the campaign overlay only for long-lived/resumed work, execute only selected clear P1/P2 slices, and park uncertain decisions.
  • Periodic whole-repo architecture maintenance: add the campaign overlay's repo-wide maintenance goal loop, alternate fresh reduce-entropy handoffs with execution of every clear queue item, and stop only after saturation deduplicates parked and low-value registries.
  • Changed-code cleanup: stay diff-scoped; report findings first and fix only when authorized by the user or approved flow.

Read the full file on GitHub · 80 lines

Files

What ships with it

5 files 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. 22d ago Changed · -7 lines 971ca59500f3
  2. 27d ago Changed 5bf0c24af908
  3. 1mo ago Changed · -12 lines · -160 tokens per session e15967744e7d
  4. 1mo ago First seen · 99 lines · 185 tokens per session scan A 7e51b6a805ec

Subscribe to this mod's changes

intuitive-refactor is a skill published in the GitHub repository MiaoDX/intuitive-flow (48 stars, last pushed 8d ago), licensed MIT. It adds 25 tokens to every session and 871 once invoked, about $0.0001 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

spawn-agent

Spawn worker agents (Gemini CLI or Codex CLI) to keep main context clean. Use for implementation, codebase research, context gathering, or any scoped work that would pollute the orchestrator's context.

khanhbkqt/spawn-agent · 46 tokens

dev-updates

Detect and summarize uncommitted git changes grouped by feature area, then generate a structured commit message. Use when the user says "what's the update?", "what changed?", "summarize my changes", "what have I done?", or "what did I update?".

jefuriiij/dev-updates · 59 tokens

build-teaql-app

Build or change a TeaQL application in Java, Rust, Go, Swift, Python, C#/.NET, or TypeScript, including Kotlin/JVM applications that consume Java-generated libraries. Mandatory order: first draft and save a complete KSML model, then verify the client and evaluate that saved model, repair it through repeated evaluation…

teaql/teaql-agent-kit · 112 tokens

installing-cli-tools

Install, upgrade, configure, and verify developer CLI tools safely. Use when a user asks to install a new CLI, command-line app, SDK tool, package-manager binary, GitHub release binary, language runtime tool, or AI/vendor CLI; configure shell PATH/completions; run first login; set API keys, tokens, or env variables…

CodeAlive-AI/ai-driven-development · 94 tokens

clipboard

Copy text to clipboard with optional rich formatting. Triggers on "copy to clipboard", "copy that", "pbcopy", "copy formatted", "copy rich text".

CodeAlive-AI/ai-driven-development · 36 tokens

neo4j-document-import-skill

Ingests unstructured and semi-structured documents into Neo4j as a knowledge graph. Use when chunking PDFs, HTML, plain text, or Markdown; extracting entities and relationships from text with an LLM (SimpleKGPipeline, neo4j-graphrag); loading JSON via apoc.load.json; building Document→Chunk→Entity graph structures; or…

neo4j-contrib/neo4j-skills · 187 tokens