AI Agent Helper

AI Agent 設定同優化助手 - Prompt Engineering、Task Decomposition、Agent Loop設計

Installa
$clawhub install ai-agent-helper

AI Agent Helper

幫你setup同優化AI Agents既技能。

功能

  • 📝 Prompt Engineering - 整高質量system prompts

  • 🔄 Task Decomposition - 將複雜任務拆解

  • ⚙️ Agent Loop設計 - ReAct/ReAct/Chain-of-Thought

  • 🎯 Tool Selection - 最佳化agent既tool usage

使用場景

"帮我整prompt" / "點樣set AI agent" / "優化agent response"

技術

  • System Prompt優化

  • Few-shot examples

  • Output parsing (JSON/structured)

  • Error handling patterns

  • Token優化

範例


# Good prompt structure
system = """你係{role}。
目標:{goal}
限制:{constraints}
Output格式:{format}"""