ワンクリックで
ai-agent-design
Design autonomous AI agents that reason, plan, and execute tasks
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Design autonomous AI agents that reason, plan, and execute tasks
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
End-to-end academic paper drafting for CHI, HBR, journals, and conferences with venue-specific templates, drafting workflows, and revision strategies.
Detect, create, and manage the AI-Memory fleet communication channel. Fires on bootstrap, session start (announcements), and feedback writes.
Generate on-brand Alex — ACT Edition SVG banners for documents (READMEs, plans, notes, release artifacts)
Patterns for fiction, narrative structure, character development, dialogue, and storytelling craft.
Challenge what you think is right — alternative hypotheses, missing data, evidence quality, bias detection, falsifiability, and adversarial review
Convert Word documents (.docx) to clean Markdown with image extraction and pandoc cleanup
| type | skill |
| lifecycle | stable |
| inheritance | inheritable |
| name | ai-agent-design |
| description | Design autonomous AI agents that reason, plan, and execute tasks |
| tier | standard |
| applyTo | **/*agent*,**/*ai-agent*,**/*orchestrat*,**/*multi-agent* |
| currency | "2026-04-20T00:00:00.000Z" |
Patterns for designing AI agents—autonomous systems that use LLMs to reason, plan, and execute multi-step tasks.
| Aspect | Chatbot | Workflow | Agent |
|---|---|---|---|
| Autonomy | Low | None | High |
| Planning | None | Predefined | Dynamic |
| Tool Use | Limited | Fixed | Flexible |
| Memory | Session | None | Persistent |
| Error Recovery | Retry | Fail | Reason & adapt |
1. Thought: Reason about the task
2. Action: Choose and execute a tool
3. Observation: Process tool output
4. Repeat until complete
Example:
Thought: Need Seattle weather to answer umbrella question
Action: weather_api(location="Seattle")
Observation: {"temp": 52, "condition": "rain", "precipitation": 80%}
Thought: Raining with 80% precipitation. Recommend umbrella.
For complex multi-step tasks:
Use when order matters and partial failures need recovery.
Self-improvement through reflection:
Central coordinator delegates to specialists:
Supervisor
/ | \
Research Writer Reviewer
Nested supervisors for complex organizations:
Top Supervisor
/ \
Research Lead Writing Lead
/ \ / \
Web Paper Draft Edit
Multiple agents argue to reduce hallucination:
Agent A (Pro) <--argue--> Agent B (Con)
\ | /
Judge
{
"name": "search_database",
"description": "Search products. Use for availability/pricing queries.",
"parameters": {
"query": { "type": "string", "description": "Search terms" },
"max_results": { "type": "integer", "default": 10 }
}
}
Principles:
| Tools | Strategy |
|---|---|
| < 10 | Direct selection |
| 10-50 | Categorize first |
| 50+ | Embed and retrieve |
Working Memory → Current context (in prompt)
Short-Term Memory → Session state (key-value)
Long-Term Memory → Facts, history (vector DB + graph)
| Type | Storage | Use Case |
|---|---|---|
| Episodic | Vector DB | Past conversations |
| Semantic | Graph DB | Facts, relationships |
| Procedural | Code/prompts | How to do tasks |
| Working | Prompt | Current task |
def detect_loop(history, window=5, threshold=0.8):
recent = history[-window:]
previous = history[-window*2:-window]
return similarity(recent, previous) > threshold
Recovery: reflection prompt, force tool change, replan, escalate.
Require approval for high-risk actions:
Log: LLM calls, tool calls, state transitions, errors, recovery attempts.
| Strategy | Implementation |
|---|---|
| Token budgets | Max tokens per task |
| Step limits | Max N actions |
| Tiered models | GPT-4 plan, 3.5 execute |
| Caching | Cache tool/LLM results |
| Early termination | Stop when good enough |
| Framework | Best For |
|---|---|
| LangChain | Rapid prototyping |
| LangGraph | Complex multi-agent |
| AutoGen | Research, code gen |
| CrewAI | Business workflows |
| Semantic Kernel | Microsoft stack |
✅ Good: Open-ended research, multi-step workflows, tool orchestration ❌ Poor: Simple Q&A (use RAG), deterministic flows (use code), no human oversight