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 instructions/petekp/claude-code-setup/agents-mdgit clone --depth 1 https://github.com/petekp/claude-code-setupWhat 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.00258 | $0.00258 |
| Opus 5 | $0.00129 | $0.00129 |
| Sonnet 5 | $0.00052 | $0.00052 |
| Haiku 4.5 | $0.00026 | $0.00026 |
Grade B, and why
claude-code-setup AGENTS.md 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 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- `~/.claude/settings.json` must remain a symlink to this repo's `settings.json`. Editing it in place can silently replace the symlink with a regular file — after any settings change, confirm the symlink is intact and re What it actually says
This repo is my version-controlled configuration for Claude Code and Codex: skills, hook scripts, settings, and the symlink setup that wires them into ~/.claude and ~/.codex. It is bash and markdown only — no application code, build step, or test suite.
- Shell scripts live in
scripts/andsetup.sh. Keep scripts with a#!/bin/shshebang POSIX-compatible (no bashisms). - After changing skills or scripts, run
./scripts/validate.sh(frontmatter checks) and./setup.sh --verify(symlink health). ~/.claude/settings.jsonmust remain a symlink to this repo'ssettings.json. Editing it in place can silently replace the symlink with a regular file — after any settings change, confirm the symlink is intact and restore it if not.- Entries in
skills/are a mix of real directories and symlinks out to~/.agents/skillsand other repos. Edit symlinked skills at their source; never dereference a symlink into a copy. - Hook scripts referenced by
settings.jsonrun on every session. Test changes to them before committing (they fail silently in the harness).
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 · 8 lines · 258 tokens per session scan B ea4ee310e2f0
claude-code-setup AGENTS.md is an instructions file published in the GitHub repository petekp/claude-code-setup (45 stars, last pushed 25d ago), licensed MIT. It adds 258 tokens to every session, about $0.0013 per session on Opus 5. 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-31.
Other instructions, from other repositories
agentmemory AGENTS.md
AGENTS.md instructions for rohitg00/agentmemory, covering agentmemory — agent instructions, architecture, consistency rules, code patterns and function registration.
clicodelog CLAUDE.md
Instructions for monk1337/clicodelog, covering claude.md, commands, run the app, or without installing and common flags.
aeon CLAUDE.md
Instructions for aeonfun/aeon, covering aeon, how aeon works, strategy, voice and soul file hierarchy (read in this order).
ken CLAUDE.md
Instructions for townsendmerino/ken, covering claude.md, what this is, repository ownership (read this first), commands and embedding parity & golden fixtures (now in aikit).
gangsta GEMINI.md
Instructions for kucherenko/gangsta, a project described as: AI agentic skills framework for spec-driven development, built on the organizational model of mafia.
AI-System-Design-Consultant CLAUDE.md
Instructions for deepanshu2711/AI-System-Design-Consultant, covering claude.md, what this is, running it, load-bearing typos — do not "fix" these paths and agent node pattern.