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/krishnanpandya007/support-technician-setup/generating-codebase-harnessnpx skills add krishnanpandya007/support-technician-setup --skill generating-codebase-harnessgit clone --depth 1 https://github.com/krishnanpandya007/support-technician-setupWrote 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/skills/krishnanpandya007/support-technician-setup/generating-codebase-harness)<a href="https://agentmods.dev/skills/krishnanpandya007/support-technician-setup/generating-codebase-harness"><img src="https://agentmods.dev/badge/skills/krishnanpandya007/support-technician-setup/generating-codebase-harness.svg" alt="Measured on agentmods" 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 | $0.00084 | $0.02285 |
| Opus 5 | $0.00042 | $0.01143 |
| Sonnet 5 | $0.00017 | $0.00457 |
| Haiku 4.5 | $0.00008 | $0.00229 |
Grade A, and why
generating-codebase-harness 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 4d 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 — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generating a Codebase Harness
Overview
A harness is a folder of plain-language Markdown describing what an application does for its users, organized by end-to-end capability, for an AI help-center assistant to answer end-user questions. Build it natively: you read the code and write the docs yourself — you are the model in the pipeline.
Core principle: describe BEHAVIOR and OUTCOMES from the user's point of view; never how the system is built or secured.
Capture how the system behaves, not just what it offers. A support agent resolves a query ("why didn't my refund go through?") by understanding the system's decision logic — its conditions and branches, the states a thing moves through, the rules and limits a user runs into, and what the user sees when something fails. Record all of that, in plain language. This is a first-class goal, not an extra: an article that lists features but hides the conditions and failure modes is not diagnostic enough. Behavioral mechanics described in plain words are NOT technical or security detail — saying "a full refund is only available before the booking starts" reveals a product rule, not how anything is built. Read low and transparently about runtime behavior; stay silent about implementation.
(Canonical prompt wording this encodes lives in this repo's legacy/DESIGN.md Appendix A and legacy/harness_builder/prompts.py — see the write-up prompt's "CAPTURE CONDITIONAL BEHAVIOR" instruction and the conditions field in legacy/harness_builder/models.py.)
The hard rules (this is where attempts go wrong)
- Never read secret-bearing files. Skip
.env*, key/cert/credential files entirely — do not open them, do not echo any value. - Logic as a whole — no bifurcation. A capability spans the screen + server + background work. Merge those into ONE article. Never organize by frontend/backend, by service, or by folder.
- No technical detail anywhere. No code identifiers, file names, framework/library/tech names (React, Rails, Postgres, …), infrastructure (hosts, IPs, ports, env var names), or data field names (
user_id,total_cents, …). This does not prohibit describing behavior in plain words: conditions and branches ("if the booking hasn't started yet …"), the states a thing moves through, required inputs, and user-facing limits are all encouraged — they are what makes the harness diagnostic. Describe the rule, never the field or the code that enforces it. - Omit security mechanisms and secrets — but behavioral access help is allowed. You MAY write a behavioral article for user-facing access actions (signing in, signing out, resetting access) that covers only what the user does and sees. You must NOT describe or name how it is secured: no tokens/JWT/sessions, no "your session lasts N hours"/expiry mechanics, no credentials, no hashing/encryption, no permission rules — and never an article about the internal mechanism. Decision test: "How do I sign in? / I can't log in" → allowed, purely behavioral. "How is access enforced / how are sessions handled?" → omit entirely. Numbers: keep numbers that are product rules the user experiences while using a feature ("up to 5 photos", "refundable until the start time"); omit numbers that are security/expiry/rate-limit/infra mechanisms (session length, token/link expiry, lockout thresholds, retry/backoff internals).
- Every file is navigable and rule-bound.
index.mdcarries a global Rules / Prohibited section and a "Read this when" hint per entry; every article opens with a local Prohibited block.
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.
- 4d ago First seen · 82 lines · 0 tokens per session scan A 194fe80fc2ab
generating-codebase-harness is a skill published in the GitHub repository krishnanpandya007/support-technician-setup (2 stars, last pushed 2mo ago), licensed MIT. It adds 84 tokens to every session and 2,285 once invoked, about $0.0004 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
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…