docs(kyberforge): add skill-vs-agent decision criteria for Claude Code and Copilot
Fills a gap needed for the planned forge orchestrator skill: neither doc set previously stated when to build a skill vs a subagent/custom agent. Sourced via context7 against the same libraries already recorded in each sources.md. Also confirms agentskills.io's spec is runtime-agnostic and defines no agent concept, so it has no bearing on this decision by design.
This commit is contained in:
1 parent
19f7fde5e1
commit
e41afd8db1
5 files changed
+68
-4
No files matched your search
@@ -0,0 +1,26 @@
|
||||
---
|
||||
topic: decision-criteria
|
||||
source_keys:
|
||||
- context7-github-en-copilot
|
||||
---
|
||||
|
||||
## Skill vs custom agent vs subagent
|
||||
|
||||
GitHub's own framing: "Skills enable Copilot to perform specialized tasks, while custom agents enhance Copilot with assistance tailored to your specific needs."
|
||||
|
||||
The CLI features comparison doc is more concrete about when *not* to use each:
|
||||
|
||||
- **Avoid a custom agent** if you only need guidance text — a skill is the lighter-weight solution — or if the default agent already performs the task well and no specialization is needed.
|
||||
- **Avoid a skill** when the guidance should apply universally (use custom instructions instead), or when the task needs new capabilities rather than more guidance — that calls for an MCP server or a custom agent.
|
||||
|
||||
The customization cheat sheet draws a three-way distinction:
|
||||
|
||||
| Primitive | Best fit | Trigger |
|
||||
|---|---|---|
|
||||
| Custom agent | Projects/processes with distinct stages needing specialized capabilities or strict handoffs | Manual — selected from a dropdown |
|
||||
| Subagent | Complex subtasks that must run isolated from the main agent | Automatic or by direct prompt reference |
|
||||
| Agent skill | Multi-step workflows with bundled assets (scripts, references, templates) | Automatic — Copilot matches it to the prompt when relevant (e.g. debugging GitHub Actions failures) |
|
||||
|
||||
Custom agents and subagents both isolate context and restrict tools, but differ in invocation: custom agents are a deliberate, user-selected mode switch; subagents are spawned automatically mid-task to offload work without cluttering the main agent's context (confirmed by the SDK example pattern of excluding a `heavyContextTool` from the default agent and giving it only to a dedicated `researcher` custom agent, "so the default agent remains clean").
|
||||
|
||||
Skills vs. custom instructions (a related but separate boundary): use custom instructions for general information like coding standards; use skills for detailed instructions Copilot should only access when relevant to the specific task.
|
||||
@@ -3,8 +3,8 @@
|
||||
## context7-github-en-copilot
|
||||
|
||||
- **URL:** context7:/websites/github_en_copilot
|
||||
- **Description:** Official GitHub Copilot documentation indexed by Context7; covers CLI plugins, custom agents, SDK, and marketplace
|
||||
- **Contributing files:** overview.md, agent-definition.md, configuration.md, installation.md, marketplace.md, api-reference.md, examples.md, sdk.md
|
||||
- **Description:** Official GitHub Copilot documentation indexed by Context7; covers CLI plugins, custom agents, SDK, marketplace, and skill-vs-agent-vs-subagent decision guidance
|
||||
- **Contributing files:** overview.md, agent-definition.md, configuration.md, installation.md, marketplace.md, api-reference.md, examples.md, sdk.md, decision-criteria.md
|
||||
- **Status:** `extracted`
|
||||
|
||||
## github-custom-agents-configuration
|
||||
|
||||
Reference in new issue
Block a user