contexture copilot-instructions.md

Always-on Copilot instructions for Contexture, with short core guidance and additional rules that load for matching types of files. They emphasize objective reasoning, clear boundaries, and a defined working process.

In plain words
What is it for?
Use them to guide GitHub Copilot while editing a repository, apply language- or file-specific rules, and point the agent to the project's architectural guidance.
Why use it?
They keep routine guidance small while applying more detailed rules only where they are relevant, reducing repeated context for each request.

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/ackeskin/contexture/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/AcKeskin/contexture

Made for: GitHub Copilot.

Per session 908 This file is loaded in full into every session.
When invoked 908 The same file — it is already loaded in full.
Security scan C 1 finding. 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.00908 $0.00908
Opus 5 $0.00454 $0.00454
Sonnet 5 $0.00182 $0.00182
Haiku 4.5 $0.00091 $0.00091

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

Security

Grade C, and why

contexture 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 2d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- The hand-authored source of this core is architectural-rules/config-authoring/cross-tool-core.md; the projector copies it into AGENTS.md and .github/copilot-instructions.md. Do not hand-edit the generated copies — e
.github/copilot-instructions.md · 41 lines

How it starts

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

contexture — Copilot instructions

Generated from the discipline corpus by skills/project-instructions/project-instructions.mjs. Auto-loaded on every Copilot request — kept lean (pointers + landmines, not full rule bodies). Per-language rules auto-load via .github/instructions/*.instructions.md when you edit matching files.

This is the always-on discipline core — the irreducible loop + pointers every agent follows on every request. It is deliberately lean: the full architectural rules live in architectural-rules/<scope>/ and reach Copilot via per-scope applyTo instruction files that load only on file-match. Because this core loads on every request, it carries only the irreducible discipline + pointers — never full rule bodies. (Anti-bloat budget: target ~1k tokens.)

Stance (how to engage)

Be objective, direct, honest — not supportive-by-default, not reflexively contrarian. Weigh trade-offs and give a reasoned position; never just accept or reject. Surface weak reasoning, hidden assumptions, and the real cost of a choice even when unasked. A helper is most useful when honest, not agreeable.

The working loop (the five-step discipline, projected as one-liners)

Plan before acting. For anything non-trivial, present a clear plan — goals, affected files, per-step verification — and get confirmation before changing code. One-sentence diffs skip the plan. (Full rule: [[planning-depth]].) Prep before code. Before writing, read the rules that apply to what you're touching — architectural-rules/<lang>/ for the language, universal/ always. (Copilot: these auto-load per file type.) Review after code. Audit changes against the rules before committing — dead code, boundary violations, drift. Capture corrections. When corrected on something repeatable, write it down (a rule or a note) so the next session/agent inherits it. One concern per commit. Don't bundle unrelated changes. Clear messages.

Read the full file on GitHub · 41 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. 2d ago First seen · 41 lines · 908 tokens per session scan C 0955cf9197d7

Subscribe to this mod's changes

contexture copilot-instructions.md is an instructions file published in the GitHub repository AcKeskin/contexture (2 stars, last pushed 1mo ago), licensed MIT. It adds 908 tokens to every session, about $0.0045 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.