一键导入
single-agent
Single-agent pattern: One LLM handles all tasks without sub-agent delegation. Use when simplicity beats sophistication.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Single-agent pattern: One LLM handles all tasks without sub-agent delegation. Use when simplicity beats sophistication.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Formal reasoning via FOL theorem proving, model finding, and categorical logic
Use modern, token-efficient command-line tools (fd, ripgrep, ast-grep, bat, sd, jq, yq, tokei, eza, dust, procs, delta, hyperfine, just) instead of legacy coreutils (find, grep, cat, sed, ls, du, ps) for any shell, file, or codebase task — on any platform (Linux/macOS/Windows) and through any executor (a terminal, Claude Code's bash tool, Desktop Commander, or an MCP shell bridge). Trigger whenever you are about to search files, grep for text, read or inspect files, find-and-replace, refactor code, traverse a repository, process JSON/YAML, or inspect disk usage or processes — even if the user did not name a specific tool. These tools are faster, .gitignore-aware, and emit clean structured output that protects the context window. For installation across operating systems and platform-specific quirks, see references/. If you run commands specifically through the LocalREPL MCP bridge, also consult the local-repl-cli skill for environment-specific gotchas.
Operating guide for the AGEM reasoning engine: native tools, honest metric interpretation, formal-logic verification via mcp-logic, and the meta-tool MCP interface.
Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states. Handles UX review, visual hierarchy, information architecture, cognitive load, accessibility, performance, responsive behavior, theming, anti-patterns, typography, fonts, spacing, layout, alignment, color, motion, micro-interactions, UX copy, error states, edge cases, i18n, and reusable design systems or tokens. Also use for bland designs that need to become bolder or more delightful, loud designs that should become quieter, live browser iteration on UI elements, or ambitious visual effects that should feel technically extraordinary. Not for backend-only or non-UI tasks.
Master orchestrator for the five-question decision tree that selects the right agentic pattern from Sequential, ReAct, Planning, Reflection, or Multi-Agent.
Multi-agent pattern for tasks requiring specialization or scale beyond single-agent capacity. Covers topology, routing, and coordination design.
| name | single-agent |
| description | Single-agent pattern: One LLM handles all tasks without sub-agent delegation. Use when simplicity beats sophistication. |
[!IMPORTANT] When to use: When one LLM can reliably complete the entire task. Prioritize simplicity unless complexity demands delegation.
Does the task require multiple specialized capabilities?
├── NO → Single Agent (you're here)
└── YES → Consider delegation patterns
| ✅ Use Single Agent When | ❌ Avoid When |
|---|---|
| Straightforward, linear tasks | Task has distinct specialized phases |
| Task fits in one LLM's context window | Multiple experts needed (legal + code + writing) |
| Speed/simplicity is paramount | One specialist failing shouldn't block others |
| Low task variance | Task might need independent retry logic |
User Request
│
▼
┌─────────────┐
│ Single LLM │ ← One model, one context
└─────────────┘
│
▼
Output
| Mistake | Why It's Bad |
|---|---|
| Forcing delegation into a simple task | Adds latency, cost, and complexity for no benefit |
| Ignoring when a task outgrows single agent | Leads to prompt engineering spaghetti |
| Using single agent for multi-domain expertise | LLM may "hallucinate" expertise it doesn't have |
When single agent isn't enough, follow the decision tree:
Need multiple specialized capabilities?
├── NO, just parallel independent tasks?
│ └── YES → parallel-execution
└── YES, but centralized control needed?
└── YES → supervisor-delegation
└── NO, agents need autonomy?
└── YES → supervisor-orchestrator
| Factor | Single Agent |
|---|---|
| Latency | Lowest |
| Cost | Lowest |
| Complexity | Minimal |
| Reliability | Single point of failure |
| Best for | Simple, linear tasks |
Pattern ID: single-agent | Decision tree leaf | AGEM-compatible