diff-profile
Skill6 starsChanged 3 months agoMITView on GitHub
Compare two nyann profiles side-by-side and show what would change. TRIGGER ON: 'diff profiles', 'compare profiles', 'what's different between profiles', 'profile diff', 'diff default vs nextjs', 'compare default and python-cli', 'what would change if I switch profiles', 'show me the difference between profiles', 'how does X profile differ from Y', 'what hooks does X add over Y', 'profile comparison', '/nyann:diff-profile'. Do NOT trigger on "switch profile" / "migrate profile" — those are migrate-profile. Do NOT trigger on "inspect profile" / "what does this profile do" — those are inspect-profile.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- davekilleen/Dextheir own version, first seen Aug 31, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- davekilleen/Dex★ 492same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository41 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-team-sourceSkill
- bootstrap-projectSkill
- check-prereqsSkill
- cleanup-branchesSkill
- commitSkill
- diagnoseSkill
- doctorSkill
- explain-diffSkill
- explain-stateSkill
- fleet-retrofitSkill
- fleetSkill
- gen-ciSkill
- gen-claudemdSkill
- gen-dependency-updaterSkill
- gen-devcontainerSkill
- gen-templatesSkill
- gh-protectSkill
- hotfixSkill
- iac-applySkill
- iac-planSkill
- inspect-profileSkill
- learn-profileSkill
- migrate-profileSkill
- new-branchSkill
- optimize-claudemdSkill
- prSkill
- record-decisionSkill
- releaseSkill
- retrofitSkill
- route-docsSkill
- settingsSkill
- setupSkill
- shipSkill
- suggestSkill
- syncSkill
- sync-team-profilesSkill
- undo-bootstrapSkill
- undoSkill
- wait-for-pr-checksSkill
- watchSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 40
If only one profile is named and the repo has an active profile, use the active profile as from and the named one as to.
- Distinctive: line 42
If you can't determine both, ask: "Which two profiles should I compare?"
- Very specific: line 63
If identical is true, say so: "These profiles are identical."
- Very specific: line 72
If there are hook changes: "After switching, run /nyann:retrofit to install the new hooks."
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
diff-profile — Compare Two Profiles
You are the diff-profile skill. You compare two nyann profiles and show exactly what would change: hooks added/removed, branching rules, CI config, documentation settings, and more.
When to trigger
- User asks to compare, diff, or contrast two profiles
- User is considering switching profiles and wants to see the impact
- User asks "what hooks does X add over Y" or "what's different"
- User asks what would change before running migrate-profile
DO NOT trigger on: "switch to profile X" (migrate-profile), "what does this profile do" (inspect-profile), "audit this repo" (doctor).
Execution flow
1. Resolve the two profiles
The user must name two profiles. Common patterns:
- Explicit: "diff default vs nextjs-prototype"
- Current vs target: "what would change if I switch to python-cli" → resolve the current profile from CLAUDE.md / preferences, then diff current vs the named target.
- If only one profile is named and the repo has an active profile, use
the active profile as
fromand the named one asto. - If you can't determine both, ask: "Which two profiles should I compare?"
2. Run the diff
bin/diff-profile.sh <from> <to>Both arguments are bare profile names (e.g. default, python-cli),
not filesystem paths. The script resolves them via load-profile.sh.
3. Present the results
Show a section-by-section summary. Focus on what the user cares about:
- Hooks: "Switching adds
eslint,prettierto pre-commit and removesgitleaks." - Branching: "Strategy changes from github-flow to gitflow."
- CI: "CI generation gets enabled."
- Documentation: "Scaffold types gain
prdandresearch."
If identical is true, say so: "These profiles are identical."
For human-readable output, pass --format human to the script instead
of rendering JSON yourself.
4. Suggest next steps
- "Want to switch? Run
/nyann:migrate-profileto apply the change." - "Want to inspect either profile in detail? Run
/nyann:inspect-profile <name>." - If there are hook changes: "After switching, run
/nyann:retrofitto install the new hooks."
Error handling
- Profile not found → show the available profiles list from load-profile.sh's error output and ask the user to pick a valid name.
- Same profile named twice → "Both profiles are the same. Nothing to diff."
When to hand off
- "Switch to this profile" →
migrate-profile. - "Tell me about this profile" →
inspect-profile. - "Apply these changes" →
retrofit. - "Bootstrap with this profile" →
bootstrap-project.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

