diff-profile

A comparison of two nyann profiles, where a profile is a set of project rules and settings.

In plain words
What is it for?
It helps compare hooks, branching rules, CI settings, documentation settings, and other profile-defined behavior.
Why use it?
It makes the consequences of changing profiles clear before you switch, including which project rules would differ.

Skill for Claude CodeCodex

Part of the nyann plugin — 15 skills, 41 commands, 3 hooks shipped together

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.

agentmods
npx agentmods add skills/thettwe/nyann/diff-profile
Any agent
npx skills add thettwe/nyann --skill diff-profile
Clone the repo
git clone --depth 1 https://github.com/thettwe/nyann

Made for: Claude Code, Codex.

Or install nyann, the plugin that ships this one along with the rest of its 15 skills, 41 commands, 3 hooks.

Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 796 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00142 $0.00796
Opus 5 $0.00071 $0.00398
Sonnet 5 $0.00028 $0.00159
Haiku 4.5 $0.00014 $0.00080

Measured 2d ago against content hash 511768450290, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

diff-profile 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 2d 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/diff-profile/SKILL.md · 87 lines

How it starts

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

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 from and the named one as to.
  • 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, prettier to pre-commit and removes gitleaks."
  • Branching: "Strategy changes from github-flow to gitflow."
  • CI: "CI generation gets enabled."
  • Documentation: "Scaffold types gain prd and research."

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-profile to apply the change."
  • "Want to inspect either profile in detail? Run /nyann:inspect-profile <name>."
  • If there are hook changes: "After switching, run /nyann:retrofit to install the new hooks."

Read the full file on GitHub · 87 lines

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. 2d ago First seen · 87 lines · 142 tokens per session scan A 511768450290

Subscribe to this mod's changes

diff-profile is a skill published in the GitHub repository thettwe/nyann (6 stars, last pushed 3d ago), licensed MIT. It adds 142 tokens to every session and 796 once invoked, about $0.0007 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-31.

Related

Other skills, from other repositories

github-skill-forge

一个"制造技能的技能"。这个工具自动化了将任意 GitHub 仓库转换为标准化 Trae 技能的全过程,是扩展 AI Agent 能力的核心工具。.

YuJunZhiXue/github-skill-forge · 48 tokens

gcloud-usage

This skill should be used when user asks about "GCloud logs", "Cloud Logging queries", "Google Cloud metrics", "GCP observability", "trace analysis", or "debugging production issues on GCP".

fcakyon/claude-codex-settings · 49 tokens

a11y-remediate

Use to produce a leader-facing remediation proposal from one or more /a11y-audit outputs plus team and product context. Translates audit findings into sprint plans, staffing asks, customer-facing language, compliance rollups, and critical-path analysis. Refuses to fabricate numbers, owners, or commitments beyond the…

gitkraken/vscode-gitlens · 72 tokens

silicon-throne

硅基圣座总控核心,以神谕式统御把零散任务压成 末将-first 之文明工程.

linkerlin/PUAX · 34 tokens

lite-render-perf

Use when working on React code in apps/lite that derives values during render, adds or consumes a context, subscribes to the redux store or a query, or renders lists of row components — and whenever the lite UI is reported slow, laggy, or re-rendering too much. React Compiler does not prevent these regressions; load…

gitbutlerapp/gitbutler · 88 tokens

finn-spec

Interview the user about a raw idea until confident, then file a build-ready issue in Linear. Use when asked to run Finn-loop's spec interview, draft a queue-ready issue, or plan a feature. Interactive — requires the user present; never run unattended.

finna/Finn-loop · 56 tokens