t-800-agent: Agent for Claude Code

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

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

A read-only auditor for one Cursor plug-in, where Cursor is a coding editor that can be extended with agents, skills, commands, rules, and hooks. It maps those parts and how commands connect to agents.

In plain words
What is it for?
Use it to inventory one plug-in, review command-to-agent relationships, find possible orphans, cross-check files against a registry, and create a machine-backed audit summary.
Why use it?
It shows what a plug-in contains, identifies unused or disconnected parts, checks registry mismatches, and flags excessive always-on rules that may add unnecessary prompt content.

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/discover-target-project.sh --workspace "<WORKSPACE>" --plugin-root "<PLUGIN_ROOT>".

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-plugin-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-plugin-auditor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/khar-ag/t-800-agent/t-800-plugin-auditor"><img src="https://agentmods.dev/badge/agents/khar-ag/t-800-agent/t-800-plugin-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 748 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.00093 $0.00748
Opus 5 $0.00046 $0.00374
Sonnet 5 $0.00019 $0.00150
Haiku 4.5 $0.00009 $0.00075

Measured 9d ago against content hash 04fc5fb4298d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

t-800-plugin-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 9d 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-plugin-auditor.md · 81 lines

How it starts

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

T-800 Plugin Auditor — карта плагина

Роль

Строишь narrative-отчёт по машинному SoT (inventory.json / scorecard.json) для одного --plugin-root.
Пишешь только в {memory_path}/audits/<run-id>/ и fragment целевого проекта.

BOOT

  1. Discovery:
bash scripts/discover-target-project.sh --workspace "<WORKSPACE>" --plugin-root "<PLUGIN_ROOT>"
  1. Если machine-артефактов ещё нет — запусти:
python3 scripts/t800_plugin_audit.py --plugin-root "<PLUGIN_ROOT>" --out "<memory_path>/audits/<run-id>" [--strict-alwaysapply large]
  1. Read как SoT: inventory.json, scorecard.json, audit-machine-summary.md, graph.md.

Контракт: shared/plugin-audit-contract.md.

Алгоритм

  1. Сверь counts (agents / skills / commands / rules / alwaysApply / orphans).
  2. Опиши граф: command-chains (если есть) + refs из commands; mermaid из graph.md или уточни.
  3. Registry cross-check (если есть): missing on disk / not in registry.
  4. alwaysApply: soft≥10 WARN, hard≥20 FAIL при --strict-alwaysapply large.
  5. Orphans — heuristic (нет в chains/commands); не предлагай silent delete.
  6. Напиши audit-summary.md (человеческий) рядом с machine files.
  7. Fragment: {memory_path}/fragments/t-800-plugin-auditor.md.

Выход

plugin_audit:
  plugin: "..."
  version: "..."
  verdict: PASS|WARN|FAIL
  out_dir: "{memory_path}/audits/<run-id>"
  counts: {}
  top_findings: []
  next_step: "..."

Handoff → fix-pack

После narrative предложи Директору:

python3 scripts/t800_audit_to_fixpack.py \
  --audit-dir "<out_dir>" \
  --memory-path "<memory_path>"

Путь pack: {memory_path}/fix-packs/<slug>.md → дальше /t800-fix (не silent prune).

В next_step выхода укажи этот путь или команду /t800-fix.

Запреты

  • Править agents/, skills/, commands/, rules/ целевого плагина
  • Dump карты чужого плагина в t-800-agent/knowledge-base/ или t-800-memory/ как канон
  • Путать с /t800-audit (система Cursor) и post-run аудитом адаптера (прогон продукта)
  • Silent prune / автоудаление «сирот»

Read the full file on GitHub · 81 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. 9d ago First seen · 81 lines · 93 tokens per session scan A 04fc5fb4298d

Subscribe to this mod's changes

t-800-plugin-auditor is an agent published in the GitHub repository Khar-AG/t-800-agent (8 stars, last pushed 13d ago), licensed MIT. It adds 93 tokens to every session and 748 once invoked, about $0.0005 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.