Peacock is a Visual Studio Code extension that changes a workspace’s color so users can distinguish between multiple editor windows or shared and remote sessions. It is for developers who need a quick visual way to identify their VS Code workspaces. Its catalogue entries provide instructions and an MCP integration related to the extension.
Borrowing it
Nothing to install: this file belongs to johnpapa/vscode-peacock. 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/johnpapa/vscode-peacock/main/AGENTS.mdgit clone --depth 1 https://github.com/johnpapa/vscode-peacockWrote 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/johnpapa/vscode-peacock/agents-md)<a href="https://agentmods.dev/instructions/johnpapa/vscode-peacock/agents-md"><img src="https://agentmods.dev/badge/instructions/johnpapa/vscode-peacock/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/johnpapa/vscode-peacock/agents-md"><img src="https://agentmods.dev/badge/instructions/johnpapa/vscode-peacock/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.05427 | $0.05427 |
| Opus 5.5 | $0.02171 | $0.02171 |
| Sonnet 5.5 | $0.01085 | $0.01085 |
| Haiku 4.5 | $0.00543 | $0.00543 |
Grade C, and why
vscode-peacock AGENTS.md scanned grade C with 1 finding 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 1mo 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
Check the latest **push-triggered** run of `ci.yml` on `main` — not just the last PR's run, since PR runs can be stale relative to what actually merged. If you want to double-check locally instead of trusting CI, `rm -rf How it starts
The opening of the file, as written. The whole thing — 217 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Peacock — Agent Guide
Project Overview
Peacock is a Visual Studio Code extension that subtly changes the color of your workspace. It's ideal when you have multiple VS Code instances, use VS Live Share, or use VS Code's Remote features and want to quickly identify which editor is which.
- Publisher: johnpapa
- VS Code Marketplace: Peacock
- Version: See
package.jsonfor the current version
Repository Structure
vscode-peacock/
├── src/ — Extension source code (TypeScript)
│ ├── extension.ts — Extension entry point (activation, command registration)
│ ├── commands.ts — Command implementations (enter color, random, favorites, etc.)
│ ├── apply-color.ts — Core color application logic
│ ├── color-library.ts — Color manipulation utilities (uses tinycolor2)
│ ├── configuration/ — VS Code configuration read/write helpers
│ ├── models/ — TypeScript interfaces, enums, constants, state
│ ├── inputs.ts — User input prompts (color picker, quick pick)
│ ├── statusbar.ts — Status bar color display
│ ├── live-share/ — VS Live Share integration
│ ├── remote/ — Remote development integration
│ ├── test/ — Mocha unit tests
│ ├── logging.ts — Output channel logging
│ ├── mementos.ts — Global state persistence
│ ├── notification.ts — User notifications
│ └── object-library.ts — Object/element management
├── e2e/ — Playwright end-to-end tests (docs screenshots)
├── docs/ — Docsify documentation site
│ ├── guide/ — User guide pages
│ ├── about/ — About pages
│ ├── changelog/ — Changelog page
│ ├── _sidebar.md — Navigation sidebar
│ └── index.html — Docsify entry point
├── resources/ — Extension icons and assets
├── testworkspace/ — Test workspace used by Mocha tests
├── .github/
│ ├── workflows/docs.yml — Docs deploy + Playwright e2e tests
│ ├── ISSUE_TEMPLATE/ — Bug report and feature request templates
│ └── PULL_REQUEST_TEMPLATE/ — PR template
├── webpack.config.js — Webpack bundler config (Node + Web targets)
├── tsconfig.json — TypeScript configuration
├── playwright.config.ts — Playwright e2e test config
└── package.json — Extension manifest, commands, settings, scripts
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.
- 1mo ago Changed · +22 lines · +1,406 tokens per session 2bf3e010db0b
- 1mo ago Changed · +1 lines · +171 tokens per session d49fe194b033
- 1mo ago Changed · +7 lines · +661 tokens per session fa831e2f0dbe
- 2mo ago Changed · +40 lines · +1,251 tokens per session scan A → C 0d52fdf90c20
- 2mo ago First seen · 147 lines · 1,938 tokens per session scan A 64b709fdf27a
vscode-peacock AGENTS.md is an instructions file published in the GitHub repository johnpapa/vscode-peacock (1,192 stars, last pushed 7d ago), licensed MIT. It adds 5,427 tokens to every session, about $0.0217 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
vscode-peacock AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| vscode-peacock AGENTS.mdjohnpapa/vscode-peacock | Instructions file | 1.2k | 7d ago | MIT | C | 5,427 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | 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 |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |