ape-context: Skill for Claude Code

.github/skills/context-instructions/SKILL.md

context-instructions is a skill for Claude Code, Codex from suuus/ape-context. It costs 69 tokens per session (416 once invoked), scanned C, original, MIT.

A skill for creating or updating GitHub Copilot's instruction file with information about an organisation's tools, services, and working rules.

In plain words
What is it for?
It is for documenting configured MCP servers, their tools, team conventions, relevant skills, and project constraints in `.github/copilot-instructions.md`.
Why use it?
It puts scattered team knowledge into one file so coding assistants know which tools to use and what conventions to follow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is suuus/ape-context's own configuration. It tells Claude Code and Codex how to work on ape-context 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 ape-context configures →

Reuse

Borrowing it

Nothing to install: this file belongs to suuus/ape-context. 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/suuus/ape-context/main/.github/skills/context-instructions/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/suuus/ape-context

Made for: Claude Code, Codex.

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 context-instructions

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/suuus/ape-context/context-instructions"><img src="https://agentmods.dev/badge/skills/suuus/ape-context/context-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 416 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00069 $0.00416
Opus 5.5 $0.00028 $0.00166
Sonnet 5.5 $0.00014 $0.00083
Haiku 4.5 $0.00007 $0.00042

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

Security

Grade C, and why

context-instructions 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 1mo 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.

`<!-- generated by context-instructions -->`.
.github/skills/context-instructions/SKILL.md · 40 lines

What it actually says

Load servers, sources, health, distilled_intent, ADRP drafts/accepted imports, ASRP drafts, optional execution manifest, and changelog. Missing input is a gap.

  1. Draft one ## Enterprise Context section containing <!-- generated by context-instructions -->.
  2. Include tools/sources, Intent, constraints, applicable ADRP IDs/status/ fingerprints, ASRP IDs/status/fingerprints, manifest path/gates, autonomy (PROCEED/ALWAYS ASK/NEVER), topology, workflows, and changelog link.
  3. Only accepted eligible imports are active. Preserve URI, authority, scope, status, review/expiry, and conflicts; omit sensitive source content.
  4. Above 80 lines or ~2000 tokens, trim guidance first, never constraints.
  5. Resolve context_artifacts.py from project, .ape-context, unified plugin, then legacy plugin. Write a temporary section and run:
python3 <helper> merge \
  --target .github/copilot-instructions.md \
  --section-file <temp>

Use --dry-run for evaluation. The helper atomically creates/appends/replaces while preserving other content. If it reports manual edits, ask before rerunning with --allow-manual. Remove the temporary file.

Helper failure leaves the target unchanged. Context and profile drafts remain inactive until context-quality and context-ratify pass.

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. 1mo ago Changed · -88 lines · +50 tokens per session scan A → C de8796506b28
  2. 2mo ago First seen · 128 lines · 19 tokens per session scan A 06d6e9682c58

Subscribe to this mod's changes

context-instructions is a skill published in the GitHub repository suuus/ape-context (2 stars, last pushed 1mo ago), licensed MIT. It adds 69 tokens to every session and 416 once invoked, about $0.0003 per session on Opus 5.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.

Related

Other skills, from other repositories

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

playwright-cli

Automate browser interactions, test web pages and work with Playwright tests.

microsoft/playwright · 19 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens