hegelion

通过辩证推理实现自主代码生成与决策,系统以教练角色为权威驱动开发循环,持续验证并推进方案演进,适用于复杂问题求解与自动化实现。

快捷安装

在终端运行此命令,即可一键安装该 Skill 到您的 Claude 中

npx skills add Hmbown/Hegelion --skill "hegelion"

Hegelion Skill

Routing

Task typeMCP call
Analysis/decisionmcp__hegelion__dialectic(query, mode="single_shot", response_style="synthesis_only")
Implementationmcp__hegelion__autocode(requirements, mode="init")

Tip: If execution is configured, set execute=true and backend="auto" on dialectic mode=single_shot to return the final answer in one call.

Autocoding Loop

mcp__hegelion__autocode(requirements, mode="init")
    -> autocode_turn(role="player") -> [implement]
    -> autocode_turn(role="coach", execute=true, backend="auto", cwd="<workspace>") -> [independent verify]
    -> autocode_turn(role="advance", coach_feedback=..., approved=false)
           ^                                                            |
           |________________ loop until APPROVED or max_turns __________|

Codex Role Rules

  • The current Codex session is always the PLAYER.
  • The coach step should be executed through Hegelion, not answered directly in the current session.
  • Prefer a separate Codex backend for the coach by using backend="auto".
  • If backend="auto" falls back to prompt-only output, surface that independent coach execution is unavailable. Do not turn the current session into the coach.
  • COACH is authoritative. Run tests. Never self-approve.