Update git skills
Agent Skills for Claude Code, Codex CLI, and other skills-compatible agents.
npx -y skills add cytoph/agent-skills --skill update-git-skillsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when updating externally-sourced skills from Git repositories in the current project or user-level .claude/skills directory. Use when skills may be outdated or after adding a new .gs-meta source file.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.1 KB, 484 tokens by cl100k_base, as published. Nobody here has run it
Update Git Skills
Checks *.gs-meta source files against their upstream Git repos and downloads updates when the SHA has changed.
Parameters
| Parameter | Description |
|---|---|
| (none) | Update all sources in pwd/.claude/skills |
--global | Update all sources in ~/.claude/skills |
--only=name1,name2 | Limit to named sources (matches the .<name>.gs-meta filename) |
Usage
Run the script, passing any parameters the user provided:
bash ~/.claude/skills/update-git-skills/update.sh [--global] [--only=name1,name2]
After updating, reload skills in your agent (e.g. /reload-plugins for Claude Code).
Adding a Skill Source
Create a .<name>.gs-meta file in .claude/skills/:
repo=owner/repo
path=relative/path/to/skills/folder
sha=
allow=folder1,folder2
repo— GitHub shorthand (owner/repo) or full Git URL (https://gitlab.com/owner/repo,git@...)path— subfolder within the repo whose contents are copied to.claude/skills/sha— leave empty on first add; filled in automatically after installallow— (optional) comma-separated folder names to install; all others skippeddeny— (optional) comma-separated folder names to skip; all others installed
Only one of allow or deny may be set. If both are present the script logs an error for that source and continues with the others.
Example — .gws-cli.gs-meta:
repo=googleworkspace/cli
path=skills
sha=
allow=gws-gmail,gws-calendar
Notes
- Only tracks the
mainbranch - Uses
git ls-remotefor SHA check (no download if already up to date) - Clones with
--filter=blob:nonewhere supported; falls back to plain--depth 1 - Skills from different repos sharing a folder name will overwrite each other — avoid naming conflicts
- This skill itself is not managed by the script
What ships with it: 1 file
4.7 KB alongside SKILL.md, 1 of them executable
- update.shruns4.7 KB