Agent Skillsaskman-dev/coding-agent-starter › tmux-agent-master

tmux-agent-master

GitHub

用于协调基于tmux的worker代理,管理工人注册、创建协议、就绪检查及路由规则。定义权限边界,配合steward技能分配具体工作,确保任务安全分发与最终审核。

.agents/skills/tmux-agent-master/SKILL.md askman-dev/coding-agent-starter

Trigger Scenarios

需要创建新的tmux worker代理 查询现有worker列表或状态 根据任务类型选择并路由给合适的worker 验证worker是否已就绪且可信任

Install

npx skills add askman-dev/coding-agent-starter --skill tmux-agent-master -g -y
More Options

Non-standard path

npx skills add https://github.com/askman-dev/coding-agent-starter/tree/main/.agents/skills/tmux-agent-master -g -y

Use without installing

npx skills use askman-dev/coding-agent-starter@tmux-agent-master

指定 Agent (Claude Code)

npx skills add askman-dev/coding-agent-starter --skill tmux-agent-master -a claude-code -g -y

安装 repo 全部 skill

npx skills add askman-dev/coding-agent-starter --all -g -y

预览 repo 内 skill

npx skills add askman-dev/coding-agent-starter --list

SKILL.md

Frontmatter
{
    "name": "tmux-agent-master",
    "description": "Use when creating, registering, inspecting, or routing work across tmux-backed worker agents. Defines the worker registry, creation protocol, readiness checks, routing rules, and authority boundaries. Pair with tmux-worker-steward when assigning concrete work."
}

Tmux Agent Master

Use this skill when a project coordinates tmux-backed worker agents.

This skill answers:

  • Which worker agents exist?
  • How should a new worker be created?
  • What is each worker good for?
  • Which worker should receive a given task?
  • What must be verified before trusting that a worker is ready?

Pair it with tmux-worker-steward whenever the master assigns concrete work. This skill manages the worker pool and routing. tmux-worker-steward manages delegation, supervision, output review, and correction.

Worker Registry

Each project should maintain a short worker registry before using tmux workers. The registry may live in this skill, a project AGENTS.md, or another repo-local instruction file.

Record each worker with:

### <worker-name>

- Session: `<tmux-session-or-window>`
- Working directory: `<absolute-or-repo-relative-path>`
- Role: <primary role>
- Strengths: <what this worker is good at>
- Best use: <task shapes to send here>
- Cost profile: <cheap, moderate, expensive, scarce, etc.>
- Boundaries: <what this worker should not decide or do>
- Submission method: <Enter, Ctrl+Enter, headless command, or other verified path>

Keep worker identity separate from worker role. A model, CLI, or session can be replaced while the role remains useful.

Creation Protocol

Before creating a worker:

  1. Define the worker role and why an existing worker is not enough.
  2. Choose a stable session name that includes the project and role.
  3. Choose the working directory.
  4. Decide allowed actions: read-only, command execution, network/search, editing, or explicitly no destructive actions.
  5. Decide how the worker will receive prompts and how readiness will be checked.

After creating a worker:

  1. Verify the session exists.
  2. Verify the process is running in the intended working directory.
  3. Send a small visible probe or use the worker's non-interactive command mode.
  4. Confirm the prompt was submitted, not merely typed into an input box.
  5. Add or update the worker registry entry.

Useful inspection commands:

tmux list-sessions
tmux list-windows -a
tmux list-panes -a -F '#{session_name}:#{window_index}.#{pane_index} window=#{window_name} cmd=#{pane_current_command} cwd=#{pane_current_path} title=#{pane_title}'
tmux capture-pane -p -t <session-or-pane>

Routing Rules

Match workers to task properties:

  • Final judgment, code changes, or high-risk decisions: keep with the master.
  • Second opinion, risk review, or competing design: use a strong reasoning worker.
  • Broad repo search, document survey, or evidence gathering: use a scout worker.
  • Cheap bounded summarization, counting, formatting, or checklist work: use a low-cost worker.

Do not delegate final authority. Worker output is advisory until reviewed by the master or steward.

Authority Boundaries

The master owns:

  • task decomposition
  • worker selection
  • permission boundaries
  • final synthesis
  • deciding what evidence is trustworthy
  • deciding whether code should change

Workers may:

  • inspect files, logs, docs, artifacts, and process state within their scope
  • produce summaries, candidate explanations, options, and recommendations
  • run allowed commands when the project and user allow it

Workers must not:

  • perform destructive actions without explicit approval
  • make final release, merge, deletion, or irreversible infrastructure decisions
  • treat their own output as accepted without master/steward review

Readiness And Submission Checks

Never assume a tmux worker received a task just because text appears in the pane. Verify one of:

  • the worker is thinking
  • the worker is running tools or commands
  • the worker has started responding
  • the non-interactive command returned an output artifact

If submission is uncertain, correct the interaction before waiting for results.

Handoff To Steward

When assigning concrete work, hand off to tmux-worker-steward with:

  • selected worker
  • objective
  • scope
  • allowed actions
  • forbidden actions
  • expected output
  • evidence requirements

The steward should supervise the worker and review the answer before it reaches the user or drives implementation.

Version History

  • fcf3431 Current 2026-07-05 14:42

Same Skill Collection

.agents/skills/draft-issue/SKILL.md
.agents/skills/quantified-milestone/SKILL.md
.agents/skills/task-brief/SKILL.md
.agents/skills/task-lifecycle/SKILL.md
.agents/skills/tmux-worker-steward/SKILL.md

Metadata

Files
0
Version
fcf3431
Hash
2c013c3d
Indexed
2026-07-05 14:42

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-08 20:59
浙ICP备14020137号-1 $Carte des visiteurs$