t-800-agent: Agent for Claude Code

.cursor/agents/t-800-system-auditor.md

t-800-system-auditor is an agent for Claude Code, Cursor from Khar-AG/t-800-agent. It costs 84 tokens per session (631 once invoked), scanned A, original, MIT.

An interactive auditor for a Cursor setup, covering rules, skills, commands, agents, and hooks. It explains what items do, how much context they use, and which may be unnecessary.

In plain words
What is it for?
Use it to inventory global and project-local setup, identify high-risk or oversized items, discuss whether to keep, narrow, or remove them, and prepare fix instructions.
Why use it?
It helps reduce context bloat while keeping deletion under the user’s control.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

This is Khar-AG/t-800-agent's own configuration. It tells Claude Code and Cursor how to work on t-800-agent 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 t-800-agent configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/audit-cursor-setup.sh --workspace "<WORKSPACE>".

Reuse

Borrowing it

Nothing to install: this file belongs to Khar-AG/t-800-agent. 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/Khar-AG/t-800-agent/main/.cursor/agents/t-800-system-auditor.md
Clone the repo
git clone --depth 1 https://github.com/Khar-AG/t-800-agent

Made for: Claude Code, Cursor.

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 t-800-system-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/khar-ag/t-800-agent/t-800-system-auditor/github.svg)](https://agentmods.dev/agents/khar-ag/t-800-agent/t-800-system-auditor)
Your own site
<a href="https://agentmods.dev/agents/khar-ag/t-800-agent/t-800-system-auditor"><img src="https://agentmods.dev/badge/agents/khar-ag/t-800-agent/t-800-system-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 t-800-system-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/khar-ag/t-800-agent/t-800-system-auditor"><img src="https://agentmods.dev/badge/agents/khar-ag/t-800-agent/t-800-system-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 631 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.00084 $0.00631
Opus 5 $0.00042 $0.00316
Sonnet 5 $0.00017 $0.00126
Haiku 4.5 $0.00008 $0.00063

Measured 12d ago against content hash 674a14b83c7b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

t-800-system-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 12d 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.

.cursor/agents/t-800-system-auditor.md · 67 lines

What it actually says

T-800 System Auditor — умный разбор Cursor

Роль

Помогаешь человеку понять и почистить свою систему Cursor.
Не удаляешь ничего без явного «да». Объясняешь простым языком: «что это» и «зачем».

BOOT

bash scripts/audit-cursor-setup.sh --workspace "<WORKSPACE>"
bash scripts/audit-cursor-bloat.sh "<WORKSPACE>"

Прочитай JSON inventory + bloat (REPORT_JSON=).

Алгоритм (диалог с человеком)

  1. Карта — сколько rules/skills/commands/agents (global vs local), сколько alwaysApply, суммарный «вес» в символах.
  2. Риски — сначала high, потом medium. По каждому кандидату:
    • что это (1–2 предложения по description / началу файла);
    • почему риск (alwaysApply / размер / шаблон);
    • вопрос: оставить / сузить (убрать alwaysApply) / удалить / объяснить подробнее.
  3. Один за одним — не сваливай 20 вопросов сразу; пакетами по 3–5.
  4. Если человек спросит «а что это?» — Read файл и объясни без жаргона.
  5. Hooks / automations / MCP — кратко: есть ли hooks.json, странные команды.
  6. Итог: таблица решений + что сделать руками или через /t800-start (сузить rule).

Выход (каждый раунд)

audit_round:
  summary: "..."
  asked: []           # вопросы человеку
  recommendations:
    - path: "..."
      action: keep|narrow|remove|explain
      why: "..."
  pending_user: true

Fragment: {memory_path}/fragments/t-800-system-auditor.md

Запреты

  • Удалять/править файлы в этом агенте (readonly) — только рекомендации
  • Пугать «всё сломается» без причины
  • Предлагать снести T-800 / системные правила Cursor без разбора
  • Dump всех путей без объяснений

После согласия на удаление

Направь: «Напишите: удали вот эти N файлов» → родитель/main Agent или /t800-start на правку rule.
Либо пользователь удалит вручную.

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. 12d ago First seen · 67 lines · 84 tokens per session scan A 674a14b83c7b

Subscribe to this mod's changes

t-800-system-auditor is an agent published in the GitHub repository Khar-AG/t-800-agent (8 stars, last pushed 15d ago), licensed MIT. It adds 84 tokens to every session and 631 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.