LoongSuite Pilot is a local telemetry collector that gathers activity from AI coding agents, converts their different records into a shared event format, and exports the data to selected destinations. Development teams use it to inspect agent usage, token consumption, sessions, tools, traces, and security-sensitive data. Its catalogue add-ons support working with and configuring the collector for coding-agent telemetry.
Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/alibaba/loongsuite-pilotnpx agentmods add commands/alibaba/loongsuite-pilot/agentloop-audit-queryWrote 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/alibaba/loongsuite-pilot/agentloop-audit-query)<a href="https://agentmods.dev/commands/alibaba/loongsuite-pilot/agentloop-audit-query"><img src="https://agentmods.dev/badge/commands/alibaba/loongsuite-pilot/agentloop-audit-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/alibaba/loongsuite-pilot/agentloop-audit-query"><img src="https://agentmods.dev/badge/commands/alibaba/loongsuite-pilot/agentloop-audit-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.00005 | $0.00267 |
| Opus 5.5 | $0.00002 | $0.00107 |
| Sonnet 5.5 | $0.00001 | $0.00053 |
| Haiku 4.5 | $0.00001 | $0.00027 |
Grade A, and why
agentloop-audit-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 today.
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
查询审计日志
用户要看 loongsuite-pilot 的审计日志时使用。
按 agentloop-audit-query 技能执行。在插件根目录执行。先按 capabilities.md 选定 logstore。
用户要筛选、对比范围,或从汇总再看某一个人、某一种 Agent、某一个会话时,先读技能里的 plugin-usage.md,再按它指向的筛选与下钻文档写查询。不要生成仪表盘 JSON。
环境
先检测当前环境,只执行对应的一条命令。
Linux 和 macOS
找不到 python3 时用 python。
python3 scripts/run.py audit --query "<检索或 SQL>"
Windows
参数名与 Linux 和 macOS 相同。
powershell.exe -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -File scripts/run.ps1 audit --query "<检索或 SQL>"
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.
- today First seen · 32 lines · 5 tokens per session scan A b5af38f341fd
agentloop-audit-query is a command published in the GitHub repository alibaba/loongsuite-pilot (239 stars, last pushed yesterday), licensed Apache-2.0. It adds 5 tokens to every session and 267 once invoked, about $0.0000 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-11-06.
agentloop-audit-query compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agentloop-audit-queryalibaba/loongsuite-pilot | Command | 239 | yesterday | Apache-2.0 | A | 5 | Claude Code |
| atomic-helpdamusix/atomic-claude | Command | 115 | 4d ago | MIT | A | 57 | Claude Code |
| atomic-plandamusix/atomic-claude | Command | 115 | 4d ago | MIT | A | 54 | Claude Code |
| follow-updamusix/atomic-claude | Command | 115 | 4d ago | MIT | A | 0 | Claude Code |
| documentationdamusix/atomic-claude | Command | 115 | 4d ago | MIT | A | 0 | Claude Code |
| watch-cidamusix/atomic-claude | Command | 115 | 4d ago | MIT | A | 69 | Claude Code |
| review-branchdamusix/atomic-claude | Command | 115 | 4d ago | MIT | A | 35 | Claude Code |