Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/steph-dove/klaussy-agentsnpx agentmods add instructions/steph-dove/klaussy-agents/copilot-instructionsWrote 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/steph-dove/klaussy-agents/copilot-instructions)<a href="https://agentmods.dev/instructions/steph-dove/klaussy-agents/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/steph-dove/klaussy-agents/copilot-instructions/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/steph-dove/klaussy-agents/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/steph-dove/klaussy-agents/copilot-instructions.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.03053 | $0.03053 |
| Opus 5 | $0.01527 | $0.01527 |
| Sonnet 5 | $0.00611 | $0.00611 |
| Haiku 4.5 | $0.00305 | $0.00305 |
Grade A, and why
klaussy-agents copilot-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 9d 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 — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md - fastapi
Auto-generated by klaussy-repo-conventions. Customize and extend with project-specific context.
Project Overview
python project using fastapi.
FastAPI framework, high performance, easy to learn, fast to code, ready for production
Directory Structure
For the repository directory map and file layout, see .claude/directory-map.md.
Architecture
Core Modules
The most-imported internal modules — the foundation other code builds on.
fastapi/exceptions.py— exceptions (12 dependents)fastapi/openapi/models.py— models (8 dependents)fastapi/types.py— types (8 dependents)fastapi/datastructures.py— datastructures (7 dependents)fastapi/utils.py— utils (5 dependents)fastapi/security/base.py— base (5 dependents)
Key Patterns
- API routes: 29 endpoints (2 DELETE, 16 GET, 2 PATCH, 7 POST, 2 PUT)
API Routes
fastapi/applications.py:GET /users/,GET /items/,GET /items/,GET /items/, +4 morefastapi/background.py:POST /send-notification/{email}fastapi/datastructures.py:POST /files/,POST /uploadfile/fastapi/exceptions.py:GET /items/{item_id}fastapi/param_functions.py:GET /items/{item_id},GET /items/,GET /users/me/items/fastapi/routing.py:GET /users/,GET /items/,PUT /items/{item_id},POST /items/, +2 moresecurity/api_key.py:GET /items/,GET /items/,GET /items/security/http.py:GET /users/me,GET /users/me,GET /users/mesecurity/oauth2.py:POST /login,POST /login
Narrative: how the pieces fit together
FastAPI is a thin, typed layer on top of Starlette (ASGI toolkit, routing, middleware, responses) and Pydantic v2 (validation/serialization). It does not implement HTTP itself — it builds request handling around Starlette's Router/Route and delegates ASGI serving to Uvicorn (or any ASGI server) at runtime.
fastapi/applications.py— theFastAPIclass (class FastAPI(Starlette), ~4.7k lines). This is the top-level app object users instantiate; it owns OpenAPI schema generation/caching, exception handler registration, middleware setup, and delegates actual routing to an internalAPIRouter.fastapi/routing.py— the biggest module (~6.4k lines). DefinesAPIRouteandAPIRouter. This is where a decorated path operation function becomes an ASGI-callable:get_request_handler()builds the per-route closure that runs on every request, callingsolve_dependencies()to resolve the dependency graph, thenrun_endpoint_function()to invoke the user's function (sync functions are offloaded to a threadpool viarun_in_threadpool, async functions are awaited directly).fastapi/dependencies/utils.py+fastapi/dependencies/models.py— the dependency-injection engine.get_dependant()introspects a callable's signature (viainspect+ type hints) to build aDependanttree at route-registration time;solve_dependencies()walks that tree at request time, resolving path/query/header/cookie/body params, sub-dependencies, and security schemes, with results cached per-request viause_cache=True(default) on repeated sub-dependencies.fastapi/params.py/fastapi/param_functions.py— thePath,Query,Header,Cookie,Body,Form,File,Depends,Securitymarker classes and their public factory functions. These are what a user writes as default values (Annotated[X, Query(...)]style) thatget_dependant()later parses back out.fastapi/_compat/— the Pydantic version-compatibility shim (shared.pyhas the common helpers,v2.pyhas Pydantic-v2-specific code). This is the seam between FastAPI's internals and Pydantic's; the package layer is kept separate from callers even though only Pydantic v2 is supported now.fastapi/encoders.py—jsonable_encoder(), used to convert arbitrary Python/Pydantic return values into JSON-safe primitives before Starlette serializes the response.fastapi/openapi/—models.py(Pydantic models mirroring the OpenAPI 3.1 spec),utils.py(walks all registered routes to build the schema dict),docs.py(serves Swagger UI / ReDoc HTML at/docsand/redoc).fastapi/security/— OAuth2/API-key/HTTP-auth helper classes (OAuth2PasswordBearer,HTTPBasic,APIKeyHeader, etc.). Each is itself a callableDepends-compatible class that also injects an OpenAPIsecuritySchemesentry.fastapi/middleware/— thin re-exports/wrappers around Starlette middleware (CORS, GZip, TrustedHost, WSGI bridge) plusasyncexitstack.py, which manages the request-scopedAsyncExitStackused to closeyield-style dependencies.
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.
- 9d ago First seen · 185 lines · 3,053 tokens per session scan A 6dd90a96cec7
klaussy-agents copilot-instructions.md is an instructions file published in the GitHub repository steph-dove/klaussy-agents (16 stars, last pushed 12d ago), licensed MIT. It adds 3,053 tokens to every session, about $0.0153 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-30.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
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.
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).
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).
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.
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.