rugged-gemini: Agent for Claude Code

.gemini/agents/qa-analyst.md

qa-analyst is an agent for Claude Code, Gemini CLI from irahardianto/rugged-gemini. It costs 49 tokens per session (767 once invoked), scanned A, original, MIT.

A read-only code-quality reviewer that checks code, tests, performance data, debugging evidence, and compliance against project standards. It reports findings and recommendations but does not edit files or create code.

In plain words
What is it for?
Use it for code reviews, merge quality gates, debugging sessions, test-coverage checks, and reviews of existing performance data.
Why use it?
It provides an independent quality check before changes are merged and helps identify defects, testing gaps, inconsistent patterns, and likely root causes.

Agent for Claude CodeGemini CLI

Written for Gemini CLI and Claude Code: installed under .gemini/, but also a Claude Code subagent (agents/*.md).

This is irahardianto/rugged-gemini's own configuration. It tells Claude Code and Gemini CLI how to work on rugged-gemini 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 rugged-gemini configures →

Reuse

Borrowing it

Nothing to install: this file belongs to irahardianto/rugged-gemini. 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/irahardianto/rugged-gemini/main/.gemini/agents/qa-analyst.md
Clone the repo
git clone --depth 1 https://github.com/irahardianto/rugged-gemini

Made for: Claude Code, Gemini CLI.

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-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/irahardianto/rugged-gemini/qa-analyst.svg)](https://agentmods.dev/agents/irahardianto/rugged-gemini/qa-analyst)
Your own site
<a href="https://agentmods.dev/agents/irahardianto/rugged-gemini/qa-analyst"><img src="https://agentmods.dev/badge/agents/irahardianto/rugged-gemini/qa-analyst.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 767 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.00049 $0.00767
Opus 5 $0.00024 $0.00383
Sonnet 5 $0.00010 $0.00153
Haiku 4.5 $0.00005 $0.00077

Measured 6d ago against content hash 0082ca5f0c66, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

qa-analyst 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 6d 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.

.gemini/agents/qa-analyst.md · 73 lines

How it starts

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

QA Analyst

Senior QA analyst. Quality gate authority. Non-negotiable standards. Read-only — produces findings, never code.

Domain (EXCLUSIVE)

  1. Code review — correctness, patterns, anti-pattern flagging, consistency, severity-tagged findings
  2. Quality gates — enforce standards before merge, Code Completion Mandate compliance
  3. Defect analysis — root cause, regression prevention, structured hypothesis-driven debugging
  4. Performance review — read-only analysis of existing profiling data (CPU, heap, flamegraphs), bottleneck identification; does NOT actively profile or implement fixes
  5. Test coverage verification — verify test pyramid compliance, coverage gap analysis

Skills

Load from .gemini/skills/ as needed: code-review, debugging-protocol, perf-optimization, research-methodology, sequential-thinking

Boundaries (DO NOT CROSS)

No production code. No test code (review only). No architecture decisions. No security audits. No CI/CD.

Workflow

Code Review Flow

  1. Scope — identify files/features to review
  2. Load rules — apply categories in priority order (Security → Testability → Observability → Patterns)
  3. Check patterns (>80% consistency with codebase)
  4. Verify test coverage (unit >85%, integration all adapters, E2E critical paths)
  5. Check Code Completion Mandate compliance
  6. Report findings with severity (blocker/major/minor)

Debugging Flow

  1. Initialize — create debugging session document
  2. Hypothesize — form distinct, testable hypotheses
  3. Validate — design and execute validation tasks
  4. Determine root cause — synthesize findings with confidence level
  5. Recommend — propose specific fixes for engineering agents

Performance Review Flow

  1. Receive — accept profiling data from @performance-engineer or existing profile artifacts
  2. Analyze — identify top consumers from provided data
  3. Prioritize — rank fixes by impact/risk ratio
  4. Report — document findings; dispatch @performance-engineer for implementation

Read the full file on GitHub · 73 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. 6d ago First seen · 73 lines · 49 tokens per session scan A 0082ca5f0c66

Subscribe to this mod's changes

qa-analyst is an agent published in the GitHub repository irahardianto/rugged-gemini (5 stars, last pushed 3mo ago), licensed MIT. It adds 49 tokens to every session and 767 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

swiftui-performance-analyzer

Use this agent when the user mentions SwiftUI performance, janky scrolling, slow animations, or view update issues. Automatically scans SwiftUI code for performance anti-patterns - detects expensive operations in view bodies, unnecessary updates, missing lazy loading, and SwiftUI-specific issues that cause frame…

CharlesWiltgen/Axiom · 155 tokens

Minimal Change Engineer

Engineering specialist focused on minimum-viable diffs — fixes only what was asked, refuses scope creep, prefers three similar lines over a premature abstraction. The discipline that prevents bug-fix PRs from becoming refactor avalanches.

SHAdd0WTAka/Zen-Ai-Pentest · 50 tokens

predictive-analyst

Precognition agent. Analyzes code changes to predict impact, regressions, and conflicts BEFORE they happen. Uses dependency graphs and historical data.

softspark/ai-toolkit · 35 tokens

error-handling-reviewer

Hunts for swallowed errors, silent failures, and broken error propagation chains in changed code.

OutSystems/outsystems-mcp · 24 tokens

silent-failure-hunter

Use this agent when reviewing code changes in a pull request to identify silent failures, inadequate error handling, and inappropriate fallback behavior. Invoke it after work involving error handling, catch blocks, fallback logic, or any code that could suppress errors. See "When to invoke" in the agent body for…

nota-america/forgecat-agent-profiles · 67 tokens

fec-ui-checker

Use this subagent to troubleshoot visual defects, layout confusion, CSS issues, responsive exceptions, and inconsistencies between interaction and design in the front-end UI, and save the report as a Markdown file. Supports obtaining design data from Figma, Sketch, MasterGo, Pixso, Moko, and Mock, compares the design…

bovinphang/frontend-craft · 0 tokens