@joelxie/team-skill
v0.1.0
Published
Pull and manage OpenClaw skills from a team GitLab repository.
Readme
team-skill
team-skill is a small npm CLI for pulling OpenClaw skills from a team-maintained GitLab repository.
Commands
team-skill pull --target ~/.openclaw/workspace/skills
team-skill listIf --target is omitted, skills are installed to:
~/.openclaw/workspace/skillsBehavior
- Pulls skills from the configured GitLab repository
- If
repositoryis a Git URL like[email protected]:group/project.git,pullusesgit clone - If
repositoryis a GitLab project path likegroup/project,pulluses the GitLab API - Installs only directories under
skills/<skill-name>/ - Treats a directory as a valid skill only when
SKILL.mdexists - Prompts before overwriting a local skill with the same name
- Tracks pulled skills in
~/.openclaw/team-skill/state.json
Maintainer setup
Update team-skill.config.json before publishing:
{
"repository": "[email protected]:your-group/your-project.git",
"ref": "main",
"skillsRoot": "skills",
"apiBaseUrl": "https://git.xiaojukeji.com/api/v4"
}repository can be either:
group/projectgroup/subgroup/project[email protected]:group/project.githttps://git.xiaojukeji.com/group/project.git
For company-internal use, the SSH format is usually the easiest because it can reuse your existing Git access without requiring a GitLab API token.
Local development
npm test
node ./bin/team-skill.js --helpRelease notes
See docs/RELEASE.md.
Install
npm install -g @joelxie/team-skill