agentloop-collector-setup

agentloop-collector-setup is a command for Claude Code from alibaba/loongsuite-pilot. It costs 15 tokens per session (299 once invoked), scanned A, original, Apache-2.0.

An installation command for loongsuite-pilot, the collector used to record AI agent activity. It runs the installation workflow after the user chooses whether to identify them by host name, username, email, or no extra identifier.

In plain words
What is it for?
Use it to install or reinstall loongsuite-pilot from its plugin directory on Linux, macOS, or Windows.
Why use it?
It gives the command-line entry point for installation while preserving the required user-choice and platform-specific steps. It also provides a generated ZIP path when installation setup succeeds.

Command for Claude Code ✓ vendor

Written for Claude Code: a Claude Code command (commands/*.md).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/run.py install [--user-id-source <hostname|username|email>].

Good fit Use it to install or reinstall loongsuite-pilot from its plugin directory on Linux, macOS, or Windows.

Compare 6 commands from other repositories ↓
About the project

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.

alibaba/loongsuite-pilot · 239 stars · on GitHub

Install

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.

Clone the repo
git clone --depth 1 https://github.com/alibaba/loongsuite-pilot
agentmods
npx agentmods add commands/alibaba/loongsuite-pilot/agentloop-collector-setup

Made for: Claude Code.

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 agentloop-collector-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/alibaba/loongsuite-pilot/agentloop-collector-setup/github.svg)](https://agentmods.dev/commands/alibaba/loongsuite-pilot/agentloop-collector-setup)
Your own site
<a href="https://agentmods.dev/commands/alibaba/loongsuite-pilot/agentloop-collector-setup"><img src="https://agentmods.dev/badge/commands/alibaba/loongsuite-pilot/agentloop-collector-setup/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 agentloop-collector-setup

Your own site · 80×15
<a href="https://agentmods.dev/commands/alibaba/loongsuite-pilot/agentloop-collector-setup"><img src="https://agentmods.dev/badge/commands/alibaba/loongsuite-pilot/agentloop-collector-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 299 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.00015 $0.00299
Opus 5.5 $0.00006 $0.00120
Sonnet 5.5 $0.00003 $0.00060
Haiku 4.5 $0.00002 $0.00030

Measured today against content hash 46bd1b6657ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agentloop-collector-setup 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.

app/qoder-plugin/agentloop/commands/agentloop-collector-setup.md · 30 lines

What it actually says

安装 loongsuite-pilot

用户要安装 loongsuite-pilot,或重新获取安装参数时使用。

按 agentloop-collector-setup 技能执行。先请用户选择用户标识 hostname、username 或 email,并说明这个值用于之后的追踪和审计,需要用户根据情况选择。选了哪一项,就传对应的 --user-id-source。不选就不要传这个参数。再在插件根目录执行。成功后按技能先展示可点击的 zip 链接。链接展示不出来时,再补纯文本路径。并说明这个 zip 可以本地解压后安装试用,也可以到管理市场下发。

环境

先检测当前环境,只执行对应的一条命令。

Linux 和 macOS

找不到 python3 时用 python。

python3 scripts/run.py install [--user-id-source <hostname|username|email>]

Windows

参数名与 Linux 和 macOS 相同。

powershell.exe -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -File scripts/run.ps1 install [--user-id-source <hostname|username|email>]
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. today First seen · 30 lines · 15 tokens per session scan A 46bd1b6657ec

Subscribe to this mod's changes

agentloop-collector-setup is a command published in the GitHub repository alibaba/loongsuite-pilot (239 stars, last pushed yesterday), licensed Apache-2.0. It adds 15 tokens to every session and 299 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-11-06.

Related

agentloop-collector-setup compared with commands from other repositories

agentloop-collector-setup next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentloop-collector-setupalibaba/loongsuite-pilotCommand239yesterdayApache-2.0A15Claude Code
atomic-helpdamusix/atomic-claudeCommand1154d agoMITA57Claude Code
atomic-plandamusix/atomic-claudeCommand1154d agoMITA54Claude Code
follow-updamusix/atomic-claudeCommand1154d agoMITA0Claude Code
documentationdamusix/atomic-claudeCommand1154d agoMITA0Claude Code
watch-cidamusix/atomic-claudeCommand1154d agoMITA69Claude Code
review-branchdamusix/atomic-claudeCommand1154d agoMITA35Claude Code