agent-code-tracker: Instructions file for GitHub Copilot

.github/copilot-instructions.md

agent-code-tracker copilot-instructions.md is an instructions file for GitHub Copilot from arijeetganguli/agent-code-tracker. It costs 348 tokens per session, scanned A, original, MIT.

Instructions for developing a Visual Studio Code extension that measures how much code was written by AI assistants compared with people.

In plain words
What is it for?
Tracking code changes, separating AI-assisted and manual contributions, showing percentages in VS Code, and viewing statistics for files or a whole workspace.
Why use it?
They provide the project structure and development checklist needed to build, compile, debug, and document the extension.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is arijeetganguli/agent-code-tracker's own configuration. It tells GitHub Copilot how to work on agent-code-tracker 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 agent-code-tracker configures →

Reuse

Borrowing it

Nothing to install: this file belongs to arijeetganguli/agent-code-tracker. 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/arijeetganguli/agent-code-tracker/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/arijeetganguli/agent-code-tracker

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 agent-code-tracker copilot-instructions.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/arijeetganguli/agent-code-tracker/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/arijeetganguli/agent-code-tracker/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 348 This file is loaded in full into every session.
When invoked 348 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.00348 $0.00348
Opus 5.5 $0.00139 $0.00139
Sonnet 5.5 $0.00070 $0.00070
Haiku 4.5 $0.00035 $0.00035

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

Security

Grade A, and why

agent-code-tracker 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 2mo 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 · 37 lines

What it actually says

Agent Code Tracker - VS Code Extension Development

Progress Checklist

  • Verify that the copilot-instructions.md file in the .github directory is created
  • Clarify Project Requirements - Building a VS Code extension to track percentage of code written by AI agents
  • Scaffold the Project - Creating VS Code extension structure with TypeScript
  • Customize the Project - Implement core tracking functionality
  • Install Required Extensions - No additional extensions needed
  • Compile the Project - Successfully compiled with esbuild
  • Create and Run Task - Optional for testing
  • Launch the Project - Press F5 to debug the extension
  • Ensure Documentation is Complete - README.md updated with comprehensive information

Project Overview

VS Code extension to track and calculate the percentage of code written by AI agents (like GitHub Copilot) versus manual code contributions.

Key Features

  • Monitor code changes in real-time
  • Detect AI-generated vs manual code
  • Track statistics per file and workspace-wide
  • Display percentage in status bar
  • Provide detailed statistics view

Project Structure

  • src/extension.ts - Main extension activation and command registration
  • src/codeTracker.ts - Core tracking logic with smart detection heuristics
  • src/statusBar.ts - Status bar item management
  • src/statsView.ts - Webview for detailed statistics display

Next Steps

  1. Press F5 to launch the extension in debug mode
  2. Test the extension in a new VS Code window
  3. Start coding to see statistics update in real-time
  4. Use Command Palette to view detailed statistics
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. 2mo ago First seen · 37 lines · 348 tokens per session scan A 68ff680fd8f0

Subscribe to this mod's changes

agent-code-tracker copilot-instructions.md is an instructions file published in the GitHub repository arijeetganguli/agent-code-tracker (2 stars, last pushed 2mo ago), licensed MIT. It adds 348 tokens to every session, about $0.0014 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-08-31.

Related

agent-code-tracker copilot-instructions.md compared with instructions from other repositories

agent-code-tracker copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-code-tracker copilot-instructions.mdarijeetganguli/agent-code-trackerInstructions file22mo agoMITA348GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode