Install your first skill for Claude Code
In this tutorial you install Anthropic's frontend-design skill for Claude Code. You install it for your user, so it is available in every project where Claude Code uses your personal setup.
You will use a public GitHub repository as the registry, save the selection in your personal configuration file, and check the skill that agent-marketplace writes for Claude Code.
Before you begin
You need:
- Claude Code.
- Git. Run
git --versionto check. agent-marketplaceon yourPATH. Install explains how.
Check that the program is available:
agent-marketplace --helpYou should see a list of commands that includes init, list, status, and sync. If the terminal answers command not found, the program isn't on your PATH yet; go back to Install.
A skill is a set of instructions that your coding agent follows. Review third-party skills before you install them. You can read the frontend-design source used in this tutorial.
Run the tutorial from your home folder. A project folder can have its own harness settings that override your personal ones, and your home folder has none:
cd ~1. Select Claude Code as your harness
agent-marketplace needs to know which coding tool, or harness, should receive the resources you install. Create a personal configuration that targets Claude Code:
agent-marketplace init --harnesses claudeThe command creates ~/.agents/config.yaml and prints its path:
Initialized user personal config: <home>/.agents/config.yamlIf it prints User personal config already initialized. instead, you already have a personal configuration. Step 3 replaces that file, and the sync after it removes anything your old configuration installed into your personal harness folders. Copy the configuration first, and its lockfile if you have one:
cp ~/.agents/config.yaml ~/.agents/config.yaml.bak
if [ -f ~/.agents/lock.yaml ]; then cp ~/.agents/lock.yaml ~/.agents/lock.yaml.bak; fiIf you made these copies, you can undo the tutorial afterwards. Restore the configuration, then restore your lockfile, or remove the tutorial's lockfile if you had none, and sync:
cp ~/.agents/config.yaml.bak ~/.agents/config.yaml
if [ -f ~/.agents/lock.yaml.bak ]; then cp ~/.agents/lock.yaml.bak ~/.agents/lock.yaml; else rm -f ~/.agents/lock.yaml; fi
agent-marketplace syncBack up and restore machine resources covers the fuller procedure.
Check which harness is selected:
agent-marketplace statusUnder TARGET HARNESS SET, confirm that the target is claude and its source is USER:
TARGET HARNESS SET
TARGET HARNESSES SOURCE
claude USER2. Browse the skill
This lists the registry without changing your configuration:
agent-marketplace list \
--from https://github.com/anthropics/skills.git \
--ref main \
--path skills/frontend-design--ref main reads the main branch, and --path limits the search to the skill's folder. The first run downloads the repository into a local cache, which can take a few seconds. The result should show an available skill named frontend-design:
REGISTRY KIND NAME TAGS (metadata) STATUS
skills skill frontend-design availableIf the command fails with an error about git, check that Git is installed and that you can reach GitHub.
3. Select the skill in your configuration
Replace your personal configuration with one that declares the Git source and asks for the skill. Copy the whole block, including the final EOF line:
cat > ~/.agents/config.yaml <<'EOF'
apiVersion: agent-marketplace/v4
harnesses:
- claude
sources:
anthropic-skills:
git: https://github.com/anthropics/skills.git
ref: main
path: skills
resources:
anthropic-skills:
include:
- skill/frontend-design
EOFsources gives the registry the name anthropic-skills. resources asks for one skill from that source.
Write the skill into Claude Code's folders:
agent-marketplace syncYou should see:
Installed 2 Removed 0 Malformed 0 Errors 0
→ ~/.claude/.claude-plugin (1 written), ~/.claude/skills (1 written)"Installed" counts files written: the skill, and a Claude Code manifest that lists installed skills. If Errors is not 0, read the lines below the summary. They usually name the setting or the registry that failed.
4. Check the installation
agent-marketplace statusLook at these tables in the output:
EXACT REGISTRY LOCKShas aUSERrow forhttps://github.com/anthropics/skills. It shows themainref and the exact commit this installation used.SYNCED RESOURCEShas afrontend-designrow with kindskill, harnessclaude, sourceUSER, registryhttps://github.com/anthropics/skills.git, and refmain.HARNESS TARGETSshows Claude Code's machine root asdefault=<home>/.claude.DRIFTsaysIn sync.
The skill is now at:
~/.claude/skills/frontend-design/SKILL.mdagent-marketplace normally creates this skill folder as a symlink (a shortcut) to its cache. Don't edit the file there. Change the configuration and run sync instead.
5. Use the skill
Start a new Claude Code session so it finds the new skill. Then give it a frontend task, for example:
Create a distinctive landing page for a neighborhood film photography club.
Use the frontend-design skill and explain the visual direction before building it.Claude Code follows the skill's guidance when it plans and builds the design.
What happened
You did three things:
- selected Claude Code as the target harness;
- added Anthropic's repository and the
frontend-designselection to your personal configuration; and - ran
sync, which wrote the skill into Claude Code's personal folder and recorded the commit in~/.agents/lock.yaml.
This tutorial follows the repository's main branch. The lockfile keeps you on the recorded commit until you run agent-marketplace update; the reproducibility and lockfiles explanation describes how that works and when to pin a tag or commit instead.
Next steps
- Install your first skill from an online Marketplace to learn the hosted catalog workflow.
- Learn the everyday
list,install,remove,sync, andupdatecommands. - Adopt agent-marketplace in a repository to share selections with a team.
- Read the configuration reference when you need to edit
.agents/config.yamldirectly.