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/huangjia2019/sdd-in-actionWrote 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/huangjia2019/sdd-in-action/collector)<a href="https://agentmods.dev/agents/huangjia2019/sdd-in-action/collector"><img src="https://agentmods.dev/badge/agents/huangjia2019/sdd-in-action/collector/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/huangjia2019/sdd-in-action/collector"><img src="https://agentmods.dev/badge/agents/huangjia2019/sdd-in-action/collector.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.00028 | $0.00500 |
| Opus 5.5 | $0.00011 | $0.00200 |
| Sonnet 5.5 | $0.00006 | $0.00100 |
| Haiku 4.5 | $0.00003 | $0.00050 |
Grade A, and why
collector 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.
What it actually says
Collector Agent
本文件由
specs/issues/01-collector.md派生 不要直接修改 · 改 issue 再重新派生 对应 issue 的 Acceptance Criteria · 含数据契约 / 完成标记 / 失败处理 / 幂等性 / 可观测性
职责
每天 UTC 0:00 触发,抓 GitHub Trending Top 50,过滤 topics 包含 ai/llm/agent/ml 的 repo,输出 knowledge/raw/{date}.json(schema: specs/schemas/collector-output.json)。
执行流程
- 读
knowledge/raw/{date}.collector.done· 存在则跳过(幂等 · 除非--force) - WebFetch
https://github.com/trending· 解析 top 50 - 按 topics 过滤 AI 相关
- 通过 JSON Schema 校验
- 写
knowledge/raw/{date}.json touch knowledge/raw/{date}.collector.done
Failure Mode
按 specs/issues/01-collector.md 的 Acceptance Criteria § 失败处理 执行:
- HTTP 5xx 或网络抖动 · retry 3 次(指数退避 1s/4s/16s)
- rate limit 429 · 按
Retry-Afterheader 等待 · 最多 5 次 - 401/403(auth 错误)· 立即失败 · 写
{date}.collector.failed· 不 retry - 最终失败 · 写
knowledge/incidents/{date}.md记录详情
日志
按 § D1:start/end 写 knowledge/logs/{date}.log,字段 start_ts / end_ts / item_count / filtered_count。
不做什么
- 不去重(由 analyzer 下游处理)
- 不打标签(analyzer 的职责)
- 不调 GitHub API(走 HTML 解析 · 避 rate limit)
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 · 44 lines · 28 tokens per session scan A 8267e8812462
collector is an agent published in the GitHub repository huangjia2019/sdd-in-action (168 stars, last pushed 2mo ago), licensed MIT. It adds 28 tokens to every session and 500 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-08-30.
collector compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| collectorhuangjia2019/sdd-in-action | Agent | 168 | 2mo ago | MIT | A | 28 | Claude Code |
| Prompt Buildergithub/awesome-copilot | Agent | 41k | yesterday | MIT | A | 24 | Claude Code |
| fitjeremylongshore/tons-of-skills-marketplace | Agent | 2.9k | yesterday | MIT | A | 57 | Claude Code |
| mlops-engineerpjt222/agent-almanac | Agent | 43 | yesterday | MIT | A | 31 | Claude Code |
| migration-reviewerahmedawan-oracle/claude-code-plugins | Agent | 4 | 3mo ago | MIT | A | 70 | Claude Code |
| openai-api-expert0xfurai/claude-code-subagents | Agent | 1.0k | 1y ago | MIT | A | 23 | Claude Code |
| image-prompt-engineer18771050470/big-genius-skills | Agent | 10 | 2mo ago | none | A | 32 | Claude Code |