计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
background-prompt【效率与协作】Execute a task in the background with a prompt through the core engine LLM provider and return plain text output. Use when the user wants to run a prompt as a background task via the Agent CLI.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Run a prompt as a background task through the local core/bin/agent-cli tool.
As an expert in your assigned roles, you must announce your actions before performing them using the following format:
As a {Role, and Role-XYZ if have more roles}, I will {action description}
This communication pattern ensures transparency and allows for human-in-the-loop oversight at key decision points.
Follow these steps in order:
Ensure the user wants to run a background prompt. If not explicit, ask for confirmation before invoking.
Compose one concise prompt string from user instructions. Keep task scope explicit and include required output format details.
Run from repository root:
core/bin/agent-cli "<prompt>"
Optional overrides only if user requests:
core/bin/agent-cli --provider <provider-id> --sandbox --auto --network "<prompt>"
Return the command output as plain text to the user. If command fails, include the error text and a concrete retry suggestion.
core/bin/agent-clicore/bin/agent-cli as the primary execution path