Borrowing it
Nothing to install: this file belongs to talayash/agentrium. 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/talayash/agentrium/master/.claude/commands/errors.mdgit clone --depth 1 https://github.com/talayash/agentriumWrote 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/commands/talayash/agentrium/errors)<a href="https://agentmods.dev/commands/talayash/agentrium/errors"><img src="https://agentmods.dev/badge/commands/talayash/agentrium/errors/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/commands/talayash/agentrium/errors"><img src="https://agentmods.dev/badge/commands/talayash/agentrium/errors.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.00000 | $0.01547 |
| Opus 5.5 | $0.00000 | $0.00619 |
| Sonnet 5.5 | $0.00000 | $0.00309 |
| Haiku 4.5 | $0.00000 | $0.00155 |
Grade A, and why
errors 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 1mo 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 — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Retrieve end-user error reports from ct-analytics
You are pulling end-user error/exception reports stored by the ct-analytics Cloudflare Worker (D1 table errors) and writing a human-readable summary inline. Errors are populated by POST /error_report from three sources: rust_panic, rust_command, frontend. Retention is 90 days.
Arguments
$ARGUMENTS - Window in days (e.g. 1, 7, 30). Plain integer or with trailing d (e.g. 7d). Defaults to 7 if empty. Clamped to [1, 90].
Step 1: Resolve the window
- Parse
$ARGUMENTS. Strip a trailingdif present. Coerce to integer. If empty or invalid, use7. - Clamp to [1, 90].
- Tell the user the resolved window (e.g. "Pulling errors for the last 7 days...").
Step 2: Try the Worker endpoint first (preferred)
- Resolve the stats token, in this order:
$env:CT_STATS_TOKENif set- Otherwise, retrieve
STATS_TOKENfrom your auto-memory atct_analytics_tokens.md(memory typereference, slugct-analytics-tokens). Do not print the token to the user or include it in any saved file.
- If a token is available, call:
On Windows PowerShell, useGET https://ct-analytics.claude-terminal.workers.dev/errors/summary?days={N}&limit=20 Header: x-ct-token: {STATS_TOKEN}Invoke-RestMethodwith-Headers @{ 'x-ct-token' = $token }and capture to a variable; do not echo the token. - If the request returns HTTP 200 with JSON, parse it and skip to Step 4.
- If the request returns 404 (endpoint not deployed yet), tell the user the Worker needs a one-time deploy and offer to run it:
Ask before running. If they decline, fall through to Step 3.Run from workers/ct-analytics/: npx wrangler deploy - If the request fails for any other reason (no token, non-2xx, network error), fall through to Step 3.
Step 3: Fallback - query D1 directly via wrangler
Run wrangler from workers/ct-analytics/ against the production D1 (--remote). Use --json so the output is parseable. Run all queries; capture stdout per query.
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.
- 1mo ago First seen · 124 lines · 0 tokens per session scan A 3b32b48fd72f
errors is a command published in the GitHub repository talayash/agentrium (46 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,547 tokens. 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.
Other commands, from other repositories
gtd
Canonical GTD entry point for capture, clarification, organization, review, and engagement.
vouch-standup
Narrate the vouch digest — pending reviews, decisions, stale claims, due followups.
cancel-ralph
Cancel active Ralph Loop.
vibe-agents
Step 4 of the vibe-coding workflow: generate AGENTS.md + tool configs so the AI builder stays on track.
engage.actions
Execute Phase 7 - Actions on Objectives and Goal Achievement.
r
Resume the last handoff and carry on with the outstanding work.