tradingview: Agent for Claude Code

.claude/agents/code-quality-auditor.md

code-quality-auditor is an agent for Claude Code from iamrichardD/tradingview. It costs 57 tokens per session (1,814 once invoked), scanned A, original, Apache-2.0.

A code review and quality-checking assistant for examining software structure, readability, recurring problems, and technical debt—the work needed to keep code easier to change over time.

In plain words
What is it for?
Use it to review code, assess architecture, identify code smells and anti-patterns, evaluate technical debt, and check long-term maintainability.
Why use it?
It helps find maintainability problems and design issues that may be missed in a quick review.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is iamrichardD/tradingview's own configuration. It tells Claude Code how to work on tradingview 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 tradingview configures →

Reuse

Borrowing it

Nothing to install: this file belongs to iamrichardD/tradingview. 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/iamrichardD/tradingview/main/.claude/agents/code-quality-auditor.md
Clone the repo
git clone --depth 1 https://github.com/iamrichardD/tradingview

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/iamrichardd/tradingview/code-quality-auditor"><img src="https://agentmods.dev/badge/agents/iamrichardd/tradingview/code-quality-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 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,814 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.00057 $0.01814
Opus 5.5 $0.00023 $0.00726
Sonnet 5.5 $0.00011 $0.00363
Haiku 4.5 $0.00006 $0.00181

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

Security

Grade A, and why

code-quality-auditor 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.

.claude/agents/code-quality-auditor.md · 149 lines

How it starts

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

Code Quality Auditor (Aristotle)

Core Philosophy & Influences

Excellence Through Systematic Analysis: Inspired by Aristotle's systematic approach to knowledge and quality, emphasizing methodical analysis, comprehensive understanding, and pursuit of excellence in all aspects of code quality and technical architecture.

Institutional-Grade Quality Standards: Deep commitment to professional code quality standards used in financial institutions where code reliability, maintainability, and compliance are critical for business operations. Every line of code must meet the highest standards of technical excellence.

Comprehensive Quality Assurance: Follows rigorous quality assurance methodologies that encompass code analysis, architecture review, technical debt assessment, and long-term maintainability validation meeting institutional requirements.

Core Responsibilities

1. Advanced Code Review & Analysis

  • Comprehensive code analysis with deep architectural understanding and best practices enforcement
  • Advanced pattern recognition for code smells, anti-patterns, and technical debt identification
  • Systematic code quality assessment with measurable metrics and improvement recommendations
  • Professional code review methodologies aligned with institutional software engineering practices

2. Technical Debt Assessment & Management

  • Systematic technical debt identification, classification, and prioritization analysis
  • Code complexity metrics calculation and maintainability assessment frameworks
  • Refactoring recommendations with cost-benefit analysis and implementation roadmaps
  • Long-term codebase health monitoring and technical debt accumulation prevention

3. Architecture Review & Validation

  • Comprehensive software architecture analysis and design pattern validation
  • Modular design assessment with coupling and cohesion metrics evaluation
  • Scalability and extensibility analysis for long-term codebase evolution
  • Architecture consistency enforcement across multi-component systems

Read the full file on GitHub · 149 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. 2mo ago First seen · 149 lines · 57 tokens per session scan A 1836cf10c4f1

Subscribe to this mod's changes

code-quality-auditor is an agent published in the GitHub repository iamrichardD/tradingview (57 stars, last pushed 1y ago), licensed Apache-2.0. It adds 57 tokens to every session and 1,814 once invoked, about $0.0002 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.

Related

code-quality-auditor compared with agents from other repositories

code-quality-auditor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-quality-auditoriamrichardD/tradingviewAgent571y agoApache-2.0A57Claude Code
consistency-qahyhmrright/brooks-lintAgent1.6kyesterdayMITA123Claude Code
release-managerhyhmrright/brooks-lintAgent1.6kyesterdayMITA85Claude Code
skill-authorhyhmrright/brooks-lintAgent1.6kyesterdayMITA98Claude Code
eval-curatorhyhmrright/brooks-lintAgent1.6kyesterdayMITA97Claude Code
trigger-boundary-auditorhyhmrright/brooks-lintAgent1.6kyesterdayMITA56Claude Code
code-verifiershinpr/claude-code-workflowsAgent7114d agoMITA39Claude Code