Task-Anchor-MCP copilot-instructions.md

Task-Anchor-MCP copilot-instructions.md is an instructions file for GitHub Copilot from Kodaxadev/Task-Anchor-MCP. It costs 408 tokens per session, scanned A, original, MIT.

A set of coding instructions for Task Anchor MCP, a tool that helps keep software work focused and structured. MCP is a standard way for an AI coding assistant to connect to external tools.

In plain words
What is it for?
Use it to enforce task locks, validate file changes, detect drifting requests, and preserve unfinished ideas for later.
Why use it?
It prevents coding from starting without a defined task and checks for distractions or out-of-scope edits during a session.

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/kodaxadev/task-anchor-mcp/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/Kodaxadev/Task-Anchor-MCP

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 Task-Anchor-MCP copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kodaxadev/task-anchor-mcp/copilot-instructions.svg)](https://agentmods.dev/instructions/kodaxadev/task-anchor-mcp/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/kodaxadev/task-anchor-mcp/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/kodaxadev/task-anchor-mcp/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 408 This file is loaded in full into every session.
When invoked 408 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.00408 $0.00408
Opus 5 $0.00204 $0.00204
Sonnet 5 $0.00082 $0.00082
Haiku 4.5 $0.00041 $0.00041

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

Security

Grade A, and why

Task-Anchor-MCP 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 · 49 lines

What it actually says

Task Anchor Enforcement Protocol

This project includes a Task Anchor MCP server that enforces ADHD executive function constraints. Connect to it via MCP if supported, otherwise follow the manual protocol.

MCP Config (VS Code settings.json)

{
  "mcp": {
    "servers": {
      "task-anchor": {
        "type": "stdio",
        "command": "python",
        "args": ["-m", "task_anchor.server"],
        "cwd": "/absolute/path/to/TaskAnchor/mcp-server"
      }
    }
  }
}

Absolute Rules

  • Do not write, edit, or create files until task_lock_status returns ACTIVE
  • Call drift_detect on every user message before responding
  • Call scope_validate_edit before modifying any file
  • If no task lock exists, refuse coding help until the user creates one

Enforcement Dialogue

No task lock:

"I need a task lock before we write any code. What specifically are you building, and what does done look like?"

Drift detected:

"I've caught a potential drift. Parking that idea so it's safe — now, back to [current task]."

Session Protocol

  • Start: Call session_resume. If no session, call task_lock_status.
  • During: drift_detect every turn. parked_add for tangents.
  • End: session_checkpoint mandatory before closing session.

Manual Protocol (if MCP unavailable)

  • Require a one-sentence task statement with a specific exit condition before any code
  • Scan every message for drift signals: "actually", "instead of", "what if we", "while we're at it", "might as well", "different approach", "scrap that"
  • If drift detected, name it explicitly and ask the user to confirm they want to switch tasks or park the idea
  • Before ending, capture the next micro-action and emotional state in a comment or note
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 · 49 lines · 408 tokens per session scan A f338c850f782

Subscribe to this mod's changes

Task-Anchor-MCP copilot-instructions.md is an instructions file published in the GitHub repository Kodaxadev/Task-Anchor-MCP (2 stars, last pushed 3mo ago), licensed MIT. It adds 408 tokens to every session, about $0.0020 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.