跳到正文
Skillpedia
智能体8.5k · #12444

secondmate-provisioning

它能做什么

这项技能涵盖在 Firstmate 中创建和维护次要助手主目录,包括其路由列表。适合运行多个助手、并希望工作被分派到正确助手的人。

适用场景

  • ✓当你想为某个特定工作领域创建新的次要助手时。
  • ✓当某个助手的职责范围或项目需要更新路由列表时。
  • ✓当次要助手需要恢复、退役或交接待办工作时。

技能链接

https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/secondmate-provisioning/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请设置一个新的次要助手,负责我们的营销项目,并把它添加到路由列表中。”

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

工作原理

智能体会在路由表中为每个助手写一行,各自包含职责范围和项目。启动前它会检查设置,并把仅限本地的项目保留在主助手名下。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

secondmate-provisioning

Use this reference before creating, seeding, validating, launching, handing backlog to, recovering, pushing inherited local material into, or retiring a persistent secondmate, and before editing data/secondmates.md.

Keep the always-inline routing rules in AGENTS.md authoritative: route by natural-language scope:, local-only projects stay with the main firstmate, and secondmates are idle by default.

Routing table

data/secondmates.md has one parser-compatible line per persistent second mate. A local route uses:

- <id> - <one-sentence charter summary> (home: <absolute-home-path>; scope: <natural-language responsibility>; projects: <project-a>, <project-b>; added <date>)

A whole-home remote route uses:

- <id> - <one-sentence charter summary> (host: <ssh-alias>; root: <absolute-remote-code-root>; home: <absolute-remote-home>; scope: <natural-language responsibility>; projects: <project-a>, <project-b>; added <date>)

Each registry entry stays concise and single-line: the summary is one sentence naming the durable charter, scope: is the natural-language intake responsibility, projects: is the non-exclusive clone list, and any extra prose is limited to genuinely domain-specific hard rules that change routing or safety for that secondmate. Natural-language summary and scope: text may contain parentheses and semicolons; keep the generated (home: ...; scope: ...; projects: ...; added ...) suffix intact so operational consumers resolve its explicit field markers. The home: path points to the seeded home containing data/charter.md; no extra registry pointer field is needed. For a remote route, host: is an OpenSSH config alias and root: is that host's separate tracked Firstmate code root. See remote launch and recovery for backend selection and readiness (Herdr remains the default; Rex requires explicit selection and a ready doctor verdict). This release places whole secondmate homes remotely and never individual workers. docs/remote-secondmates.md owns current operator setup and transport behavior. The home-seeded data/charter.md is the sole owner of boilerplate idle-by-default behavior, the normal delegation lifecycle, and standard escalation contracts, so point to that charter rather than restating those contracts in the registry entry. The scope: field is used during intake. The projects: field is a non-exclusive clone list, not ownership.

Charter and seed

Scaffold a secondmate charter with:

bin/fm-brief.sh <id> --secondmate {<project>...|--no-projects}

The scaffold writes a charter brief instead of a task brief. Set FM_SECONDMATE_CHARTER='<charter>' to fill the charter text and FM_SECONDMATE_SCOPE='<scope>' when the routing scope differs. If you scaffold without FM_SECONDMATE_CHARTER, replace the {TASK} placeholder before seeding. Pass --no-projects instead of a project list to scaffold a project-less charter for a domain whose subject is the firstmate repo itself, whose home is a firstmate worktree and whose crews take pooled worktrees of the same repo. --no-projects is mutually exclusive with a project list, and omitting both still fails loudly, so an accidental omission is never mistaken for a deliberate project-less seed. Re-seeding a populated home as project-less is refused non-destructively when the home contains project clones or data/projects.md entries. Retire or clean that home first, and re-scaffold a stale project-bearing charter with --no-projects before seeding. Keep custom charter text focused on the persistent responsibility, available project clones, and genuinely domain-specific hard rules. The scaffolded charter, later copied to data/charter.md, owns the standard lifecycle and escalation wording. Preserve the generated charter sections unless the domain genuinely needs a hard rule.

Provision a local persistent home and registry entry after the charter is filled:

bin/fm-home-seed.sh <id> <home|-> {<project>...|--no-projects}

Provision a whole remote home through its configured SSH host with:

bin/fm-remote-home-seed.sh <id> <ssh-alias> <remote-root> <remote-home> {<project>[=<origin-url>]...|--no-projects}

You resolve each project's origin yourself - from the captain, the project registry, a clone that exists elsewhere, gh-axi, or an explicit paste - and

常见问题

工作是如何被路由的?

工作是根据为每个助手编写的通俗职责范围进行路由的。

次要助手总是在运行吗?

不是。默认情况下它们处于空闲状态。

次要助手能在另一台电脑上运行吗?

可以。路由列表可以描述一台远程主机,这项技能会说明如何进行设置。

详情

作者的原始描述

Load when creating, seeding, validating, launching, recovering, handing backlog to, pushing inherited local material into, or retiring a secondmate home, or when editing data/secondmates.md.

repo: kunchenguid/firstmate

热度

GitHub 星标
8.5k
排名
#12444
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能