Ntmのロゴ

Ntm

コミュニティ
Dicklesworthstone
ntm

Orchestrates NTM tmux agent swarms and robot APIs. Use when spawning/sending panes, robot state, triaging work, locks/mail, safety, pipelines, serve, code-first/batch-verify waves, or NTM errors.

概要

公開者Dicklesworthstone
リポジトリagent_flywheel_clawdbot_skills_and_integrations
スキル名ntm
スター
73
フォーク
16
同梱ファイル
20
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 20個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    DicklesworthstoneがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Ntm」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations/tree/main/skills/ntm
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations.git /tmp/agent_flywheel_clawdbot_skills_and_integrations
mkdir -p .claude/skills
cp -r /tmp/agent_flywheel_clawdbot_skills_and_integrations/skills/ntm .claude/skills/ntm
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでNtmを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にNtmを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Ntmは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

NTM

NTM is a tmux control plane for multi-agent work. This entrypoint is the operating kernel. Load one linked reference only when the current action needs it.

Non-Negotiable Rule

Discover the live contract, choose the smallest non-interactive surface, act, then verify on the read surface that owns the resulting state.

Never infer success from command acceptance alone.

Start Here

  1. Read the target repository's AGENTS.md and README.md.
  2. Confirm project/session resolution.
  3. Discover only the catalog slice you need:
    bash
    ntm --robot-capabilities --capability-compact
    ntm --robot-capabilities --capability-command=send --capability-compact
    ntm --robot-capabilities --capability-search=interrupt --capability-compact
  4. Bootstrap state:
    bash
    ntm --robot-snapshot
  5. Name the authoritative postcondition before mutating anything.

For older NTM builds without capability filters, use ntm --robot-capabilities and narrow locally.

Mandatory Action Loop

text
DISCOVER -> SNAPSHOT -> SELECT -> SCOPE -> EXECUTE -> VERIFY -> CLEAN UP
  • Discover: Live capability, schema, repo policy, and tool availability.
  • Snapshot: Session, panes, source health, work, mail, and locks.
  • Select: Least interactive command with a structured result.
  • Scope: Exact session, pane references, files, ownership, and blast radius.
  • Execute: Prefer robot mode for automation.
  • Verify: Owning state surface plus an independent artifact where useful.
  • Clean up: Release or hand off locks, claims, pipelines, and sessions.

Re-snapshot after a cursor expiry, degraded-source recovery, or material state transition.

Action Card

Before a state change, answer:

markdown
- Target: <project/session and canonical pane refs>
- Contract: <capability/schema checked>
- Evidence before: <cursor, source health, state>
- Ownership: <bead assignee and file reservations>
- Safety: <user pane inclusion, approvals, blast radius>
- Postcondition: <owning read surface>
- Recovery: <retry, interrupt, smart restart, restore, handoff>

If any field is unknown, stay read-only.

Intent Router

IntentFirst surfaceLoad
Install, configure, environmentntm deps, configCONFIG, ENV-VARS
Spawn/add/adopt agentsntm spawn, ntm addSPAWN
Send or batch prompts--robot-sendSEND
Inspect state/outputsnapshot, tail, inspectROBOT-MODE
Pick and assign workwork triage, assignWORK-AND-ASSIGN
Coordinate files/agentslocks, mail, coordinatorINTEGRATIONS
Recover or resumediagnose, checkpoint, handoffTROUBLESHOOTING, DURABILITY
Run repeatable phasespipelinePIPELINES
Run reasoning ensemblesensembleENSEMBLE
Operate HTTP/WebSocket APIserveSERVE
Review policy/approvalssafety, policy, approveSAFETY
Use human dashboarddashboard/paletteDASHBOARD
Find exact CLI syntaxlive capabilities firstCOMMANDS
Run high-throughput coding wavesbeads policy + orchestratorCODE-FIRST-BATCH-VERIFY

For an already-running multi-pane swarm, use /vibing-with-ntm for the tending loop and return here for exact command contracts.

Swarm Throughput and Credit Doctrine

When many panes share one repo and one expensive build path, run the two-phase pump: parallel code-first waves (real code + real tests, syntax gate max, commit immediately) followed by one central batch-verify pass that alone closes work with revision-bound evidence.

text
PHASE 1 (all panes, parallel): claim -> code+tests -> syntax gate -> commit -> batch_pending -> next
        |  trigger: ready-pool dry | debt ceiling | articulation point | scope frontier | time/risk | rate dip
        v
PHASE 2 (orchestrator, once): commit-flush -> ONE verify over git-derived scope
        -> compile errors first -> cluster failures by file -> rework (same assignee)
        -> re-run green -> gate + close with evidence -> dependents unblock -> next wave

Full mechanics, tracker policy shape, triggers, and enforcement: CODE-FIRST-BATCH-VERIFY.

The pump is only safe on top of honest credit: process artifacts gate named features or don't exist; refusal-only work never closes a positive-capability item; closures cite evidence; metrics predeclare denominators. That incentive layer — including how to encode it into the beads themselves so every swarm agent sees it at claim time — is the vibing-with-ntm skill's HONEST-CREDIT reference; its DOCTRINE-BOOTSTRAP reference is the step-by-step setup (AGENTS.md law, tracker policy, root doctrine bead, AC templates, enforcement canary). Encode both doctrines in the target repo's AGENTS.md before the first wave.

Pane Targeting

Use canonical selectors returned by live robot state:

  • %N: stable tmux pane ID.
  • W.P: explicit window and pane.
  • Bare N: pane index in one-window sessions; window index in multi-window sessions.

Do not assume the user pane is index 0. Both dispatch surfaces exclude user-typed panes by default, but their --all flags differ: robot --all opts the user pane in, while shell ntm send --all broadens to all agent panes and reaches the user pane only with --include-user. Prefer %N or W.P for any state-changing single-pane action.

A malformed, missing, or ambiguous selector is a command error, not an empty successful target set.

Project Resolution

A session is a project name or project--label. The project directory must resolve to the repository NTM, Beads, and Agent Mail should share. Check projects_base, session labels, and the resolved absolute path before claiming work or reserving files.

Do not repair resolution by guessing symlinks or moving repositories. Inspect configuration and follow repo policy.

Automation Rules

  • Avoid ntm view, dashboard, palette, and other TUIs in automation.
  • Prefer --robot-* output; use --robot-format=toon and --robot-verbosity=terse when supported and context is tight.
  • Treat success as authoritative, then inspect error_code and hint.
  • Exit 0 means success, 1 means command error, and 2 means unavailable/NOT_IMPLEMENTED.
  • Critical arrays must be present as [], never inferred from omission.
  • A degraded source is evidence with limits, not permission to invent state.
  • Cursors are local to one attention store; checkpoint/handoff artifacts are the portable continuity mechanism.

Spawn and Detached-Session Guardrails

Treat the live capability catalog as the robot-surface count; do not copy a number into automation guidance:

bash
ntm --robot-capabilities | jq '.commands | length'

ntm respawn <session> and ntm kill <session> ask for confirmation. An orchestrator must use --force only after its target and blast radius are explicitly verified; otherwise the command will wait at a prompt and silently stall automation.

For model-qualified launches, use N:model:effort where the agent supports an effort hint, for example --cod=2:gpt-5.6-terra:high. Before using either qualifier in a custom [agents] command, ensure the Go template contains {{.Model}} (or {{.ModelAlias}}) and, for effort, {{.ReasoningEffort}}. NTM rejects a requested qualifier that its template would ignore; fix the template rather than assuming the launch received the setting.

A detached tmux session may begin at 80x24; a wide swarm can leave each pane too small for agent dialogs and even make dialog detection miss wrapped options. Before spawning or tending a large detached swarm, size the window:

bash
tmux resize-window -t <session> -x 420 -y 110

Re-check the actual pane geometry after layout changes; this is an operator environment constraint, not an agent failure.

Verification Matrix

MutationRequired read-back
Spawn/add/restartsession status plus pane PID/current command
Send/interrupttarget receipt plus fresh pane capture
Bead claim/assign/closenative br show/ready plus assignment state
File reservationAgent Mail reservation result/conflict list
Pipeline run/resume/cancelpipeline state/run ID
Lock acquire/releaselock owner/lease state
Checkpoint/handoffartifact metadata and restore target
Safety approvalpolicy/token state
Event-producing actionevents/digest/attention cursor movement

Use git, Beads, process state, or emitted artifacts as independent evidence when the action is meant to change them.

Failure Handling

  1. Preserve the structured error payload and exit code.
  2. Re-read the relevant capability/schema when INVALID_FLAG appears; its hint field now carries a did-you-mean suggestion for near-miss flags.
  3. Re-resolve session and pane references for not-found errors.
  4. For dependency/source degradation, use the documented fallback once and report reduced confidence.
  5. For a live agent that appears stuck, diagnose before interrupting or restarting.
  6. Never loop indefinitely on mail, CASS, Beads, or provider failures.
  7. Never use destructive recovery without the repository's explicit approval protocol.

Completion

An NTM action is complete only when:

  • the authoritative read surface proves the intended transition;
  • target panes, user-pane policy, and ownership are unambiguous;
  • downstream git/Beads/mail/pipeline state agrees where applicable;
  • any opened lease, reservation, pipeline, or temporary session is released, completed, or handed off;
  • no required command session is still running.

Quick Search

Grep the references instead of loading them whole:

bash
REFS=.claude/skills/ntm/references

# Find the exact flag/command contract
grep -niE "<flag-or-subcommand>" "$REFS"/COMMANDS.md "$REFS"/ROBOT-MODE.md

# Find pump mechanics by keyword
grep -niE "trigger|commit-flush|rework|gate|build-kill|revision" \
  "$REFS"/CODE-FIRST-BATCH-VERIFY.md

# Find closure/claim discipline
grep -niE "actor|close|ready|claim|dep add|cycles" "$REFS"/WORK-AND-ASSIGN.md

# Find recovery for an error string
grep -niE "<error-text>" "$REFS"/TROUBLESHOOTING.md "$REFS"/DURABILITY.md

Reference Index

Related Skills

  • /vibing-with-ntm: tend active swarms
  • /beads-br, /beads-bv: tracker mechanics and graph triage
  • /agent-mail: coordination primitives
  • /brennerbot-with-ntm: hypothesis research sessions
  • /open-beads-weighted-tmux-agent-sessions: backlog-weighted spawning

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Ntm」では何ができますか?

Orchestrates NTM tmux agent swarms and robot APIs. Use when spawning/sending panes, robot state, triaging work, locks/mail, safety, pipelines, serve, code-first/batch-verify waves, or NTM errors.

TypingMindでNtmを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Ntmはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにNtmをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations/tree/main/skills/ntmを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Ntmを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Ntmで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもNtmを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Ntm」は無料ですか?

DicklesworthstoneがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇