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.
npx skills add magic3007/dotfiles --skill herdr-desktopgit clone --depth 1 https://github.com/magic3007/dotfilesWrote 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/skills/magic3007/dotfiles/herdr-desktop)<a href="https://agentmods.dev/skills/magic3007/dotfiles/herdr-desktop"><img src="https://agentmods.dev/badge/skills/magic3007/dotfiles/herdr-desktop/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/skills/magic3007/dotfiles/herdr-desktop"><img src="https://agentmods.dev/badge/skills/magic3007/dotfiles/herdr-desktop.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.00057 | $0.01987 |
| Opus 5.5 | $0.00023 | $0.00795 |
| Sonnet 5.5 | $0.00011 | $0.00397 |
| Haiku 4.5 | $0.00006 | $0.00199 |
Grade A, and why
herdr-desktop 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 27d 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 — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
herdr-desktop:用 hc 协调 omp 后台 worker
主对话留在当前 omp 会话。后台 worker 全部用 hc(herdr-core 0.1.16)管理。不要让用户去 Herdr 终端里操作。
所有命令已于 2026-11-02 在本机实测通过(worker t1j、t1k,主会话 t6)。下文的 t6 换成你主会话的 $HC_TERMINAL_ID。
硬约束
-
agent harness 只用 omp。不要安装或启动 Claude Code CLI、Codex CLI。
-
模型按角色名启动,不在命令里写死 provider/model。角色定义在
~/.omp/agent/config.yml的modelRoles,改模型只动那一处,本 skill 不用跟着改:角色 启动命令 用途 workeromp --model worker实现、调试、修测试 revieweromp --model reviewer独立审查、第二意见 角色名走 omp 的 modelRoles 解析(
--model task、--model mafia-opus同样能解析), 冒号后的档位写在角色值里,所以启动命令不带--thinking。 -
启动前先读角色实际指向哪个模型(第 0 步)。角色缺失或该模型不可用时停下告诉用户, 不要悄悄换 provider 或降档位。
0. 前置检查
which omp hc # herdr-app 在本机不在 PATH 上;窗口在用户桌面,经 herdr-core connect 连入
hc server status # 看 core/holder 存活;不要 stop/restart 用户的 core
omp config get modelRoles | python3 -c 'import json,sys; r=json.load(sys.stdin); print("worker =",r.get("worker")); print("reviewer=",r.get("reviewer"))'
hc templates # 当前为 {"templates":[]},无现成模板,直接起 omp
拿到角色指向的 provider/model 后,在 omp models list 对应 provider 段内确认它存在、
thinking 列包含角色里写的档位。omp models list 按 provider 分段输出,别的段同名不算。
冒烟确认角色真能出流量(也能暴露配额耗尽之类的静默失败):
omp -p --no-session --mode=json --model worker "reply ok" 2>&1 | grep -o '"provider":"[^"]*","model":"[^"]*"' | tail -1
回显的 provider/model 与角色一致才算通过;出现别的模型说明降级链被触发(配额、429 等), 停下告诉用户。
1. 放进 Herdr 侧边栏(同一 space)
无 herdr.space 标签的 worker 在 Herdr 里隐藏。取主会话所在 space:
SPACE=$(hc get "$HC_TERMINAL_ID" | python3 -c 'import json,sys; print(json.load(sys.stdin)["labels"].get("herdr.space",""))')
只给 herdr.space 不给 herdr.tab 时,Herdr 在该 space 新建一个 tab(实测 where 变成 frontcs2 / 2、/ 3)。Herdr 收编后 terminal 会带 keep:true,hc kill 仍然是终结。
2. 启动
hc run --bg --name impl-api --cwd /abs/project --label herdr.space=$SPACE \
omp --model worker
hc run --bg --name review-1 --cwd /abs/project --label herdr.space=$SPACE \
omp --model reviewer
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.
- 27d ago First seen · 123 lines · 57 tokens per session scan A 6c8ff861916d
herdr-desktop is a skill published in the GitHub repository magic3007/dotfiles (11 stars, last pushed 5d ago), licensed MIT. It adds 57 tokens to every session and 1,987 once invoked, about $0.0002 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-03.
herdr-desktop compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| herdr-desktopmagic3007/dotfiles | Skill | 11 | 5d ago | MIT | A | 57 | Claude Code, Codex |
| assess-qualityurmzd/dotfiles | Skill | 6 | 4d ago | Apache-2.0 | A | 120 | Claude Code |
| create-oss-skillurmzd/dotfiles | Skill | 6 | 4d ago | Apache-2.0 | A | 63 | Claude Code |
| extend-oss-skills-to-claudeurmzd/dotfiles | Skill | 6 | 4d ago | Apache-2.0 | A | 74 | Claude Code |
| scaffold-nodeurmzd/dotfiles | Skill | 6 | 4d ago | Apache-2.0 | A | 119 | Claude Code |
| test-codeurmzd/dotfiles | Skill | 6 | 4d ago | Apache-2.0 | A | 101 | Claude Code |
| scaffold-docsurmzd/dotfiles | Skill | 6 | 4d ago | Apache-2.0 | A | 196 | Claude Code |