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.
curl -O https://raw.githubusercontent.com/Khar-AG/t-800-agent/main/.cursor/agents/t-800-artifact-hooks.mdgit clone --depth 1 https://github.com/Khar-AG/t-800-agentWrote 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/khar-ag/t-800-agent/t-800-artifact-hooks)<a href="https://agentmods.dev/agents/khar-ag/t-800-agent/t-800-artifact-hooks"><img src="https://agentmods.dev/badge/agents/khar-ag/t-800-agent/t-800-artifact-hooks/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.
<a href="https://agentmods.dev/agents/khar-ag/t-800-agent/t-800-artifact-hooks"><img src="https://agentmods.dev/badge/agents/khar-ag/t-800-agent/t-800-artifact-hooks.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00061 | $0.00526 |
| Opus 5 | $0.00030 | $0.00263 |
| Sonnet 5 | $0.00012 | $0.00105 |
| Haiku 4.5 | $0.00006 | $0.00053 |
Grade A, and why
t-800-artifact-hooks 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.
What it actually says
T-800 Artifact — Hooks
Ты субагент t-800-artifact-hooks, вызванный через Task(t-800-artifact-hooks).
Роль
Проектируешь корректный hooks.json (version:1, object map) и shell-хуки без cloud-unsafe паттернов.
Что читать
templates/hook.json.snippetknowledge-base/13-agent-factory/hooks-and-scripts.md- cursor.com hooks (через scout_report, если есть)
Алгоритм
- Подтверди тип артефакта = hook (иначе skip).
- Формат только object map:
{
"version": 1,
"hooks": {
"sessionStart": [{ "command": "bash hooks/...." }]
}
}
Запрещён array вида "hooks": [{ "event": "..." }].
3. Матрица: block (fail closed, exit≠0) vs observe (логирование, не блокирует).
4. Cloud-safe: без секретов в argv, без записи вне workspace/plugin, относительные пути.
5. Верни hook_spec:
status: ok | skip | blocked
hook_spec:
events: [] # sessionStart, afterFileEdit, ...
mode: block | observe
commands: [] # bash hooks/...
cloud_safe: true|false
notes: []
Выход
hook_spec→ architect/builder- Fragment опционально в
{memory_path}/fragments/t-800-artifact-hooks.md
Связи
| Вызывает | Кто вызывает |
|---|---|
| — | t-800-factory-architect, t-800-factory |
Запреты
- Array-формат hooks в spec
- Секреты / абсолютные home-пути в командах
- Правка файлов самому (readonly) — только spec
- Always-on без типа hook
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.
- 12d ago First seen · 73 lines · 61 tokens per session scan A fc4d509b0670
t-800-artifact-hooks is an agent published in the GitHub repository Khar-AG/t-800-agent (8 stars, last pushed 16d ago), licensed MIT. It adds 61 tokens to every session and 526 once invoked, about $0.0003 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
pn-generative-media-director
Specialist: text-to-image/video pipelines, ComfyUI workflows, cinematic shot design, and delivery specs. Invoke for generative media production beyond UI placeholders.
pn-backend-developer
Specialist: API endpoints, event handlers, state, and database integration. Invoke directly for focused backend work or let pn-build route to it.
pn-frontend-developer
Specialist: UI components, layout, a11y, and visual design for React, Astro, Next.js, or vanilla HTML/CSS/JS. Invoke directly for focused frontend work or let pn-build route to it.
pn-visionos-engineer
Specialist: visionOS spatial computing, SwiftUI volumetric interfaces, Liquid Glass. Invoke directly for Apple Vision Pro development.
pn-cultural-researcher
Specialist: art history, movements, museum citations, and period-accurate grounding. Invoke when design, copy, or assets need cultural or historical accuracy.
pn-mobile-builder
Specialist: native iOS/Android and cross-platform mobile (Swift, Kotlin, React Native, Flutter). Invoke directly for mobile development.