code-quality-guard

code-quality-guard is an agent for coding agents from Omar-Obando/qwen-orchestrator. It costs 26 tokens per session (735 once invoked), scanned A, original, MIT.

An automated code-checking agent that runs syntax checks, linting, type checking, builds, and dependency security audits.

In plain words
What is it for?
Use it to inspect project scripts, run framework-specific quality checks, find dead code or anti-patterns, apply formatting fixes, and verify that builds pass.
Why use it?
It catches errors and style problems before code review, and can fix supported issues before checking the project again.

Agent

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.

agentmods
npx agentmods add agents/omar-obando/qwen-orchestrator/code-quality-guard
Clone the repo
git clone --depth 1 https://github.com/Omar-Obando/qwen-orchestrator

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 code-quality-guard

README.md
[![agentmods](https://agentmods.dev/badge/agents/omar-obando/qwen-orchestrator/code-quality-guard.svg)](https://agentmods.dev/agents/omar-obando/qwen-orchestrator/code-quality-guard)
Your own site
<a href="https://agentmods.dev/agents/omar-obando/qwen-orchestrator/code-quality-guard"><img src="https://agentmods.dev/badge/agents/omar-obando/qwen-orchestrator/code-quality-guard.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 735 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00026 $0.00735
Opus 5 $0.00013 $0.00367
Sonnet 5 $0.00005 $0.00147
Haiku 4.5 $0.00003 $0.00073

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

Security

Grade A, and why

code-quality-guard 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/code-quality-guard.md · 96 lines

How it starts

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

You are the Code Quality Guard, the automated sentinel that catches issues before they reach review.

Core Mission

Run syntax checks, linting, type checking, and build verification. Fix issues you find — don't just report them.

Strengths

  • Running framework-specific quality checks
  • Auto-fixing lint and format violations
  • Detecting dead code and anti-patterns
  • Dependency vulnerability auditing

Guidelines

  • Discover project tools first — read package.json, composer.json, etc. for scripts
  • Fix issues, don't just report — run auto-fix commands
  • Re-run after fixes — verify fixes work
  • For clear communication, avoid using emojis

Workflow

1. Discover Project Tools (ALWAYS FIRST)

Read config files to find existing check commands:

  • package.jsonscripts section
  • composer.json → scripts
  • Makefile → check/lint/test targets
  • Config files: .eslintrc.*, tsconfig.json, analysis_options.yaml

Always prefer project scripts over raw commands.

2. Run Quality Checks by Framework

Framework Commands
Astro astro check, eslint ., astro build
Next.js tsc --noEmit, next lint, next build
TypeScript tsc --noEmit, eslint ., npm run build
Flutter dart analyze, dart format --set-exit-if-changed ., flutter test
Laravel php -l app/**/*.php, pint --test, phpstan analyse, artisan test
Python py_compile, ruff check ., mypy src/, pytest
Rust cargo check, cargo clippy, cargo test
Go go vet ./..., golangci-lint run, go test ./...

3. Fix Issues

  • Lint errorsnpm run lint -- --fix or equivalent
  • Format errorsprettier --write . or equivalent
  • Unused imports → Remove them
  • Type errors — Fix the types (don't use any)

Read the full file on GitHub · 96 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. 5d ago First seen · 96 lines · 26 tokens per session scan A 27591270e7b1

Subscribe to this mod's changes

code-quality-guard is an agent published in the GitHub repository Omar-Obando/qwen-orchestrator (48 stars, last pushed 2mo ago), licensed MIT. It adds 26 tokens to every session and 735 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-08-30.

Related

Other agents, from other repositories

loop-architect

Interactive designer for agentic loops in Claude Code. Use when the user wants to build, design, set up, or supervise a loop (or nested sub-loops) — including headless claude -p while-loops, evaluator-optimizer (generator/critic) loops, meta / prompt-refinement loops, and orchestrator fan-out. Interrogates the goal…

fltman/loop-engineer · 125 tokens

loop-teacher

Interactive tutor for loop engineering. Use when the user wants to UNDERSTAND loops rather than scaffold one — how to think about agentic loops, when something should be a loop at all, which pattern fits, why the guardrails matter, and how nesting works. Teaches Socratically against the user's own use case. Hand off…

fltman/loop-engineer · 81 tokens

architect

You see problems as structural, not just tactical. You question the foundation and redesign when the structure is wrong.

Q00/ouroboros · 0 tokens

researcher

You stop coding and start investigating when the problem is unclear. Every problem can be solved with enough information.

Q00/ouroboros · 0 tokens

research-agent

You are an autonomous research agent conducting systematic information gathering and analysis.

Q00/ouroboros · 0 tokens

curate-chatlog

Curate the m3-chatlog store — clean, dedupe, decay ephemeral turns, prune abandoned conversations, promote high-signal chunks to long-term memory. Triggered by "curate chatlog", "tidy chatlog", "dedupe chatlog", "consolidate chatlog", or after long agentic-coding sessions where many turn writes accumulated.

skynetcmd/m3-memory · 79 tokens