Borrowing it
Nothing to install: this file belongs to bex-co/beancount-io. 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/bex-co/beancount-io/main/.agents/skills/qa-find-bugs-mcp/SKILL.mdgit clone --depth 1 https://github.com/bex-co/beancount-ioWrote 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/bex-co/beancount-io/qa-find-bugs-mcp)<a href="https://agentmods.dev/skills/bex-co/beancount-io/qa-find-bugs-mcp"><img src="https://agentmods.dev/badge/skills/bex-co/beancount-io/qa-find-bugs-mcp/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/skills/bex-co/beancount-io/qa-find-bugs-mcp"><img src="https://agentmods.dev/badge/skills/bex-co/beancount-io/qa-find-bugs-mcp.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.00108 | $0.03947 |
| Opus 5.5 | $0.00043 | $0.01579 |
| Sonnet 5.5 | $0.00022 | $0.00789 |
| Haiku 4.5 | $0.00011 | $0.00395 |
Grade A, and why
qa-find-bugs-mcp 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 — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MCP QA bug hunt
Read the shared QA contract first, then
backend-cluster/backend-v2/AGENTS.md, backend-cluster/backend-v2/docs/mcp.md
(the customer contract: tools, resources, prompts, envelope, failure codes),
ADR 0007 (docs/adrs/ADR007-backend-v2-mcp-surface.md, the endpoint contract)
and ADR 0008 (surface parity). Exercise the real endpoint over HTTP; unit tests
and source inspection support a finding but do not replace a live journey.
Arguments: optional base URL, journey names, ledger owner/name, wN,
LAND=1, DRY_RUN=1. Default to https://beancount.io and report mode.
A base URL changes the deployment under test; record the server name and
version initialize reports and whether it matches local HEAD before calling a
source fix missing from production. DRY_RUN=1 still allows disposable writes
on a designated QA ledger needed to reproduce bugs.
Prepare targets and credentials
-
Record branch, HEAD, dirty files, Node version, target base URL, the
initializeresponse'sserverInfoand negotiatedprotocolVersion, the credential kind (API key or OAuth token), its scopes and pin, and the chosen synthetic ledger. Never record the credential itself. -
The endpoint is
POST {base}/api-gateway/mcp. SendAccept: application/json, text/event-stream, a JSON content type andMCP-Protocol-Version. Responses may be SSE-framed; parsedata:lines rather than assuming one JSON document. The server is stateless: every POST is independent,initializeis not a prerequisite for a call, and there is no session id. -
Make requests with the bundled helper so the credential never reaches argv, a transcript or a tool call:
node .agents/skills/qa-shared/scripts/qa-mcp.mjs [--credentials-file FILE] [--url URL] <command>Commands:
initialize,tools-list,resources-list(resources/list, the concrete instances),resource-templates-list(resources/templates/list),prompts-list,call <tool> [json],read <uri>,prompt <name> [json],rpc <method> [json], andraw --method GET|DELETE|POST [--accept TEXT] [--body TEXT]for transport checks.--anonymousomits the credential. It readsQA_MCP_TOKEN(falling back toBEANCOUNT_MCP_TOKEN) from the repo-root./.env(preferred), the environment, or--credentials-file(not--env-file, which Node itself consumes after the script path; an explicit file wins over both), prints status, an allowlist of headers and the parsed JSON-RPC messages, redactsbcio_prefixes and the token value, exits2for usage or credential problems and3for network failures or hangs. Run it from the repo root;--urldefaults to the production endpoint and accepts HTTP only on loopback. -
Use a user-designated QA credential: a
bcio_key minted on a dedicated QA account for a synthetic ledger, ideally one read/write key pinned to the ledger and oneledger.readkey on the same ledger, both short-lived. The token lives in the repo-root./.envunless the user names another file; ask for the variable names or file path, never for the value. The names areQA_MCP_TOKENandQA_MCP_READ_ONLY_TOKEN, spelled exactly:mcp:conformancereads no other name for the read-only key (it prints a note when./.envholds a near miss such asQA_MCP_TOKEN_READONLY, and a check that needs it skips).qa-mcp.mjsreads onlyQA_MCP_TOKEN, so run the read-only journey with the key relabelled in a pipe, off argv and off disk:--credentials-file <(sed -n 's/^QA_MCP_READ_ONLY_TOKEN=/QA_MCP_TOKEN=/p' .env). Do not mint keys on, or point tools at, a personal account or ledger. Browser cookies fromqa-login.mjsare not MCP credentials; the endpoint refuses them by design. -
Without a credential, continue the anonymous transport and discovery checks and mark every authenticated journey unverified.
-
Disposable writes, accounts and admin journeys belong on the already running local
deploy/docker-macstack (http://localhost:42601, see its README for ports andDEV_PREMIUM_USER_IDSfor local key minting). Use it only when it is already up;.pm/DO_NOT_DO.mdforbids provisioning a second stack for MCP testing. Label local results as local, with the backend image or HEAD they ran. -
yarn mcp:conformance <base-url> [--ledger owner/name]insidebackend-cluster/backend-v2/runs ADR 0007's checklist and only observes; run it first against the target and treat a failed check as a candidate. It readsQA_MCP_TOKENandQA_MCP_READ_ONLY_TOKENfrom the repo-root./.env(preferred) or the environment, so never pass--tokenor--read-only-token: those flags put the credential on argv. An unpinned credential needs--ledger owner/namefor checks 5, 10, 17 and 19 (the write refusal, the result shape, the output schema and the undo preview); without it they skip.yarn mcp:agent-evaldrives real Claude Code and Codex sessions and is billed; run it only when the user asks for client journeys. -
Store evidence under the gitignored repo-root
.internal/qa-<date>/: the exact helper command, sanitized request and response, status, headers and timings. Bound every request with a timeout; a hang is a result.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · 190 lines · 108 tokens per session scan A dc47207bb032
qa-find-bugs-mcp is a skill published in the GitHub repository bex-co/beancount-io (808 stars, last pushed yesterday), licensed MIT. It adds 108 tokens to every session and 3,947 once invoked, about $0.0004 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-12-01.
qa-find-bugs-mcp compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| qa-find-bugs-mcpbex-co/beancount-io | Skill | 808 | yesterday | MIT | A | 108 | Claude Code, Codex |
| bookkeepingericrisco/rsc-harness | Skill | 695 | yesterday | MIT | A | 84 | Claude Code, Codex |
| flake-triageyschimke/compose-ai-tools | Skill | 130 | today | Apache-2.0 | A | 70 | Claude Code |
| flutter-skillai-dashboad/flutter-skill | Skill | 416 | 3mo ago | MIT | A | 73 | Claude Code, Codex |
| rledgerrustledger/rustledger | Skill | 442 | today | GPL-3.0 | A | 117 | Claude Code, Codex |
| flaky-tests-prokelvinkosbab/AppBootstrapAI | Skill | 8 | 2d ago | MIT | A | 146 | Claude Code |
| countbean-accountingCPUtester5465/countbean-plugin | Skill | 21 | 1mo ago | MIT | A | 54 | Claude Code |