All skills
kunchenguid avatar

/harness-adapters

@697d94d
by Kun Chenkunchenguid/firstmate7.4k stars
2,347

Agent-only reference for firstmate harness operations. Use 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. Contains verified facts for claude, codex, opencode, pi, pi-signed, grok, kimi, cursor, gemini, muse, rovo, omp, agy, and devin.

Use this Skill: https://skilld.dev/gh/kunchenguid/firstmate/harness-adapters

This session only. Nothing lands on disk.

referencescommonmodel-and-effort.md

≈734 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Model and effort

Load this with the selected tool reference before choosing, validating, or changing either axis. Add references/common/dispatch.md for configured profile precedence.

Axes and precedence

../../../bin/fm-spawn.sh accepts concrete --harness, --model, and --effort values selected at intake; scripts never parse natural-language dispatch rules. The tool reference records verified flags, accepted values, omission behavior, and discovery.

Effort precedence is a per-task captain instruction, then applicable dispatch profile or secondmate pin, then the fallback below. Never replace either higher-precedence value. Use the fallback only when neither specifies effort.

Use low for well-understood work with an explicit bounded path and xhigh for ambiguous investigation or design. Choose intermediate levels as complexity, uncertainty, blast radius, or open-ended reasoning rises. If an adapter lacks xhigh, cap at its highest supported non-max level rather than silently omitting the intent. Never select max through this fallback; only an explicit per-task or standing captain preference permits it.

The explicit native ultra value follows the model-scoped refusal contract in ../../../bin/fm-harness.sh validate-native-effort; it is never silently omitted or mapped to a Pi level. For other values, if requested effort is outside the adapter's accepted set, the spawn records effort= in task metadata but emits no effort flag. This preserves launch success instead of passing a known-bad value. A harness with no verified interactive effort flag follows the same record-and-omit contract.

Harness and provider identity

Harness identity is independent of model provider. harness=pi with model=xai/grok-* is Pi using xAI, not standalone Grok Build, and does not require Grok CLI login. harness=cursor with model=cursor-grok-4.5-* is Cursor routing a Grok model, not harness=grok.

No script resolves credential provenance for you. Establish it from the tool's discovery surface and quota-axi auth --json per-provider sources, and show the reasoning rather than inferring it from a name.

Discovery

Treat model and provider knowledge as current discovery, not a permanent namespace or mapping. Use the selected tool reference's authoritative surface in the current authenticated environment because availability changes by version, account, and configuration.

For an unfamiliar namespace, establish support and provider identity from that harness's CLI help, model listing, or current documentation. An account-reaching listing that omits a model is concrete unsupported evidence; block the candidate and quote it. An unreachable surface establishes nothing; report uncertainty instead of a verdict.

For a matched profile array, return to quota-array-dispatch only after establishing every candidate's harness support, provider relationship, and uncertainty.

Source: SKILL.md on GitHub

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill is a technical reference for the "firstmate" agent system, providing detailed instructions on how to manage and interact with various AI harnesses (Claude, Codex, OpenCode, Pi, and Grok). It outlines protocols for spawning agents, handling trust dialogs, and verifying new adapters. The analysis found no malicious patterns, prompt injections, or unauthorized data access. It primarily serves to document the technical constraints and expected behaviors of a multi-agent orchestration environment.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 697d94d. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week
user-invocable
false
metadata
{
  "internal": true
}

README badge

README badge for kunchenguid/firstmate/harness-adapters