inspect-profile
Skill6 starsChanged 3 months agoMITView on GitHub
Explain in plain English what a nyann profile enables — stack, branching, hooks, extras, conventions, documentation. TRIGGER when the user says "what does the nextjs-prototype profile do", "explain the python-cli profile", "show me what <name> enables", "what's in profile X", "describe the <name> profile", "inspect profile X", "/nyann:inspect-profile". Do NOT trigger on "show this repo's setup" — that's the `explain-state` skill (reads the repo, not a profile file). Do NOT trigger on "apply profile X to this repo" — that's `bootstrap-project`. Do NOT trigger on "save this setup as a profile" — that's `learn-profile`.
In this repository41 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-team-sourceSkill
- bootstrap-projectSkill
- check-prereqsSkill
- cleanup-branchesSkill
- commitSkill
- diagnoseSkill
- diff-profileSkill
- 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
- 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
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
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 19
Read-only. Wraps bin/inspect-profile.sh.
- Very specific: line 27
If the user is ambiguous ("what does my profile do"), ask — the skill doesn't infer from the repo.
- Very specific: line 51
When the user asks "is this the right profile for my repo", do NOT guess — suggest running explain-state (reads the repo) and comparing, or …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
inspect-profile
Read-only. Wraps bin/inspect-profile.sh. Loads a profile via
load-profile.sh (user profiles shadow starters with the same name)
and renders a human-readable summary.
1. Resolve the profile name
- The user names it explicitly most of the time ("what does
nextjs-prototypedo"). Use that. - If the user is ambiguous ("what does my profile do"), ask — the
skill doesn't infer from the repo. For "show this repo's setup",
route to
explain-stateinstead. - Names match the regex
^[a-z0-9][a-z0-9-]*$. Reject anything else with a clear message rather than handing a bad name to the backend.
2. Invoke
bin/inspect-profile.sh <name> [--user-root <dir>]--user-root defaults to ~/.claude/nyann. Only override when the
user says something like "check my team-installed profile at
<path>".
3. Read the output back
The backend already formats sections (Profile, Stack, Branching, Hooks, Extras, Conventions, Documentation, GitHub integration). Your job is to relay those faithfully and add context when the user asks a follow-up. Don't re-summarize — the backend's blurbs for each hook (e.g. "ESLint runs on staged JS/TS") are authoritative.
When the user asks "is this the right profile for my repo", do NOT
guess — suggest running explain-state (reads the repo) and
comparing, or running doctor (reports drift against a chosen
profile).
4. Handle "not found"
Exit code 2 means the profile isn't in user root or starters. The backend prints the available list; relay it and ask the user to pick one. Never invent profile names.
5. Handle shadow warnings
load-profile.sh warns on stderr when a user profile shadows a
starter with the same name. Don't hide this — explicitly tell the
user which version was loaded (user wins by design).
When to hand off
- "Apply this profile to a new repo" →
bootstrap-projectwith--profile <name>. - "Change something in this profile" → edit the JSON at
~/.claude/nyann/profiles/<name>.json; the skill doesn't mutate. - "Save my repo's current state as a profile named X" →
learn-profile. - "Why doesn't my repo match this profile" →
doctoragainst the named profile.
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.

