Skip to content

🌐 日本語

Criteria for Skill vs Agent

TIP

Decision flow for choosing between Skills and Agents.

Decision Flow

Comparison Table

PerspectiveSkillAgent
ContextShared with mainIndependent (separate context window)
Impact on MainConsumes contextReturns only result summary
Execution SpeedFast (load only)Slightly slower (new process)
Use CasesProcedures, templates, referencesReviews, analysis, independent tasks
Programming Analogyimport / requireSeparate process / Worker Thread

When to Use Skills

  • Component generation procedures
  • Coding standards reference
  • Template file application
  • Short-duration standard tasks

When to Use Agents

  • Code review: Run in independent context to avoid Sycophancy
  • Large-scale analysis: Does not burden main context
  • Specialist domain tasks: Address Knowledge Boundary
  • Quality verification: Cross-model QA with different models

Combination Patterns

User: "Create a new Feature Module"
  ├─ Skill: component-generator (generate by referencing procedures)

  └─ Agent: code-reviewer (review generated result in independent context)

Previous: Agents Design Principles

Part 5 Complete → Next: Part 6: Context as Tool Definition

Released under the CC BY 4.0 License.