aictx copilot-instructions.md

aictx copilot-instructions.md is an instructions file for GitHub Copilot from oldskultxo/aictx. It costs 445 tokens per session, scanned A, original, MIT.

Repository instructions for GitHub Copilot describing how an AI context tool called AICTX should be used during coding tasks. They define the startup, continuation, and completion steps when command execution is available.

In plain words
What is it for?
Useful for resuming repository tasks, choosing AICTX tools or command-line fallbacks, and following the required session lifecycle before and after code changes.
Why use it?
They provide a consistent way to restore task context and record work, especially when the repository has AICTX's connected tools or configuration.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/oldskultxo/aictx/copilot-instructions.svg)](https://agentmods.dev/instructions/oldskultxo/aictx/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/oldskultxo/aictx/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/oldskultxo/aictx/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 445 This file is loaded in full into every session.
When invoked 445 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.00445 $0.00445
Opus 5 $0.00222 $0.00222
Sonnet 5 $0.00089 $0.00089
Haiku 4.5 $0.00044 $0.00044

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

Security

Grade A, and why

aictx 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 5d 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 · 18 lines

What it actually says

AICTX GitHub Copilot integration

These are repository custom instructions for GitHub Copilot. AICTX cannot force Copilot to run commands, but Copilot should follow this lifecycle whenever command execution is available.

Critical lifecycle:

  • Prefer AICTX MCP tools when available; fall back to AICTX CLI commands otherwise.
  • MCP-first startup: if AICTX MCP tools are already visible, use those tools for resume/finalize. If they are not visible but .mcp.json or .vscode/mcp.json exists, first use the runner tool-discovery mechanism when available (for example search for aictx resume finalize lifecycle) so lazy-loaded MCP namespaces can attach, then have the runner attach/start the configured stdio MCP server before the first AICTX command of each new session. If MCP tools still are not attached after discovery/attachment, state that MCP config exists but tools are unavailable in this runner and use the CLI fallback.
  • For non-trivial repository tasks, first run exactly once: aictx resume --repo . --task "<task goal>" --agent-id copilot --adapter-id copilot-vscode --json.
  • Use the returned resume capsule as the operational brief before broad repo scanning.
  • Before the final response, run exactly once: aictx finalize --repo . --status success|failure --summary "<what happened>" --agent-id copilot --adapter-id copilot-vscode --json.
  • Append the AICTX final summary from finalize when available. Render every provided summary section, including details, continuity_view_file, and continuity_view_online; preserve Continuity View file links and Mermaid online view links; do not replace URLs with placeholders and do not manually reconstruct or retype pako URLs. If command execution is unavailable, say that the AICTX lifecycle could not be executed.
  • Do not inspect .aictx/ directly during normal startup; use aictx resume.
  • Do not run exploratory AICTX commands during normal startup.

Verification tip: in Copilot Chat, expand response References and confirm .github/copilot-instructions.md is listed.

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. 5d ago First seen · 18 lines · 445 tokens per session scan A 81450889d549

Subscribe to this mod's changes

aictx copilot-instructions.md is an instructions file published in the GitHub repository oldskultxo/aictx (57 stars, last pushed 2mo ago), licensed MIT. It adds 445 tokens to every session, about $0.0022 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-30.