
Claude Code Skills: What They Are, How to Build One, and How to Fix One
Full Claude Code skills guide

Quick answer: CLAUDE.md tells an agent what your project expects. A skill teaches it a repeatable way to do a job. A tool performs one action, such as reading an issue or running tests. MCP is the connection standard that lets an agent discover and call tools exposed by external systems. Skills and MCP are not rivals: one supplies the method, the other supplies access.
Questions this page answers
CLAUDE.md fit?Want the agent working without wiring every layer yourself?
Bento gives every workspace agents that research, browse and run on a schedule, already working with Gmail, Slack, Notion and thousands more apps. Claude Code can connect to a Bento workspace through the Bento CLI or MCP. Plans start at $20 a month, and you can start with $5 of free credits. See Bento's plans.
Updated November 2026: This guide was rechecked against Anthropic’s Agent Skills and Claude Code documentation plus the MCP specifications. A new section covers how to give an agent more tools. Comparing tool routers and gateways stays in its own guide, linked from that section.
The four layers at a glance
02What is CLAUDE.md for?
03What is a skill for?
04What is a tool?
05What does MCP add?
06Worked example: one skill, several MCP-backed tools
07How the pieces work together in one run
08How do you give an AI agent more tools?
09Troubleshooting: which layer is broken?
10When should you use each one?
11FAQ
| Layer | What it is | What it answers | Example |
|---|---|---|---|
CLAUDE.md | Persistent project guidance | “What rules should apply every time?” | “Run pnpm test before calling the work done.” |
| Skill | A reusable procedure and its supporting files | “How should this kind of job be done?” | “Review an issue, inspect the change, test it, then report risks.” |
| Tool | One callable operation | “What action can the agent take now?” | get_issue, read_file, run_tests, post_comment |
| MCP | A standard connection layer for tools and resources | “How can the agent discover and use those actions?” | A GitHub MCP server exposing issue and pull-request tools |
A useful shortcut is rules → procedure → action → connection. The shortcut is not a claim that every product implements the layers identically. It is a way to place a piece in the right home before you build it.

CLAUDE.md for?CLAUDE.md is the project’s standing instruction sheet. Claude Code can load it from supported project or user locations so the same expectations are available across tasks.
Put rules there when they should apply broadly:
Keep it short enough to stay useful. A project instruction file is not the best place for a 20-step workflow that only applies to one job. If you put every procedure in it, the agent has to carry unrelated detail into every conversation.
CLAUDE.md also does not give the agent a new ability. Saying “check the GitHub issue” does not create a GitHub connection. It tells the agent what to care about; a tool must still exist for the action.
A skill is a reusable procedure. In Anthropic’s format, it is usually a folder with a SKILL.md file and optional scripts, templates or reference material. The description helps the agent decide when the skill fits; the body gives it the workflow once it is relevant.
Use a skill when the job has a recognizable shape:
For example, “review a product bug” may mean reading the issue, checking the affected code, running the focused tests, looking for regressions and writing a short review. That is more than a single instruction and less than a whole autonomous application. It is a good skill.
A skill can contain code, but its main job is not to become another tool. Its job is to explain the method: what to collect, what to compare, what not to assume and what counts as finished.
A tool is one action an agent can request. It normally has a name, a description and an input schema — a small list of fields that says what the action accepts.
Examples:
get_issue(number) reads one issuelist_changed_files(pull_request) returns the files in a changerun_tests(command) starts a test commandpost_comment(issue, body) writes a commentTools should describe observable actions. “Review this issue” is usually too broad for one tool because it hides several decisions. “Fetch issue 184” is a clearer operation that a skill can place in a larger sequence.
A tool can be available without being used well. Give an agent fifty actions and it still needs to know which one comes first, what evidence to collect and when to stop. That is where the skill and project instructions matter.
MCP, or Model Context Protocol, is a standard way for an AI application to connect to servers that expose capabilities. Its host/client/server model separates the application from the systems it connects to. An MCP server may expose tools, resources or prompts; the exact capabilities depend on the server.
Think of MCP as the connection contract, not the business plan. It can make a GitHub tool visible to the agent, but it does not decide whether a code review should start with the issue, the diff or the test suite.
This distinction matters because a broken MCP connection and a weak skill look different:
MCP is also broader than tools. Some servers provide resources the model can read, such as documents or structured context. For this page, the important boundary is simple: MCP makes external capabilities available; it does not replace the procedure that uses them.
Suppose your team wants a repeatable “review a bug fix” workflow. The skill can use tools from a GitHub server and a repository/test server. The exact server names vary by setup; the procedure is the part your team owns.
---
name: review-bug-fix
description: Review a bug-fix issue and its change, then report evidence and risks.
---
# Review a bug fix
## Inputs
- Issue number or URL
- Pull request number or URL, if one exists
## Procedure
1. Read the issue and extract the expected behavior.
2. Read the pull request summary and changed files.
3. Inspect the relevant implementation and tests.
4. Run the repository's focused test command.
5. Compare the result with the issue's acceptance criteria.
6. Report findings with file names, test output, and remaining risk.
## Checks
- Do not call the change complete if the focused test fails.
- If no pull request is linked, say that the implementation evidence is missing.
- Separate observed failures from guesses.
During a run, the agent might do this:
CLAUDE.md to learn that the repository uses pnpm test and that generated files are off limits.review-bug-fix because the request matches its description.get_issue tool and a pull-request tool to collect the request and change.The skill did not need to know how GitHub’s API works. The GitHub server supplied the actions. The skill still had to decide that the issue comes before the verdict and that a failed test cannot be described as complete.
That is the useful combination: MCP supplies reachable actions; the skill supplies sequence and judgment; CLAUDE.md supplies local rules; tools perform the individual steps.
Use this order when you are designing a workflow:
CLAUDE.md.If the job you keep designing for is an inbox sweep, a weekly report or a scheduled check rather than work inside a repository, Bento's agents can run it on a schedule from the always-on computer every workspace gets.
A skill can use ordinary local commands, MCP-backed tools, or both. MCP does not require every piece of the workflow to move into a server. Keep the procedure close to the team’s knowledge and keep system access in the tool layer.
Connect it to something that exposes more actions. There are three routes: add MCP servers one at a time, connect one tool router that reaches many providers, or connect an app-connector platform that acts inside your own accounts. Choose by whose accounts the agent should use and how many connections you want to manage.
| Route | What you connect | Reach for it when |
|---|---|---|
| One MCP server per system | A server for each service, such as GitHub | You need a few systems and want each connection explicit |
| A tool router | One key that reaches many providers' APIs, paid per call | The agent needs data you hold no account for |
| An app-connector platform | One connection with sign-in handled for you | The agent should act as you in your own apps |
One server at a time. In Claude Code, a remote server is one command: claude mcp add --transport http <name> <url>. Each server brings its own tools and its own sign-in. The steps are in adding MCP servers to Claude Code.
Tool routers. Monid and treg both call themselves "OpenRouter for agent tools": one key, many providers, pay per call. treg says it reaches 4,100+ endpoints across 126 providers (its homepage, checked November 5, 2026). They are compared in tool routers compared.
App-connector platforms. Composio, Pipedream and Zapier MCP let an agent act inside accounts you already have. Pipedream, for example, advertises fully managed OAuth, so you sign in once and it keeps the connection. Chat apps have their own version: ChatGPT connectors and Claude connectors.
A workspace with the connections already made. Bento is for people who want the work done more than the wiring: its agents already work with Gmail, Slack, Notion and thousands more apps, connected accounts stay encrypted, and Claude Code can use the same workspace through the Bento CLI or MCP.
Whichever route you pick, more tools do not fix a weak procedure. The skill still decides which tool comes first and when the job is done.
| Symptom | First layer to inspect | What to check |
|---|---|---|
| The agent ignores a repository rule | CLAUDE.md | Is the file in a loaded scope? Is another instruction conflicting? Is the rule specific enough? |
| The agent knows the goal but skips steps | Skill | Is the skill discoverable? Does its description match the request? Are the steps and finish checks explicit? |
| The agent chooses an odd action | Tool | Is the tool name and description unambiguous? Does the input schema reject or permit the wrong values? |
| The agent cannot see a service | MCP | Is the server connected? Is authentication valid? Is the expected tool exposed in the current scope? |
| The tool appears but fails permission checks | MCP and service | Does the account have access to that resource? Is the server using the intended credentials? |
| The workflow finishes without evidence | Skill | Does the skill require test output, a source link or another proof before reporting success? |
| Too much unrelated context appears | CLAUDE.md or skill | Move job-specific detail into the skill and supporting files; keep standing rules short. |
Do not fix every failure by adding another paragraph to CLAUDE.md. First ask whether the problem is a missing rule, a missing procedure, a missing action or a missing connection.
Use CLAUDE.md when: the rule should apply to nearly every task in a project.
Use a skill when: the work repeats and has a sequence, judgment calls or a definition of done.
Use a tool when: the agent needs one clear action with structured inputs and an observable result.
Use MCP when: the action lives in another system and you want a standard connection between the agent application and that system.
Use more than one: most serious workflows do. A project rule sets the guardrails, a skill runs the procedure, MCP exposes the external actions, and tools do the work.
Do not make a skill just to wrap one obvious action. Do not put a changing database lookup into a static instruction file. Do not expect MCP alone to encode your team’s review standard.
Everything above is worth knowing if you build agent workflows yourself. If what you actually want is the finished work, a researched brief, a Monday report in Slack, a follow-up drafted from your inbox, Bento handles the plumbing for you.
Each Bento workspace runs on its own always-on computer. Its agents research, browse and run on a schedule, and they already work with Gmail, Slack, Notion and thousands more apps, so there is no server to add per service. Bento picks the best AI for each job, your whole team joins at no extra cost per person, and Bento never trains on your files. Already live in Claude Code? It can connect to the same workspace through the Bento CLI or MCP and hand work to its agents.
Plans are $20, $50 or $200 a month, with credits that refresh monthly.
Make anything. One subscription. Every new account starts with $5 of free credits. See Bento's plans.
No. MCP is a connection protocol and server model for exposing capabilities. A skill is reusable workflow guidance. A skill may use MCP-backed tools, but the two solve different problems.
No. CLAUDE.md is persistent project or user guidance. A skill is a named, reusable procedure that can be selected for a matching job.
No. Skills describe the work; tools perform actions. A skill that says “read the issue and run tests” still needs tools that can read the issue and run tests.
A router puts many tools behind one connection. A gateway adds access control and audit on top of servers you choose. See tool routers compared for the vendors.
Posts, reels, ads, apps and games, made with the best AI.
Free credits to try it all. Nothing to set up.

Full Claude Code skills guide

MCP server examples

Shared skill library

The deployment runbook for rolling out Claude Code across a team — plan structure, shared CLAUDE.md, Skills, MCP, Subagents, onboarding, and measuring ROI. Plus the five rollout mistakes to avoid.

Speed up client emails and renewal follow-ups with an AI drafting system that keeps communication consistent.