跳到正文
Skillpedia
部署与云(DevOps)20k · #10433

Herdr

它能做什么

控制 herdr,一个让多个编码智能体并排运行的终端管理工具。它适用于同时运行多个智能体、并希望有助手来管理它们的开发者。

适用场景

  • ✓当你想在新的终端窗格中启动另一个编码智能体的时候。
  • ✓当你想查看其他智能体当前正在做什么的时候。
  • ✓当你需要打开、关闭或排列终端标签页和工作区的时候。

技能链接

https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Herdr/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Herdr/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请在新窗格中启动第二个 Claude,让它检查测试,而我在这里继续工作。”

每周 5 个新技能,1 分钟读完。

工作原理

该技能会从 herdr 自身的工具和文档中读取当前命令,而不依赖记忆。它在 herdr 内部控制窗格,且不会移动你的焦点;在停止服务器或关闭它未打开的任何东西之前,它会请你明确同意。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Herdr

Contents: Ideal State · Intent Routing · Sources of Truth · This Install · Data & Config · Gotchas · Examples

Herdr documents itself for agents, so this skill holds no command syntax. It names where the syntax lives, what is custom about this install, and how to tell when either has drifted.

Ideal State

  • Every herdr command takes its syntax from the installed binary (herdr --skill, the command group's own help, herdr api schema), never from memory or this skill.
  • Control commands run only from inside a herdr pane, against an explicit target, without moving the principal's focus; anything that would stop the server, close what I did not open or answer another agent's dialog waits for an explicit yes.
  • A question about local behaviour is answered from the live file that causes it, and a change lands in the file that owns it.
  • Drift between the install, our config and herdr's own agent instructions is caught by Tools/Freshness.ts, not by editing this skill on every release.

Intent Routing

Intent Trigger File
Operate control panes, tabs, workspaces, worktrees; start, prompt, read or wait on an agent; "what are my other agents doing" Intents/Operate.md
Delegate "have codex / another claude do X in a pane", "get a second opinion in a pane", spin up an agent next to me Intents/Delegate.md
Configure keybindings, theme, sidebar, toasts, integrations, the wrapper or passthrough maps, "why does this key do that in herdr" Intents/Configure.md
Freshness "is herdr up to date", docs drift, after any herdr update Intents/Freshness.md
Update "update herdr", "upgrade herdr", a stale version or server check Intents/Update.md
File Read when
Setup.md first-time setup: the freshness baseline files, environment variables, and the commands that prove the install works

Sources of Truth

Read these at use time. The installed binary outranks the website when they disagree, because the site describes the newest release.

Need Source
How an agent should drive herdr, with safety rules herdr --skill
Exact syntax for a command group the group with no subcommand: herdr agent, herdr pane, herdr tab, herdr workspace, herdr worktree, herdr terminal, herdr notification, herdr integration, herdr session, herdr machine
Socket API methods and shapes herdr api schema --json
Live state of the session herdr api snapshot, herdr agent list, herdr status
Every config key, its type and default herdr --default-config for this binary; the config reference JSON linked from the docs index for prose
Any doc page (plugins, remote, session restore, troubleshooting) the index at https://herdr.dev/llms.txt, then only the page the task needs
What changed in the newest release release-notes.json beside config.toml

The config reference is one large JSON file. Filter it by key:

curl -fsSL "<config reference URL from the index>" | jq --arg key 'ui.sidebar_width' '.sections[].keys[] | select(.key == $key)'

This Install

Optional: if LIFEOS/USER/CUSTOMIZATIONS/SKILLS/Herdr/ThisInstall.md exists, read it for the local pieces around herdr (config mirror, shell wrapper, passthrough maps, sidebar naming, hooks); without it, rely on the sources above.

Data & Config

Freshness baseline and the last accepted copy of herdr's skill text: LIFEOS/USER/CUSTOMIZATIONS/SKILLS/Herdr/ (freshness.json, upstream-skill.md). The snapshot exists only so a changed skill can be diffed; it is never the instruction source. Both files are created by Tools/Freshness.ts --accept; with no baseline the skill_hash check reports stale and says to run it. First-time setup and the commands that prove the install: Setup.md.

Gotchas

  • Bare herdr launches or attaches the TUI. Never run it for discovery. A mutating subcommand with its arguments omitted still executes with defaults (herdr workspace create creates one). (upstream skill text)
  • Control commands need HERDR_ENV=1. Outside a herdr pane the CLI still reaches the socket, and it would act on whichever pane the principal has focused. Status, config and docs work is fine from anywhere.
  • herdr update, herdr server stop and a server restart take down every pane the server owns, this session included when it runs insi
常见问题

它会关闭我的其他窗口吗?

不会。任何会关闭它未打开的内容或停止服务器的操作,都需要你明确同意。

它会把焦点从我正在做的事情上移开吗?

不会。控制命令运行时不会把焦点移到其他窗格。

命令从哪里获取?

从已安装的 herdr 程序本身获取,因此与你使用的版本保持同步。

详情

作者的原始描述

Operates herdr, the terminal workspace manager for coding agents, through its CLI and socket API, explains and edits the local herdr setup (config.toml key mirror, shell wrapper, terminal passthrough maps, sidebar naming, agent-state integrations), and checks the install against upstream. USE WHEN herdr, herder, herd, herdr command, herdr pane, herdr tab, herdr workspace, herdr worktree, start an agent in a pane, prompt the agent in the other pane, read that pane, what are my other agents doing, herdr config, herdr keybinding, herdr sidebar, herdr integration, herdr docs, update herdr, is herd

repo: danielmiessler/LifeOS

热度

GitHub 星标
20k
排名
#10433
许可证
MIT
更新时间
2026/10/28

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能