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.
npx agentmods add skills/arijeetganguli/agent-code-tracker/vscode-ext-devnpx skills add arijeetganguli/agent-code-tracker --skill vscode-ext-devgit clone --depth 1 https://github.com/arijeetganguli/agent-code-trackerWhat 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.
| Model | Per session | Once 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 |
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.
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.jsoncontributions (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) andpackage.json(contributes.commands) - If adding a config setting: update
package.json(contributes.configuration) and consume it viavscode.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)
- Classes: PascalCase with descriptive suffixes (
- Webview HTML must use VS Code CSS variables (
--vscode-foreground,--vscode-editor-background, etc.) - Webview communication uses
panel.webview.postMessage()andpanel.webview.onDidReceiveMessage() - All resources (intervals, event listeners, status bar items) must implement disposal
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.
- 2d ago First seen · 130 lines · 46 tokens per session scan A 982f9123df28
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.
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.
obsidian
Link curator vault at /vault/.
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.
khazix-writer
Skill "khazix-writer" from skytiger6724/gemini-skills, covering 卡兹克公众号长文写作, 核心价值观, 第一步:理解素材与选题判断, 第二步:明确ai的角色边界 and ai擅长做的(放心交给ai).
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', '加油', '别偷懒', '你再试试', '为什么还不行'…
hv-analysis
横纵分析法(Horizontal-Vertical Analysis)深度研究Skill。由数字生命卡兹克提出,融合了索绪尔的历时-共时分析、社会科学的纵向-横截面研究设计、商学院案例研究法与竞争战略分析的核心思想。 当用户想要系统性研究一个产品、公司、概念、技术或人物时使用。核心是双轴分析:纵轴追踪从诞生到当下的完整生命历程(以叙事故事呈现),横轴在当下时间截面上与竞品/同类进行系统性横向对比,最后交叉两条轴产出独到洞察。最终产出一份排版精美的PDF研究报告。…