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/la-rebelion/hapi-cli-website/copilot-instructionsgit clone --depth 1 https://github.com/la-rebelion/hapi-cli-websiteWrote 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/instructions/la-rebelion/hapi-cli-website/copilot-instructions)<a href="https://agentmods.dev/instructions/la-rebelion/hapi-cli-website/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/la-rebelion/hapi-cli-website/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00614 | $0.00614 |
| Opus 5 | $0.00307 | $0.00307 |
| Sonnet 5 | $0.00123 | $0.00123 |
| Haiku 4.5 | $0.00061 | $0.00061 |
Grade A, and why
hapi-cli-website copilot-instructions.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 3d 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 — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Project coding standards for TypeScript and React
TypeScript Guidelines
- Use TypeScript for all new code
- Follow functional programming principles where possible
- Use interfaces for data structures and type definitions
- Prefer immutable data (const, readonly)
- Use optional chaining (?.) and nullish coalescing (??) operators
- Use strong typing for function parameters and return types
- Use enums for fixed sets of values
- Use
unknowntype for values that can be anything, and narrow down types as needed - Use
Record<string, any>for objects with dynamic keys - Use
anytype sparingly, only when absolutely necessary - Use
as constfor literal types when you want to preserve the exact type - Use
typefor type aliases andinterfacefor object shapes - Use
typefor union types and intersection types - I use hints in the code for me to understand the context, so please respect them
- Use
@notecomments to explain complex logic or important details - these are important and you should not remove them unless they are no longer relevant - but let me know if you do - Use
@todocomments for tasks that need to be completed later - Use
@fixmecomments for known issues that need to be addressed - if you see these, analyze the issue and provide a solution if possible - Use
@examplecomments to provide usage examples for functions or classes - Use
@deprecatedcomments for code that is no longer recommended for use - Use
@seecomments to link to related code or documentation
React Guidelines
- Use functional components with hooks
- Follow the React hooks rules (no conditional hooks)
- Use React.FC type for components with children
- Keep components small and focused - refactor if they grow too large, but let me know to confirm
- Use CSS modules for component styling
- Use
useEffectfor side effects and cleanup
Refactoring Guidelines
When you are asked to refactor code: Refactor the ProjectList component file requested, but keep its behavior and UX exactly the same.
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.
- 3d ago First seen · 51 lines · 614 tokens per session scan A 1eed2e0cdd09
hapi-cli-website copilot-instructions.md is an instructions file published in the GitHub repository la-rebelion/hapi-cli-website (1 stars, last pushed 9d ago), licensed MIT. It adds 614 tokens to every session, about $0.0031 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.
Other instructions, from other repositories
own-planner frontend.instructions.md
Instructions for am-space/own-planner, covering frontend instructions, technology, coding rules and change preferences.
mcp-docs copilot-instructions.md
Instructions for la-rebelion/mcp-docs, covering project coding standards for typescript and react, typescript guidelines and react guidelines.
react-seed AGENTS.md
Instructions for guokaigdg/react-seed, covering agents.md, 目录, 1. 项目概览, 2. 技术栈 and 3. 目录结构.
code-cli AGENTS.md
Instructions for autohandai/code-cli, covering agents.md, project overview, current repository architecture, src/core/agent runtime split (current) and general layout guidance for contributions.
innovation-lab-examples typescript.instructions.md
Instructions for fetchai/innovation-lab-examples, a project described as: 80+ production-ready AI agent examples in Python — build autonomous agents, multi-agent systems and agentic AI with uAgents, ASI:One, MCP, A2A, LangChain, CrewAI, Gemini, Claude and OpenAI.
copperhead CLAUDE.md
Instructions for copperheadhq/copperhead, covering claude.md, what this repo is, sources of truth, workflow (openspec) and architecture (per spec.md §2).