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.
git clone --depth 1 https://github.com/JackScammell/Parliament-Of-ChaosWrote 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/jackscammell/parliament-of-chaos/telemetry-query)<a href="https://agentmods.dev/commands/jackscammell/parliament-of-chaos/telemetry-query"><img src="https://agentmods.dev/badge/commands/jackscammell/parliament-of-chaos/telemetry-query/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/jackscammell/parliament-of-chaos/telemetry-query"><img src="https://agentmods.dev/badge/commands/jackscammell/parliament-of-chaos/telemetry-query.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.00019 | $0.01322 |
| Opus 5.5 | $0.00008 | $0.00529 |
| Sonnet 5.5 | $0.00004 | $0.00264 |
| Haiku 4.5 | $0.00002 | $0.00132 |
Grade A, and why
telemetry-query 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 2mo 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 — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Telemetry Query
The activity.jsonl log and other files under ${CLAUDE_PLUGIN_DATA}/ are write-only today — hooks append but nothing reads them. This command is the missing read path: an ad-hoc query tool with filters, aggregations, and output formats suitable for piping into /parliament-metrics or human review.
Usage
/telemetry-query [--event <name>] [--agent <name>] [--since <duration>] [--until <duration>] [--where <expr>] [--group-by <field>] [--limit <n>] [--json]
Examples:
/telemetry-query --event TaskCompleted --since 24h
/telemetry-query --agent grumpy-code-reviewer --since 7d --group-by session_id
/telemetry-query --event PermissionDenied --since 30d # diagnose auto-mode denials
/telemetry-query --where 'duration_ms > 60000' --limit 20
/telemetry-query --event Stop --since 7d --group-by reason --json
Options
--event <name>: Filter by hook event name (e.g.TaskCreated,TaskCompleted,Stop,PermissionDenied,SubagentStop,PostToolUse,DebateCompleted).--agent <name>: Filter by the agent field where present.--since <duration>/--until <duration>: Time window. AcceptsNh,Nd,Nw,Nmo, or ISO timestamps. Defaults:--since 7d,--until now.--where <expr>: Post-filter expression over record fields. Supports simple comparisons (==,!=,<,>,contains). Whitelisted fields only — no arbitrary code execution.--group-by <field>: Aggregate counts by field (agent,event,session_id,reason,tool, etc.).--limit <n>: Cap result rows. Default 100.--json: Emit structured output.
Data Sources
${CLAUDE_PLUGIN_DATA}/agent-logs/activity.jsonl(primary — the pathlog_event.shwrites)${CLAUDE_PLUGIN_DATA}/agent-logs/activity.jsonl.<epoch>.old(timestamped rotation backups, merged transparently when the--sincewindow reaches back into them)${CLAUDE_PLUGIN_DATA}/debate-logs/completions.jsonl(optional — surfaced via--event DebateCompleted)
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.
- 2mo ago First seen · 103 lines · 19 tokens per session scan A 49435e9e045a
telemetry-query is a command published in the GitHub repository JackScammell/Parliament-Of-Chaos (4 stars, last pushed 1mo ago), licensed MIT. It adds 19 tokens to every session and 1,322 once invoked, about $0.0001 per session on Opus 5.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-09-03.
telemetry-query compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| telemetry-queryJackScammell/Parliament-Of-Chaos | Command | 4 | 1mo ago | MIT | A | 19 | Claude Code |
| templategastownhall/beads | Command | 29k | yesterday | MIT | A | 0 | Claude Code |
| swarm-statusproffesor-for-testing/agentic-qe | Command | 537 | yesterday | MIT | A | 0 | Claude Code |
| auto-browsemarcusquinn/aidevops | Command | 477 | today | MIT | A | 18 | Claude Code |
| swarm-statusruvnet/agentic-flow | Command | 850 | 19d ago | none | A | 0 | Claude Code |
| doctorfatihkan/badi | Command | 8 | 1mo ago | MIT | A | 0 | Claude Code |
| fixstefan-jansen/claude-code-toolkit | Command | 101 | 4mo ago | MIT | A | 9 | Claude Code |