vscode-ext-dev

A development guide for the Agent Code Tracker extension for Visual Studio Code, a code editor. It covers the extension's features, tests, debugging, and packaging.

In plain words
What is it for?
Use it when adding features, fixing bugs, running tests, debugging in the extension host, packaging releases, or changing package.json settings.
Why use it?
It provides a known workflow for changing the extension while keeping its commands, tracking logic, interface, and tests connected.

Skill for Claude CodeCodex

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 skills/arijeetganguli/agent-code-tracker/vscode-ext-dev
Any agent
npx skills add arijeetganguli/agent-code-tracker --skill vscode-ext-dev
Clone the repo
git clone --depth 1 https://github.com/arijeetganguli/agent-code-tracker

Made for: Claude Code, Codex.

Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,081 The whole file, excluding the scripts and references it only reads on demand.
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.00046 $0.01081
Opus 5 $0.00023 $0.00541
Sonnet 5 $0.00009 $0.00216
Haiku 4.5 $0.00005 $0.00108

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

Security

Grade A, and why

vscode-ext-dev 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 2d 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/skills/vscode-ext-dev/SKILL.md · 130 lines

How it starts

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

VS Code Extension Development Workflow

When to Use

  • Adding a new feature or command to the extension
  • Fixing a bug in tracking, UI, or detection logic
  • Running or writing tests
  • Debugging the extension in the Extension Development Host
  • Packaging the extension for distribution
  • Modifying package.json contributions (commands, configuration, activation)

Project Architecture

Module Responsibility
src/extension.ts Activation, command registration, event wiring, disposal
src/codeTracker.ts AI vs manual detection heuristics, stats persistence via workspaceState
src/statusBar.ts Status bar item with 2-second polling updates
src/statsView.ts Webview panel with per-file and workspace-wide statistics
src/test/extension.test.ts Mocha test suite (run via @vscode/test-cli)

Key Interfaces

// in codeTracker.ts
interface CodeStats { totalChars: number; agentChars: number; manualChars: number; percentage: number; }
interface FileStats { [filePath: string]: CodeStats; }

Dependency Flow

extension.ts → creates CodeTracker
             → passes CodeTracker to StatusBarManager
             → passes CodeTracker to StatsViewProvider

All disposables are pushed to context.subscriptions for cleanup.

Procedure

1. Understand the Change

  • Identify which module(s) the change touches (see Architecture table)
  • If adding a command: update both src/extension.ts (registration) and package.json (contributes.commands)
  • If adding a config setting: update package.json (contributes.configuration) and consume it via vscode.workspace.getConfiguration('agentCodeTracker')

2. Implement

  • Follow existing patterns:
    • Classes: PascalCase with descriptive suffixes (Manager, Provider)
    • Methods: camelCase
    • Interfaces: PascalCase, exported
    • Strict mode: All type annotations explicit
    • Semicolons: Required (enforced by ESLint)
  • Webview HTML must use VS Code CSS variables (--vscode-foreground, --vscode-editor-background, etc.)
  • Webview communication uses panel.webview.postMessage() and panel.webview.onDidReceiveMessage()
  • All resources (intervals, event listeners, status bar items) must implement disposal

Read the full file on GitHub · 130 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. 2d ago First seen · 130 lines · 46 tokens per session scan A 982f9123df28

Subscribe to this mod's changes

vscode-ext-dev is a skill published in the GitHub repository arijeetganguli/agent-code-tracker (2 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 1,081 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

link-curator-dashboard

Maintain and debug the link-curator web dashboard (port 8090). Separate process from the official Hermes dashboard.

dodo-reach/hermes-link-curator · 28 tokens

obsidian

Link curator vault at /vault/.

dodo-reach/hermes-link-curator · 13 tokens

agent-browser

Skill "agent-browser" from skytiger6724/gemini-skills, covering browser automation with agent-browser, core workflow, command chaining, chain open + wait + snapshot in one call and chain multiple interactions.

skytiger6724/gemini-skills · 0 tokens

khazix-writer

Skill "khazix-writer" from skytiger6724/gemini-skills, covering 卡兹克公众号长文写作, 核心价值观, 第一步:理解素材与选题判断, 第二步:明确ai的角色边界 and ai擅长做的(放心交给ai).

skytiger6724/gemini-skills · 190 tokens

pua

Forces high-agency exhaustive problem-solving with corporate PUA pressure. Triggers on user frustration, repeated failures (2+), passive behavior, or quality complaints. Common triggers across Reddit/LinuxDo/HN/X: 'try harder', 'figure it out', 'stop giving up', 'you keep failing', '加油', '别偷懒', '你再试试', '为什么还不行'…

skytiger6724/gemini-skills · 204 tokens

hv-analysis

横纵分析法(Horizontal-Vertical Analysis)深度研究Skill。由数字生命卡兹克提出,融合了索绪尔的历时-共时分析、社会科学的纵向-横截面研究设计、商学院案例研究法与竞争战略分析的核心思想。 当用户想要系统性研究一个产品、公司、概念、技术或人物时使用。核心是双轴分析:纵轴追踪从诞生到当下的完整生命历程(以叙事故事呈现),横轴在当下时间截面上与竞品/同类进行系统性横向对比,最后交叉两条轴产出独到洞察。最终产出一份排版精美的PDF研究报告。…

skytiger6724/gemini-skills · 353 tokens