systematic: Instructions file for GitHub Copilot

.github/copilot-instructions.md

systematic copilot-instructions.md is an instructions file for GitHub Copilot from marcusrbrown/systematic. It costs 1,145 tokens per session, scanned A, original, MIT.

A set of coding rules for the Systematic project, including its programming tools, project conventions, and required checks.

In plain words
What is it for?
Use it when changing Systematic code to check project structure, write compatible imports, and run the required build, type checks, linting, and tests.
Why use it?
It gives a coding agent one place to find the repository’s rules and prevents it from using the wrong runtime, test tool, package manager, or import style.

Instructions file for GitHub Copilot

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

This is marcusrbrown/systematic's own configuration. It tells GitHub Copilot how to work on systematic 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 systematic configures →

Reuse

Borrowing it

Nothing to install: this file belongs to marcusrbrown/systematic. 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/marcusrbrown/systematic/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/marcusrbrown/systematic

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 systematic copilot-instructions.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/marcusrbrown/systematic/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/marcusrbrown/systematic/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,145 This file is loaded in full into every session.
When invoked 1,145 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.01145 $0.01145
Opus 5.5 $0.00458 $0.00458
Sonnet 5.5 $0.00229 $0.00229
Haiku 4.5 $0.00114 $0.00114

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

Security

Grade A, and why

systematic 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 8d 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 · 149 lines

How it starts

The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Copilot Instructions for Systematic

Read AGENTS.md at the repository root before writing any code. It is the canonical source for project structure, conventions, and command reference.

Stack

  • Runtime: Bun (not Node.js, not Deno)
  • Language: TypeScript 5.7+ with strict: true
  • Modules: ESM only ("type": "module" in package.json)
  • Linter: Biome — not ESLint, not Prettier
  • Tests: bun:test with describe/it — not Jest, not Vitest
  • Package manager: Bun — not npm, not pnpm, not yarn

Verification Commands

Run these before marking work complete:

bun run build        # Build to dist/
bun run typecheck    # TypeScript strict mode
bun run lint         # Biome linter
bun test             # Unit and integration tests

All four must pass. Do not skip any.

Do / Don't

Imports

// ✅ Do: node: protocol for builtins
import { readFile } from 'node:fs/promises'
import { join } from 'node:path'

// ✅ Do: .js extension on relative imports (ESM requirement)
import { parseFrontmatter } from './frontmatter.js'

// ✅ Do: import type for type-only imports
import type { SkillConfig } from './types.js'

// ❌ Don't: bare builtin imports
import { readFile } from 'fs/promises'

// ❌ Don't: missing .js extension
import { parseFrontmatter } from './frontmatter'

Type Safety

// ✅ Do: unknown + type guards
function processInput(value: unknown): string {
  if (typeof value !== 'string') {
    throw new TypeError(`Expected string, got ${typeof value}`)
  }
  return value
}

// ✅ Do: explicit return types on exports
export function findSkills(dir: string): Promise<SkillDefinition[]> { ... }

// ✅ Do: let Zod schema builders infer their return type
export function createConfigSchema(opts: Options) {
  return z.object({ ... })
}

// ❌ Don't: annotate a schema builder's return type — it erases the parsed shape
export function createConfigSchema(opts: Options): z.ZodObject<z.core.$ZodLooseShape> { ... }

// ❌ Don't: any, @ts-ignore, @ts-expect-error, non-null assertions (!)
function processInput(value: any) { ... }
// @ts-ignore
someCall()!

Read the full file on GitHub · 149 lines

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. 8d ago Changed · +51 tokens per session 0eb679a58cb3
  2. 16d ago Changed · +1 lines · +26 tokens per session fc1fde426999
  3. 17d ago Changed · -2 lines · -34 tokens per session a363518cbc27
  4. 1mo ago Changed · +8 lines · +75 tokens per session e971689d0e28
  5. 2mo ago First seen · 142 lines · 1,027 tokens per session scan A dbfe83eeddf5

Subscribe to this mod's changes

systematic copilot-instructions.md is an instructions file published in the GitHub repository marcusrbrown/systematic (28 stars, last pushed today), licensed MIT. It adds 1,145 tokens to every session, about $0.0046 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-08-30.

Related

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

systematic copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
systematic copilot-instructions.mdmarcusrbrown/systematicInstructions file28todayMITA1,145GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode