abi: Instructions file for GitHub Copilot

.github/copilot-instructions.md

abi copilot-instructions.md is an instructions file for GitHub Copilot from donaldfilimon/abi. It costs 437 tokens per session, scanned A, original, Apache-2.0.

An editor instruction file for the abi framework, runtime, toolchain, and stored-data safeguards. It records fixed command and tool interfaces, required commands, and claims that must not be made without evidence.

In plain words
What is it for?
Use it when editing abi, running checks, changing command or MCP tool surfaces, or working with storage-related tests. It complements the repository’s main AGENTS.md instructions.
Why use it?
It gives an agent project-specific limits that may not be obvious from the source code. This helps prevent accidental changes to fixed interfaces and unsafe access to a developer’s real data store.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file. Also seen: mentions AGENTS.md.

This is donaldfilimon/abi's own configuration. It tells GitHub Copilot how to work on abi itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything abi configures →

Reuse

Borrowing it

Nothing to install: this file belongs to donaldfilimon/abi. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/donaldfilimon/abi/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/donaldfilimon/abi

Made for: GitHub Copilot.

Wrote 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.

agentmods badge for abi copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/donaldfilimon/abi/copilot-instructions/github.svg)](https://agentmods.dev/instructions/donaldfilimon/abi/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/donaldfilimon/abi/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/donaldfilimon/abi/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.

agentmods 80×15 button for abi copilot-instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/donaldfilimon/abi/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/donaldfilimon/abi/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 437 This file is loaded in full into every session.
When invoked 437 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00437 $0.00437
Opus 5.5 $0.00175 $0.00175
Sonnet 5.5 $0.00087 $0.00087
Haiku 4.5 $0.00044 $0.00044

Measured 15d ago against content hash fb289a4c4f4d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

abi copilot-instructions.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 15d 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.

.github/copilot-instructions.md · 46 lines

What it actually says

Copilot Instructions - ABI Framework

Read AGENTS.md first. It is the canonical instruction file; this file is a short editor-facing reminder.

Runtime and toolchain

  • ABI is a stable Rust 1.99.1 workspace under crates/*.
  • Always use ./tools/cargo.sh. A Homebrew stable Cargo shadows rustup on this machine.
  • Primary gate after edits: ./tools/check.sh.
  • Compatibility entrypoint: ./build.sh check.
  • Do not recreate the removed Zig tree, build.zig, .zigversion, modernized/, or modern-refactor/.

Contracts

  • Frozen CLI surface: 14 top-level commands, defined in crates/abi-cli/src/usage.rs and pinned by golden tests.
  • Frozen MCP surface: 12 tools, implemented under crates/abi-mcp/ and pinned by contract tests.
  • Do not add or rename a frozen command/tool without updating its authoritative source, golden fixtures, and tests together.

Store safety

Tests and smokes must never open ~/.abi/. Use ABI_WDBX_PATH=:memory:, ABI_WDBX_PERSIST=0, or abi_foundation::temp_path::temp_file_path().

Claims

Do not claim production FHE, AES/RBAC storage, multi-host sharding, native CUDA/Vulkan/ANE execution, benchmark superiority, or public-internet hardening without current source, tests, and artifacts. Local scheduler work is not distributed agents. Lexical constitution telemetry is not a general safety classifier. See docs/contracts/external-claims-audit.mdx.

Workflow

  1. Read tasks/lessons.md and tasks/todo.md.
  2. Inspect git status --short --branch and preserve unrelated dirty work.
  3. Make a focused change in the owning crate.
  4. Run a focused test through ./tools/cargo.sh.
  5. Run ./tools/check.sh before commit or handoff.
Changes

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.

  1. 15d ago First seen · 46 lines · 437 tokens per session scan A fb289a4c4f4d

Subscribe to this mod's changes

abi copilot-instructions.md is an instructions file published in the GitHub repository donaldfilimon/abi (18 stars, last pushed 5d ago), licensed Apache-2.0. It adds 437 tokens to every session, about $0.0017 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-11-15.

Related

abi copilot-instructions.md compared with instructions from other repositories

abi copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
abi copilot-instructions.mddonaldfilimon/abiInstructions file185d agoApache-2.0A437GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode