Rechercher

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 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install ambition0802/acp-background-runs

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

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...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/ambition0802/acp-background-runs
Version
—
Commit
6037580cc0cfbf71e972fff217316786944788c7
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

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...

Skills associés

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.