ask

GitHub

用于在CCB系统中发起任务委托与协作。通过决策卡片判断是否需要委派、依赖关系及结果意图,结合防护规则确保正确选择参数(如chain、silence),实现可靠的跨Agent任务分发与结果处理。

inherit_skills/codex_skills/ask/SKILL.md SeemSeam/claude_codex_bridge

Trigger Scenarios

用户要求使用CCB进行任务委派 项目记忆提示需使用CCB ask功能

Install

npx skills add SeemSeam/claude_codex_bridge --skill ask -g -y
More Options

Non-standard path

npx skills add https://github.com/SeemSeam/claude_codex_bridge/tree/main/inherit_skills/codex_skills/ask -g -y

Use without installing

npx skills use SeemSeam/claude_codex_bridge@ask

指定 Agent (Claude Code)

npx skills add SeemSeam/claude_codex_bridge --skill ask -a claude-code -g -y

安装 repo 全部 skill

npx skills add SeemSeam/claude_codex_bridge --all -g -y

预览 repo 内 skill

npx skills add SeemSeam/claude_codex_bridge --list

SKILL.md

Frontmatter
{
    "name": "ask",
    "metadata": {
        "short-description": "Ask agent"
    },
    "description": "Send a request to a CCB agent with `ask`."
}

Use this skill when the user asks you to delegate with CCB, or when project memory says to use CCB ask for collaboration.

Decision Card

Before every ask, decide:

  1. Need delegation? If no, answer directly.
  2. Dependency gate:
    • Default: do not use --chain.
    • Use --chain only when the current active CCB task cannot finish until this exact child result arrives. Then stop for continuation.
    • Communication tests, batch sends, notifications, and independent work do not become chain dependencies merely because replies are requested.
  3. Result intent:
    • --silence: publish/execute task; success result not needed. Failures, blockers, risks, or required next actions still surface.
    • --compact: result wanted, but only distilled findings/status/risks/blockers/next actions.
    • + --artifact-reply: consultation/analysis/report where full text should be preserved.
    • plain ask: short question or short handoff where inline text is enough.
  4. Request fidelity:
    • + --artifact-request: exact transient input (logs/output/diffs/copied contents/config/JSON/YAML/table/structured text). Prefer repo paths when the target can read files directly.
    • --artifact-io: request and reply both need artifacts.

Guardrails

  • Do not probe --chain; if unsure there is an active parent job, use plain ask.
  • If CCB says ask --chain requires an active parent job, retry once with plain ask for user-requested delegation.
  • Never add --chain merely to make a rejected plain ask succeed. If the work is independent and no success result is needed, use --silence; otherwise report the routing limitation instead of inventing a dependency.
  • --chain and --silence usually conflict; avoid mixing unless explicit.
  • Avoid --silence --artifact-reply; silence means no caller result needed; artifact-reply preserves one.
  • Artifact flags are orthogonal to --chain, --silence, and --compact. They preserve content, not dependency shape.
  • Automatic spill for text over 4 KiB is a fallback, not the primary rule.
  • --artifact-* modes are CCB/daemon managed; targets do not write artifact reply files.
  • Plain nested ask from an active CCB task is rejected. Use --chain only for a real child dependency; use --silence for independent no-result work.
  • In A --silence -> B, B still runs an active job. B-to-C depends on whether B needs C's result.
  • In task chains, each needed-result hop uses --chain; CCB then propagates continuations.
  • Finish an inbound CCB task in its current turn.
  • If the original caller is a registered CCB agent, CCB routes that turn's terminal result through the existing lineage; do not open a new ask to report completion to the original caller.
  • Direct CLI submitters read terminal results from control output such as watch or trace.
  • If the current task is a CCB result-chain continuation, answer the current task directly with the final result. Do not use ask, --chain, or --silence to send that final result to the original caller; CCB routes the continuation completion upstream.
  • --silence is not an active-job correction channel. Use ccb followup <active_job_id> --message "<correction>" only when the target provider supports exact active-turn injection; only injected is success. On rejected, too_late, or terminal, cancel and resubmit the complete corrected task instead of queueing a correction as ordinary work.
  • A completed CCB job means provider execution ended normally; it does not by itself prove business acceptance.
  • ask get, pend, watch, and ping are diagnostics-only commands for explicit debugging requests, not normal ask workflow tools.
  • Do not manually append output-policy text; stable reply policy comes from managed CCB memory, and ask adds only requested compact/silent mode metadata.

Use no flags or insert selected flags before "$TARGET":

command ask "$TARGET" <<'EOF'
$MESSAGE
EOF
command ask --chain --artifact-reply "$TARGET" <<'EOF'
$MESSAGE
EOF

After submit, stop. Do not wait for a reply, do not run ask get / pend / ping / watch, and do not poll. For --chain, report only submitted.

Version History

  • 070e86f Current 2026-08-20 03:05

    优化了链式路由逻辑,明确要求仅在存在真实依赖时才使用--chain;重构代码,将CCB回复指导移至托管内存中。

  • b63b21d 2026-07-25 09:00

Same Skill Collection

dev_tools/skills/ccb-github/SKILL.md
inherit_skills/claude_skills/ccb-clear/SKILL.md
inherit_skills/claude_skills/ccb-compact/SKILL.md
inherit_skills/claude_skills/ccb-diagnose/SKILL.md
inherit_skills/codex_skills/ccb-clear/SKILL.md
inherit_skills/codex_skills/ccb-compact/SKILL.md
inherit_skills/codex_skills/ccb-diagnose/SKILL.md
inherit_skills/codex_skills/reconnect/SKILL.md
inherit_skills/droid_skills/ccb-clear/SKILL.md
inherit_skills/droid_skills/ccb-compact/SKILL.md
inherit_skills/droid_skills/ccb-diagnose/SKILL.md
inherit_skills/dsh_skills/ccb-clear/SKILL.md
inherit_skills/dsh_skills/ccb-compact/SKILL.md
inherit_skills/dsh_skills/ccb-diagnose/SKILL.md
inherit_skills/gemini_skills/ccb-clear/SKILL.md
inherit_skills/gemini_skills/ccb-compact/SKILL.md
inherit_skills/gemini_skills/ccb-diagnose/SKILL.md
inherit_skills/grok_skills/ask/SKILL.md
inherit_skills/grok_skills/ccb-clear/SKILL.md
inherit_skills/grok_skills/ccb-compact/SKILL.md
inherit_skills/grok_skills/ccb-diagnose/SKILL.md
inherit_skills/kimi_skills/ccb-clear/SKILL.md
inherit_skills/kimi_skills/ccb-compact/SKILL.md
inherit_skills/kimi_skills/ccb-diagnose/SKILL.md
inherit_skills/qoder_skills/ccb-clear/SKILL.md
inherit_skills/qoder_skills/ccb-compact/SKILL.md
inherit_skills/qoder_skills/ccb-diagnose/SKILL.md
tools/codex-reconnect/skills/reconnect/SKILL.md
inherit_skills/claude_skills/ask/SKILL.md
inherit_skills/droid_skills/ask/SKILL.md
inherit_skills/dsh_skills/ask/SKILL.md
inherit_skills/gemini_skills/ask/SKILL.md
inherit_skills/kimi_skills/ask/SKILL.md
inherit_skills/qoder_skills/ask/SKILL.md
useful_tools/claude_skills/plan-tree/SKILL.md
useful_tools/codex_skills/plan-tree/SKILL.md

Metadata

Files
0
Version
070e86f
Hash
9c2491ed
Indexed
2026-07-25 09:00

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 14:53
浙ICP备14020137号-1 $Гость$