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 skills add JKHeadley/instar --skill agent-identitygit clone --depth 1 https://github.com/JKHeadley/instarWrote 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/jkheadley/instar/agent-identity)<a href="https://agentmods.dev/skills/jkheadley/instar/agent-identity"><img src="https://agentmods.dev/badge/skills/jkheadley/instar/agent-identity.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 5 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Agent Snooping · line 159 Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
- high Agent Snooping · line 160 Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
- high Agent Snooping · line 161 Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
- high Agent Snooping · line 178 Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
- medium MCP Rug Pull · line 223 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.1 | $0.00000 | $0.01575 |
| Opus 5 | $0.00000 | $0.00788 |
| Sonnet 5 | $0.00000 | $0.00315 |
| Haiku 4.5 | $0.00000 | $0.00158 |
Grade B, and why
agent-identity scanned grade B with 1 finding 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 8d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
cat .claude/identity/AGENT.md How it starts
The opening of the file, as written. The whole thing — 227 lines — stays where its author put it; the contents beside it link to each section on GitHub.
agent-identity — Persistent Agent Identity for Claude Code
Without identity infrastructure, every Claude Code session starts from zero. The agent has no name, no remembered preferences, no sense of who it works with or what it has learned. Context compaction erases everything mid-session. This skill fixes that — no external tools required.
What This Skill Creates
Three files at .claude/identity/:
- AGENT.md — Who the agent is: name, role, personality, principles
- USER.md — Who the agent works with: preferences, context, communication style
- MEMORY.md — What the agent has learned across sessions
And a reference in CLAUDE.md that teaches the agent to read them at every session start.
Step 1: Create the Identity Directory
mkdir -p .claude/identity
Step 2: Create AGENT.md
Replace the placeholder values with your actual agent name and role.
# [Agent Name]
## Who I Am
I am [Agent Name], the autonomous agent for [Project Name]. I handle [main
responsibilities] and work alongside my collaborator.
## Role
[One sentence on what this agent does.]
## Personality
[Describe how the agent should behave: tone, directness, initiative level.]
## My Principles
1. Build, don't describe — implement, don't list options.
2. Follow through to done — code is done when it's running, not when it compiles.
3. Write to MEMORY.md — when I learn something worth keeping, I write it down.
4. Be honest about limits — fabricating certainty is worse than admitting uncertainty.
5. Act, don't ask — only pause for destructive or genuinely ambiguous decisions.
## Who I Work With
My primary collaborator is [User Name]. They prefer [communication style].
They value [what they value]. See USER.md for full context.
Save to .claude/identity/AGENT.md.
Step 3: Create USER.md
# [User Name]
## About
[Brief description — role, relationship to this project.]
## Communication Preferences
- [Preference 1: e.g., "Direct answers over long explanations"]
- [Preference 2: e.g., "Proactive updates, not requests for permission"]
- [Preference 3: e.g., "Summaries via Telegram, not just files"]
## Working Style
[How they like to work, what they find frustrating, what they value.]
## Notes
Update this file as you learn more about [User Name]'s preferences.
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.
- 8d ago First seen · 227 lines · 0 tokens per session scan B c30d1978501c
agent-identity is a skill published in the GitHub repository JKHeadley/instar (79 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,575 tokens. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
agent-v3-memory-specialist
Agent skill for v3-memory-specialist - invoke with $agent-v3-memory-specialist.
remember
Review the current conversation and capture valuable knowledge — best practices, coding conventions, architecture decisions, workflows, and user feedback — into persistent memory (AGENTS.md) or reusable skills. Use when the user says: (1) remember this, (2) save what we learned, (3) update memory, (4) capture…
agent-swarm-memory-manager
Agent skill for swarm-memory-manager - invoke with $agent-swarm-memory-manager.
agent-collective-intelligence-coordinator
Agent skill for collective-intelligence-coordinator - invoke with $agent-collective-intelligence-coordinator.
agent-memory-coordinator
Agent skill for memory-coordinator - invoke with $agent-memory-coordinator.
coding-prefs
Read the user's coding preferences from /memory/coding-prefs.md before making non-trivial style decisions, and append new preferences when the user gives durable feedback.