Borrowing it
Nothing to install: this file belongs to tygryso/hypotree. 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/tygryso/hypotree/master/.github/copilot-instructions.mdgit clone --depth 1 https://github.com/tygryso/hypotreeWrote 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/tygryso/hypotree/copilot-instructions)<a href="https://agentmods.dev/instructions/tygryso/hypotree/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/tygryso/hypotree/copilot-instructions/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/tygryso/hypotree/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/tygryso/hypotree/copilot-instructions.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.01749 | $0.01749 |
| Opus 5.5 | $0.00700 | $0.00700 |
| Sonnet 5.5 | $0.00350 | $0.00350 |
| Haiku 4.5 | $0.00175 | $0.00175 |
Grade C, and why
hypotree copilot-instructions.md scanned grade C with 1 finding 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 2mo 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- **NEVER run `rm -rf` on the belief-state database** before or after `pytest`. This wipes the belief-state and is completely unnecessary — all test fixtures create temp DBs via `tmp_path`. How it starts
The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.
hypotree — Project Instructions
Platform & Environment
- OS: Linux, macOS and Windows.
eval.shis bash-only (WSL or Git Bash on Windows); everything else runs natively on all three. - Languages: Python 3.10+
- Frameworks/Libraries: MCP (modelcontextprotocol), Pydantic, SciPy (Beta distributions), SQLite (stdlib)
- Eval/Plotting: Pandas, NumPy, Matplotlib, Seaborn
- Tooling: uv, pytest, ruff, mypy
- Version Control: Git (GitHub)
Refactoring & Code Quality
- Migrations and backward compatibility are required. The project is open-source and entering production. SQLite schema changes must bump the version and upgrade old databases automatically. Deprecation warnings should precede removals by at least one minor version. Never break existing belief-state databases without a migration.
- Prefer generalization. When implementing a feature, look for opportunities to generalize. Enhance and consolidate logic proactively rather than adding narrow one-off code.
- Maintain inline comments. Keep and improve inline code comments that describe why something exists or what a non-obvious block does. Add brief logic descriptions where they aid comprehension. Never reference plan phase numbers, step numbers, or plan names in comments — comments must be self-contained, descriptive, and meaningful without any external context.
Testing & Linting Discipline
- Always use
uv run— never system Python or pip. This project usesuvfor all environment management. Commands must be prefixed withuv runto use the correct virtual environment. - Modified code requires verification. Any modified class, function, or variable within a file requires a full
pytestrun on that module/file plusruffon that file. No exceptions — the edit is not complete until both pass.- Tests:
uv run pytest <test_file> -x -q - Linter:
uv run ruff check <file> - Format:
uv run ruff format <file> - Type check:
uv run mypy src/hypotree/
- Tests:
- New code requires new tests. Any new function, class, or method must have a corresponding new
pytesttest written for it before the task is considered done. The new test must pass alongsideruffon the new and changed files. - No untested code is shipped. If you add code and do not write a test for it, you have failed the task. Period.
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.
- 2mo ago First seen · 89 lines · 1,749 tokens per session scan C cbe27eddc032
hypotree copilot-instructions.md is an instructions file published in the GitHub repository tygryso/hypotree (12 stars, last pushed 2mo ago), licensed MIT. It adds 1,749 tokens to every session, about $0.0070 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
hypotree copilot-instructions.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hypotree copilot-instructions.mdtygryso/hypotree | Instructions file | 12 | 2mo ago | MIT | C | 1,749 | GitHub Copilot |
| 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 |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |