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/tencentcloud/octop/agents-mdgit clone --depth 1 https://github.com/TencentCloud/OctopWrote 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/tencentcloud/octop/agents-md)<a href="https://agentmods.dev/instructions/tencentcloud/octop/agents-md"><img src="https://agentmods.dev/badge/instructions/tencentcloud/octop/agents-md.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.07899 | $0.07899 |
| Opus 5 | $0.03950 | $0.03950 |
| Sonnet 5 | $0.01580 | $0.01580 |
| Haiku 4.5 | $0.00790 | $0.00790 |
Grade A, and why
Octop 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 4d 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 — 415 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Navigation guide for AI coding agents working in this repository.
1. Collaboration principles
Favor caution over speed; trivial tasks may relax these rules. These principles complement §10 Change workflow and §11 Communication.
Think before writing
- State assumptions up front; ask when unsure — do not guess.
- When multiple interpretations exist, list them and let the user choose — do not pick silently.
- Suggest simpler approaches when they exist; push back when appropriate.
- Stop when blocked; name exactly what is unclear.
Simplicity first
- Write the minimum code that solves the problem; no unrequested features, abstractions, or config knobs.
- Do not add defensive error handling for scenarios that cannot realistically happen.
- Trim the diff when it grows unnecessarily large.
Surgical edits
- Touch only lines directly related to the task; do not opportunistically "clean up" nearby code, comments, or formatting.
- Do not refactor working code or unify style just because it differs from yours.
- Unrelated dead code: mention it, do not delete it proactively.
- Remove orphan imports, variables, and functions you introduced.
Verifiable outcomes
- Turn tasks into verifiable goals (what to test, which command proves success).
- For multi-step work, sketch a short plan:
step → verify: … - Before saying "done", provide verification evidence; the default ship bar is
make allgreen (see §6 Run commands, §10 Change workflow).
2. What this is
Octop — self-hosted AI assistant platform (multi-user, multi-agent). One Python wheel: FastAPI backend + React dashboard + Click CLI. No external queue. No required services beyond an LLM provider.
3. Tech stack
| Layer | Technology |
|---|---|
| Language | Python 3.12+ |
| Web framework | FastAPI + uvicorn |
| Async runtime | asyncio (no threads except run_in_executor) |
| Database | SQLite via sync sqlite3 (WAL) or PostgreSQL via psycopg / psycopg_pool |
| LLM runtime | harness-agent (LangGraph) at /workspace/harness-agent |
| Gateway | harness-gateway at /workspace/harness-gateway |
| Frontend | React 18 + TypeScript + Vite |
| Package manager | uv — always uv run pytest, never bare pytest |
| API docs UI | Scalar (scalar-fastapi) at /api/docs |
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.
- 4d ago First seen · 415 lines · 7,899 tokens per session scan A 058ee2281e73
Octop AGENTS.md is an instructions file published in the GitHub repository TencentCloud/Octop (1,292 stars, last pushed 4d ago), licensed MIT. It adds 7,899 tokens to every session, about $0.0395 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
mini-swe-agent copilot-instructions.md
Copilot instructions for SWE-agent/mini-swe-agent, covering style guide, test style, bad and good.
intelligent-terminal rust.instructions.md
Concise Rust coding conventions for this repository.
gini-agent AGENTS.md
AGENTS.md instructions for Open-Curiosity/gini-agent, covering gini agent instructions, shape, adrs, boundaries and branches.
lime AGENTS.md
AGENTS.md instructions for limecloud/lime, covering lime 源码仓库指南, 事实源, 工程约束, 协议与质量 and 执行方式.
generative-media-skills AGENTS.md
AGENTS.md instructions for calesthio/generative-media-skills, covering agent instructions, non-negotiable rules and allowed consistency.
AICOO-Skills AGENTS.md
Instructions for Aicoo-Team/AICOO-Skills, covering agents.md, if you just installed this pack (read first), repo purpose, editing rules and documentation sync.