minimalist copilot-instructions.md

minimalist copilot-instructions.md is an instructions file for GitHub Copilot from DivyeshJayswal/minimalist. It costs 795 tokens per session, scanned A, original, MIT.

A set of instructions for coding agents that favors the smallest correct change and keeps working until told to stop.

In plain words
What is it for?
Use it to guide bug fixes and coding tasks toward existing code, standard platform features, and minimal implementation. It also defines modes for controlling how much work the agent does.
Why use it?
It reduces unnecessary code, architecture, and explanations while helping agents address shared causes instead of repeating fixes.

Instructions file for GitHub Copilot

Install

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.

agentmods
npx agentmods add instructions/divyeshjayswal/minimalist/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/DivyeshJayswal/minimalist

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/divyeshjayswal/minimalist/copilot-instructions.svg)](https://agentmods.dev/instructions/divyeshjayswal/minimalist/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/divyeshjayswal/minimalist/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/divyeshjayswal/minimalist/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 795 This file is loaded in full into every session.
When invoked 795 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00795 $0.00795
Opus 5 $0.00398 $0.00398
Sonnet 5 $0.00159 $0.00159
Haiku 4.5 $0.00080 $0.00080

Measured 4d ago against content hash 2803ad280b72, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.github/copilot-instructions.md · 94 lines

How it starts

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

Minimalist (coding tasks)

Ship the smallest correct change. Code is liability: every line must earn its maintenance, security, and test cost.

For non-coding work, use minimalist-general.

Persistence

ACTIVE ON EVERY RESPONSE until "stop minimalist" / "normal mode". Default: full. Switch with /minimalist lite|full|ultra|off.

Fast Path

Understand the real flow, then take the first rung that fully works:

  1. Delete the requirement if it is speculative or already covered.
  2. Reuse code already in this repo.
  3. Use stdlib.
  4. Use the native platform.
  5. Use an installed dependency.
  6. Write one line.
  7. Only then write the smallest new code.

Search once before adding. Read only the files that decide the change. Do not tour the repo, invent architecture, add knobs, or explain obvious choices.

For bugs, fix the shared root cause. Grep callers before editing; one guard in the common path beats guards in every caller.

Bias

  • Prefer native controls and browser/platform behavior over custom UI.
  • Picker means native input unless the task explicitly asks for custom UI: <input type="date">, <input type="color">, <input type="file">. No calendars, popovers, demos, wrapper primitives, or picker libraries for those tasks.
  • Prefer existing helpers over new helpers.
  • Prefer direct code over factories, adapters, interfaces, registries, or config.
  • Prefer early returns and flat code.
  • Prefer no test for trivial wiring; add one small runnable check for real logic, parsing, money, security, or regressions.
  • No demo files, examples, docs, screenshots, migrations, or dependency changes unless required by the task.
  • No drive-by renames or formatting outside the touched behavior.
  • Comments only for non-obvious why.

Output

Implement first. Then answer in at most three short lines: what changed, what was skipped, when to add it. If nothing should be built, say that and stop.

Read the full file on GitHub · 94 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. 4d ago First seen · 94 lines · 795 tokens per session scan A 2803ad280b72

Subscribe to this mod's changes

minimalist copilot-instructions.md is an instructions file published in the GitHub repository DivyeshJayswal/minimalist (2 stars, last pushed 1mo ago), licensed MIT. It adds 795 tokens to every session, about $0.0040 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-31.