Borrowing it
Nothing to install: this file belongs to d13/vscode-web-components-ai. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/d13/vscode-web-components-ai/main/AGENTS.mdgit clone --depth 1 https://github.com/d13/vscode-web-components-aiWrote 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.
[](https://agentmods.dev/instructions/d13/vscode-web-components-ai/agents-md)<a href="https://agentmods.dev/instructions/d13/vscode-web-components-ai/agents-md"><img src="https://agentmods.dev/badge/instructions/d13/vscode-web-components-ai/agents-md/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.
<a href="https://agentmods.dev/instructions/d13/vscode-web-components-ai/agents-md"><img src="https://agentmods.dev/badge/instructions/d13/vscode-web-components-ai/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01377 | $0.01377 |
| Opus 5.5 | $0.00551 | $0.00551 |
| Sonnet 5.5 | $0.00275 | $0.00275 |
| Haiku 4.5 | $0.00138 | $0.00138 |
Grade A, and why
vscode-web-components-ai AGENTS.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.
How it starts
The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Guidance for AI-powered coding assistants (Augment Agent Mode, Augment Auggie CLI, Copilot Agent Mode, Claude Code, Cursor, Windsurf, etc.) when working with code in this repository. Read this before writing, editing, or executing anything in this repo.
Project Overview
This is a VS Code extension that provides web component information to AI assistants via Model Context Protocol (MCP). The extension discovers custom elements manifests in workspaces and exposes them through an MCP server with HTTP/SSE transports.
Common Commands
Prerequisites
nvm use- Switch to the correct Node.js versioncorepack enable- Enable corepack for package managerpnpm install- Install dependencies
Development
pnpm run build- Build extension in development modepnpm run bundle- Build extension for productionpnpm run watch- Watch mode for developmentpnpm run clean- Clean build artifacts
Code Quality
pnpm run lint- Run ESLint on TypeScript filespnpm run lint:fix- Run ESLint with auto-fixpnpm run format- Format code with Prettierpnpm run format:check- Check code formatting
Packaging & Publishing
pnpm run package- Create VSIX packagepnpm run package-pre- Create pre-release VSIX packagepnpm run pub- Publish to marketplacepnpm run pub-pre- Publish pre-release to marketplacepnpm run generate:licenses- Generate license files
Architecture Overview
Core Components
Extension Entry Point (src/extension.ts):
- Main activation point that initializes logging, configuration, and container
- Sets up the dependency injection container and registers commands
Container (src/container.ts):
- Dependency injection container managing all services and providers
- Central point for service resolution and lifecycle management
MCP Provider (src/mcp/provider.ts):
- Core MCP server implementation providing web component data
- Serves HTTP and SSE endpoints for AI assistant integration
- Implements MCP tools: search-components, get-component-details, list-all-components
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.
- 2mo ago First seen · 178 lines · 1,377 tokens per session scan A f3134fa30c79
vscode-web-components-ai AGENTS.md is an instructions file published in the GitHub repository d13/vscode-web-components-ai (11 stars, last pushed 1y ago), licensed MIT. It adds 1,377 tokens to every session, about $0.0055 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-30.
vscode-web-components-ai AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| vscode-web-components-ai AGENTS.mdd13/vscode-web-components-ai | Instructions file | 11 | 1y ago | MIT | A | 1,377 | Codex, OpenCode |
| plugin-files-modegriddynamics/rosetta | Instructions file | 370 | yesterday | Apache-2.0 | A | 236 | GitHub Copilot |
| md-feedback copilot-instructions.mdyeominux/md-feedback | Instructions file | 5 | 7mo ago | none | A | 309 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |