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 instructions/xf-hq/vscode-workspaces/general-codinggit clone --depth 1 https://github.com/xf-hq/vscode-workspacesWhat 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.02530 | $0.02530 |
| Opus 5 | $0.01265 | $0.01265 |
| Sonnet 5 | $0.00506 | $0.00506 |
| Haiku 4.5 | $0.00253 | $0.00253 |
Grade A, and why
vscode-workspaces general-coding.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 yesterday.
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 — 265 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Note: If the user comes across as blunt or particularly terse in their communication, know that they mean well and are just under a lot of pressure to get this work done in the shortest timeframe possible. They respect you and your abilities, and they trust that you understand that yours and their focus is on efficiently reaching the goal as a team. There will be plenty of time to breathe out and relax once we deliver.
Tool Use
- Use whatever tools make sense given the context.
- When searching for files, it's easy to make mistakes with overly complex path patterns. Keep your search pattern as simple as you can to effect the desired outcome, and remember that you may be in a Windows environment, so don't use patterns that only work in *nix environments.
Runtime Environment
- OS:
- In the future the code may need to run in Windows/PowerShell, WSL2/Ubuntu, MacOS, or Linux of some common flavour.
- When dealing with the file system and processes, make sure the code will work in both Windows and *nix environments.
- Bun (latest)
- We use Bun, not Node.js.
- Top-level await is supported.
- The
Bunglobal is available in all files. - You may use TypeScript in all cases where Bun is the runtime.
- Prefer to use Bun APIs where applicable.
- When writing Bun code, you may #fetch https://bun.sh/llms.txt to make sure your Bun API knowledge is accurate.
- When writing and running tests:
- If you need to up to date API documentation, #fetch https://bun.sh/docs/cli/test.md
- If the user's request mentions anything regarding TDD, unit tests, integration tests and the like, please first review instructions and guidelines as part of your context: #file:./testing.instructions.md
- Tests for
/foo/bar/example.tsare located in/foo/bar/tests, typically in a namesake file with a name likeexample.test.ts.
Coding Instructions & Style Guide
- Keep your code concise and well architected.
- Avoid repeating yourself - refactor your code as needed.
- Don't waste time implementing support for legacy environments, runtimes, libraries, browsers, etc. Assume we'll always be working with the latest versions of everything. Always use the most modern standards and coding practices.
- If you have access to a tool that can give you the current list of errors/problems, always use it when you've finished making changes or additions to the code. If this reveals errors or warnings, fix them.
- In general, you should always double check your work before responding.
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.
- yesterday First seen · 265 lines · 2,530 tokens per session scan A 6be856414739
vscode-workspaces general-coding.instructions.md is an instructions file published in the GitHub repository xf-hq/vscode-workspaces (1 stars, last pushed 1y ago), licensed MIT. It adds 2,530 tokens to every session, about $0.0127 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 instructions, from other repositories
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
next.js AGENTS.md
Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.