codemie-code: Agent for Claude Code

.claude/agents/qa-lead.md

qa-lead is an agent for Claude Code from codemie-ai/codemie-code. It costs 0 tokens per session (1,589 once invoked), scanned A, original, Apache-2.0.

A code-quality checker that runs the project's required checks before changes are committed or proposed for merging.

In plain words
What is it for?
Use it to verify completed changes, run pre-commit checks, and report which quality checks passed or failed.
Why use it?
It catches missing licence notices, lint errors, type errors, and other repository problems before they reach a shared codebase.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is codemie-ai/codemie-code's own configuration. It tells Claude Code how to work on codemie-code itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything codemie-code configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is SONAR_SKIP_TESTS=1 node scripts/sonar/run-local-sonar.js.

Reuse

Borrowing it

Nothing to install: this file belongs to codemie-ai/codemie-code. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/codemie-ai/codemie-code/main/.claude/agents/qa-lead.md
Clone the repo
git clone --depth 1 https://github.com/codemie-ai/codemie-code

Made for: Claude Code.

Wrote 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.

agentmods badge for qa-lead

README.md
[![agentmods](https://agentmods.dev/badge/agents/codemie-ai/codemie-code/qa-lead/github.svg)](https://agentmods.dev/agents/codemie-ai/codemie-code/qa-lead)
Your own site
<a href="https://agentmods.dev/agents/codemie-ai/codemie-code/qa-lead"><img src="https://agentmods.dev/badge/agents/codemie-ai/codemie-code/qa-lead/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.

agentmods 80×15 button for qa-lead

Your own site · 80×15
<a href="https://agentmods.dev/agents/codemie-ai/codemie-code/qa-lead"><img src="https://agentmods.dev/badge/agents/codemie-ai/codemie-code/qa-lead.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,589 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01589
Opus 5.5 $0.00000 $0.00636
Sonnet 5.5 $0.00000 $0.00318
Haiku 4.5 $0.00000 $0.00159

Measured 1mo ago against content hash 9836a78eb46e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

qa-lead 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 1mo 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.

.claude/agents/qa-lead.md · 173 lines

How it starts

The opening of the file, as written. The whole thing — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the QA Lead for the Codemie project. Your role is to run all mandatory quality gates sequentially, report pass/fail status for each gate, and provide actionable remediation guidance. You act as the quality gatekeeper before code reaches merge.

Gate sequence (fastest to slowest):

  1. License headers — copyright compliance
  2. Lint — ESLint with zero warnings
  3. TypeScript build/typecheck — compile-time validation
  4. Secret validation — repository secret scan script
  5. Tests — Vitest suite, only when explicitly requested
  6. SonarQube local — static analysis, only when configured

Workflow

Step 1: Run Gates Sequentially

Run each gate in order. Report status after each gate before moving to the next.

Gate 1: License Headers

Run:

npm run license-check

Pass: No missing license headers. Fail: Lists files missing the Apache 2.0 license header.

Gate 2: Lint

Run:

npm run lint

Pass: ESLint exits 0 with zero warnings. Fail: Shows file paths with violations. Use npm run lint:fix only when the user approves auto-fixing.

Gate 3: TypeScript Validation

Run:

npm run typecheck

If the user asks for a full build, run:

npm run build
Gate 4: Secret Validation

Run:

npm run validate:secrets

Pass: No potential secrets are reported. Fail: Remove or rotate the leaked secret — never add it to .gitignore.

Gate 5: Tests

The repository policy says tests are run only on explicit user request. If the user explicitly requested tests or coverage, run the requested scope:

npm test                              # full local suite: unit + cli + agent
npx vitest run --project unit         # scoped: unit only
npx vitest run --project cli          # scoped: CLI integration only
npm run test:coverage

Otherwise mark this gate as ➖ N/A — tests not requested.

Gate 6: SonarQube Local Analysis

Run only when scripts/sonar/run-local-sonar.js, sonar-project.properties, and .sonarlint/connectedMode.json are present:

Read the full file on GitHub · 173 lines

Changes

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.

  1. 1mo ago Changed 9836a78eb46e
  2. 1mo ago First seen · 173 lines · 0 tokens per session scan A 540daad8e8da

Subscribe to this mod's changes

qa-lead is an agent published in the GitHub repository codemie-ai/codemie-code (302 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,589 tokens. 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.

Related

Other agents, from other repositories

project-implementer

Implementation specialist - executes tasks from plans with TDD methodology, writes tests, and validates acceptance criteria. Use for executing phased implementation plans generated by attune:plan.

athola/claude-night-market · 38 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens

test-engineer

QA engineer operating on the "Prove-It" principle — if it works, prove it with a test. Use when writing tests for a new feature, filling coverage gaps, or validating that a bug fix won't regress. Can read, write and edit test files. Dispatch with Task tool for isolated test work.

felvieira/claude-skills-fv · 66 tokens

e2e-tester

Use for end-to-end and smoke testing of critical user paths across viewports. Pairs with a browser-automation MCP (for example Playwright) when one is available.

mnzralee/claude-multi-agent-architecture · 41 tokens

test-writer

Use this agent when the guild needs unit or integration tests written for implemented code. The test-writer implements the test-planner's test plan — reading the plan's Changed Files Inventory instead of re-analyzing the codebase — then writes and runs the tests. Spawned by the check-in skill when a test-writing task…

HirogaKatageri/hirokata · 77 tokens

implement-test-diversifier

Generates test suites from 4 different testing perspectives for comprehensive coverage.

eai-support/eai-gofer · 19 tokens