vibing-with-ntm
Made by JeffTends NTM swarms. Use when panes stall or hit rate limits, closures stop, verification debt grows, scheduling ticks, writing marching orders, review mode, convergence or queue-dry, recovering agents, or diagnosing ceremony, reward hacking and false progress.
From Jeffrey's Skills.md: professionally crafted skills for any AI agent, installed and kept in sync by the jsm CLI. Subscription only, $20/month.
Works With
Quality and Utility come from canonical skill metadata. Community ratings appear separately as stars when subscriber reviews exist.
Subscribe to download
Public previews are available, but downloads, CLI sync, and premium content require an active subscription.
Sign In to Subscribe- Full skill content with deterministic versioning
- CLI sync + local search index
- Access to Jeffrey’s premium library
Save to your account
Saved skills live in your cloud list. Run jsm sync on each machine to pull them locally.
What's New with this Skill
9Updates, enhancements, and release notes for this skill.
Updated: vibing-with-ntm, a busy swarm that closes nothing, and timers that show they actually checked
A new card, OC-052, covers a swarm that looks busy while nothing gets accepted: freeze one finite completion wave, give one owner the decision, recover uncertain remote jobs by ID, and finish the remaining checks. Scheduled tending now honors the user's interval, records each completed check, and reads the coordinator's own pending handoffs first. The convergence-check.sh helper no longer stops the loop on quiet counts; it asks for a review.
- OC-052: when a busy swarm closes nothing, freeze one finite completion wave and finish its remaining checks
- Tending honors the user's idle interval and reads the coordinator's pending handoffs before worker exceptions
- The convergence-check.sh helper asks for a review after two quiet ticks and never authorizes stopping on counts alone
- 16 regression tests for the operator helper scripts
- OC-052, busy swarm, flat completion. The trigger is several ticks of activity with no accepted work, an empty ready queue, or handoffs piling up on one gate. The card freezes a finite completion wave, names one completion owner, separates compile and assertion failures from infrastructure that never ran, and requires one proven runner holding its lock before any log is opened. Its validator is a settled check, a recovered job or a supported closure, never a sent message or a new report.
Updated: vibing-with-ntm, tick and convergence scripts work on current br
The skill counted beads with br list --status=claimed, but claimed is not a built-in br status and current br rejects it unless the repo's policy declares it. The failed count made the tick and convergence scripts report -1 in flight, so convergence could never be detected. The scripts now treat claimed as 0 when the in-progress query works, and several br, rch and Agent Mail commands were corrected.
- claimed is not a built-in br status; the tick and convergence scripts no longer report -1 and can detect convergence
- Nonexistent br and rch flags replaced with --append-notes, --transition-comment and the real rch sync behavior
- Agent Mail macro parameters and send_message body_md corrected
- Recovery keys on the error codes ntm actually returns
- rotate --pane accepts N, W.P or %N; the stale-claim check now parses dates
Checked against ntm 1.35.1, br 0.6.0, bv 0.25.0, am 0.3.36, agy 1.2.10 and rch 2.0.0, with every ntm command and robot flag in the skill checked against the full help tree.
- Claimed status.
br update --claimsetsin_progressplus an assignee.orchestrator-tick.shandconvergence-check.shno longer turn a rejected--status=claimedquery into -1, and the operator cards, playbook and prompts use the real statuses.
Updated: vibing-with-ntm, when a zero means nobody checked
ntm locks list --json can return count: 0 during an Agent Mail outage, alongside success: false and reservations: null. A loop that reads only the count, or that treats empty .reservations[]? output as an empty reservation list, can miss the outage entirely. The revised checks require .success before any reservation or conflict result is interpreted, and distinguish file-edit overlap from reservation overlap.
- ntm conflicts and ntm coordinator conflicts answer different questions from disjoint sources: file-edit overlap from the monitor ledger versus reservation overlap from Agent Mail
- On failure coordinator conflicts --json returns {success:false, error, error_code} with no .conflicts key: .conflicts[] errors on it and .conflicts[]? yields nothing, so gate on .success with jq -e before reading a count
- coordinator digest --json has no .conflicts key at all, so the old cross-check read a missing field as a zero count and agreement at zero proved nothing
- ntm locks list --json answers an Agent Mail outage with success:false, reservations:null, count:0 and reason_code "agentmail_unavailable"
- Agent Mail reachability is .coordination.available; .sources.sources carries keys only for sources that reported, and jq returns null for one that never did
- Build-slot leases live on --robot-diagnose, and degraded is omitempty, so read checked and degraded_reason before calling an empty stale_leases clean
- ntm locks force-release is approval-gated by default: the first run files a durable approval and refuses, a second operator runs ntm approve <id>, then a rerun executes
- [coordinator] mail_nudge (v1.28, default off) nudges idle panes with unread mail and never a working one; output_sequence in --robot-activity advances only on real pane-content change
ntm conflicts checks file-edit overlap; ntm coordinator conflicts checks reservation overlap. They draw on disjoint inputs, so each has its own way of returning a misleading zero. coordinator conflicts reads the Agent Mail reservation list, which also comes back empty when there is no mail client. ntm conflicts reads the monitor's file_changes ledger, which is also empty when no monitor ran, or when the first sample was still the baseline. On failure coordinator conflicts --json returns a different envelope with no .conflicts key at all: a bare .conflicts[] errors on the missin
Updated: vibing-with-ntm, folklore recipes replaced by the surfaces NTM now owns
The tending loop accumulated raw-tmux folklore because NTM had no owned surface for the job: send-keys pings, escape rituals, fixed sleeps, pkill to cancel waits. NTM grew those surfaces, and this update rewrites the operator cards, recovery ladders, and scripts to lead with them, keeping raw tmux only where it remains the ground truth. It also corrects a wake-semantics error that had swarms nudging panes at the exact moment they hit the rate-limit wall.
- Recovery ladder leads with owned surfaces: wake_ping probe, --clear-input, --robot-tail --fresh, --robot-exit-cli, --robot-kill-agent, rotate --force, kill --pane
- Wake semantics fixed: rate_limit_lifted wakes when the wall drops; the old cards woke on rate_limited, which fires as a pane becomes limited
- agent_ready replaces fixed post-restart sleeps; --wait-id plus --robot-wait-cancel replace pkill
- Dialog cards lead with --robot-dialogs/--robot-answer-dialog, naming the classifier's narrow-pane blind spot and the POLICY_REFUSED gate on destructive confirms
- AP-44/OC-037 rescoped: owned sends verify submission; the multi-Enter ritual is for raw tmux send-keys only
- --all inversion recorded (AP-1/OC-013); --loop-mode replaces rotating-suffix CASS hacks (AP-2/AP-51)
- orchestrator-tick.sh prints the native per-provider pools rollup
The recovery ladder now climbs owned rungs: --robot-probe --probe-method=wake_ping for rate-limit liveness (probe takes numeric window-local indices only; %N is rejected), --robot-send --clear-input for the codex escape ritual with COMPOSER_NOT_CLEARED on failure, --robot-tail --fresh for post-action ground truth, --robot-exit-cli and --robot-kill-agent for wedged CLIs, ntm rotate --force for the wedged-plus-limited combo, and ntm kill --pane (or --robot-kill-pane) as the terminal rung. Waits changed the most: rate_limit_lifted returns once every target pane clears the wa
Updated: vibing-with-ntm, the orchestrator becomes the credit authority
Left to their own incentives, agent swarms drift toward counterfeit progress: certificates and dashboards instead of features, elegant refusals instead of working capabilities, commit streams instead of shipped code. This update gives the tending loop an incentive layer. Every few ticks the orchestrator polices what counts, using 29 named exploit patterns and controls, tracker policy that refuses violations outright, a read-only credit audit, and a policy canary that mutates only with --execute.
- Process-porn rule: a process artifact must name its consumer, the gate it enforces, the observed defect class, and its deletion condition at creation time, or it does not get created
- Refusal calibration: guard-only work gets a refusal-only label and stays open; refusal paths never close a positive-capability bead
- 29 stable citation IDs: RH-1..12 reward-hacking patterns, SM-1..12 swarm-mechanics Goodhart controls, PL-1..5 proof-laundering controls
- DOCTRINE-BOOTSTRAP: poison-gated tracker policy, root doctrine bead with inherited agent_context, frozen checkbox acceptance criteria, and a startup canary that tests whether policy is actually enforced
- credit-audit.sh and policy-canary.sh: a read-only sweep for counterfeit progress plus a guided enforcement probe that mutates only with --execute
- AP-62..72 and OC-047..051: ceremony drift, refusal farming, close-pump, coverage laundering, gate self-weakening, and their tick-level countermeasures
- The meta-trap, documented: doctrine work is also ceremony, and the deliverable count is the number that has to move
- Ergonomics pass: intent router, fast-lookup tables, full pattern indexes, and grep-recipe Quick Search in both kernels
The new HONEST-CREDIT reference is the doctrine: a process artifact may exist only as a hard gate for a named feature, and the test for ceremony is whether running code branches on the artifact. Refusal calibration cuts both ways, since a typed refusal beats a fabricated result yet never closes a positive-capability bead. The known exploits each get a stable citation ID: twelve reward-hacking patterns (RH-1..12, from gate self-weakening to demo-path hardcoding), twelve swarm-mechanics Goodhart controls (SM-1..12, from commit-count gaming to fresh-checkout contamination), and five proof-lau
vibing-with-ntm v7: a score >= 2 and a seven-field proof card before any nudge, restart, or shutdown, plus an eight-step tick loop and a ten-row swarm-pathology table
v6 catalogued what breaks when the orchestrator trusts the wrong signal; v7 says what it must prove before it acts. Every intervention stronger than a read-only check is scored as (Evidence x Impact x Reversibility) / Blast Radius, and only scores of 2.0 or more proceed. The eight-step Tick Loop and the Operator Proof Card make that mandatory, a ten-row Swarm Pathology table maps each symptom to a first move, and new Metrics and Checklist sections make closeout reportable.
- The One Rule: a swarm is not stuck, done, or blocked until pane truth, robot state, work graph, and git evidence agree. Cold Start forbids reading every reference first; it runs one bounded tick (snapshot, tail suspects, match one card, act on one pane, verify) and falls back to the attention feed.
- Mandatory eight-step Tick Loop in SKILL.md (BASELINE -> ATTEND -> CLASSIFY -> SCORE -> ACT -> VERIFY -> STOP CHECK -> LOG). Codifies when each ntm command applies, why blanket nudges are wrong, and when STOP is the correct move for a queue-dry swarm instead of manufacturing work.
- Intervention Score Matrix: Score = (Evidence x Impact x Reversibility) / BlastRadius, each axis 1-5, with a 2.0 floor for action. Worked examples: a terse prompt to one idle pane scores 60 (yes); 'broadcast status? to all panes' scores 0.75 (no); killing a pane over 'Cogitated 35m' scores 0.75 (no).
- Operator Proof Card: before any nudge, restart, force-release, or shutdown, fill seven fields: evidence sources that agree, card matched, target panes, expected state change, reversibility plan, verification command, escalation rung. No proof card, no nudge.
- Swarm Pathology Triggers table, ten rows: prose treadmill, false convergence, stale robot state, rate-limit mirage, coordination drag, reservation deadlock, review bead flood, context cliff, queue-dry ambiguity, operator overreach. Each row names the smell, the first detector, and the first move.
- Pattern Tiers with proof and guard columns: Tier 1 low-risk tending (attention-feed wait, terse single-pane nudge, graph refresh), Tier 2 directed recovery (account rotation, smart restart, context handoff), Tier 3 session policy (review-only mode, queue-dry stand-down, shutdown).
- Reportable closeout: a Metrics table names seven deltas to summarize per tending turn (commits landed, beads closed vs opened, in-flight unchanged ticks, pane interventions, degraded sources, queue state, residual risk); the Checklist forbids ending on 'the swarm seems fine'.
- Helper scripts hardened against sparse br JSON: orchestrator-tick.sh and convergence-check.sh handle object- and array-shaped br ready / br list output, return -1 instead of crashing when br or jq are missing, and resync to the snapshot vocabulary. Fixes false-zero convergence counts.
- Hardening across all nine references: ANTI-PATTERNS gains red flags, OPERATOR-CARDS gains proof-card discipline and tier escalations, PLAYBOOK is rewired around the Tick Loop, and the manifest description shrinks from about 450 characters to about 190.
vibing-with-ntm v6: classify pane state from tail phrases, fix the silent bare-zsh drop after --robot-restart-pane, and seven zero-token operator scripts
The revision encodes what breaks when the orchestrator trusts the wrong signal. Timer labels freeze while the agent keeps landing commits. --robot-restart-pane drops the pane to bare zsh before the agent CLI is relaunched. Tmux window indices are not always :0. Seventeen new operator cards, nineteen new anti-patterns, and seven zero-token bash helpers codify the fixes, plus a scan-match table at the top of SKILL.md that routes any phrase in the pane tail to the right card in seconds.
- Liveness Truth Stack in SKILL.md: five ordered signals, each catching lies from the one above. pane_current_command, capture-pane -S -20, git log plus pgrep, --robot-is-working, source_health. Two layers disagreeing forces a resync before any state-changing action.
- Two-step relaunch for --robot-restart-pane (OC-027). The nuclear restart drops the pane to bare zsh; the agent CLI does not auto-launch, and --restart-prompt runs as a broken shell command. Sequence now: respawn, tmux send-keys cc Enter, wait 10s, then ntm --robot-send marching orders.
- Red-Flag Phrases scan table in SKILL.md. Fifteen exact-or-near substrings in the pane tail map directly to the card that handles each: 'Ready for validation' to OC-036, 'zsh: command not found' to OC-027, codex idle placeholders to the do-not-nudge rule. Scan, match, apply.
- Handoff-failure detection (OC-036, AP-43). 'Ready for validation', 'MISSION ACCOMPLISHED', 'Awaiting review' mean the agent finished in memory and parked, not that the work is done. Self-close prompt forces the pane to commit, push, and br close without waiting.
- Seven zero-token bash helpers in scripts/. orchestrator-tick.sh prints a one-screen tick snapshot; convergence-check.sh exits 0 when three OC-016 conditions hold for two ticks (for /loop); pane-liveness-audit.sh flags dead-CLI panes; process-contention-sweep.sh lists parasitic PIDs.
- Cross-session zombie sweep (OC-031, AP-49). Bead DB and cargo registry locks often originate in unrelated closed terminals, not the current swarm. The sweep lists long-running processes with their /proc/<pid>/cwd and flags D-state processes that block SQLite writes filesystem-wide.
- Disk trajectory beats absolute threshold (OBSERVABILITY.md, OC-032, AP-50). Delta-per-tick tracking warns at 50% used with growth over 3pp/tick, before the disk fills and fuzz corpora fail silently. Partner card mandates per-pane CARGO_TARGET_DIR so sweeps scope per-agent.
- 19 named anti-patterns (AP-39..AP-57): hardcoded :0 window index when pane-base-index=1, --robot-tail trusted for transient state, timer labels misread as productivity, codex single-Enter leaving text in the buffer, dcg false-positives on prose with rm -rf, and more.
- Session-scoped skill-rotation de-duplication (OC-041, AP-56). Per-pane skill history across the whole session, not just the current tick. Round-robin with recent-N exclusion stops a pane from getting /testing-metamorphic in round 1 and again in round 4 and reporting 'Already covered'.
- When-to-use disambiguation plus SELF-TEST.md. SKILL.md lists seven contexts where this skill applies and six where to skip it, five pointing to a sibling skill. SELF-TEST.md adds 18 should-trigger phrases and 7 should-skip phrases routed to siblings (/ntm, /agent-mail, /br, /bv, /caam, and others).
vibing-with-ntm v4: autonomous recovery from stuck panes and a review-only mode that works with any agent
The skill expanded from 'how to spawn an NTM swarm' into an operator's handbook for when panes stall on /rate-limit-options dialogs, codex pastes sit in limbo, claude panes show stale 'resets 3pm' rate-limit messages long after the limit lifted, or agents drift into writing prose about code instead of writing code. The orchestrator now probes, rotates, and restarts without waiting on the human. Ships 25 operator cards and 38 named anti-patterns distilled from real swarm post-mortems.
- Autonomous unstick ladder: ping-probe before rotating, ntm rotate --all-limited for pool-exhausted accounts, --robot-smart-restart --hard-kill when a CLI is wedged, and the nuclear --robot-restart-pane that bypasses CLI cooperation. No more waiting for a human to pick option 2 from a dialog.
- 25 operator cards (OC-001..OC-025), each with trigger, failure mode, recipe, prompt module, and validator. Distilled from real swarm post-mortems: rate-limit probing, stuck-pane escalation, domain assignment, saturated-context replacement, mail-down fallback, convergence termination.
- 38 named anti-patterns (AP-1..AP-38) organized by flow phase: dispatch, observation, pane lifecycle, coordination, scale, dev-loop, meta. Every entry has symptom, root cause, and a pointer to the operator card that fixes it.
- ROBOT-MODE.md covers 40+ robot flags (--robot-is-working, --robot-health-oauth, --robot-health-restart-stuck, --robot-switch-account, --robot-wait --wait-until=rate_limited, and the rest) and how to list the full 135+ surface registry. The skill teaches them instead of hand-grepping pane buffers.
- Error taxonomy with concrete recovery paths for CURSOR_EXPIRED, QUOTA_EXCEEDED, ENTITY_NOT_FOUND, SOURCE_UNAVAILABLE, REQUEST_INVALID. The three-observation rule gates state-changing actions: three independent signals (real-time, persistent, system) before restart or rotate.
- Observability discipline: per-source freshness thresholds (tmux < 5s, beads < 30s, mail < 60s, quota < 300s), attention state machine, git-log productivity check. The loop stops when all hold: no commits in the last hour, convergence language in every pane for 2+ ticks, zero ready beads.
- Review-only mode works with cc, cod, gmi, or any mix: each round is P1 study, then three explore (P2) and cross-review (P3) passes separated by P4 nudges, then kill-and-relaunch. Includes quality rubric, severity tagging, mixed-swarm ratios (5:1, 10:4, 20:4), and hot mode-switch prompts.
- Orchestrator Decision Tree at the top of SKILL.md: an 8-branch flow for one operator tick. If cursor expired, resync. If any pane rate-limited, probe then rotate. If stuck ≥3 ticks, climb the escalation ladder. If prose-without-commits, dispatch Ship-or-Surface.
- Four automation surfaces with convergence-gated tick scripts: /loop, CronCreate, shell cron, schedule. Rate-limit wake via --robot-wait --wait-until=rate_limited means the orchestrator sleeps until the wall drops, not for a guess at when.
- Cross-references 19 related skills (ntm, agent-mail, br, bv, caam, flywheel-with-two-agents-per-repo, code-review-gemini-swarm-with-ntm, and more) instead of duplicating. The Gemini review swarm skill keeps its model-specific knobs; review-only mode here generalizes.
New: Vibing with NTM, the multi-agent swarm playbook
A playbook for running parallel coding swarms with NTM, Agent Mail, Beads, and BV. Covers everything from spawning your first swarm to coordinating dozens of Claude, Codex, and Gemini agents across several projects.
- Spawn and monitor swarms of Claude Code, Codex, and Gemini agents in parallel, with a 30-second stagger so Agent Mail registrations don't get dropped
- Coordinate work via Agent Mail messaging and file reservations, and assign beads using bv's graph-aware recommendations
- Quality loops with exact prompts for self-review, cross-review, and random code exploration, plus the steady-state signal that a swarm is working
- Recovery patterns for stuck agents, usage limits, idle-agent drift, file thrashing, and beads left DONE but not closed
This skill captures patterns from real multi-agent development sessions. It covers marching orders, quality review loops, agent-to-agent messaging and file reservations, bead-based task distribution with bv, operator tending through the attention feed, usage-limit detection and account rotation, and recovery when agents get stuck or drift.