intuitive-squash

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

A procedure for turning a noisy series of local Git commits into a smaller, reviewable history while keeping the final files unchanged.

In plain words
What is it for?
Use it to inspect the correct base branch, compare moderate and aggressive squash plans, keep security or hotfix commits, and rewrite history only after approval.
Why use it?
It makes agent-generated work easier to review and helps preserve important fixes when preparing a branch for a pull request.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present.

Good fit Use it to inspect the correct base branch, compare moderate and aggressive squash plans, keep security or hotfix commits, and rewrite history only after approval.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/miaodx/intuitive-flow/intuitive-squash
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-squash
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-squash

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/miaodx/intuitive-flow/intuitive-squash"><img src="https://agentmods.dev/badge/skills/miaodx/intuitive-flow/intuitive-squash.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 385 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 188
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
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.00032 $0.00385
Opus 5.5 $0.00013 $0.00154
Sonnet 5.5 $0.00006 $0.00077
Haiku 4.5 $0.00003 $0.00038

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

Security

Grade A, and why

intuitive-squash 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 20d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/preflight.test.ts, scripts/preflight.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-squash/SKILL.md · 38 lines

What it actually says

Intuitive Squash

Turn noisy local history into reviewable commits without changing the final tree. Read planning to resolve the base, run the bundled read-only preflight, identify preserved commits, and propose the commit map. Do not mutate branches or the worktree during planning.

Modes

Offer both modes by default, unless the user requests one exact strategy:

Mode Commit shape
Aggressive The fewest coherent reviewable commits, while keeping preserved commits and unrelated change surfaces separate.
Moderate Semantic review and rollback boundaries with phase and fixup churn removed; prefer this for large or high-risk branches.

State the recommended mode and why, then use the mode the user approves for the commit map. For a small stack, the plans may differ only slightly; do not invent splits to make them look different.

Keep marked, security/hotfix, configured-path, and other-author commits standalone as the preflight requires. Disclose publication, merge, signature, and tag risks; record the original-to-final mapping, planned HEAD, backup, and stash strategy. Never rewrite until the user approves the exact plan and applicable risk gates.

Once approved, read rewrite and restore. Recheck planned state, back up before rewriting, verify final tree equality and preserved commit mappings, then restore dirty work. Keep the backup; retain the stash on verification failure or restoration conflict. Report proof and recovery state. Push only when separately authorized, with an explicit expected-old-OID lease if rewriting published history.

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. 20d ago Changed · +13 lines · +8 tokens per session ab4023d57fea
  2. 1mo ago Changed · -165 lines · -49 tokens per session c08a5e070155
  3. 1mo ago First seen · 190 lines · 73 tokens per session scan A ac7ffed1d9bf

Subscribe to this mod's changes

intuitive-squash is a skill published in the GitHub repository MiaoDX/intuitive-flow (48 stars, last pushed 8d ago), licensed MIT. It adds 32 tokens to every session and 385 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.