ntm

GitHub

NTM 作为可选的面板适配器,用于承载显式 Agent 角色并执行一次性命令分发。它不控制生命周期,仅负责将调用方提供的指令发送至指定面板,并基于事实堆栈监控面板活跃状态与结果返回。

images/gemini/skills/ntm/SKILL.md boshu2/agentops

Trigger Scenarios

ntm tmux panes ntm robot state

Install

npx skills add boshu2/agentops --skill ntm -g -y
More Options

Non-standard path

npx skills add https://github.com/boshu2/agentops/tree/main/images/gemini/skills/ntm -g -y

Use without installing

npx skills use boshu2/agentops@ntm

指定 Agent (Claude Code)

npx skills add boshu2/agentops --skill ntm -a claude-code -g -y

安装 repo 全部 skill

npx skills add boshu2/agentops --all -g -y

预览 repo 内 skill

npx skills add boshu2/agentops --list

SKILL.md

Frontmatter
{
    "name": "ntm",
    "consumes": [
        "pane-command-request"
    ],
    "metadata": {
        "tier": "execution",
        "effects": [
            "manage_ntm_panes",
            "dispatch_pane_commands"
        ],
        "disposition": "keep_optional_adapter",
        "capabilities": [
            "ntm"
        ],
        "dependencies": [],
        "canonical_status": "canonical"
    },
    "produces": [
        "ntm-robot-state",
        "agent-worker-transcript"
    ],
    "practices": [
        "pragmatic-programmer"
    ],
    "context_rel": [
        {
            "kind": "supplier-to",
            "with": "agent-native"
        }
    ],
    "description": "Use NTM as an optional pane adapter for caller-supplied roles and commands. Triggers: \"ntm\", \"tmux panes\", \"ntm robot state\".",
    "hexagonal_role": "supporting",
    "user-invocable": false,
    "output_contract": "factual session, pane, command, and observation results",
    "skill_api_version": 1
}

NTM — optional pane adapter

NTM hosts explicit agent roles in persistent panes. It is transport, not an AgentOps lifecycle controller. The caller chooses the panes, roles, commands, write scopes, and stopping point.

Robot surfaces work because they report what the pane is doing, not what was sent to it; a dispatch layer that only proved delivery would let every dead worker look busy.

Judge pane liveness by the truth-stack, strongest first: new artifacts on disk, then transcript growth, then robot state and attention flags, then bare process existence. A successful prompt send sits below all of these and proves nothing about work.

Named failure mode — kill-the-witness: restarting a stuck pane before capturing its state, destroying the only evidence of why it stalled.

Anti-pattern: restarting an unresponsive pane as the default remedy. Corrective: rescue before restart — snapshot robot state and transcript, attempt a nudge, and restart only when the truth-stack shows no liveness at any level.

Boundary

  • Never start or probe NTM merely because it is installed.
  • Discover the live command contract with ntm --help, ntm --robot-capabilities, and ntm --robot-snapshot before unfamiliar actions.
  • Dispatch each caller-supplied command once. NTM does not select work, retry a failed command, validate a candidate, integrate changes, or decide what runs next.
  • Pane roles are descriptive. They grant no ownership, admission, Git, release, or delivery authority.
  • Concurrent writers require caller-supplied disjoint scopes and whatever isolation the repository requires. NTM does not infer safe concurrency.
  • Safety, lock, mail, and pipeline features remain substrate facts. Their state cannot change an RPI phase result or semantic verdict. The adapter cannot select AgentOps semantics, issue a binding verdict, or turn factory completion into delivery or validation proof.

One-shot dispatch

  1. Record the explicit session, pane, role, working directory, and command.
  2. Inspect robot capabilities and current snapshot.
  3. Create or select only the named pane.
  4. Send the command once.
  5. Observe robot state, attention, and transcript until the command exits or the caller's observation window ends.
  6. Return the factual result and stop.

For a software-factory layout, the caller may name producer, tester, validator, or integrator panes. The same identity rule still applies: a validator for a candidate must have a distinct context identity from its author. Merely placing two roles in different panes is a declared runtime fact, not proof of semantic independence. Mixed-model judgment panes follow the agent-native model-dispatch recipe (probe, disclose, never claude -p).

Output

Return:

  • session and pane identifiers;
  • role and exact command;
  • start and observation timestamps;
  • exit status when known;
  • robot state and relevant transcript references;
  • degraded or unavailable substrate surfaces;
  • effects that were and were not observed.

Terminal outcomes are explicit, never a silent hang:

  • NTM unavailablentm absent or the robot surface unreachable: report it and stop; do not fall back to blind key injection or assume the pane is idle.
  • Observation-window deadline reached — report the last observed robot state and transcript reference; the window ending is a stop, not a failure verdict.
  • Timeout / nonzero exit / degraded source — reported as evidence with what was and was not observed.
  • Cancellation and cleanup — the caller decides whether to invoke another experiment; report which panes were created or left running so nothing is orphaned silently. NTM never retries or reaps on its own.

Useful live surfaces

Prefer machine-readable robot surfaces for capability, snapshot, attention, tail, and pipeline observations. Use interactive key injection only when the caller explicitly requests an interactive action and no robot command provides the needed behavior.

External NTM documentation and examples remain the authority for command syntax; this skill owns only the AgentOps boundary above. NTM's CLI drifts across versions, so confirm the surface at runtime (ntm --version, ntm --robot-capabilities) rather than trusting a remembered command.

Version History

  • 7b07a7d Current 2026-08-19 21:59

    对齐 AgentOps 操作层身份,调整技能以适配新的语义工作协议和 RPI 遍历标准。

  • 3f402e5 2026-07-24 22:07

Same Skill Collection

images/gemini/skills/account-rotation/SKILL.md
images/gemini/skills/agent-mail/SKILL.md
images/gemini/skills/agent-native/SKILL.md
images/gemini/skills/agy-native/SKILL.md
images/gemini/skills/anti-ceremony/SKILL.md
images/gemini/skills/automation-shape-routing/SKILL.md
images/gemini/skills/bootstrap/SKILL.md
images/gemini/skills/cass/SKILL.md
images/gemini/skills/cc-hooks/SKILL.md
images/gemini/skills/codebase-recon/SKILL.md
images/gemini/skills/codex-exec/SKILL.md
images/gemini/skills/converter/SKILL.md
images/gemini/skills/council/SKILL.md
images/gemini/skills/craft-goal/SKILL.md
images/gemini/skills/dcg/SKILL.md
images/gemini/skills/doc/SKILL.md
images/gemini/skills/domain/SKILL.md
images/gemini/skills/fitness/SKILL.md
images/gemini/skills/goals/SKILL.md
images/gemini/skills/handoff/SKILL.md
images/gemini/skills/idea-genie/SKILL.md
images/gemini/skills/implement/SKILL.md
images/gemini/skills/learn/SKILL.md
images/gemini/skills/ms/SKILL.md
images/gemini/skills/operationalize/SKILL.md
images/gemini/skills/pattern-mining/SKILL.md
images/gemini/skills/plan/SKILL.md
images/gemini/skills/postmortem/SKILL.md
images/gemini/skills/premortem/SKILL.md
images/gemini/skills/product/SKILL.md
images/gemini/skills/rch/SKILL.md
images/gemini/skills/reality-check/SKILL.md
images/gemini/skills/refactor/SKILL.md
images/gemini/skills/research/SKILL.md
images/gemini/skills/reverse-engineer/SKILL.md
images/gemini/skills/rpi/SKILL.md
images/gemini/skills/sbh/SKILL.md
images/gemini/skills/scaffold/SKILL.md
images/gemini/skills/scope/SKILL.md
images/gemini/skills/security/SKILL.md
images/gemini/skills/shared/SKILL.md
images/gemini/skills/skill-builder/SKILL.md
images/gemini/skills/standards/SKILL.md
images/gemini/skills/status/SKILL.md
images/gemini/skills/swarm/SKILL.md
images/gemini/skills/test/SKILL.md
images/gemini/skills/toil-mining/SKILL.md
images/gemini/skills/using-flywheel/SKILL.md
images/gemini/skills/using-gc/SKILL.md

Metadata

Files
0
Version
7b07a7d
Hash
1aba53e6
Indexed
2026-07-24 22:07

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 00:06
浙ICP备14020137号-1 $mapa de visitantes$