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.
npx agentmods add skills/miaodx/intuitive-flow/intuitive-squashnpx skills add MiaoDX/intuitive-flow --skill intuitive-squashgit clone --depth 1 https://github.com/MiaoDX/intuitive-flowWrote 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.
[](https://agentmods.dev/skills/miaodx/intuitive-flow/intuitive-squash)<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="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00073 | $0.01989 |
| Opus 5 | $0.00036 | $0.00994 |
| Sonnet 5 | $0.00015 | $0.00398 |
| Haiku 4.5 | $0.00007 | $0.00199 |
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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Intuitive Squash
Turn noisy local agent history into a small set of meaningful commits without changing the final tree. After an optional fetch, keep planning free of worktree and local-branch mutations. Never rewrite history until the user approves the exact plan and its risk gates.
Resolve The Base
If the user gives a base ref, verify it and use its merge base with HEAD.
Otherwise inspect:
git fetch --prune --all
git branch --show-current
git rev-parse --abbrev-ref --symbolic-full-name @{upstream}
git remote show origin
git for-each-ref --sort=-committerdate \
--format='%(refname:short) %(committerdate:short) %(subject)' \
refs/remotes/origin
git branch -vv
gh pr view --json baseRefName,headRefName,url
Continue with local evidence if fetch or GitHub CLI access is unavailable, and say what is missing. Rank candidates by:
- the open PR base;
- a configured upstream only when it is an integration branch rather than the current branch's push target;
- the remote default branch, unless stale;
- active long-lived branches such as
dev,develop,trunk, or a release branch that plausibly contains the branch point; mainormasteronly when no stronger evidence exists.
For plausible candidates compare merge base, branch commit count, and latest
commit date. Ask Use <recommended-base> as the squash base, or should I use another ref? when the evidence is ambiguous, the recommendation is not the
remote default, the default looks stale, the upstream is the branch's own
remote counterpart, or the commit count changes materially. Do not analyze or
plan groups until the base is explicit.
Run Read-Only Preflight
After resolving the base, run:
bun <intuitive-squash-skill-root>/scripts/preflight.ts <base-ref> \
--remote-default <remote/default-branch>
The report inventories the exact merge base and HEAD, dirty and untracked
state, upstream divergence, remote publication, merges, signatures, tags,
authors, changed paths, and deterministic preservation reasons. Treat the
reported HEAD as the planned head; rerun preflight if it changes before
execution. Omit --remote-default only when discovery could not identify one;
the script otherwise falls back to a local origin/HEAD symbolic ref. Exit 3
means the report contains a hard stop, not that its read-only probes failed.
What ships with it
3 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.
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.
- 4d ago First seen · 190 lines · 73 tokens per session scan A ac7ffed1d9bf
intuitive-squash is a skill published in the GitHub repository MiaoDX/intuitive-flow (48 stars, last pushed yesterday), licensed MIT. It adds 73 tokens to every session and 1,989 once invoked, about $0.0004 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-30.
Other skills, from other repositories
release
Create a new release with version bump, release notes, commit, and tag.
sub-tasks
View and manage SubFrame Sub-Tasks. Use when starting work, completing tasks, checking what's pending, or creating new tasks from conversation.
sub-audit
Run a code review and documentation audit on recent changes. Finds bugs, edge cases, missing docs, and type safety issues.
sub-docs
Sync all SubFrame documentation after feature work. Updates AGENTS.md lists, changelog, PROJECTNOTES decisions, and STRUCTURE.json.
sub-ipc
Regenerate the IPC channel reference documentation from ipcChannels.ts type maps.
onboard
Analyze project intelligence files and bootstrap SubFrame's STRUCTURE.json, PROJECTNOTES.md, and initial sub-tasks from existing codebase context.