How to Install Claude Code Skills from GitHub and Keep Them Updated
Three ways to install a Claude Code skill from GitHub: the plugin marketplace, a folder in ~/.claude/skills or .claude/skills, or a skill library linked to the repository. The exact commands, where each copy lives, how it gets updated, how Codex reads the same SKILL.md, and what we measured on Anthropic's own repository: 19 skills, 16 that copy over whole.
"How to add skills to Claude Code" and its Portuguese twin "como instalar skills no claude code" have been rising in Google Trends for four nights. Google suggests the rest of the question: "from github", "globally", "on windows", "in opencode".
Short answer: a Claude Code skill is a folder that contains a SKILL.md file, and installing one from GitHub means putting that folder where Claude Code looks, either through the plugin marketplace or by copying it into ~/.claude/skills/ (all your projects) or .claude/skills/ (one repository). The hard part is not the install. It is the update, and it differs for each method.
Everything below was checked on November 22, 2026, against Anthropic's documentation (code.claude.com, pages Skills, Plugins and Plugin marketplaces), the README of Anthropic's anthropics/skills repository, OpenAI's Codex documentation, Claude Code 2.1.318 and Codex CLI 0.171.0 installed on our machine.
A skill in one paragraph
A skill is a folder. Its only required file is SKILL.md: a frontmatter block between two --- lines, then instructions in Markdown. The folder can also carry scripts, references and templates that the instructions point to. Claude reads the description of every skill it has, and loads the rest of a skill only when the task matches. In Claude Code every frontmatter field is optional and only description is recommended; name defaults to the folder name. Codex is stricter, more on that below.
Where Claude Code looks for skills
| Where | Path | Who gets it |
|---|---|---|
| Personal | ~/.claude/skills/<name>/SKILL.md | You, in every project on this machine |
| Project | .claude/skills/<name>/SKILL.md | Everyone who clones the repository, once you commit it |
| Plugin | <plugin>/skills/<name>/SKILL.md | Whoever installed the plugin, as /plugin-name:skill-name |
| Enterprise | managed settings folder | Everyone the admin targets |
When two skills share a name, enterprise wins over personal and personal wins over project. Plugin skills never collide, because their name carries the plugin's name. A skill can also be a symbolic link to a folder elsewhere on disk: Claude Code reads SKILL.md from the target. That detail matters for updates.
Method 1: the plugin marketplace
This is the route Anthropic's own repository documents. In a Claude Code session:
/plugin marketplace add anthropics/skills
/plugin install document-skills@anthropic-agent-skills
The first line registers the repository as a marketplace (its .claude-plugin/marketplace.json names it anthropic-agent-skills). The second installs one plugin from it. In a session, /plugin install does not install right away: it opens the /plugin panel so you choose the scope. From a shell, the same two steps are claude plugin marketplace add anthropics/skills and claude plugin install document-skills@anthropic-agent-skills, with the user scope by default.
anthropics/skills ships two plugins: document-skills (xlsx, docx, pptx, pdf) and example-skills (the other examples, from skill-creator to webapp-testing). You install a bundle, not one skill.
Updates. claude plugin marketplace update anthropic-agent-skills refreshes the listing, claude plugin update document-skills@anthropic-agent-skills updates the plugin, and in /plugin, the Marketplaces tab has Update marketplace and an auto-update switch. Anthropic's documentation says auto-update is on by default for official marketplaces and off for every other one, and that no command updates every plugin at once. So a third-party skill repository stays at the version you installed until you act.
Use it when: the repository is a marketplace, you want a whole set, and you only use Claude Code.
Method 2: a folder in ~/.claude/skills or .claude/skills
Most skills on GitHub are not plugins. They are a folder with a SKILL.md, alone in a repository or among dozens in an "awesome" list. You put that folder where Claude Code looks. On macOS and Linux, a shallow clone plus a symbolic link keeps the update to one command:
git clone --depth 1 https://github.com/anthropics/skills ~/src/anthropic-skills
mkdir -p ~/.claude/skills
ln -s ~/src/anthropic-skills/skills/pdf ~/.claude/skills/pdf
The clone took 1.2 seconds on our connection. The link makes the pdf skill available in every project, and git -C ~/src/anthropic-skills pull updates it later. On Windows, mklink /D creates the same link but needs Developer Mode or an administrator prompt; without it, copy the folder (Copy-Item -Recurse) and copy it again to update.
For one repository only, copy the folder into .claude/skills/pdf at the root of the project and commit it. Do not commit a symbolic link to a path on your own disk: your teammates do not have it.
You do not need to restart. Claude Code watches its skill folders and picks up a new or edited SKILL.md in the current session; if a new skill does not appear, /reload-skills reloads them. Anthropic's documentation does not say whether a git pull behind a symbolic link is picked up live, so if an update does not show, start a new session.
Use it when: you want one skill from a larger repository, or a skill that is not packaged as a plugin.
What we measured on Anthropic's repository
We cloned anthropics/skills on November 22, 2026 (commit e4bb5d9, November 16) and looked at what is actually in it, because "install the skill" assumes the folder is self-contained.
- 19 skills under
skills/, plus atemplate/folder. 12 MB on disk without the git history. - Sizes vary a lot:
doc-coauthoringis one 15 kB file,claude-apiis 96 files and 2 MB,docx,pptxandxlsxcarry 53 to 61 files and 1.1 MB each: 39 XML schemas (.xsd) and a dozen Python scripts apiece. - 3 skills depend on binary files:
canvas-designships 54 font files (.ttf),theme-factorya 10-page PDF of its themes,web-artifacts-builderashadcn-components.tar.gzarchive. That last one matters: itsinit-artifact.shscript stops with "shadcn-components.tar.gz not found" when the archive is missing.
The lesson for Method 2: copy the whole folder, not only SKILL.md. A skill is often a small program with its data, and the instructions alone fail at the first script.
Codex and the other CLIs read the same file
A skill written for Claude Code is not locked to it.
- Codex CLI reads the same
SKILL.mdformat. Version 0.171 looks in.agents/skillsin the repository, in~/.agents/skills(the location OpenAI's documentation gives), and in~/.codex/skills, where its built-in$skill-installerskill installs what you ask for, from a curated list or from a GitHub repository path, private repositories included. One difference: Codex requires bothnameanddescriptionin the frontmatter, so a skill written for Claude Code without anameline needs one. - Antigravity CLI reads skills from
.agents/skills, the same folder name as Codex. - Other CLIs (Aider, OpenCode, Goose and the rest) have their own conventions or none. The fallback that always works is the instructions pasted into the agent's prompt.
If you run several CLIs, you end up with the same skill in two or three folders, updated by hand in each.
Method 3: one copy for every CLI, linked to its repository
That duplication is the reason we put the git link in the AgentsRoom Skills Library instead of in a script. This is what we use every day, and what it does exactly:
- In the skill editor, open Git source and enter the repository URL (https://, ssh:// or git@host:owner/repo.git), an optional branch or tag, and the subfolder that holds
SKILL.mdwhen the repository contains several skills. Foranthropics/skills, one skill per subfolder:skills/pdf,skills/docx, and so on, same URL. - Fetch clones the repository shallowly into a cache on your computer (
~/.agentsroom/skill-sources/, never inside your project), with your own git access (SSH key or credential helper). A URL that contains a password or token is refused. - When the library opens, a linked skill whose repository has new commits shows Update available, and Update all refreshes them in one click. The check reads the remote's latest commit without cloning. The previous version stays in the skill's history, so an update can be undone.
- Turn on Auto-update from git in a skill and it follows its source by itself: it is checked when an agent launches and when the library opens, at most every 10 minutes per repository. Leave it off to keep a pinned version.
- Since version 1.284.0 (November 22, 2026), an agent can run that update for you when you ask, through the AgentsRoom MCP, and it tells you the previous commit and the new one.
When an agent starts, AgentsRoom writes the skills attached to it in the CLI's native format, in a folder only that session reads: Claude Code gets them in a .claude/skills folder it is given with --add-dir, Antigravity in .agents/skills. Codex gets them as text in its prompt, because it has no per-session skill folder. Nothing is written to your ~/.claude/skills or to the repository. The same skill, linked once, reaches every agent whatever CLI runs it.
The limits are real. The library keeps text files only, at most 200 files, 2 MB per file and 5 MB per skill. We ran the 19 folders of anthropics/skills through those rules: 16 come over whole. canvas-design arrives without its fonts and theme-factory without its PDF, both still usable. web-artifacts-builder loses the archive its script needs: install that one with Method 1 or 2. And the git source runs on the desktop app, so it needs the app open on the computer that does the clone.
Which method to pick
| Your situation | Method |
|---|---|
| A marketplace repository, only Claude Code | 1, the plugin marketplace |
| One skill for you, in every project | 2, a clone and a link in ~/.claude/skills |
| One skill the whole team should get | 2, a copy committed in .claude/skills |
| Several CLIs, or the same skills on several machines | 3, the library linked to the repository |
Whatever you choose, read a skill before you install it. SKILL.md is instructions your agent will follow, and its scripts run on your machine with your permissions.
Frequently asked questions
How do I install Claude Code skills from GitHub?
If the repository is a plugin marketplace, like anthropics/skills, run /plugin marketplace add anthropics/skills, then /plugin install document-skills@anthropic-agent-skills. Otherwise copy the skill's folder, the one that holds SKILL.md, into ~/.claude/skills/ for all your projects or .claude/skills/ for one repository.
Where are Claude Code skills stored?
Personal skills: ~/.claude/skills/<name>/SKILL.md, loaded in every project. Project skills: .claude/skills/<name>/SKILL.md in the repository, shared when committed. Plugin skills live inside the plugin and run as /plugin-name:skill-name. On a name clash, enterprise wins over personal, and personal over project.
How do I keep Claude Code skills up to date?
A plugin: claude plugin update <plugin>@<marketplace>, or auto-update for its marketplace in /plugin, off by default for third-party marketplaces. A cloned folder: git pull. A copied folder: copy it again. A skill linked in the AgentsRoom Skills Library shows Update available when its repository moves.
Can Codex use Claude Code skills?
Yes. Codex CLI 0.171 reads SKILL.md from .agents/skills in the repository, ~/.agents/skills and ~/.codex/skills. It requires both name and description in the frontmatter, where Claude Code only recommends description.
Do I need to restart Claude Code after adding a skill?
Usually not: Claude Code watches its skill folders and picks up a new or edited SKILL.md in the session. Run /reload-skills if a new one does not show. After renaming a skill or changing its name, start a new session.
Download AgentsRoom
Run all your AI agents, on all your projects, from a single window.
Companion app: monitor your agents on the go
Bring your own: Claude, Codex, Antigravity CLI, or other AI provider.
Push bugs and requests straight to your public backlog.
Keep reading
How to Install Claude Code and Codex CLI on Windows
The exact PowerShell, CMD, WinGet and npm commands to install Claude Code and Codex CLI on Windows 10 and 11, when to pick WSL, and how to fix 'claude is not recognized' and the other errors you will meet.
Read the articleHow to Remove Co-Authored-By Claude From Your Git Commits
Claude Code signs your commits with a Co-Authored-By trailer and your pull requests with a Generated with Claude Code line. The setting that removes them, the file to put it in, and how to clean commits you already pushed.
Read the articleWhat Is Ultracode in Claude Code? What It Does and Costs
Ultracode is a Claude Code setting, not an effort level: with it on, Claude writes a dynamic workflow, a script that runs several subagents, for each substantive task. How to turn it on and off, why it is not max effort, and the same code review run twice on Opus 5.5, once at xhigh and once with ultracode: about four times the tokens, more than twice the time, and a verification that never came back in claude -p.
Read the article