Borrowing it
Nothing to install: this file belongs to tao12345666333/ankaloop. 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/tao12345666333/ankaloop/main/AGENTS.mdgit clone --depth 1 https://github.com/tao12345666333/ankaloopWrote 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/tao12345666333/ankaloop/agents-md)<a href="https://agentmods.dev/instructions/tao12345666333/ankaloop/agents-md"><img src="https://agentmods.dev/badge/instructions/tao12345666333/ankaloop/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/tao12345666333/ankaloop/agents-md"><img src="https://agentmods.dev/badge/instructions/tao12345666333/ankaloop/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.01328 | $0.01328 |
| Opus 5 | $0.00664 | $0.00664 |
| Sonnet 5 | $0.00266 | $0.00266 |
| Haiku 4.5 | $0.00133 | $0.00133 |
Grade A, and why
ankaloop 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 10d 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 — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AnkaLoop Project Rules
Project Overview
AnkaLoop is a Python coding-agent runtime with a CLI, HTTP/WebSocket server, Telegram integration, MCP tools, multi-agent delegation, skills, hooks, memory, and progressive context management.
Code Style
- Python 3.11+ with modern type hints.
- Follow PEP 8 conventions.
- Maximum line length is 100 characters, enforced by ruff.
- Use dataclasses for configuration and lightweight data structures.
- Keep public functions and classes documented with docstrings.
- Use the
loggingmodule for runtime diagnostics, notprint.
Architecture Patterns
- Tools are classes inheriting from
BaseToolinsrc/ankaloop/tools.py. - Agents are configured through
AgentSpecandResolvedAgentSpec. - Built-in agent types live in
src/ankaloop/multi_agent.py. - Configuration is TOML and is loaded through
src/ankaloop/config.py. - Project rules are loaded from
AGENTS.mdthroughsrc/ankaloop/project_rules.py. - HTTP/WebSocket server code lives under
src/ankaloop/server/. - Client transports live under
src/ankaloop/client/; protocol conversion code lives undersrc/ankaloop/protocol/. - Telegram command handling is split between
src/ankaloop/telegram/bot.pyandsrc/ankaloop/telegram/handlers.py. - Keep shared slash-command behavior in
src/ankaloop/interaction.pywhen possible so CLI, server, and Telegram stay consistent.
Agent Behavior
- Conversation history is persisted per session.
- Per-request tool counters should reset for each user prompt; session-level history may still be used for diagnostics and caps.
read_filehas conversation and session limits.bashruns from the request working directory when available, has a per-request cap, and truncates large output.- Telegram
/newshould create a fresh session, abandon old active work, and clear old queued messages. - Model provider failures currently bubble up through
AgentExecutionError; do not assume an AnkaLoop application-level retry exists.
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.
- 10d ago First seen · 156 lines · 1,328 tokens per session scan A 3e56837be689
ankaloop AGENTS.md is an instructions file published in the GitHub repository tao12345666333/ankaloop (48 stars, last pushed 11d ago), licensed Apache-2.0. It adds 1,328 tokens to every session, about $0.0066 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
klaussy-agents fastapi.instructions.md
Instructions for steph-dove/klaussy-agents: Example context from fastapi/applications.py (lines 214-220).
klaussy-agents httpx.instructions.md
Instructions for steph-dove/klaussy-agents: Example context from httpx/urlparse.py (lines 153-163).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
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.
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.