tmux-agent-launcher
Launch Claude, OpenCode, Codex, or Harnessy (`hsy`) in a named tmux session from the command line or agent workflows.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 13
- Forks
- 6
01 前言 Front Matter
- name
- tmux-agent-launcher
- description
- Launch Claude, OpenCode, Codex, or Harnessy (`hsy`) in a named tmux session from the command line or agent workflows.
- allowed-tools
- Read, Bash
- argument-hint
- --runner <claude|opencode|codex|hsy> [session-name] [options] [--permission-mode bypass|default] [-- <runner-args>...]
- disable-model-invocation
- true
02 资源文件 4
- 参考文档commands/tmux-agent-launcher.md9.0 KB
- 参考文档manifest.yaml1013 B
- 脚本scripts/t64 B
- 脚本scripts/tmux-agent-launcher13.4 KB
03 SKILL.md 正文
Tmux Agent Launcher
Purpose
Launch claude, opencode, codex, or Harnessy (hsy) inside a named tmux session, attach to an existing named tmux session, or list tmux sessions, without re-implementing the logic in the skill.
Inputs
-
runner:
claude,opencode,codex, orhsy -
optional session name; when omitted, prompt for a name defaulting to the current folder and generate
{name}-{runner}-{index} -
optional mode:
attach -
optional mode:
list -
optional
--cwd <path> -
optional
--attach; launch mode attaches by default -
optional
--no-attachto leave the new session detached -
optional
--dry-run -
optional
--permission-mode <bypass|default>; defaults to the per-user Harnessy install config, thenbypass. This setting injects no flags forhsy, which has no sandbox or per-tool approval boundary. -
optional
--skip-permissions/--no-skip-permissions -
optional
-- <runner-args>...: arguments passed directly to the selected agent CLI. Forhsy, project-resource trust remains explicit through passthrough flags such as-- --approveor-- --no-approve. -
Template paths are resolved from
${AGENTS_SKILLS_ROOT}/tmux-agent-launcher/.
Steps
- Read the command contract at
${AGENTS_SKILLS_ROOT}/tmux-agent-launcher/commands/tmux-agent-launcher.md. - Validate that the request includes a supported runner; session name is optional in launch mode.
- Execute
tmux-agent-launcherwith the requested arguments. - Prefer
--jsonwhen the caller needs machine-readable output. - Return the script output as-is rather than duplicating launch logic in the skill.
Deterministic Logic (Scripts)
- Source of truth:
${AGENTS_SKILLS_ROOT}/tmux-agent-launcher/scripts/tmux-agent-launcher - Input contract: documented in the command contract
- Output contract: human mode and
--json
Output
- The launcher script's stdout/stderr and exit semantics.
04 同仓库更多 Skills
personal-knowledge
Save sources to the private Harnessy learning library, sync delivered readings, answer questions from saved evidence, browse its wiki, and generate weekly learning reviews.
valid-skill
A valid skill for testing purposes.
unknown-field
A skill with an unknown frontmatter field.
nested-child
Nested skill should be ignored.
root-skill-preferred
Root skill should win.
no-frontmatter
暂无简介