Claude Code agents vs skills
A Claude Code agent (a subagent) is a separate worker with its own context window, tools and permissions, which does a task and returns a summary; a skill is a set of instructions that loads into the conversation you are already in, only when it is needed. Use an agent to keep noisy work out of your context, and a skill to reuse a procedure.
Side by side
Both are Markdown files with frontmatter. They differ in where the work happens.
| Question | Subagent | Skill |
|---|---|---|
| Where it lives | .claude/agents/<name>.md, or ~/.claude/agents/ for every project | .claude/skills/<name>/SKILL.md, or ~/.claude/skills/ |
| Where it runs | Its own context window, with its own system prompt | In the current conversation |
| What comes back | A summary of the result | Nothing separate: the instructions shape the conversation |
| How it starts | Claude delegates when a task matches its description, or you ask for it by name | Claude loads it when relevant, or you type /skill-name |
| Tools and permissions | Can be restricted per subagent | Those of the conversation it runs in |
| Context cost | Its description is always loaded; the rest only when it runs | Its body loads only when it is used |
When to use a subagent
Claude Code's docs put it plainly: use a subagent when a side task would flood your main conversation with search results, logs or file contents you will not look at again. The subagent does that work in its own context and returns only the summary.
- The task produces verbose output you do not need to keep.
- You want to restrict what it can do, for example a reviewer with no write access.
- The work is self-contained and can return a summary.
- You want to run it on a cheaper model, such as Haiku, to control cost.
Each subagent sends its own requests, which count towards the same usage limits as your main conversation.
When to use a skill
Use a skill when you keep pasting the same instructions, checklist or multi-step procedure into chat, or when a section of CLAUDE.md has grown into a procedure rather than a fact. Because a skill's body loads only when it is used, long reference material costs almost nothing until you need it.
Skills follow the Agent Skills open standard, so the same SKILL.md can work in other tools that read it. Claude Code adds its own extensions, such as controlling whether you or Claude can invoke a skill.
What happened to custom commands
They were merged into skills. A file at .claude/commands/deploy.md and a skill at .claude/skills/deploy/SKILL.md both create /deploy and work the same way. Existing command files keep working; for new work Claude Code's docs recommend a skill, because a skill can carry supporting files.
Using them together
The two combine in both directions.
- A subagent can preload skills. List them in its
skillsfrontmatter field and their full content is injected into the subagent at startup, up to the first 32 names. - A skill can run in a subagent. Set
context: forkin the skill and its content is handed to the agent you specify, which starts without your conversation history. - Keep subagent descriptions short. When the combined descriptions of your custom subagents pass 15,000 tokens, Claude Code warns at startup.
Where Luros fits
If you would rather start from a set than a blank file, Luros installs twenty-six agents into .claude/agents/ and .opencode/agents/, each arriving with the skills it names.
We make Luros, so weigh this section accordingly. Everything above it stands on the sources below.
Luros is built for a founder with no marketing team, not for general agent set-up. If that is you, request an invite.
Request an inviteOne email. We will tell you when there is a place for you, and nothing else.
Questions people ask
- Is a Claude Code agent the same as a subagent?
- In Claude Code, the agents you define in .claude/agents/ are subagents: specialised assistants that Claude delegates to, each in its own context window.
- Do skills use up context?
- Only when they are used. A skill's body loads when Claude invokes it or you type its name; until then it costs almost nothing.
- Can a subagent use skills?
- Yes. It can discover and invoke skills during its run, and it can preload specific ones through the skills field in its frontmatter.
- Are slash commands still supported?
- Yes. Files in .claude/commands/ still work, and they behave like skills. New work should use the skills format.
- Which should I write first?
- A skill, if you are repeating a procedure in your own conversation. A subagent, if a task is filling your context with output you do not need.
Related guides
- Claude Code subagents vs agent teams
- AGENTS.md vs CLAUDE.md
- AI marketing agents
- Every guide · Tool comparisons
Sources
- Claude Code docs: Create custom subagents, checked 25/11/2026
- Claude Code docs: Extend Claude with skills, checked 25/11/2026
Tools in this area change quickly. Every fact here comes from the sources above as they stood on the date shown; if one has moved on, the source is right and this page is out of date.