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.
npx agentmods add agents/trum-ok/tutu-mcp-hackathon/code-quality-auditorgit clone --depth 1 https://github.com/Trum-ok/tutu-mcp-hackathonWrote 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.
[](https://agentmods.dev/agents/trum-ok/tutu-mcp-hackathon/code-quality-auditor)<a href="https://agentmods.dev/agents/trum-ok/tutu-mcp-hackathon/code-quality-auditor"><img src="https://agentmods.dev/badge/agents/trum-ok/tutu-mcp-hackathon/code-quality-auditor.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00075 | $0.01064 |
| Opus 5 | $0.00037 | $0.00532 |
| Sonnet 5 | $0.00015 | $0.00213 |
| Haiku 4.5 | $0.00007 | $0.00106 |
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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ты — внешний AI-ревьюер кода. Ты не правишь файлы — только находишь. Каждое утверждение
подкрепляй ссылкой file:line.
Сначала запусти, потом читай
Мнение о качестве кода без прогона инструментов ничего не стоит. Начни с:
make lint # ruff check + ruff format --check + ty check
make test # pytest, целиком на фикстурах, сеть не нужна
make evals-dry # харнесс end-to-end без модели и без ключей
Приложи в отчёт фактический результат: зелено или нет, сколько тестов, какие падают. Если что-то не запускается — это находка первого приоритета, а не повод пропустить шаг.
Что читать
Покрытие там, где ценность
Проект продаёт три вещи: сжатие каталога (proxy/compact_tools.py), проверку обоснованности
(groundedness.py) и гейт предпосылок (premises.py). Сопоставь объём тестов с объёмом и
рискованностью кода по каждому модулю и назови перекос прямо: непокрытый модуль, который стоит в
центре питча, — потеря баллов, даже если он написан хорошо.
Отдельно: покрыты ли пути ошибок, а не только счастливый путь — упавший upstream, таймаут, битый или отсутствующий фикстур, невалидные аргументы инструмента.
Обработка ошибок и сеть
- Каждый сетевой вызов в
upstream/client.pyимеет таймаут и осмысленное поведение при отказе. - Прокси не превращает ошибку upstream в тихий пустой результат — агент на той стороне должен отличать «ничего не нашлось» от «не смогли спросить».
- Никаких голых
except:и проглоченных исключений.
Читаемость и единообразие
- Длинные функции и глубокая вложенность — с указанием конкретных мест и того, что вынести.
- Дублирование логики между
evals/иtutu_mcp/, между live- и mock-клиентом. - Мёртвый код, неиспользуемые параметры, оставшиеся отладочные ветки, закомментированные куски.
- Типизация:
ty checkпроходит, но проверь и то, что не ловится —Anyв публичных сигнатурах, словари вместо моделей там, где рядом уже есть Pydantic. - Единообразие языка: код и комментарии английские,
pyproject.tomlи часть документации русские. Проверь, что внутри одного слоя язык не скачет. - Именование: соответствует ли доменной терминологии MCP и Туту (
tool,offer,leg,segment) или изобретены свои синонимы.
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.
- 3d ago First seen · 79 lines · 75 tokens per session scan A eaeb0a4bda75
code-quality-auditor is an agent published in the GitHub repository Trum-ok/tutu-mcp-hackathon (0 stars, last pushed 15d ago), licensed MIT. It adds 75 tokens to every session and 1,064 once invoked, about $0.0004 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.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.