Borrowing it
Nothing to install: this file belongs to igor-tkachev/AspectGenerator. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/igor-tkachev/AspectGenerator/master/AGENTS.mdgit clone --depth 1 https://github.com/igor-tkachev/AspectGeneratorWrote 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/igor-tkachev/aspectgenerator/agents-md)<a href="https://agentmods.dev/instructions/igor-tkachev/aspectgenerator/agents-md"><img src="https://agentmods.dev/badge/instructions/igor-tkachev/aspectgenerator/agents-md/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/instructions/igor-tkachev/aspectgenerator/agents-md"><img src="https://agentmods.dev/badge/instructions/igor-tkachev/aspectgenerator/agents-md.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.00965 | $0.00965 |
| Opus 5.5 | $0.00386 | $0.00386 |
| Sonnet 5.5 | $0.00193 | $0.00193 |
| Haiku 4.5 | $0.00097 | $0.00097 |
Grade A, and why
AspectGenerator 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 today.
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 — 26 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Instructions
Before working on AspectGenerator hardening, diagnostics, code generation, or incremental generator refactors, read docs/AspectGeneratorHardeningPlan.md.
Current notes:
- Invocation discovery should stay on
SyntaxProvidercandidates. Do not reintroduce full syntax-tree scans throughCompilationProvider+DescendantNodes(). - Keep
InterceptMethodsdiagnostics deferred unless the user explicitly asks to work on them. - Preserve CRLF line endings for touched repository files.
- Do not add new NuGet packages, template engines, formatters, source-generation helper libraries, or build tools unless the maintainer explicitly asks for that dependency.
- Do not replace internal code generation with Scriban, Handlebars.Net, CSharpier, or other external templating/formatting tools as an automatic refactoring step.
Target filter parser
The parser of the target filter language is written in DotGram (Source/TargetFilter/TargetFilter.gram) and generated ahead of the build. The generated C# in Source/TargetFilter/Generated is committed and compiled like any other source: the build and the package have no DotGram dependency, and nothing is generated at build time.
Every target filter is read by the generated parser (Source/TargetFilter/TargetFilterFront.cs compiles what it reads into the rules the matchers run). The golden baselines in Baselines/TargetFilters pin what it reads over the whole corpus (UnitTests/Tests/TargetFilters): the diagnostic ids, the plan, the compiled rules and the decision for every target of a fixed list. The generated parser compiles against Roslyn 4.12 on netstandard2.0, and the minimum-sdk consumers run it in the SDK 9.0.100 compiler through their TargetFilter.
- The grammar reads a line in the stages the filter language has always read it: a line, then each piece of it the language trims and reads again (a condition item, a value, a dotted name, the words of a method pattern, a parameter list and its parameters), each a publication read over the trimmed piece. Keep that shape when changing the language, and run the golden tests: a baseline difference is either a defect of the change or an intended change that needs a changelog line and re-accepted baselines (
AG_UPDATE_BASELINES=1), with every changed record explained in the commit. - The generated parser can carry a reading nested deeper than its stack over to a thread of its own;
TargetFilterParser.OnHandingOffrefuses that (the generator runs on the compiler's threads), so such a rule is reported asAG0202. That code reads the thread's cultures, which RS1035 bans in analyzers;Source/TargetFilter/.editorconfigsilences RS1035 for the generated file alone, until DotGram stops reading them there.
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.
- today Changed · +3 lines · +265 tokens per session 395058a3149f
- yesterday Changed · +11 lines · +532 tokens per session ec944e7fa20e
- 2mo ago First seen · 12 lines · 168 tokens per session scan A 8c2fd308e0dc
AspectGenerator AGENTS.md is an instructions file published in the GitHub repository igor-tkachev/AspectGenerator (11 stars, last pushed yesterday), licensed MIT. It adds 965 tokens to every session, about $0.0039 per session on Opus 5.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.
AspectGenerator AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| AspectGenerator AGENTS.mdigor-tkachev/AspectGenerator | Instructions file | 11 | yesterday | MIT | A | 965 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode ai-customization.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 1,907 | GitHub Copilot |