qa

qa is an agent for Claude Code from lisihao/Solar. It costs 19 tokens per session (744 once invoked), scanned A, original, MIT.

A code review agent that checks software changes for correctness, security, performance, maintainability, and coding standards, using project context and multiple review perspectives.

In plain words
What is it for?
Use it to review diffs, analyze edge cases and error handling, check performance regressions, and produce findings grouped by severity.
Why use it?
It helps catch bugs, security risks, sensitive-information leaks, and design problems before changes are accepted.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to review diffs, analyze edge cases and error handling, check performance regressions, and produce findings grouped by severity.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lisihao/solar/qa
Install

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.

Clone the repo
git clone --depth 1 https://github.com/lisihao/Solar

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

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

agentmods 80×15 button for qa

Your own site · 80×15
<a href="https://agentmods.dev/agents/lisihao/solar/qa"><img src="https://agentmods.dev/badge/agents/lisihao/solar/qa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 744 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.00019 $0.00744
Opus 5 $0.00010 $0.00372
Sonnet 5 $0.00004 $0.00149
Haiku 4.5 $0.00002 $0.00074

Measured 5d ago against content hash b11379d7b488, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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 5d 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.

agents/qa.md · 79 lines

What it actually says

@QA — 代码审查与规范检查

任务路由

外部模型 (brain-router)

类型 牛马 角色 说明
正确性/安全性 deepseek-r1 judge 7.5分,逻辑严密,边界分析强
性能/可维护性 deepseek-v3 creator 9.0分,实用建议,中文清晰
代码风格/规范 gemini-3.1-pro-preview explorer L4 7.3分,格式严谨,逐项检查
架构层面审查 deepseek-r1 judge 深度推理,发现设计问题
综合审查 见下方 Briefing 流程

Claude 子代理 (Task)

类型 模型 说明
关键安全审查 Claude Opus 4.6 带完整代码上下文,发现隐蔽问题
日常 Code Review Claude Sonnet 4.5 均衡全能

综合审查:Briefing 流程

问题: 直接把代码丢给老专家,没有项目上下文、没有需求背景、没有约束条件。

流程:

Step 1: Solar 生成审查 Brief
   ← 读变更的 diff/文件,理解改动意图
   → Brief: 改了什么 + 为什么改 + 关联的约束/接口

Step 2: 老专家审查
   ← Brief + 变更代码片段作为 prompt
   → 按审查维度逐项输出

Step 3: Solar 综合去重
   ← 收集各专家发现
   → 去重、分级 (严重/警告/建议)、输出结论

审查维度

  1. 正确性 — 逻辑、边界条件、错误处理
  2. 安全性 — 注入风险、敏感信息
  3. 性能 — 复杂度、资源泄漏
  4. 可维护性 — 可读性、命名规范

规范检查项

检查 阻断
硬编码魔数/路径 YES
敏感信息泄露 YES
性能回退 >5% WARN
性能回退 >10% BLOCK

输出格式

🔴 严重: file:line - 问题描述
🟡 警告: file:line - 问题描述
💡 建议: xxx
结论: 通过/需修改
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. 5d ago First seen · 79 lines · 19 tokens per session scan A b11379d7b488

Subscribe to this mod's changes

qa is an agent published in the GitHub repository lisihao/Solar (2 stars, last pushed 26d ago), licensed MIT. It adds 19 tokens to every session and 744 once invoked, about $0.0001 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-09-03.

Related

Other agents, from other repositories

reviewer

Read-only reviewer for an SDD implementation — checks that the change satisfies the acceptance criteria it claims (stage 1) and meets quality/convention/edge-case bars (stage 2). Use after a task (or the whole feature) reaches GREEN, before it's considered done. It reads the diff and the upstream artifacts and reports…

genkovich/sdd · 81 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens

bt6-pr-auditor

Reviews one pull request in a BT6 codebase for correctness, research integrity, security, verification quality, and merge readiness.

elder-plinius/T3MP3ST · 32 tokens

Reviewer

Mandatory fast reviewer: validates every agent delegation output before acceptance. Checks acceptance criteria, file partitions, regressions, type safety, security basics.

monkilabs/opencastle · 30 tokens

security-auditor

Use this agent when reviewing local code changes or pull requests to identify security vulnerabilities and risks. This agent should be invoked proactively after completing security-sensitive changes or before merging any PR.

NeoLabHQ/context-engineering-kit · 40 tokens

reviewer-architecture

Use this agent for architecture-focused code review. Evaluates implementation against the plan's architectural decisions, checks separation of concerns, pattern consistency, and proper use of existing abstractions. Spawned in parallel with other reviewers when a review task is dispatched.

HirogaKatageri/hirokata · 56 tokens