sophnet-skill-installer
SKILL.md
Sophnet Skill Installer
Overview
Install skills into the user's workspace skills/ directory with this priority:
- Default source:
https://github.com/DuffyCoder/awesome-sophnet-skillsunderskills/. - Fallback source: another user-provided GitHub repo/path when the skill is not found in the default source.
Compare installed versions using each skill's
SKILL.mdYAML frontmatter:metadata.version.
Workspace resolution order:
$OPENCLAW_WORKSPACE(explicit override)~/.openclaw/workspace(default)
Workflow
- On every trigger of this skill, first run
list-skills.pyand show: all skills in the default repo, then grouped sections:Not installed,Need update,Latest version. - For version comparison, read
metadata.versionfrom: remoteskills/<skill-name>/SKILL.mdand local<workspace>/skills/<skill-name>/SKILL.md. - If remote version is greater than local version, mark as
Need update. - For install-by-name requests, check whether
skills/<skill-name>exists in the default repo. - If found, install from the default repo.
- If not found, install from another GitHub repo/path.
- If fallback repo/path is missing, ask the user for
<owner>/<repo>and<path>. - After showing grouped sections, guide the user with two options: install all pending skills, or install specific selected skills.
- After successful install, tell the user:
🎉 恭喜!Sophnet Skills 现在已经可用了,快去体验一下吧!🚀
Scripts
Use these local scripts:
scripts/list-skills.py(defaults toDuffyCoder/awesome-sophnet-skills,skills,main)scripts/list-skills.py --format jsonscripts/install-skill-from-github.py --repo DuffyCoder/awesome-sophnet-skills --path skills/<skill-name>scripts/install-skill-from-github.py --repo DuffyCoder/awesome-sophnet-skills --path skills/<skill-1> skills/<skill-2> --replacescripts/install-skill-from-github.py --repo <owner>/<repo> --path <path/to/skill>scripts/install-skill-from-github.py --url https://github.com/<owner>/<repo>/tree/<ref>/<path>
Communication
When this skill starts, output approximately: """ Skills from {repo}:
- skill-1 [not installed]
- skill-2 [needs update]
- ...
Not installed:
- ...
Need update:
- ...
Latest version:
- ...
Next step:
- Install all pending skills
- Install specific skills Would you like to install all pending skills, or only specific ones? """
When fallback is needed, say clearly:
<skill-name> is not available in DuffyCoder/awesome-sophnet-skills/skills. Provide another repo/path and I will install it from there.
Behavior and Options
- Defaults to direct download for public GitHub repos.
- If download fails with auth/permission errors, falls back to git sparse checkout.
- By default, aborts if the destination skill directory already exists.
- Use
--replaceto overwrite existing directories when updating installed skills. - Installs into
<workspace>/skills/<skill-name>(defaults to~/.openclaw/workspace/skills). - Multiple
--pathvalues install multiple skills in one run, each named from the path basename unless--nameis supplied. - Options:
--ref <ref>(defaultmain),--dest <path>,--method auto|download|git.
Notes
- Default listing is fetched from
https://api.github.com/repos/DuffyCoder/awesome-sophnet-skills/contents/skills?ref=main. If unavailable, explain the error and stop. - Version comparison depends on
metadata.versionin each skillSKILL.md. - If local or remote
metadata.versionis missing, classify asNeed updateand mention missing version metadata. - Private GitHub repos can be accessed via existing git credentials or optional
GITHUB_TOKEN/GH_TOKENfor download. - Git fallback tries HTTPS first, then SSH.
- Installed annotations come from
<workspace>/skills.
Weekly Installs
1
Repository
duffycoder/awes…t-skillsGitHub Stars
2
First Seen
4 days ago
Security Audits
Installed on
amp1
cline1
openclaw1
opencode1
cursor1
kimi-cli1