contextos-agents: Instructions file for GitHub Copilot

.github/copilot-instructions.md

contextos-agents copilot-instructions.md is an instructions file for GitHub Copilot from kok-o/contextos-agents. It costs 828 tokens per session, scanned A, original, Apache-2.0.

Project instructions for GitHub Copilot, an AI coding assistant, that define how it should investigate, plan, build, verify, and review work.

In plain words
What is it for?
They are for making Copilot inspect code before editing, run tests and checks, and follow a defined process for substantial tasks.
Why use it?
They reduce guesses, unfinished production code, unverified claims, and changes outside the requested area.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file. Also seen: built for gstack.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/kok-o/contextos-agents/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/kok-o/contextos-agents/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 828 This file is loaded in full into every session.
When invoked 828 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.00828 $0.00828
Opus 5.5 $0.00331 $0.00331
Sonnet 5.5 $0.00166 $0.00166
Haiku 4.5 $0.00083 $0.00083

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

Security

Grade A, and why

contextos-agents 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 today.

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 · 79 lines

How it starts

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

GitHub Copilot Instructions — ContextOS

Project Rules

Step 0 — Identify Before Acting

When useful for substantial work, identify:

1. WHAT DOMAIN?   → Frontend / Backend / Architecture / Full-Stack / DevOps
2. WHAT PHASE?    → Define / Plan / Build / Verify / Review / Ship
3. WHAT ROLE?     → Declare specialist role for this phase

Anti-Spam Invariant: Declare this strictly once at the start of a task or phase. Never repeat before intermediate tool calls or step updates.

Non-Negotiable Rules

  • Zero-Assumption Investigation: Never guess file paths or signatures. Inspect before modifying.
  • Zero-Placeholder Production Code: Never emit lazy stubs, // TODO, or partial code.
  • Mandatory Proof-of-Work Verification: Always run tests and validators before claiming completion.
  • Surgical Blast Radius: Modify only files strictly within scope.
  • Fast-Track Exception: Routine maintenance, git commands, version bumps, typo fixes, and diagnostics skip spec/plan ceremonies.

Skills Library

ContextOS uses on-demand progressive disclosure. Read the relevant SKILL.md file only when your task matches the trigger.

Skill Routing Table

Trigger / Domain Skill Path
context-manager context-manager .agents/core/skills/context-manager/SKILL.md
context-os context-os .agents/core/skills/context-os/SKILL.md
engineering-workflow engineering-workflow .agents/core/skills/engineering-workflow/SKILL.md
gemini-precision gemini-precision .agents/core/skills/gemini-precision/SKILL.md
gstack-roles gstack-roles .agents/core/skills/gstack-roles/SKILL.md
ponytail-mindset ponytail-mindset .agents/core/skills/ponytail-mindset/SKILL.md
security security .agents/core/skills/security/SKILL.md

Read the full file on GitHub · 79 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. today Changed · -1 lines · -70 tokens per session c3b8b8bc3af6
  2. today First seen · 80 lines · 898 tokens per session scan A 62543b14488e

Subscribe to this mod's changes

contextos-agents copilot-instructions.md is an instructions file published in the GitHub repository kok-o/contextos-agents (10 stars, last pushed today), licensed Apache-2.0. It adds 828 tokens to every session, about $0.0033 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-10-25.