搜索

PythonReactSEOPDF
OpenClaw

acp-background-runs

Route requests for ACP or external coding agents such as Codex, Claude Code, Gemini CLI, and OpenCode into non-blocking OpenClaw background ACP runs instead of executing synchronously in the current chat. Use when a user wants to hand coding work to an external agent and expects the current conversation to continue without waiting. Triggers: "ACP", "Codex", "Claude Code", "Gemini CLI", "OpenCode", "background run", "background task".

ambition08020 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install ambition0802/acp-background-runs

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

ACP / Codex Background Runs

When a user asks to use ACP or an external coding agent such as Codex, Claude Code, Gemini CLI, or OpenCode, do not execute the task synchronously in the current chat. Route it through the ACP runtime instead.

Default Rules

  • Prefer sessions_spawn and set runtime: "acp" with the appropriate agentId
  • Default to mode: "run"
  • Only use thread: true or mode: "session" when the user explicitly asks for an ongoing interactive or thread-bound session
  • Set cwd when the target repository or directory is known
  • Prefer absolute paths for cwd; do not pass ~ directly, expand it first
  • Use a relaxed runTimeoutSeconds for longer tasks; do not mechanically default to 300
  • Do not wait in the current conversation and do not poll for progress
  • Reply immediately after submission that the task has been accepted and is running in the background
  • Rely on sessions_spawn completion notifications to send the final result back to the current conversation
  • Only add streamTo: "parent" when the user explicitly asks for progress updates

Default Handling

If the user is simply dispatching an ACP / Codex task and does not explicitly request a persistent interactive session, treat it as a one-shot background run. Do not block the current conversation. Send the result back only when the background run completes.

Timeout Guidance

  • Quick read-only checks, short analysis, light tasks: runTimeoutSeconds: 120-300
  • Normal coding tasks, project inspection, small scoped edits: runTimeoutSeconds: 600
  • Research, code changes, file generation, test runs, longer reports: runTimeoutSeconds: 1200
  • Clearly long-running tasks: increase further to 1800-3600 as needed
  • Do not default to 0; only use 0 when the user explicitly wants no timeout

mode / thread Decision Rules

  • If the user only wants the external agent to finish a task in the background, use mode: "run"
  • If the user explicitly wants to continue talkin...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/ambition0802/acp-background-runs
Version
—
Commit
6037580cc0cfbf71e972fff217316786944788c7
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# ACP / Codex Background Runs

When a user asks to use ACP or an external coding agent such as Codex, Claude Code, Gemini CLI, or OpenCode, do not execute the task synchronously in the current chat. Route it through the ACP runtime instead.

## Default Rules

- Prefer `sessions_spawn` and set `runtime: "acp"` with the appropriate `agentId`
- Default to `mode: "run"`
- Only use `thread: true` or `mode: "session"` when the user explicitly asks for an ongoing interactive or thread-bound session
- Set `cwd` when the target repository or directory is known
- Prefer absolute paths for `cwd`; do not pass `~` directly, expand it first
- Use a relaxed `runTimeoutSeconds` for longer tasks; do not mechanically default to `300`
- Do not wait in the current conversation and do not poll for progress
- Reply immediately after submission that the task has been accepted and is running in the background
- Rely on `sessions_spawn` completion notifications to send the final result back to the current conversation
- Only add `streamTo: "parent"` when the user explicitly asks for progress updates

## Default Handling

If the user is simply dispatching an ACP / Codex task and does not explicitly request a persistent interactive session, treat it as a one-shot background run. Do not block the current conversation. Send the result back only when the background run completes.

## Timeout Guidance

- Quick read-only checks, short analysis, light tasks: `runTimeoutSeconds: 120-300`
- Normal coding tasks, project inspection, small scoped edits: `runTimeoutSeconds: 600`
- Research, code changes, file generation, test runs, longer reports: `runTimeoutSeconds: 1200`
- Clearly long-running tasks: increase further to `1800-3600` as needed
- Do not default to `0`; only use `0` when the user explicitly wants no timeout

## `mode` / `thread` Decision Rules

- If the user only wants the external agent to finish a task in the background, use `mode: "run"`
- If the user explicitly wants to continue talkin...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.