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/konturio/agents.md/agents-mdgit clone --depth 1 https://github.com/konturio/AGENTS.mdWhat 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.01467 | $0.01467 |
| Opus 5 | $0.00733 | $0.00733 |
| Sonnet 5 | $0.00293 | $0.00293 |
| Haiku 4.5 | $0.00147 | $0.00147 |
Grade A, and why
AGENTS.md 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 — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Important rules for agents
Debugging: Use docs/todo.md as to put issues, inconveniences and impediments that you noticed that you are not fixing on this iteration.
SQL: Format queries in a way so it's easy to copy them out of the codebase and debug standalone.
Make: Makefile: If you need intermediate result from other target, split it into two and depend on the intermediate result.
Testing: Code test coverage is measured by codecov. Write useful tests to increase it and check key requirements to hold.
k8s: When changing something in the charts, bump chart version to trigger deployment too.
Debugging: Code test coverage is measured by codecov. Write useful tests to increase it and check key requirements to hold.
Documentation: When moving around md files also fix the links in them and links to them across all others.
Front End: Every spot that uses external library has to be covered at least once in tests so it's easy to merge dependabot version bump PRs.
SQL: Do not rewrite old migrations, not for style changes, not for logic changes, always create new migrations for any changes in DB
Debugging: Make sure that error messages towards developer are better than just "500 Internal server error".
Testing: Always add a custom assertion message when writing assertions in unit tests, including as much context as possible. Incorporate input data and relevant test details so it's immediately clear what is being verified and why it might fail.
Style: If a file with code grows longer than 500 lines, refactor it into two or move some parts into already created libraries.
Documentation: docs/ folder has general project documentation that needs to be kept up to date.
Testing: To run the pipeline in testing offline mode, launch TEST_MODE=1 PYTHONPATH=. make -B -j all and check if everything works as intended.
Documentation: Every feature needs to have comprehensive up-to-date documentation near it.
Debugging: Don't stub stuff out with insane fallbacks (like lat/lon=0) - instead make the rest of the code work around data absence and inform user.
Style: Every feature needs to have comprehensive up-to-date documentation near it, write it.
Debugging: Keep working until the tests pass, do not stop before that.
Make: Format target comments as self-documented Makefile, on same line: target: dependencies | order_only_deps ## Description
AI: Colloquial "vectors" are to be called "embeddings" in codebase.
Pull requests: Use Conventional Commits convention when formatting the pull request and commits, e.g. type(scope): TICKETNUMBER title .... Skip ticket number if not provided. Field: Public Id.
Debugging: Inject data assertions into IO abstraction libraries to catch any data that violates them.
Front End: New code and its business logic should be covered by tests based on adjusted requirements.
Style: Clean stuff up if you can: fix typos, make lexics more correct in English.
Debugging: When refactoring to move a feature, don't forget to remove the original code path.
SQL: Values in databases and layers should be absolute as much as possible: store "birthday" or "construction date" instead of "age".
Java: Write enough comments so that people proficient in Python, PostGIS can grasp the Java code.
Style: Do not replace URLs with non-existing ones.
CI: The project is using Github Actions. Make sure its configuration is kept up-to-date.
Style: Start sentences at new lines in docs for cleaner git diffs.
AI: Try to make a patch to fix/improve things even if user's request sounds like a question.
Style: Do not mix tabs and spaces in code.
SQL: SQL is lowercase, PostGIS functions follow their spelling from the manual (st_segmentize -> ST_Segmentize).
Pull requests: Branch names should match branch name recorded by Fibery if provided (e.g. "21648-switch-page-after-login-to-map").
Python: Write docstrings, they will get used for call graph and generated documentation.
SQL: SQL files should to be idempotent: drop table if exists; add some comments to make people grasp quereies faster.
Testing: Github Actions is used as CI. Update it as necessary.
Documentation: Fix everything in the docs/ folder to match reality.
AI: Use system prompts where needed.
Style: Do not break code indentation.
Debugging: When adding logs, add message before starting something as long as after finishing, as it will let you find what crashed in the middle.
Make: To smoke-check Makefile, make --trace all helps see dependency chain.
Java: Just ignoring exceptions is not the best fix, handle them properly.
Make: Trivial oneliner SQLs are okay to keep in Makefile.
Documentation: Don't update README.md with minor code fixes.
Debugging: Use TDD to handle bugs.
Documentation: Write extensive code comments in the code itself.
Grasping what's up: Check out README.md.
Style: Write insightful code comments.
Grasping what's up: Check docs/
Style: Add empty lines between logical blocks as in the rest of the codebase.
Documentation: Update docs every time you update something significant across files.
AI: Check token counts.
Documentation: Prefer storing notes and documentation as markdown (.md).
Front End: If Reatom v2 is used, upgrade it to v3.
Debugging: File names may have spaces in them, check that you are correctly quoting and escaping them.
SQL: Prefer indexed SQL operators when dealing with jsonb ( tags @> '{"key": "value"} instead of tags ->> 'key' = 'value' ).
Python: Write comments for each logical block.
Grasping what's up: Check data schema as described in docs/.
Style: Format the code nicely and consistently.
Debugging: Add enough debug logs so you can find out what's wrong but not be overwhelmed when something does not work as expected.
Pull requests: Keep Fibery ticket, Sentry ticket or other context relevant URL in pull request description.
SQL: Create both "up' and "down/rollback" migration when creating new migrations.
Make: Remember that Makefile uses tabs.
Documentation: API documentation is using Swagger, its descriptions should be clear for data consumers who don't have access to codebase.
Make: Explain high-level architecture and quirks in Makefile
Debugging: Use TDD if change is not trivial: start by designing solution/docs, then write tests, then change code to do the thing it should.
Testing: For any fix you are implementing try to add test so that it won't repeat in the future.
Testing: Use make precommit to run the checks. This sorts files, verifies Makefile tabs and compiles all Python code via scripts/check_python.sh.
Debugging: Write enough comments so you can deduce what was a requirement in the future and not walk in circles.
Make: Makefile: there are comments on the same line after each target separated by ## - they are used in debug graph visualization, need to be concise and descriptive of what's going on in the code itself.
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 · 73 lines · 1,467 tokens per session scan A 17f3c45f8a46
AGENTS.md AGENTS.md is an instructions file published in the GitHub repository konturio/AGENTS.md (2 stars, last pushed 1y ago), licensed MIT. It adds 1,467 tokens to every session, about $0.0073 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
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
next.js AGENTS.md
Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.