Borrowing it
Nothing to install: this file belongs to code-yeongyu/senpi. 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/code-yeongyu/senpi/main/.agents/skills/senpi-qa/SKILL.mdgit clone --depth 1 https://github.com/code-yeongyu/senpiWrote 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/code-yeongyu/senpi/senpi-qa)<a href="https://agentmods.dev/skills/code-yeongyu/senpi/senpi-qa"><img src="https://agentmods.dev/badge/skills/code-yeongyu/senpi/senpi-qa/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/code-yeongyu/senpi/senpi-qa"><img src="https://agentmods.dev/badge/skills/code-yeongyu/senpi/senpi-qa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 39 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- medium Rogue Agent · line 21 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
- medium Agent Snooping · line 39 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00201 | $0.02909 |
| Opus 5.5 | $0.00080 | $0.01164 |
| Sonnet 5.5 | $0.00040 | $0.00582 |
| Haiku 4.5 | $0.00020 | $0.00291 |
Grade A, and why
senpi-qa 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 2mo 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 — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.
senpi QA
QA the senpi coding agent (packages/{ai,agent,coding-agent,tui}) by driving the
REAL CLI — not by reading code or trusting unit tests. Each channel runs the
agent from source via tsx in an isolated sandbox and asserts observable
behavior, so a passing run is evidence the user-facing surface actually works.
Every helper script ships a --self-test (or --self-check) that asserts its
scenario against this machine. The scripts are therefore both the QA tools and
their own regression checks.
Golden rules (read before running anything)
- Isolation is mandatory. Everything spawns the CLI with
SENPI_CODING_AGENT_DIR/SENPI_CODING_AGENT_SESSION_DIRpointed at a temp sandbox andPI_OFFLINE=1. QA must never write into the real~/.senpi.scripts/lib/common.mjsdoes this for you — use it. - Never read or modify the real credentials.
~/.senpi/agent/auth.jsonis the user's real key store. Every script snapshots its sha256 and asserts it is unchanged at the end. If you script a run by hand, do the same (guardRealAuth()incommon.mjs). - Deterministic loop = mock loop. To exercise the agent loop without real tokens, use Channel 3 (a local fake model server). Real-provider runs are for final smoke only and must use the user's existing auth, never a new key.
- No
src/edits from this skill. It verifies; it does not fix. If QA finds a bug, report it with the captured evidence and let a follow-up change fix it. - The captured artifact IS the evidence. Write it under
local-ignore/qa-evidence/<YYYYMMDD>-<slug>/. No artifact == the QA did not happen.local-ignore/is gitignored — never commit evidence.
Setup (once)
node scripts/devenv-setup.mjs # installs skill deps (node-pty), wires .env.local + .claude/skills
node .agents/skills/senpi-qa/scripts/lib/common.mjs --self-check # confirm the harness
common.mjs --self-check confirms the repo resolves, a sandbox is created and
auto-removed, a free port is allocatable, and the real auth file is untouched.
What ships with it
60 files 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.
- .gitignore 14 B
- AGENTS.md 3.6 KB
- evals/evals.json 1.2 KB
- package-lock.json 910 B
- package.json 472 B
- references/credential-injection.md 2.2 KB
- references/env-vars.md 2.6 KB
- references/mock-loop.md 9.1 KB
- references/provider-error-tui.md 2.3 KB
- references/rpc-protocol.md 2.7 KB
- references/tui-driving.md 2.5 KB
- scenarios/fused-equivalence/cases/e01-parallel-reads.mjs 1.4 KB runs code
- scenarios/fused-equivalence/cases/e02-global-sequential.mjs 1.2 KB runs code
- scenarios/fused-equivalence/cases/e03-per-tool-waves.mjs 1.5 KB runs code
- scenarios/fused-equivalence/cases/e04-order-once-mutation-block.mjs 2.4 KB runs code
- scenarios/fused-equivalence/cases/e05-preflight-abort-veto.mjs 1.2 KB runs code
- scenarios/fused-equivalence/cases/e06-lazy-activation.mjs 859 B runs code
- scenarios/fused-equivalence/cases/e07-shim-args.mjs 1002 B runs code
- scenarios/fused-equivalence/cases/e08-detached-nested.mjs 1.9 KB runs code
- scenarios/fused-equivalence/cases/e09-abort-mid-tool.mjs 1.3 KB runs code
- scenarios/fused-equivalence/cases/e10-two-sided-extension-with-deps.mjs 1.3 KB runs code
- scenarios/fused-equivalence/cases/e11-mcp-stdio-http.mjs 3.3 KB runs code
- scenarios/fused-equivalence/cases/e12-compaction-veto.mjs 1.5 KB runs code
- scenarios/fused-equivalence/cases/e13-model-switch.mjs 730 B runs code
- scenarios/fused-equivalence/cases/e14-kill-resume-continue.mjs 1.2 KB runs code
- scenarios/fused-equivalence/cases/e15-steer-during-tool.mjs 1.2 KB runs code
- scenarios/fused-equivalence/cases/e16-bash-wake.mjs 1.6 KB runs code
- scenarios/fused-equivalence/cases/e17-permission-over-rpc.mjs 4.2 KB runs code
- scenarios/fused-equivalence/cases/e18-nested-execute-tool.mjs 872 B runs code
- scenarios/fused-equivalence/cases/e19-cursor-resolved-call.mjs 3.5 KB runs code
- scenarios/fused-equivalence/cases/e20-detached-kill-notice.mjs 1.4 KB runs code
- scenarios/fused-equivalence/cases/e25-kill-recovery.mjs 7.0 KB runs code
- scenarios/fused-equivalence/cases/e26-example-custom-provider-anthropic.mjs 1.6 KB runs code
- scenarios/fused-equivalence/cases/e27-example-custom-provider-gitlab-duo.mjs 2.5 KB runs code
- scenarios/fused-equivalence/cases/e28-example-sandbox.mjs 1.8 KB runs code
- scenarios/fused-equivalence/cases/e29-example-gondolin.mjs 3.3 KB runs code
- scenarios/fused-equivalence/cases/e30-two-sessions-one-engine.mjs 5.1 KB runs code
- scenarios/fused-equivalence/cases/index.mjs 753 B runs code
- scenarios/fused-equivalence/cases/support/case-run.mjs 7.5 KB runs code
- scenarios/fused-equivalence/cases/support/codemode.mjs 543 B runs code
- scenarios/fused-equivalence/cases/support/collectors.mjs 6.5 KB runs code
- scenarios/fused-equivalence/cases/support/example-extensions.mjs 1.1 KB runs code
- scenarios/fused-equivalence/cases/support/held.mjs 1.9 KB runs code
- scenarios/fused-equivalence/cases/support/host.mjs 3.3 KB runs code
- scenarios/fused-equivalence/cases/support/multi-session-host.mjs 3.0 KB runs code
- scenarios/fused-equivalence/cases/support/observables.mjs 221 B runs code
- scenarios/fused-equivalence/cases/support/observe.mjs 3.5 KB runs code
- scenarios/fused-equivalence/cases/support/solo-compare.mjs 3.3 KB runs code
- scenarios/fused-equivalence/cases/support/tsx-cache.mjs 1.0 KB runs code
- scenarios/fused-equivalence/cases/support/witness.mjs 3.6 KB runs code
- scenarios/fused-equivalence/deferred-goldens.mjs 1.3 KB runs code
- scenarios/fused-equivalence/fixtures/compact-veto.mjs 587 B runs code
- scenarios/fused-equivalence/fixtures/e04/block-extension.mjs 467 B runs code
- scenarios/fused-equivalence/fixtures/e04/qa-extension.mjs 1.4 KB runs code
- scenarios/fused-equivalence/fixtures/e04/shell-hook.mjs 742 B runs code
- scenarios/fused-equivalence/fixtures/e04/write-hooks.ts 2.0 KB runs code
- scenarios/fused-equivalence/fixtures/e25/ledger-tools.mjs 1.8 KB runs code
- scenarios/fused-equivalence/fixtures/e25/stale-question.mjs 1.5 KB runs code
- scenarios/fused-equivalence/fixtures/held-tools.mjs 2.0 KB runs code
- scenarios/fused-equivalence/fixtures/lazy-tool.mjs 992 B runs code
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.
- 2mo ago First seen · 189 lines · 201 tokens per session scan A e0ac7799dac4
senpi-qa is a skill published in the GitHub repository code-yeongyu/senpi (511 stars, last pushed yesterday), licensed MIT. It adds 201 tokens to every session and 2,909 once invoked, about $0.0008 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-08-30.
senpi-qa compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| senpi-qacode-yeongyu/senpi | Skill | 511 | yesterday | MIT | A | 201 | Claude Code, Codex |
| transformerssynthetic-sciences/openscience | Skill | 4.3k | 2d ago | Apache-2.0 | A | 63 | Claude Code, Codex |
| knowledge-engineering-quality-and-delivery-real-api-qualification-and-e2eechoVic/blade-code | Skill | 181 | 24d ago | MIT | A | 182 | Claude Code, Codex |
| knowledge-engineering-quality-and-delivery-unit-integration-and-shared-test-harnessesechoVic/blade-code | Skill | 181 | 24d ago | MIT | A | 184 | Claude Code, Codex |
| segment-anything-modelsynthetic-sciences/openscience | Skill | 4.3k | 2d ago | Apache-2.0 | A | 45 | Claude Code, Codex |
| hugging-face-clisynthetic-sciences/openscience | Skill | 4.3k | 2d ago | Apache-2.0 | A | 68 | Claude Code, Codex |
| autogpt-agentssynthetic-sciences/openscience | Skill | 4.3k | 2d ago | Apache-2.0 | A | 39 | Claude Code, Codex |