install-skill
Skill4 starsChanged 7 months agoMITView on GitHub
Install an agent skill from skills.sh (or any GitHub repo) into the user-global skills directory and restart the cookiedclaw daemon so the new skill becomes discoverable. Use when the user says "install skill X", "add the foo skill", or "поставь скилл на bar". Requires daemon mode enabled (`/cookiedclaw:setup`).
7 other projects use a version of this.
Adopted by
Most recently taken up by
- Mineru98/skills-storetheir own version, first seen Aug 26, 2026
- aaronjmars/miroshark-aeontheir own version, first seen Aug 20, 2026
- aeonfun/aeontheir own version, first seen Aug 20, 2026
- roerohan/skillstheir own version, first seen May 13, 2026
- moazbuilds/claudeclawtheir own version, first seen Apr 25, 2026
- xiangu152/my_claude_skillstheir own version, first seen Apr 5, 2026
Used with
Projects with it also use create-skill.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ElasticSkillcreate-skill
Interactively create a new Claude Code skill and add it to the elastic-docs-skills catalog. Use when the user wants to generate a new skill, scaffold a slash command, or build automation for docs tasks.
Also in 3 projects that use this
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- moazbuilds/claudeclaw★ 1.3ksame name
- aeonfun/aeon★ 766same name
- roerohan/skills★ 29same name
- aaronjmars/miroshark-aeon★ 18same name
- schwepps/skills★ 17same name
- Mineru98/skills-store★ 13same name
- xiangu152/my_claude_skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdcCursor rule
- daemon-restartSkill
- daemon-statusSkill
- debugSkill
- fal-setupSkill
- setupSkill
- supermemory-setupSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
If not active, tell the user to run /cookiedclaw:setup first.
- Very specific: line 26
If the user gave a precise package (e.g.
- Distinctive: line 28
If they gave a topic ("install a skill for code review"), search first:
- Distinctive: line 46
Verify the install landed:
- Distinctive: line 68
After the detached restart, end your turn — don't try to send another Telegram message.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Install a skill remotely
Installs an agent skill via the Skills CLI and restarts the cookiedclaw daemon so the new skill is picked up without anyone touching the terminal.
[!WARNING]
npx skills add <pkg>runs arbitrary code from a third-party repo. The "highest install-count from a trustworthy source" heuristic below is not a signature check. Verify the package source before installing anything for the user when in doubt — when not in doubt (clearly named popular skills fromvercel-labs,anthropics,obra,microsoft), proceed.
Pre-flight
Confirm the daemon is up — restart only works if it's already running under systemd:
systemctl --user is-active cookiedclawIf not active, tell the user to run /cookiedclaw:setup first. Without daemon mode, you can install the skill but the user has to restart CC manually.
Pick the skill
If the user gave a precise package (e.g. obra/superpowers@brainstorming), use it.
If they gave a topic ("install a skill for code review"), search first:
npx --yes skills find <query>Then pick the highest install-count result from a trustworthy source (vercel-labs, anthropics, obra, microsoft, …). Show the user the candidate and what it does, and ask only if it's ambiguous. Otherwise proceed.
Install
npx --yes skills add <owner/repo>@<skill> -g -yFlags:
-g— install user-globally (~/.agents/skills/), symlinks into~/.claude/skills/-y— skip interactive agent-target picker
Verify the install landed:
ls -la ~/.claude/skills/<skill-name>It should be a symlink pointing at ~/.agents/skills/<skill-name>.
Restart so the skill becomes discoverable
CC scans skills only at startup. Tell the user via Telegram what just happened, then trigger the restart in a way that gives the channel server time to flush the message before SIGTERM lands:
✓ Installed
<skill>. Restarting cookiedclaw so it shows up — back in a few seconds.
Then issue the restart in a detached subshell so this skill's await completes before systemd kills the process:
setsid bash -c 'sleep 2; systemctl --user restart cookiedclaw' </dev/null >/dev/null 2>&1 &The 2-second sleep is the safety window: this skill returns immediately, the channel server flushes the "Installed" message to Telegram (Telegram round-trip is typically 200–500ms but can spike past 1s on slow networks or rate limits), then systemd restarts everything.
After the detached restart, end your turn — don't try to send another Telegram message. The channel server is going down.
Post-restart smoke check (next session)
The smoke check fires from the next session that comes up — the current process is dead by then. Add this to the end of IDENTITY.md or BOOTSTRAP.md if you want the new session to verify the skill is reachable. (Not strictly part of this skill, but a worthwhile follow-up.)
For now, the daemon's Restart=always policy means it'll come back up within a few seconds; the user's next DM lands in the fresh session and confirms by behaviour.
Failure modes
- Install errored — show the npx output, do not restart. Skill state is unchanged.
- Daemon not active — install but skip restart. Tell the user the skill is on disk; they need to restart CC manually (or run
/cookiedclaw:setupto switch to daemon mode going forward). - Restart succeeded but skill still not visible after restart — most likely a name mismatch (the SKILL.md
name:field differs from the directory name). Tell the user to check~/.agents/skills/<dir>/SKILL.mdfrontmatter.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

