本文へスキップ
Skillpedia
エージェント8.5k · #12437

harness-adapters

できること

このスキルは、Firstmateが、ハーネスと呼ばれるさまざまなAIコーディングツールをどう開始し管理するかを説明します。複数のコーディングエージェントを動かし、それぞれを正しく扱いたい人向けです。

使う場面

  • ✓特定のAIコーディングツールを使って、新しい補助エージェントを開始したいとき。
  • ✓補助エージェントが信頼の確認を出し、答えが必要なとき。
  • ✓終了したエージェントを停止、中断、再開する必要があるとき。

スキルのリンク

https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/harness-adapters/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/harness-adapters/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“Codexのツールを使って新しい補助エージェントを開始してください。その前に、そのツールが検証済みか確認してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、共有のガイドと、使用中のツールの個別のメモを読み込みます。検証されていないツールでは補助エージェントを開始せず、状態を変える選択をする前にあなたに尋ねます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

harness-adapters

This is the one skill, trigger, and routing owner for harness-specific Firstmate operations. Load this router first, then exactly the common reference and one harness reference selected below. When an action spans rows, load the union once rather than every reference. Files under references/ are resources of this skill, not additional catalogued skills.

Path contract

The skill directory is the directory containing this SKILL.md. Resolve on-demand reference links and relative links to their executable, documentation, or sibling-skill owners against the skill directory, including links named by a nested reference. Operational paths keep the context named by their owner: config/ and active-home settings belong to the active Firstmate home, state/ belongs to that home, and project settings such as .claude/settings.json belong to the target project.

Non-negotiable safety

Never dispatch a crewmate or secondmate on an unverified adapter. If config/crew-harness or config/secondmate-harness names one, tell the captain under ../../../AGENTS.md section 9 that the requested worker runtime is not verified, use firstmate's own verified runtime for current work, and ask only whether to verify the requested runtime for future work. Do not pause current work for that choice.

On unknown, ask the captain instead of guessing. A current captain override beats detection, while a per-task override governs only that dispatch. For recovery and control, use the exact harness= in state/<id>.meta; never infer it from a model or provider.

Deliver lifecycle actions only through ../../../bin/fm-control.sh <task-id> interrupt|exit|relaunch. Never type an interrupt key or exit command through fm-send, where routing-marked lifecycle text becomes chat. Trust handling is complete only when inspection proves the target started processing its instructions; delivery success alone is not proof. Muse, Gemini, Devin, Command Code, Polytoken, Cortex, and Kiro are verified only for crewmate and scout work, never a secondmate or primary.

Detection

../../../bin/fm-harness.sh prints firstmate's own harness from verified environment markers and process ancestry, and owns how they combine. A marker names its harness, but a structural ancestor of a different harness outranks it, because a marker is ordinary environment state a child or a multiplexer can retain while ancestry is what proves who owns the process tree. Only FM_PI_HARNESS=pi-signed at the launch boundary together with PI_CODING_AGENT=true selects Pi-signed; shared unmarked launcher ancestry remains Pi. omp publishes no marker of its own; FM_OMP_HARNESS=omp is Firstmate's launch marker and the anchored process name omp is its ancestry evidence, as references/harness/omp.md records. ../../../bin/fm-spawn.sh owns worker marker establishment, while the README launch command owns the signed-primary boundary. ../../../bin/fm-harness.sh crew resolves config/crew-harness, where absent or default means firstmate's own harness. docs/configuration.md owns secondmate pin resolution, including per-mate overrides; bin/fm-harness.sh owns the resolver commands. ../../../bin/fm-spawn.sh re-resolves on every spawn, and an explicit per-spawn argument wins for that spawn. A new adapter's verified marker and command name must land in ../../../bin/fm-harness.sh.

Operation-to-reference matrix

Every emitted plan appends the selected or recorded harness reference after the named common references. The harness-adapter-routing-v1 object is the machine-readable and human-visible selection contract: choose the operation, choose the scenario within it, then append the selected harness reference. default is the normal scenario when no narrower scenario applies. Kimi establishes its unsupported primary boundary in its selected harness reference; Muse and Gemini follow Non-negotiable safety above. A new tool remains undispatchable until the verify plan, its harness entry, every named owner, and the live checks land.

{
  "operations": {
    "start": {
      "default": ["references/common/dispatch.md", "references/common/model-and-effort.md"],
      "trust-dialog": ["references/common/control-and-recovery.md"]
    },
    "trust": {"default": ["references/common/control-and-recovery.md"]},
    "skill": {"defaul
よくある質問

未検証のツールを使いますか?

いいえ。未検証だと伝え、現在の作業には検証済みのツールを使います。

どのような動作を扱いますか?

エージェントの開始、信頼の確認への応答、スキルコマンドの送信、エージェントの中断、終了、再開などです。

ツールが不明な場合、推測しますか?

いいえ。ツールが不明な場合は、推測せずにあなたに尋ねます。

詳細

作者による元の説明

Load before spawning or recovering a crewmate or secondmate, handling a trust dialog, sending a harness-specific skill invocation, interrupting or exiting an agent, resuming an exited agent, or verifying a new harness adapter.

repo: kunchenguid/firstmate

人気

GitHubのスター
8.5k
ランキング
#12437
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル