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.
git clone --depth 1 https://github.com/lsampaioweb/ai-instructionsWrote 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/rules/lsampaioweb/ai-instructions/ai-customization)<a href="https://agentmods.dev/rules/lsampaioweb/ai-instructions/ai-customization"><img src="https://agentmods.dev/badge/rules/lsampaioweb/ai-instructions/ai-customization/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/lsampaioweb/ai-instructions/ai-customization"><img src="https://agentmods.dev/badge/rules/lsampaioweb/ai-instructions/ai-customization.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00000 | $0.01835 |
| Opus 5.5 | $0.00000 | $0.00734 |
| Sonnet 5.5 | $0.00000 | $0.00367 |
| Haiku 4.5 | $0.00000 | $0.00184 |
Grade A, and why
ai-customization 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 1mo 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 — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AI Customization Contract
Cursor counterpart of .github/instructions/ai-customization.instructions.md. Same enforceable contract; routing and workspace baseline differ by product as noted below.
Dependencies
- Read the workspace baseline before creating or changing an AI customization file:
AGENTS.mdfor Cursor guidance, orcopilot-instructions.mdfor Copilot guidance. - Read the applicable domain contracts before editing a file that they govern:
.cursor/rules/*.mdctopic rules for Cursor, or.github/instructions/*.instructions.mdfor Copilot. - Treat a missing required instruction, reference, or template as a blocker. Do not silently bypass it or invent a substitute.
Scope and ownership
- Keep workspace-wide behavior in
AGENTS.md(Cursor) orcopilot-instructions.md(Copilot). - Keep reusable authoring and review rules for AI customization files in this contract (
ai-customization.mdc/ai-customization.instructions.md). - Keep topic-specific implementation rules in the narrowest applicable file: Cursor
.mdcrules under.cursor/rules/, Copilot*.instructions.mdunder.github/instructions/. - Keep one canonical owner for each shared policy. Reference that owner instead of duplicating the policy in other files.
- Limit each file to the behavior implied by its name, description, and routing pattern.
Metadata and routing
- Give every customization file the metadata required by its file type and product.
- Write
descriptionso the file's purpose and trigger conditions are discoverable. - Copilot instruction files (
*.instructions.md,copilot-instructions.md): use YAML frontmatter withdescriptionandapplyTo. Use the narrowestapplyTopattern that covers the intended files without accidental matches. - Cursor rule files (
.mdc): use YAML frontmatter withdescription,globs, andalwaysApply. PreferalwaysApply: falsefor topic-specific contracts; route them with the narrowestglobsthat match the governed paths. Keep always-on workspace behavior inAGENTS.md, not in topic.mdcfiles unless a file is explicitly designed as a broad entry contract. - Add
argument-hintwhen a prompt requires user-provided input. - Check routing patterns for overlap with existing files before adding or changing them.
- Preserve technical literals exactly, including paths, commands, URLs, identifiers, configuration keys, and versions, unless they are demonstrably incorrect.
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.
- 1mo ago Changed · +37 lines 09dda5bbb4ef
- 3mo ago First seen · 85 lines · 0 tokens per session scan A ab966d80f272
ai-customization is a cursor rule published in the GitHub repository lsampaioweb/ai-instructions (1 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,835 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.
ai-customization compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ai-customizationlsampaioweb/ai-instructions | Cursor rule | 1 | 11d ago | MIT | A | 0 | Cursor |
| ponytailDietrichGebert/ponytail | Cursor rule | 203k | 10d ago | MIT | A | 604 | Cursor |
| angular-20angular/angular | Cursor rule | 102k | today | MIT | A | 0 | Cursor |
| dev-standardapache/superset | Cursor rule | 76k | today | Apache-2.0 | A | 1,147 | Cursor |
| prefer-assertions-over-defensive-checksprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Codex, Cursor |
| prefer-direct-imports-over-module-mocksprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Codex, Cursor |
| shared-plane-packagesprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Codex, Cursor |