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 commands/jonase47/ccpr/instinctgit clone --depth 1 https://github.com/jonase47/ccprWhat 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.00000 | $0.01171 |
| Opus 5 | $0.00000 | $0.00585 |
| Sonnet 5 | $0.00000 | $0.00234 |
| Haiku 4.5 | $0.00000 | $0.00117 |
Grade A, and why
instinct 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 yesterday.
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 — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Instinct Management
Manage instincts (confidence-based rules from session experience).
Actions
Determine the desired action from $ARGUMENTS:
list – Show all instincts
- Read
~/.claude/instincts.md(slim global Tier-1 index) — one-liner per entry already gives ID + confidence + theme - Optional: load any of the topic files
~/.claude/instincts/{agents,files,workflow,shell-git,external}.mdfor full Rule/Why/How when the user wants details - Search all
docs/memory/*/instincts.md(agent instincts) - Check whether
docs/instincts.mdexists (project instincts) - Check whether
docs/memory/MEMORY.mdexists (project memory as cross-reference) - Show all instincts grouped by scope (Global / Agent / Project) with ID and confidence
- If project memory exists: show number of memory entries as info
add [rule] – Create a new instinct
- Ask the user for the scope:
- Global (
G-NNN): Applies to all agents → add the H3 Rule block to the matching topic file under~/.claude/instincts/{theme}.md, then add a one-liner bullet to~/.claude/instincts.md(slim index). Pick the topic file by domain (agents / files / workflow / shell-git / external). - Agent (
XX-NNN): Applies to one agent →docs/memory/{agent}/instincts.md - Project (
P-NNN): Applies only in the current project →docs/instincts.md
- Global (
- Generate the next available ID for the chosen scope
- Create the instinct with confidence 0.4:
### [ID] Short title
- **Confidence**: 0.4
- **Source**: User feedback from DD.MM.YYYY
- **Last confirmed**: DD.MM.YYYY
- **Rule**: [Rule from $ARGUMENTS]
- **Context**: [Ask the user for the context]
- Add it to the chosen file (global → topic file + index bullet; agent → that agent's instincts.md; project → docs/instincts.md)
- Update "Last updated"
confirm [ID] – Confirm an instinct
- Find the instinct with the given ID (global, agent, or project)
- Increase confidence by 0.1 (max 0.9)
- Update "Last confirmed" to today
- Show the updated instinct
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.
- yesterday First seen · 89 lines · 0 tokens per session scan A ea0182ddac04
instinct is a command published in the GitHub repository jonase47/ccpr (1 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,171 tokens. 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.
Other commands, from other repositories
drift
Post-implementation spec drift check — verify the implementation matches existing OpenSpec specifications.
feature
Orchestrate a complete feature through discovery, spec, implementation, and review.
research
Research a technical or product question.
tidy
Consistency check for non-code repos with INDEX.md hierarchy. Verifies INDEX.md accuracy, MEMORY.md references, orphaned files, stale dates, and WAITING markers.
clean-check
Analyze code for cleanliness issues (unused code, comment quality, formatting, naming, complexity). Delegates to the code-cleanliness agent.
build
Mini spec-first development workflow for well-scoped implementation tasks with human in the loop.