Update Codex and Claude Skills Safely
To update Codex and Claude skills, refresh the folder from its source and then make the client read it again. Neither vendor documents a version-aware upgrade command, so the reliable method is reinstall plus restart in Codex, and re-fetch plus live detection in Claude Code.
Update Codex and Claude Skills by Reinstalling from Source
Codex installs curated skills from openai/skills, and the README's install flow is idempotent in practice: run $skill-installer again for the same skill and it replaces the local copy. After installing, restart Codex so the new SKILL.md is picked up.
The same repository caveat applies to maintenance. Its README marks openai/skills deprecated and points to the OpenAI Plugins repository for current examples. If you depend on a curated skill, check whether the plugin version has replaced it before spending time on a stale copy.
Reinstalling is safer than editing the installed copy. Local edits disappear on the next refresh and are invisible to anyone else using the same source, which turns a quick fix into a divergence nobody can explain later.
For skills you copy into a repository yourself, the update is a normal file change. Pull the new folder into .agents/skills, commit it, and restart Codex. Because the skill lives in version control, the diff shows exactly which instructions changed.
What Changes When Codex Itself Updates
Skills under .system ship with Codex and are installed automatically in the latest version. Updating the Codex client therefore updates those skills without any separate step, and you cannot pin them independently of the client version.
Curated and experimental skills live outside the client, so a Codex update does not refresh them. Codex detects skill changes automatically in most cases, but the documentation still recommends a restart when an update does not appear. Editing ~/.codex/config.toml also requires a restart, which matters if you changed enablement at the same time as the files.
There is no documented changelog or version field specific to Codex skills. Use the repository commit you installed from as the record of what changed.
Client updates can also change the description budget or the scanning rules. After a major Codex release, recheck that the same skills appear, rather than assuming a working setup survived unchanged.
Refresh Claude Code Skills and Plugin Installs
Claude Code's update story is split between files and plugins. For a personal or project skill, editing ~/.claude/skills/<name>/SKILL.md or .claude/skills/<name>/SKILL.md takes effect within the current session, because Claude watches those directories. Removing a skill folder is detected the same way.
Plugin skills are different. anthropics/skills is registered with /plugin marketplace add anthropics/skills, and skills arrive through document-skills@anthropic-agent-skills or example-skills@anthropic-agent-skills. The skills documentation does not describe a plugin refresh or version-pinning command, so use the plugin marketplace workflow to reinstall the set, and treat the plugin release as the unit of update.
A practical refresh sequence is to remove the plugin set, add the marketplace again, and reinstall the two sets. That forces a clean copy instead of relying on whatever the previous install left behind.
If you maintain a local copy instead, point a personal skill at the folder you control and update it with your normal source control. That trades the marketplace convenience for a diff you can review.
Pin What the Format Cannot Version
The Agent Skills frontmatter has an optional metadata map, and the specification's examples include version: "1.0". That is a label, not a resolver: neither Codex nor Claude Code documents behavior that compares versions or refuses an older skill.
Pinning therefore happens outside the skill:
- Keep your own skills in git and record the commit you deployed.
- Copy vendor skills into a repository
.agents/skillsfolder when you need a stable snapshot. - Record the marketplace plugin set you installed, since Anthropic does not expose per-skill versions in the documented flow.
- Keep a copy of the previous
SKILL.mdbefore replacing it, so rollback is a file restore.
This is enough for teams that need reproducibility without forking the vendor repositories.
Write down the source commit and the install date next to the skill name. Without a version resolver, that note is the only reliable answer to what changed when behavior shifts.
Verify Behavior After an Update
Run a structural check first. skills-ref validate ./my-skill verifies frontmatter validity and naming rules, which catches the common breakage of a renamed folder that no longer matches name.
Then compare the parts that affect loading. A changed description changes when the skill triggers; a changed name changes the slash command or folder match; a new paths field in Claude Code narrows automatic activation to matching files. In Codex, check whether the description still survives the initial-list budget, which shortens descriptions when many skills are installed.
Finally, rerun the prompts that should trigger the skill and one prompt that should not. If the positive prompt fails after an update, reinstall and restart before editing the instructions. If the negative prompt starts matching, tighten the description.
Diff the frontmatter first, then the body. Frontmatter changes alter discovery and are cheap to review; body changes alter execution and need a prompt that exercises the changed steps. If a skill fails in only one client, the shared format is probably fine and the vendor-specific field is the suspect.
For the folder layout used by both clients, see the install guide; for the enablement switches that survive an update, see control which skills load.
FAQ
Reinstall it through $skill-installer, or refresh the local skill folder from the repository, then restart Codex so the new SKILL.md is read.
Yes for files inside ~/.claude/skills/, the project .claude/skills/, or a .claude/skills/ under an --add-dir directory. Creating a top-level skills directory that did not exist at session start still needs a restart.
The Agent Skills specification allows an optional metadata map, and its examples use a version key. Codex and Claude Code do not document version-aware updates, so treat metadata.version as a label rather than an install constraint.
Compare the SKILL.md frontmatter, rerun validation, and repeat the prompts that should trigger the skill. A changed description can silently change when the skill loads.
Related Terms
- Skill drift
- The state where the installed skill folder no longer matches the repository version, usually because one side changed and the other was not refreshed.— Agent Skills specification
- metadata.version
- An optional key in the Agent Skills metadata map used to label a skill revision; clients are not required to act on it.— Agent Skills specification
- Live change detection
- Claude Code's behavior of watching skill directories so that adding, editing or removing a skill takes effect within the current session.— Anthropic Claude Code documentation
Sources
- Agent Skills in Codex· OpenAI
- openai/skills README· OpenAI
- Extend Claude with skills· Anthropic
- Agent Skills specification· Agent Skills