本文へ移動
cccskills
無料GitHub で公開

amq-cli

Coordinate coding agents through AMQ. Use for agent messages, inboxes, receipts, sessions, wake delivery, cross-project routing, managed launches, or AMQ diagnostics. Use amq-spec for collaborative design; do not use this for general message queues or single-agent work.

インストール方法を見る

含まれるファイル(9)

  • SKILL.md7.6 KB
  • references/coop-mode.md5.6 KB
  • references/cross-project.md5.6 KB
  • references/integrations.md4.1 KB
  • references/message-format.md3.1 KB
  • references/operations.md38.6 KB
  • references/registered-machine.md6.0 KB
  • references/review-loop.md1.8 KB
  • references/swarm-mode.md2.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

AMQ CLI

Use the amq CLI for all queue operations. Never edit Maildir files directly. AMQ transports coordination; the caller or orchestrator still owns task planning, worktrees, approvals, and delivery.

Start in the correct context

Inside coop exec, use the environment as provided and run bare amq commands. Do not override --me or reconstruct the root. Outside it, resolve and export the complete context before reading or sending:

amq_context="$(amq env --me "<handle>" --export)" && eval "$amq_context" &&
  amq drain --include-body

For a named session, add --session <name> to amq env. Treat the evaluated context as one terminal bound to one session. Use --session or --project for deliberate routing; do not point a participating command at another queue with a raw --root.

Receive under a live wake

If session-start context says wake=live(...), or amq wake check --me <handle> --json reports live_wake: true with an injection mode other than none, the wake delivers a doorbell for you. Run amq drain --include-body when it fires, then act on the messages.

Do not run amq watch, amq monitor, sleep-poll, or start another inbox watcher under that live wake. A blocking wait holds your turn while the doorbell queues behind it. When your work is done, finish the turn; do not keep a tool running or send idle check-ins just to wait for mail.

A wake can hold its first doorbell for routine mail with the hold_normal and hold_low settings; 5m / 30m is an opt-in example. One drain takes all pending mail, and the configured retry policy applies after the first attempt. Urgent priority skips the hold. Ordinary urgent mail still passes through debounce and input deferral; urgent mail with the configured interrupt label follows the interrupt path. Use --priority urgent on send or reply for time-critical verdicts and unblocking requests. Other review responses remain normal by default.

Wake settings (hold, debounce, preview, bell, input deferral, interrupt notice) live in .wake.settings and apply to a running wake. Change your own or a peer's wake without a restart:

amq wake config --me <handle>                           # show
amq wake config --me <handle> --hold-normal 5m --wait   # set, wait for apply
amq wake config --me <handle> --unset hold_normal       # back to default
amq wake config --me <handle> --reset --hold-low 30m    # replace the file

Set a default for every wake of this user on this machine with --machine (no --me); a per-agent value overrides it per key, and --unset falls back to the next layer:

amq wake config --machine --hold-normal 5m --hold-low 30m  # machine default
amq wake config --machine --unset hold_low                 # back to default

A refused file shows file: refused: <err> with default rows (the wake keeps its last applied settings); set and --unset exit 1 and point at --reset. A running wake that reports no live settings shows unreported: --wait exits 6 after 5 s, and set/--unset on an absent file exit 6 after the same 5 s. Causes: an older image, a failed status write, or a resumed wake still storing its command-line settings in the file (wait a moment). Otherwise restart that wake (a resume seeds the file) or --reset with the full set. A missing mailbox exits 3.

Flags fixed for a running wake (--inject-mode, --inject-via, --inject-arg, --inject-cmd, --interrupt-cmd, --retry-until) are refused; restart the wake through its owning terminal after amq wake check. Repair, coop exec, keepalive, and self-upgrade keep the stored settings; a resume with no file seeds it once from its argv settings flags.

Without an injecting wake, use the receive methods in the operations guide. A notify-only wake (--inject-mode none) paired with a supervisor monitor service is a separate supported setup.

Route the task

NeedRead or run
Send, reply, drain, inspect receipts, or diagnoseUse the operations guide.
Two-agent research and designUse the amq-spec skill.
Co-op roles and phased collaborationRead co-op mode.
Claude Code Agent TeamsRead swarm mode.
Cross-project delivery or decision threadsRead cross-project routing.
Grok Bot on a registered MacRead registered-machine execution.
Symphony or Kanban adaptersRead integrations.
Message schema detailsRead message format.
Multi-round background reviewRead review loop.
Attach to a running harness sessionRead the amq-remote reference.

Use amq <command> --help for current flags. The repository README is the canonical setup path.

Remote

amq-remote is a companion binary, not an amq subcommand. It attaches to a harness session that is already running. Targets are declared in <AM_ROOT>/extensions/remote/manifest.json (claude, codex, pi, or fake). up supervises the endpoint; submit, status, wait, and cancel talk to it; share mints the session body key. A manifest relay object shares a target with its owner over a Buzz relay. DM commands require the pinned native_session_id and run only while that session is attached; Desktop presence reports the attachment status and honors the pin when one is set. doctor lists each failing boundary under failing and exits 6 while any remains. Flags and exit codes are in the amq-remote reference. The design is the remote-control ADR. Pinned seams are the compatibility manifest.

Safety and delivery rules

  • A wake notification is attention, not consumption proof. Use receipts or --wait-for drained when delivery proof matters.
  • Preserve the existing thread when replying. Drain again after a doorbell; the newest complete message body is authoritative.
  • Cleanup is explicit through amq cleanup. Do not add automatic deletion.
  • Before any wake mutation, run amq wake check --me "<handle>" --json. Act only when restart_capability=agent_safe; otherwise preserve state and report the required operator action.
  • Keep cross-host payloads outside privileged inboxes until the configured bridge has authenticated and applied them. Never copy or remote-drain a foreign Maildir as a substitute for routing.
  • Do not translate native Windows injection into Unix wake or coop exec. Read the platform section in the operations guide when Windows is involved.
  • Dangerous provider bypass flags belong only on an operator-controlled direct coop exec command. Do not place them in committed launch configuration.

The full command catalog, environment precedence, setup flow, platform notes, operator gates, and examples are in the operations guide.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use AtomLane to compile and execute safe atomic parallel plans on macOS and native Windows Preview for worthwhile independent argv tasks, dependency DAGs, supported platform entrypoints, or Apple-silicon operators. Use at task start or an execution boundary when structured local work may contain two or more worthwhile units; skip plain answers, one quick command, and work whose effects cannot be safely bounded.

日本語の概要は準備中です。原文の説明を表示しています。

hashgraph-online/awesome-codex-plugins1,2752026年10月11日 更新

add

無料

Register a deferred decision in the debt registry. Trigger by judgment, not a marker scan, whenever a future reader would ask "why this way?": an unmade decision, stub, loosened type, bypassed check, swallowed error, a default picked "for now", or a TODO/FIXME/HACK/XXX marker. Trigger immediately whenever you defer work, or when the user invokes $add. Over-register freely; the developer drops with "drop A", "drop A,C", or "drop all".

日本語の概要は準備中です。原文の説明を表示しています。

hashgraph-online/awesome-codex-plugins1,2752026年10月11日 更新

ADK 框架适配层。为 LangChain / EINO / AutoGen / AgentScope / CrewAI 提供框架特定的 代码模板、惯用模式、API 映射和项目结构,供 agent-dev-workshop Phase 5 代码生成使用。 每个框架 reference 文件标注 verified_date 用于版本锁定。

日本語の概要は準備中です。原文の説明を表示しています。

hashgraph-online/awesome-codex-plugins1,2752026年10月11日 更新

中文调试修复技能。用于报错、测试失败、页面异常、功能不符合预期、需要定位根因并做最小修复时。触发语包括"进入调试模式""帮我修问题""报错了""测试失败""页面坏了""找根因"。

日本語の概要は準備中です。原文の説明を表示しています。

hashgraph-online/awesome-codex-plugins1,2752026年10月11日 更新

交互式 AI Agent 开发工作坊:通过 6 阶段深度协作对话,引导用户完成 Agent 需求分析、架构设计、 工具定义、Prompt 与编排设计、代码生成、验证迭代,产出可直接运行的 Agent 项目。 框架无关设计优先,支持 LangChain / EINO / AutoGen / AgentScope / CrewAI 等 ADK 框架。

日本語の概要は準備中です。原文の説明を表示しています。

hashgraph-online/awesome-codex-plugins1,2752026年10月11日 更新

中文漂移审计技能。用于项目或学习过程变乱、上下文漂移、任务分叉、多个方案冲突、命名不一致、Codex 可能顺手改多了时。触发语包括"漂移检查""感觉跑偏了""项目变乱了""检查是否失控""分叉太多""上下文漂移"。

日本語の概要は準備中です。原文の説明を表示しています。

hashgraph-online/awesome-codex-plugins1,2752026年10月11日 更新

hashgraph-online のスキルをすべて見る

このスキルの問題を報告する