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/tanem/react-nprogress/agents-mdgit clone --depth 1 https://github.com/tanem/react-nprogressWhat 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.01896 | $0.01896 |
| Opus 5 | $0.00948 | $0.00948 |
| Sonnet 5 | $0.00379 | $0.00379 |
| Haiku 4.5 | $0.00190 | $0.00190 |
Grade A, and why
react-nprogress AGENTS.md 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.
How it starts
The opening of the file, as written. The whole thing — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Instructions for react-nprogress
Keep these instructions concise. Only add information here that meaningfully changes agent behaviour and cannot be inferred from the codebase or tooling.
Project
TypeScript React library providing a slim progress bar primitive via two
patterns: useNProgress hook and NProgress render-props component. Exports
logic only, not rendering. All exports go through src/index.tsx. Types live
in src/types.ts. There are no runtime dependencies: React and React DOM are
peers.
Key Commands
npm test # full suite: format and type checks, lint, build, size
# gate, then every test:* script
npm run build # clean, then bundle with tsdown; the postbuild hook runs
# publint and arethetypeswrong over the packed tarball
npm run test:src # source-only tests, the loop to use while developing
npm run format # fix lint and formatting
Code Standards
Comments
- Use
//line comments only, never/* */or/** */ - Explain why, not what; wrap at 80 characters
- End every comment with a full stop, even single-line comments
Language
Use New Zealand English in all user-facing text, variable names, and
comments (e.g. "colour", "behaviour", "organisation"). Standardised API names
(color, textAlign) are fixed: leave them unchanged.
const progressColour = '#0066cc'
const centredLayout = { textAlign: 'center' } // API name stays 'center'
Commits
Subject line (max 50 chars)
Body wrapped at 72 chars. Present tense, imperative mood. Capitalise
subject, no trailing period, blank line between subject and body.
Dependencies
Managed by Renovate (config:js-lib preset):
devDependencies: pinned exact versions (no^or~)dependencies: caret ranges (^)peerDependencies: explicit OR ranges (e.g.^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0)- Do not add
allowedVersionstorenovate.jsonwithout a documented reason
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.
- 2d ago First seen · 189 lines · 1,896 tokens per session scan A 5861816db94a
react-nprogress AGENTS.md is an instructions file published in the GitHub repository tanem/react-nprogress (464 stars, last pushed 2d ago), licensed MIT. It adds 1,896 tokens to every session, about $0.0095 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-30.
Other instructions, from other repositories
ShipSwift AGENTS.md
Instructions for signerlabs/ShipSwift, covering agents.md, project overview, directory structure, naming conventions and dependency rules.
ssgoi AGENTS.md
Instructions for meursyphus/ssgoi, covering ssgoi and releasing.
Paperlab AGENTS.md
Instructions for NourMtir0722/Paperlab, covering paperlab — for coding agents, integrating paperlab into a project, stage mode — paper as architecture, content types and lighting is data, not an enum.
Unity-AI-Animation CLAUDE.md
Instructions for IvanMurzak/Unity-AI-Animation, covering claude.md, what this is, build / run, critical invariants and find detail in.
deadline-cloud AGENTS.md
Instructions for aws-deadline/deadline-cloud, covering agents.md - aws deadline cloud client, project overview, repository structure, key commands and development.
motion-anything CLAUDE.md
Instructions for nexu-io/motion-anything, covering claude.md and claude-specific notes.