AGENT SKILL

cxb-ask

Async via ask, end turn immediately; use when user explicitly delegates to any AI provider (gemini/codex/opencode); NOT for questions about the providers themselves.

License 许可
MIT
最近更新
2026-05-06
Stars
★ 2
Forks
0

01 前言 Front Matter

name
cxb-ask
metadata
{ "short-description": "Ask AI provider asynchronously" }
description
Async via ask, end turn immediately; use when user explicitly delegates to any AI provider (gemini/codex/opencode); NOT for questions about the providers themselves.

02 资源文件 1

03 SKILL.md 正文

Ask AI Provider (Async)

Send the user's request to specified AI provider asynchronously.

Usage

The first argument must be the provider name, followed by the message:

  • gemini - Send to Gemini
  • codex - Send to Codex
  • opencode - Send to OpenCode

Execution (MANDATORY)

Bash(CURDX_CALLER=claude cxb-ask $PROVIDER "$MESSAGE")

Rules

  • Follow the Async Guardrail rule in CLAUDE.md (mandatory).
  • Local fallback: if output contains CURDX_ASYNC_SUBMITTED, end your turn immediately.
  • If submit fails (non-zero exit):
    • Reply with exactly one line: [Provider] submit failed: <short error>
    • End your turn immediately.

Examples

  • /cxb-ask gemini What is 12+12?
  • /cxb-ask codex Refactor this code
  • /cxb-ask opencode Analyze this bug

04 同仓库更多 Skills