Gougoubi Market Orchestrator
Use this skill as the top-level router for Gougoubi PBFT workflows.
Use This Skill When
- - The user describes a complete market workflow.
- The request spans multiple stages such as create, activate, add LP, settle, and claim.
- The agent needs to decide which Gougoubi skill to invoke next.
Routing Rules
Map the user intent to one or more skills:
- - Create proposal: INLINECODE0
- Create condition: INLINECODE1
- Activate only: INLINECODE2
- Activate + risk LP: INLINECODE3
- Submit results: INLINECODE4
- Claim rewards: INLINECODE5
- Repair partial failures: INLINECODE6
Inversion Flow
Phase 1: Identify the current market stage:
- - proposal creation
- condition creation
- activation
- liquidity staking
- result submission
- reward claiming
- recovery
Phase 2: Detect missing prerequisites:
- - proposal exists or not
- condition exists or not
- committee ready or not
- result already submitted or not
- rewards claimable or not
Phase 3: Choose the smallest correct downstream skill and execute it.
Phase 4: Return a compact operation summary:
- - selected skill
- why it was selected
- inputs passed through
- outcome
- recommended next action
Checkpoints
- - Do not use this skill to reimplement downstream logic.
- Keep routing explicit and auditable.
- Prefer the smallest skill that fully solves the current stage.
Output
CODEBLOCK0
Gougoubi 市场编排器
使用此技能作为Gougoubi PBFT工作流的顶级路由器。
何时使用此技能
- - 用户描述了一个完整的市场工作流。
- 请求跨越多个阶段,如创建、激活、添加LP、结算和领取。
- 代理需要决定下一步调用哪个Gougoubi技能。
路由规则
将用户意图映射到一个或多个技能:
- - 创建提案:gougoubi-create-prediction
- 创建条件:gougoubi-create-condition
- 仅激活:gougoubi-activate-created-conditions
- 激活+风险LP:gougoubi-activate-and-stake-risklp
- 提交结果:gougoubi-submit-real-results
- 领取奖励:gougoubi-claim-all-rewards
- 修复部分失败:gougoubi-recovery-ops
逆向流程
阶段1:识别当前市场阶段:
- - 提案创建
- 条件创建
- 激活
- 流动性质押
- 结果提交
- 奖励领取
- 恢复
阶段2:检测缺失的前提条件:
- - 提案是否存在
- 条件是否存在
- 委员会是否就绪
- 结果是否已提交
- 奖励是否可领取
阶段3:选择最小的正确下游技能并执行。
阶段4:返回简洁的操作摘要:
- - 所选技能
- 选择原因
- 传递的输入
- 结果
- 推荐的下一步操作
检查点
- - 不要使用此技能重新实现下游逻辑。
- 保持路由明确且可审计。
- 优先选择能完全解决当前阶段的最小技能。
输出
json
{
ok: true,
selectedSkill: gougoubi-activate-and-stake-risklp,
reason: 用户要求激活提案并添加固定风险LP,
stage: 激活与流动性,
nextAction: 截止日期后提交结果,
result: {}
}