首页/ AI 技能 / @skilllib/skill-2117939930272414707
Skill站外收录 @skilllib/skill-2117939930272414707

oask

通过命令行将任务请求同步发送至 OpenCode 并等待响应,适用于用户明确委托外部编码系统处理任务的场景,在执行期间保持静默直至结果返回。

0.0 (0) 24 次安装 原作者 编程导航
收录于 2026-01-22
数据与分析 AI 技能

Skills.MD

# oask (Ask OpenCode) Use `oask` to forward the user's request to the OpenCode pane. ## Prereqs (Backend) - `oping` should succeed. - `oask` must run in the same environment as `ccb` (WSL vs native Windows). ## Execution (MANDATORY) ```bash oask --sync -q <<'EOF' $ARGUMENTS EOF ``` ## Workflow (Mandatory) 1. Ensure OpenCode backend is up (`oping`). 2. Run the command above with the user's request. 3. **IMPORTANT**: Use `timeout_ms: 3600000` (1 hour) to allow long-running tasks. 4. DO NOT send a second request until the current one exits. ## CRITICAL: Wait Silently (READ THIS) After running `oask`, you MUST: - **DO NOTHING** while waiting for the command to return - **DO NOT** check status, monitor progress, or run any other commands - **DO NOT** read files, search code, or do "useful" work while waiting - **DO NOT** output any text like "waiting..." or "checking..." - **JUST WAIT** silently until oask returns with the result The command may take 10-60 minutes. This is NORMAL. Be patient. If you find yourself wanting to do something while waiting, STOP. Just wait. ## Notes - Always use `--sync` flag when calling from Codex. - Do not use `--async` from Codex: it returns immediately (no output), which causes the next task to be sent before the previous one completes.

评论 0

还没有评论,来抢沙发。