It runs your weekly standup summary, builds your PRD in exactly the right format, or generates client reports with the metrics your team actually cares about.
Then someone else on your team needs it. Or you need it in a different tool. Or you want to run it programmatically.
So you copy-paste. You tweak. You copy-paste again.
Six months later, there are nine versions of the same workflow scattered across Slack threads, Google Docs, and half-remembered conversation histories. Or keep one copy in a shared Bento workspace, where your whole team works from the same files.
Skills solve for this.
This guide will walk you through the full picture — what skills are, where they run, how they differ across Claude's surfaces, and how to build a shared skill library your team can actually maintain.
We'll cover pre-built skills (the fastest path to value), custom skills (packaging your team's expertise), and the patterns that make skills and MCP work together without falling apart.
If you haven't read our earlier guides, here's the quick version: tools give Claude access to actions (read a file, call an API), MCP standardizes how those tools connect, and skills package the method — the instructions, templates, and checks that turn raw tool access into reliable workflows. For the full breakdown, see Agent Skills 101: Tools vs MCP vs Skills.
Every team has tribal knowledge. The way you structure a PRD. The format your investors expect in board decks. The specific checks you run before shipping a deploy. The rubric your team uses for customer research.
This knowledge lives in people's heads, in scattered docs, and in prompts that get rebuilt from scratch every time someone starts a new conversation.
Skills are the packaging layer that turns tribal prompts into reusable capability.
The problem
One workflow, ten implementations
Without skills, here's what happens:
Person A writes a prompt that generates weekly reports in the terminal with Claude Code
Person B rewrites the same prompt in Claude.ai because they don't use the terminal
Person C needs it in their API integration, so they hardcode the instructions into a system prompt
Person D joins the team and starts from zero
Each version drifts. Nobody knows which one is current. When the report format changes, you update one version and forget the others.
The goal
Create once, reuse everywhere
A skill is a directory with a SKILL.md file. That's it. The same skill works across:
Claude.ai: for humans who prefer the web interface
Claude Code: for terminal-first workflows and repo-specific context
Claude API: for systems, automations, and product integrations
Claude Agent SDK: for programmatic agent orchestration in TypeScript or Python
One source of truth. Multiple surfaces. When you update the skill, everyone gets the update.
Try it in Bento.
Posts, reels, ads, videos and apps at a link, made with the best AI. One subscription.
Skills aren't identical everywhere. Each surface has different sharing models, different constraints, and different setup steps.
Understanding these differences is how you avoid building something that only works in one place.
Quick comparison
Claude.ai
Claude Code
Claude API
Agent SDK
Pre-built skills
Yes (automatic)
No
Yes (via skill_id)
No
Custom skills
Yes (upload zip)
Yes (filesystem)
Yes (upload via API)
Yes (filesystem)
Sharing scope
Per-user; Team/Enterprise can share
Per-project or personal
Workspace-wide
Per-project
Setup required
Upload in Customize > Skills
Create directory + SKILL.md
API upload
Directory + config
Network access
Varies by settings
Full (your machine)
None (sandboxed)
Full (your machine)
Best for
Individual use, quick tasks
Repo-specific workflows
Production systems, automation
Custom agent apps
Claude.ai
The simplest starting point. Claude.ai supports both pre-built skills and custom skills you upload yourself.
How to add a custom skill:
Make sure code execution is on (Settings > Capabilities)
Go to Customize > Skills and upload your skill as a zip file
The skill becomes available in your conversations
The catch: Custom skills you upload to Claude.ai are private to you until you share them. On individual plans, each person uploads the skill separately. On Team and Enterprise plans, owners can provision skills to everyone, and once an owner turns sharing on, members can share a skill with teammates or publish it to the organization's library.
This matters less than you'd think for personal productivity skills. It matters a lot if you're trying to standardize workflows across a team. For team-wide consistency, use owner provisioning on Team or Enterprise, the API, or Claude Code with a shared repo.
Requirements: Any plan, including Free, with code execution enabled.
Claude Code
Claude Code is where most builders start with custom skills. Skills live on your filesystem as directories — no upload step, no API calls, no zip files. If you're new to Claude Code, start with The Ultimate Beginner's Guide.
.claude/skills/weekly-report/
├── SKILL.md # Main instructions (required)
├── template.md # Report template
└── examples/
└── sample.md # Example output
Claude discovers skills automatically and uses them when relevant to your request. Or you invoke one directly with /weekly-report.
Where skills live determines who sees them:
Location
Path
Who can use it
Personal
~/.claude/skills/my-skill/SKILL.md
You, across all projects
Project
.claude/skills/my-skill/SKILL.md
Anyone working on this project
Enterprise
Managed settings
Everyone in your org
Key Claude Code features:
Auto-invocation control: Add disable-model-invocation: true to your frontmatter if you only want the skill to run when you explicitly call it (like /deploy — you don't want Claude deciding to deploy because your code looks ready)
Tool permissions: Use allowed-tools in frontmatter to pre-approve tools while a skill runs (allowed-tools: Read Grep Glob lets it read files without prompting). It doesn't restrict other tools; use disallowed-tools to block them
Subagent execution: Add context: fork to run a skill in an isolated subagent — useful for research tasks or anything that shouldn't pollute your main conversation context
Dynamic context: The !`command` syntax runs shell commands before the skill content reaches Claude. !`gh pr diff` injects the actual PR diff into the skill prompt
For a practical guide to setting up skills with CLAUDE.md and commands, see The Claude Code Playbook.
Claude API
The API is where skills become infrastructure. You upload custom skills via the /v1/skills endpoint, reference pre-built skills by their skill_id, and everything runs in a sandboxed code execution container.
The differentiator: Custom skills uploaded via the API are shared workspace-wide: any API key with access to the workspace can use them. That makes the API the right choice for standardizing the skills behind your systems and automations.
No beta headers: the Skills API and Files API are generally available (requests that still send skills-2025-10-02 keep the old beta response shapes)
No network access inside the container — your skill can't call external APIs
No runtime package installation — only pre-installed packages are available
Up to 20 skills per request
Maximum 30MB upload size per skill (all files combined, uncompressed)
Claude Agent SDK
The SDK supports custom skills through the same filesystem-based approach as Claude Code. Store skills in .claude/skills/, load them through settingSources, and use the skills option to choose which ones Claude can invoke.
One thing to note: In the SDK, both a skill's allowed-tools frontmatter and the allowedTools option pre-approve tools. Neither restricts the others, so use the SDK's permission settings when you need a hard limit.
Pre-built skills via the API
Before you build anything custom, check whether a pre-built skill already does what you need. Anthropic maintains skills for the document types that actual work runs on.
These exist because real work produces real artifacts — decks, spreadsheets, docs — not just chat text. If your workflow ends with "now copy this into Google Slides," a pre-built skill can skip that step entirely.
The practical unlock
Think about the deliverables your team produces repeatedly:
Board deck generation — pptx skill takes structured data and produces a formatted presentation
Monthly KPI pack — xlsx skill creates a spreadsheet with charts and conditional formatting
PRD or spec generator — docx skill outputs a formatted document ready to share
Client-ready reports — pdf skill produces polished PDFs
The pattern is the same: structured inputs go in, formatted files come out. The Files API handles uploads and downloads.
Downloading a generated file:
for file_id in extract_file_ids(response):
file_metadata = client.files.retrieve_metadata(file_id=file_id)
file_content = client.files.download(file_id=file_id)
file_content.write_to_file(file_metadata.filename)
When to build vs. when to use pre-built
Use pre-built skills when:
Output format is standard (pptx, xlsx, docx, pdf)
You want speed and reliability over custom formatting
You don't need deep domain-specific logic in the generation
Build custom when:
You need a specific template, structure, or rubric
The workflow involves multiple steps with validation
You're combining document generation with domain logic (your DCF model, your brand guidelines, your compliance checks)
You can also combine both — use a custom skill for the analysis logic and a pre-built skill for the final output:
Pre-built skills handle standard formats. Custom skills handle everything else — the workflows, conventions, and institutional knowledge that make your team's work distinct.
What a custom skill actually is
A skill is a directory. The only required file is SKILL.md. Everything else is optional.
incident-report/
├── SKILL.md # Main instructions (required)
├── template.md # Your incident report template
├── severity-rubric.md # How to classify severity
├── examples/
│ └── sample-report.md # A good example report
└── scripts/
└── validate.py # Script to check completeness
SKILL.md uses YAML frontmatter for metadata and markdown for instructions:
---name:incident-reportdescription:Generatesincidentpostmortemreportsfollowingourteamformat.Usewhenwritingincidentreports,postmortems,oranalyzingoutages.---
# Incident Report Generator## Process1.Gathertimelinefromprovidedlogsordescription2.Classifyseverityusingseverity-rubric.md3.Fillintemplate.mdwithstructuredfindings4. Run validation:pythonscripts/validate.pyreport.md5.Ifvalidationfails,fixissuesandre-validate## Key rules-Everyfindingmustciteaspecificlogentryortimestamp-Actionitemsmusthaveanownerandaduedate-Neverclassifyseveritybelowtheactualimpact
Why custom skills exist
They encode "how we do this here":
Your PRD structure — not a generic PRD, but the sections your team actually uses, the questions stakeholders always ask, the format your PM expects
Your incident postmortem format — the specific timeline format, the severity rubric your on-call team agreed on, the action item template that actually gets followed up
Your launch checklist — the 47 things that need to happen before you ship, including the three that everyone forgets
Your customer research rubric — how to synthesize interview notes into the format your product team reads
Without skills, this knowledge lives in "ask Sarah, she knows the format" or "check the wiki page from 2024 that might still be accurate."
The key design lever: descriptions that trigger correctly
The description field is the most important thing you write. It's not documentation for humans — it's metadata Claude uses to decide when to load a skill without loading everything into context.
Include: what it does + when to use it + trigger phrases a user might naturally say. Write in third person ("Generates reports" not "I can help you generate reports").
Testing your description: After creating a skill, test it by asking Claude for things the skill should handle. Ask using different phrasings — obvious ones and paraphrased ones. Also test that it doesn't trigger on unrelated requests. A skill that activates too often is almost as bad as one that never activates.
How progressive disclosure keeps context lean
Skills use a three-level loading system that keeps your context window clean:
Level
When loaded
Token cost
What it includes
Metadata
Always (at startup)
~100 tokens per skill
name and description from frontmatter
Instructions
When skill is triggered
Under 5K tokens
SKILL.md body
Resources
As needed
Effectively unlimited
Additional files, scripts, templates
This means you can install dozens of skills without penalty. Claude sees the metadata for all of them at startup (lightweight), reads the full SKILL.md only when relevant (moderate), and accesses supporting files only when needed (on demand).
Practical implication: Don't try to cram everything into SKILL.md. Keep it under 500 lines. Move detailed reference material, examples, and data into separate files and reference them:
## Additional resources- For API details, see reference.md
- For usage examples, see examples.md
Claude reads those files only when the task requires them.
Security: treat skills like code
Skills provide Claude with instructions and executable code. A malicious skill can direct Claude to do things that don't match its stated purpose.
Non-negotiable practices
Only use skills from trusted sources — skills you built or obtained from Anthropic - Audit
third-party skills thoroughly — review every file, look for unexpected network calls or file
access patterns - Review skills in PRs — same process as code review - Version and own
them — every skill should have a clear owner and a changelog
YAML frontmatter constraints (enforced by the system):
name: max 64 characters, lowercase letters/numbers/hyphens only, no XML tags
description: max 1024 characters, no XML tags
Reserved words "anthropic" and "claude" cannot appear in the name
The supply chain risk is real. Snyk's ToxicSkills research found 36% of AI agent skills on public directories contain security flaws. Stick to skills from known sources with visible maintainers. This isn't theoretical — there have been active malicious payloads disguised as legitimate skills in public skill directories.
Try it in Bento.
Posts, reels, ads, videos and apps at a link, made with the best AI. One subscription.
If you read our Agent Skills 101 guide, you know the core distinction: MCP gives you access, skills give you method. Together, they're more reliable than giant prompts stitched together with ad-hoc integrations.
Why the separation matters
MCP = standardized access to tools and data. It's the plumbing — connecting Claude to Jira, Slack, BigQuery, GitHub, your database, whatever.
Skills = reusable workflows. The method, templates, and checks that turn raw tool access into something consistent and reliable.
Together: less brittle than ad-hoc integrations. When you change your ticketing system from Jira to Linear, you swap the MCP server. The skill that generates your weekly exec summary stays the same because it defines the process, not the plumbing.
Produce: docx + pdf skills — formatted report for internal review and external stakeholders.
Referencing MCP tools in skills
When your skill uses MCP tools, always use fully qualified names to avoid "tool not found" errors:
Use the Jira:get_sprint_issues tool to retrieve current sprint tickets.
Use the Slack:get_channel_messages tool to pull key thread updates.
The format is ServerName:tool_name. Without the server prefix, Claude may fail to locate the tool, especially when multiple MCP servers are available.
Efficiency and privacy: code execution with MCP
As your team connects more MCP servers, a scaling problem emerges. This section covers the pattern Anthropic recommends for keeping things fast and cost-effective.
The scaling problem
When an agent has access to hundreds of MCP tools, two costs explode:
Tool definitions overload the context window: every tool's name, description, and parameter schema has to fit in context. Hundreds of tools means thousands of tokens spent before Claude processes a single message.
Intermediate results bloat tokens: when Claude calls a tool that returns a large document, that entire result enters the context window. If the next step involves another tool call, the large result stays in context, burning tokens and slowing responses.
The recommended pattern: treat MCP tools like code APIs
Anthropic's efficiency guidance: use code execution so the agent can process large intermediate results inside the execution environment and return only the small final result to the model.
Instead of this (expensive):
Claude → MCP tool → [largeresult enters context] → Claude reasons →
MCP tool → [another largeresult enters context] → Claude generates final answer
Do this (efficient):
Claude → code execution [
→ load only needed tool definitions via filesystem
→ call MCP tool
→ process largeresult locally
→ extract relevant data
] → small finalresult enters context → Claude generates answer
Why teams should care
Less latency and cost: large intermediate results never enter the context window
More robust workflows: less "copy huge blob into next tool call" failure modes
This pattern is especially relevant when combining skills with MCP. Your skill's code can orchestrate MCP calls efficiently inside the execution environment, processing data locally and only surfacing what matters.
Operationalizing skills for a team
Building a skill is the easy part. Keeping a skill library healthy over time — that's where most teams drop the ball. This section covers the operational practices that separate "we tried skills once" from "skills are how we work."
For API-managed skills, every upload creates a version with its own ID (skver_...). Pin to specific versions in production and use "latest" only in development:
# Production: pin version
{"type": "custom", "skill_id": "skill_01Abc...", "version": "skver_01Abc..."}
# Development: use latest
{"type": "custom", "skill_id": "skill_01Abc...", "version": "latest"}
Review and release process
Treat skills like code:
PR review: security (does this skill access anything unexpected?) + correctness (does it produce the right output?)
Test on real scenarios: not synthetic inputs, actual tasks your team runs
Staged rollout: pilot with one team member, then broader org
For API skills: manage versions via the Claude Console or API endpoints
Testing checklist
Before sharing any skill, verify:
Discovery and triggering:
Skill triggers on obvious requests ("generate a weekly report")
Skill triggers on paraphrased requests ("write up this week's updates")
Skill does NOT trigger on unrelated requests
Description is specific enough to avoid false positives
Functional correctness:
Output matches expected format and structure
Validation steps pass (if the skill includes scripts)
Works with Haiku, Sonnet, and Opus (if you plan to use across models)
Supporting files load correctly when referenced
Integration:
MCP tool references use fully qualified names
Required packages are available in the target environment
Works end-to-end in the target surface (Claude.ai, Code, API)
Post-packaging:
Zip file structure is correct (for Claude.ai or API upload)
Skill still works after re-upload
Team members can access it (check sharing scope)
Documentation pattern that compounds
The strongest skill libraries share a common pattern: the skill IS the documentation. When your skill includes clear instructions, templates, and examples, you don't need a separate wiki page explaining "how to generate a weekly report." The skill itself is the living doc.
To accelerate this:
Host your skill repo publicly (or internally via Git) so skills are discoverable
Use consistent naming: gerund form works well — generating-reports, reviewing-code, analyzing-data
Cross-reference related skills in each SKILL.md: "For data analysis, see the analyzing-metrics skill"
When things go wrong
Common failure modes and fixes:
Problem
Likely cause
Fix
Skill never triggers
Description too vague
Add specific trigger phrases and keywords
Skill triggers on everything
Description too broad
Narrow the description, add constraints
Output format drifts
Instructions too loose
Add a strict template with explicit structure
Skill works in Claude Code but fails via API
Network or package dependency
Remove external API calls; verify packages are pre-installed
Context window fills up
SKILL.md too long or too many skills loaded
Split into separate files; keep SKILL.md under 500 lines
The broader ecosystem: skills beyond Claude
Skills aren't just a Claude feature anymore. They're becoming a cross-platform standard, and this has implications for how you invest in your skill library.
The Agent Skills open standard
Claude Code skills follow the Agent Skills open standard (agentskills.io), which works across multiple AI tools. This means a skill you write for Claude Code can potentially work in other tools that support the standard — Cursor, Codex, OpenCode, and others.
Vercel's skills.sh directory
In January 2026, Vercel launched skills.sh, an open directory where developers publish and install skills for AI agents. It grew quickly after launch and supports Claude Code, Codex, Cursor, and other tools. Think of it as npm for agent skills.
Security considerations for public skills
The ecosystem is young, and the supply chain risks are real. Snyk's research found active malicious payloads in public skill directories — skills disguised as crypto trading tools that actually steal credentials.
Practical rules for public skills
Stick to skills from known repositories with visible maintainers - Always audit before enabling
— read every file, not just SKILL.md - For your own team's skills, keep them in a private repo
with code review - When you do publish skills publicly, include clear documentation and your
maintenance commitment
What to build first
If you're starting from scratch, here's a practical sequence:
Pick one workflow your team repeats weekly. The weekly standup summary. The sprint review prep. The client report. Something everyone does, that everyone does slightly differently.
Build it as a Claude Code skill first. Filesystem-based, no API setup required. Test it with your own work for a week.
Share it as a project skill. Commit .claude/skills/your-skill/ to your repo. Now everyone on the project has it.
If it works, promote it to the API. Upload via /v1/skills so it's available across your API workspace and accessible from automations.
Add MCP connections as needed. Start with the skill logic first. Layer in MCP data sources once the workflow is proven.
Don't try to build a comprehensive skill library on day one. Build the one skill that saves the most time this week. Then build another one next week. The library grows from actual usage, not from planning sessions.
Assets: Skill spec template and governance checklist
Skill spec template
Use this template for every new skill. It forces you to define scope, inputs, guardrails, and success criteria before writing instructions.
# Skill Spec: [Skill Name]## Scope-**What this skill does:** [one sentence]
-**What this skill does NOT do:** [boundaries]
-**Target surfaces:** [Claude.ai / Claude Code / API / SDK]
## Inputs-**Required:** [what the user must provide]
-**Optional:** [what enhances the output]
-**MCP dependencies:** [which MCP servers/tools, if any]
## Guardrails-**Must always:** [non-negotiable rules]
-**Must never:** [hard constraints]
-**Validation:** [how to verify the output is correct]
## Success criteria- Output matches expected format
- Triggers on relevant requests
- Does NOT trigger on unrelated requests
- Tested with Haiku / Sonnet / Opus
- Reviewed by [owner name]
## Owner-**Created by:** [name]
-**Version:** [x.y]
-**Last updated:** [date]
Skill library governance checklist
For teams managing more than a handful of skills:
Inventory:
All skills tracked in a central registry (repo directory or spreadsheet)
Each skill has a named owner
Each skill has a version and last-updated date
Unused skills identified and marked for deprecation
Quality:
New skills require PR review before merging
Skills tested on real scenarios (not just synthetic inputs)
Descriptions reviewed for trigger accuracy
Security audit for any skill that executes code
Maintenance:
Skills reviewed quarterly for accuracy
Deprecated skills removed or archived (not left to rot)
Breaking changes communicated to users before deployment
Version pinning used in production API integrations
Distribution:
Personal vs. project vs. org-wide scope is intentional for each skill
API-uploaded skills have documented version history
Claude.ai users know how to install team skills (or, on Team and Enterprise, get them provisioned by an owner)
New team members know where to find and how to use the skill library
Wrapping up
Skills are the difference between "Claude is useful when I prompt it right" and "Claude knows how our team works."
The investment is small. A SKILL.md file with your team's conventions. A few templates. Maybe a validation script. The return compounds every time someone on your team avoids rebuilding a workflow from scratch.
Start with one. The one workflow you're most tired of re-explaining.
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.