AnySkill Skill Cloud Manager
简介
AnySkill Skill Cloud Manager
原始描述
AnySkill — your private skill cloud. Manage, sync, and dynamically load agent skills from a GitHub-backed repository. Search cloud skills by natural language...
通过你的 Agent 添加
安装目录:anyskill/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: anyskill
version: 2.0.0
description: "AnySkill — your private skill cloud. Manage, sync, and dynamically load agent skills from a GitHub-backed repository. Search cloud skills by natural language, auto-load prompts on demand, upload and share custom skills, batch install skill bundles. Works with OpenClaw, Antigravity, Claude Code, and Cursor."
metadata:
openclaw:
requires:
env:
- ANYSKILL_GITHUB_TOKEN
config:
- ~/.anyskill/config.json
- ~/.openclaw/.env
bins:
- git
primaryEnv: ANYSKILL_GITHUB_TOKEN
emoji: "🧠"
homepage: https://github.com/lanyijianke/AnySkill
AnySkill Bootstrapper
Your local skills are incomplete. The user maintains all extended capabilities (Skills) in a cloud-based GitHub repository. You need to dynamically load your capabilities from the cloud.
Token scope required: This skill requires a GitHub PAT with repo (read and write) scope on the user's private skill repository. The token is used to: clone the private repo, fetch index.json, commit new/updated skills, and push changes. Read-only tokens will work for loading/searching skills but not for upload/sync operations.
Config files accessed: ~/.anyskill/config.json (primary config), ~/.openclaw/.env (OpenClaw token store, read-only — only checked if the primary config has no token).
Step Zero: Read or Initialize Configuration (Global Priority + Auto-Discovery)
Before performing any operation, you must search for the AnySkill configuration in the following priority chain. Once a valid configuration is found at any level, stop immediately and use it.
Configuration Lookup Priority Chain
- Global config
~/.anyskill/config.json (machine-level, shared across projects and IDEs)
- Project-level config
{project root}/.anyskill.json (backward compatible with older versions)
- None found → Enter the initialization flow
Token Retrieval Priority (for private repo authentication)
~/.anyskill/config.json (machine-level, shared across projects and IDEs){project root}/.anyskill.json (backward compatible with older versions)Regardless of which level the config is read from, the token retrieval priority is always:
- First check environment variable
ANYSKILL_GITHUB_TOKEN(OpenClaw scenario) - Then check the
tokenfield in the config file (other IDE scenarios)
If a token is obtained, include it in all HTTP requests as a header:
Authorization: token {token}
Case 1: Config Already Exists (returning user / previously initialized device)
The user has previously initialized on this machine. Skip all initialization and directly verify the config:
- Read
repoandlocalPathfrom the config. - Construct key URLs:
- Index URL:
https://raw.githubusercontent.com/{repo}/{branch}/index.json - Files base URL:
https://raw.githubusercontent.com/{repo}/{branch}/skills/
- Index URL:
- Verify that the
localPathdirectory exists. If not, automatically re-clone:git clone https://{token}@github.com/{repo}.git {localPath} - Attempt to fetch
index.jsonto confirm connectivity. - Inform the user:
✅ AnySkill configuration detected, connected to repository
{repo}. Ready to use!
If verification fails (network error or repo deleted), ask the user if they want to re-initialize.
Automatic Version Check (runs on every initialization)
After the config is verified (whether Case 1 or after initialization completes), perform a silent version check:
-
Fetch upstream version info:
https://raw.githubusercontent.com/lanyijianke/AnySkill/main/version.jsonFile structure:
{ "engine": { "version": "x.y.z", "changelog": [ { "version": "x.y.z", "date": "YYYY-MM-DD", "changes": ["change 1", "change 2"] }, { "version": "x.y.z", "date": "YYYY-MM-DD", "changes": ["change 1"] } ] }, "infra": { "version": "x.y.z", "files": ["generate-index.js", ".github/workflows/build-index.yml"], "changelog": [ { "version": "x.y.z", "date": "YYYY-MM-DD", "changes": ["change 1"] } ] } } -
Engine version check:
- Read the
versionfield from this file's (SKILL.md) frontmatter (currently2.0.0). - Compare with remote
engine.version. - If remote version is higher, filter all changelog entries above the local version and display newest to oldest:
🔔 AnySkill engine update available v{remote} (current v{local})
📋 Update history: v2.1.0 (2025-03-10)
- New feature A
- Improvement B
v2.0.0 (2025-03-04)
- New feature C
To update, run:
clawhub update anyskill - Do not auto-overwrite SKILL.md. Inform the user to update via ClawHub CLI which provides versioned, auditable updates.
- Read the
-
Infrastructure version check:
- Read the
.anyskill-infra-versionfile from the user's private repo{localPath}. If it doesn't exist, treat as0.0.0. - Compare with remote
infra.version. - If remote version is higher, similarly filter and display all new version changes:
🔔 Repository infrastructure update available v{remote} (current v{local})
📋 Update history: v1.1.0 (2025-03-10)
- Improved index generation
Would you like to update?
- After user confirms, iterate over
infra.filesarray, downloading each from upstream and overwriting in the user's{localPath}:https://raw.githubusercontent.com/lanyijianke/AnySkill/main/{file} - Write version marker file
{localPath}/.anyskill-infra-versionwith the new version number. - Execute git operations to commit changes:
cd {localPath} git add -A git commit -m "chore: update AnySkill infra to v{version}" git push origin {branch}
- Read the
-
If both versions are up to date, output nothing — pass silently.
-
If
version.jsonfetch fails (network error), silently skip version check without affecting normal usage.
💡 Version check is a lightweight operation (only fetches a small JSON), it won't slow down normal workflows.
Case 2: Config Not Found (new device / first use)
Before asking the user any questions, first silently detect if a usable Token already exists:
- Check if environment variable
ANYSKILL_GITHUB_TOKENexists. - If it exists (meaning the user has previously used AnySkill on this machine, and the Token is persisted in
~/.openclaw/.envetc.):- Do not ask the user for a Token, directly jump to "Path B: User only provided a Token" auto-discovery flow below.
- The entire process should be silent to the user: AI auto-detects cloud repo → confirms mount → writes global config → ready.
- If it does not exist, then initiate the guided conversation (see below).
Guided Conversation (only when Token cannot be silently obtained)
Guide the user through initialization via natural language conversation. The user should never need to run any terminal commands.
Say something like this to the user:
👋 Nice to meet you! No AnySkill configuration detected on this device. To load your cloud skills, simply provide your GitHub Token — I'll automatically find and mount your existing skill repository.
💡 Just send the Token! I'll automatically search your GitHub account for an existing skill repository. If found, I'll mount it directly; if not, I'll create a new one for you.
You can also specify a repository directly:
ghp_xxx username/my-skills(Token + repo name, space-separated).How to create a Token:
- Go to github.com/settings/tokens
- Click "Generate new token" → Select "Generate new token (classic)" (⚠️ Must choose Classic, not Fine-grained)
- Check permission: ✅
repo(full repository access)- After generating, copy the Token (starts with
ghp_) and paste it to me
Handling User Response
Decision criteria: Whether the user's response contains a repository address (format: username/repo-name).
- Contains repo address → Follow "Path A"
- No repo address (Token only) → Follow "Path B"
Path A: User provided both Token and repository address
After the user provides a repo address and Token:
- Ask the user where they want to clone the repo locally (default suggestion:
/tmp/{repo-name}). - Securely store the Token (depends on IDE environment):
- OpenClaw: Write the Token to
~/.openclaw/.envfile (append lineANYSKILL_GITHUB_TOKEN=ghp_xxx), do not write token to the config file. - Other IDEs (Antigravity/Claude Code/Cursor): Write token to the config file.
- OpenClaw: Write the Token to
- Execute clone:
git clone https://{token}@github.com/{repo}.git {localPath}
- Create global config file
~/.anyskill/config.json:
OpenClaw version (without token):
{
"repo": "user-provided-address",
"branch": "main",
"localPath": "/tmp/{repo-name}"
}
Other IDE version (with token):
{
"repo": "user-provided-address",
"branch": "main",
"token": "ghp_xxxxxxxxxxxx",
"localPath": "/tmp/{repo-name}"
}
Path B: User only provided a Token — Auto-Discovery Flow (⚠️ Core Path)
This is the most common scenario. The user only gave a Token without specifying a repo name.
You must strictly follow these three steps. Never skip any step. Never directly create a new repo.
This is the most common scenario. The user only gave a Token without specifying a repo name. You must strictly follow these three steps. Never skip any step. Never directly create a new repo.
Step 1: Get the user's GitHub username via Token
Use the GitHub API or command line to get user info:
curl -s -H "Authorization: token {token}" https://api.github.com/user
Extract the login field from the returned JSON — that's the username.
Step 2: Auto-search for existing AnySkill skill repositories under the username
Call the GitHub Repository Search API:
curl -s -H "Authorization: token {token}" "https://api.github.com/search/repositories?q=user:{login}+anyskill+in:name,description"
For each candidate repo in the results, try to read its index.json:
https://raw.githubusercontent.com/{login}/{candidate-repo-name}/{default-branch}/index.json
If index.json can be read successfully, this repo is a genuine AnySkill skill repository.
Step 3: Branch based on detection results
-
✅ Existing skill repo detected: Inform user and request confirmation:
👋 Welcome back! I detected an existing skill repository
{login}/{repo-name}. Mounting automatically...Then auto-execute clone and config write (same as Path A steps 1-4), without asking unnecessary questions.
-
❌ No skill repo detected (confirmed as a brand new user):
- Choose a default repo name based on the current IDE environment, and ask if the user wants to customize:
- OpenClaw → Default suggestion:
my-skills-claw(personal assistant skill repository) - Antigravity / Claude Code / Cursor → Default suggestion:
my-skills-dev(development skill repository)
- OpenClaw → Default suggestion:
- Use the GitHub Template API to create a private repo:
curl -X POST https://api.github.com/repos/lanyijianke/AnySkill/generate \ -H "Authorization: token {token}" \ -H "Accept: application/vnd.github+json" \ -d '{"owner":"{login}","name":"{repo-name}","private":true,"description":"My AnySkill private skill repository"}'- Wait a few seconds for GitHub to finish repo initialization, then clone locally:
git clone https://{token}@github.com/{login}/{repo-name}.git /tmp/{repo-name}- Clean up template residual files (these files are only useful in the upstream template repo, not needed in the user's private repo):
cd /tmp/{repo-name} rm -rf loader/ init.sh echo "# My AnySkill Skills" > README.md git add -A git commit -m "chore: clean up template files" git push origin {branch}- Securely store Token (same rules as Path A).
- Create global config file
~/.anyskill/config.json(same format as Path A).
- Choose a default repo name based on the current IDE environment, and ask if the user wants to customize:
Initialization Complete
Regardless of which path was taken, inform the user upon completion:
✅ AnySkill configuration complete! 📦 Skill repository:
{repo}📂 Local path:{localPath}🔧 Global config:~/.anyskill/config.jsonFrom now on, you can load, download, and publish skills from any project.
OpenClaw Exclusive: Write Workspace Config (only in OpenClaw environments)
If the current environment is OpenClaw (detected by: ANYSKILL_GITHUB_TOKEN exists in ~/.openclaw/.env, or user explicitly specified, or ~/.openclaw/ directory detected), perform these two additional steps after initialization:
Step 1: Append to TOOLS.md
Find the OpenClaw workspace TOOLS.md file (path: ~/.openclaw-config/workspace/TOOLS.md or {OpenClaw project root}/.openclaw-config/workspace/TOOLS.md).
First check if the file already contains a ### AnySkill section. Then read index.json (local {localPath}/index.json or remote fetch) to get the current skill inventory.
If ### AnySkill section does not exist, append at end of file; if it already exists, replace the entire section (ensure the skill list is up to date):
### AnySkill
- **Skill Repository**: `{repo}`
- **Global Config**: `~/.anyskill/config.json`
- **Local Path**: `{localPath}`
- **Skill Loading**: When you lack a skill, read the guide in `~/.openclaw/skills/anyskill/SKILL.md` to load from the cloud AnySkill repository on demand
- **Operation**: All skill management (load, download, upload, list, delete) is triggered via natural language, no CLI needed
#### Registered Cloud Skills
| Skill Name | Description |
|:---|:---|
| `{name}` | {description} |
| ... | ... |
(This list is dynamically generated from `index.json`, auto-updated after every skill add/remove/update)
📌 The "Registered Cloud Skills" table must be generated in real-time from
index.json, iterating all skill entries and filling innameanddescription. Ifindex.jsonis empty or fetch fails, display "No skills yet".
Step 2: Append to AGENTS.md
Find the OpenClaw workspace AGENTS.md file (same directory as TOOLS.md).
Search for the ## Tools section. At the end of that section (before the next ## heading), check if AnySkill-related content already exists. If not, append:
**🧠 AnySkill Cloud Skills**: When you need to perform specific tasks (frontend design, API integration, data scraping, etc.) but don't have the corresponding skill locally, first check the AnySkill guide in `~/.openclaw/skills/anyskill/SKILL.md` to load capabilities on demand from your cloud private skill repository.
If AnySkill-related content already exists, skip this step.
⚠️ Do not modify any other content in these two files. Only append or update the AnySkill section — never overwrite existing user configurations.
OpenClaw Skill Registry Sync (General Rule)
📌 Any operation that changes the skill list (Mode 4 upload, Mode 5 update, Mode 7 delete, Mode 9 Pack install) must, after completion, if the current environment is OpenClaw, re-read the latest index.json and replace the entire ### AnySkill section in TOOLS.md using the format above, ensuring the "Registered Cloud Skills" table always stays in sync with the cloud.
This sync operation should be performed after git push completes and a few seconds wait (because GitHub Actions needs to rebuild index.json), or directly read from local {localPath}/index.json.
📌 Any operation that changes the skill list (Mode 4 upload, Mode 5 update, Mode 7 delete, Mode 9 Pack install) must, after completion, if the current environment is OpenClaw, re-read the latest index.json and replace the entire ### AnySkill section in TOOLS.md using the format above, ensuring the "Registered Cloud Skills" table always stays in sync with the cloud.
This sync operation should be performed after git push completes and a few seconds wait (because GitHub Actions needs to rebuild index.json), or directly read from local {localPath}/index.json.
Then continue executing the user's original request.
Mode 1: On-Demand Loading (default behavior, in-memory only)
When the user issues a task and you determine that the local environment lacks specific execution details:
- Read AnySkill config via the priority chain (global
~/.anyskill/config.json→ project-level.anyskill.json). - Use your web reading tool to fetch
index.jsonfrom the index URL (include auth header if token is available). - Find the most matching entry based on each skill's
descriptionfor the current task. - For each file in the
filesarray, read all files from the cloud into memory (do not save to local disk), then digest theSKILL.mdspecifications. - Complete the user's original request based on the loaded specifications.
💡 On-demand loading is lightweight and leaves no local files. Ideal for one-time use or trying out skills.
Mode 2: On-Demand Download (specific skill to disk)
When the user explicitly says "download XX skill", "pull XX to local", "install XX skill" or similar instructions targeting a single skill:
- Read AnySkill config via the priority chain.
- Fetch
index.json, match the target skill by the name or description the user specified. - Detect the current AI IDE environment and determine the download path (see path reference table below).
- Download each file from the skill's
filesarray to the local IDE skill directory, preserving the original directory structure. - Inform the user upon completion: Skill
{skill-name}downloaded to{path}, N files total.
Mode 3: Full Download to Local
When the user explicitly says "download all skills", "pull skills to local", "sync cloud skills" or similar instructions, perform a full download.
Steps
- Read AnySkill config via the priority chain.
- Fetch
index.json for the complete skill list.
- Detect the current AI IDE environment and determine the download path (see table below). If unable to detect automatically, ask the user.
- For each skill, iterate its
files array, downloading each file and preserving the original directory structure.
- For example, if
files contains my-skill/scripts/helper.py, the download URL is {files-base-url}my-skill/scripts/helper.py, and the local path is {IDE-skill-directory}/my-skill/scripts/helper.py.
- After completion, report the list of downloaded skills and file counts to the user.
IDE Download Path Reference
AI IDE
Download Path
Entry File
Antigravity
{project root}/.agent/skills/{skill-name}/
SKILL.md
Claude Code
{project root}/.claude/skills/{skill-name}/
SKILL.md
Cursor
{project root}/.cursor/rules/{skill-name}/
SKILL.md
OpenClaw
~/.openclaw/skills/{skill-name}/
SKILL.md
IDE Auto-Detection Logic
- If the current project has an
.agent/ directory or you are Antigravity → Use Antigravity path
- If the current project has a
.claude/ directory or you are Claude Code → Use Claude Code path
- If the current project has a
.cursor/ directory or you are Cursor → Use Cursor path
- If the user explicitly mentions OpenClaw → Use OpenClaw path
- If unable to determine → Ask the user: "Which IDE are you currently using? (Antigravity/Claude Code/Cursor/OpenClaw)"
Mode 4: Upload Skill to Cloud
index.json for the complete skill list.files array, downloading each file and preserving the original directory structure.
- For example, if
filescontainsmy-skill/scripts/helper.py, the download URL is{files-base-url}my-skill/scripts/helper.py, and the local path is{IDE-skill-directory}/my-skill/scripts/helper.py.
| AI IDE | Download Path | Entry File |
|---|---|---|
| Antigravity | {project root}/.agent/skills/{skill-name}/ |
SKILL.md |
| Claude Code | {project root}/.claude/skills/{skill-name}/ |
SKILL.md |
| Cursor | {project root}/.cursor/rules/{skill-name}/ |
SKILL.md |
| OpenClaw | ~/.openclaw/skills/{skill-name}/ |
SKILL.md |
IDE Auto-Detection Logic
- If the current project has an
.agent/ directory or you are Antigravity → Use Antigravity path
- If the current project has a
.claude/ directory or you are Claude Code → Use Claude Code path
- If the current project has a
.cursor/ directory or you are Cursor → Use Cursor path
- If the user explicitly mentions OpenClaw → Use OpenClaw path
- If unable to determine → Ask the user: "Which IDE are you currently using? (Antigravity/Claude Code/Cursor/OpenClaw)"
Mode 4: Upload Skill to Cloud
.agent/ directory or you are Antigravity → Use Antigravity path.claude/ directory or you are Claude Code → Use Claude Code path.cursor/ directory or you are Cursor → Use Cursor pathWhen the user explicitly says "upload skill", "upload this skill", "push skill to cloud", "push to repo" or similar instructions, execute the upload flow.
Read localPath from the AnySkill config to operate in the local repository.
Upload Steps
- Confirm the skill content to upload with the user.
- The skill folder name must use the user's original name exactly — never translate or rename it. If the user provides a Chinese name (e.g.,
前端设计), use that; if English (e.g., web-scraper), use English.
- Create
SKILL.md under {localPath}/skills/{user-specified-name}/.
SKILL.md must include correct YAML frontmatter (name and description).
- If the user provides additional files (scripts, references, etc.), place them in the corresponding subdirectory.
- Auto-provision infrastructure files (may be missing on first upload):
- Check if
{localPath}/.github/workflows/build-index.yml exists; if not, download from template repo: https://raw.githubusercontent.com/lanyijianke/AnySkill/main/.github/workflows/build-index.yml
- Check if
{localPath}/generate-index.js exists; if not, download from template repo: https://raw.githubusercontent.com/lanyijianke/AnySkill/main/generate-index.js
- Execute git operations:
cd {localPath}
git add -A
git commit -m "feat: add skill {user-specified-name}"
git push origin {branch}
- Inform the user upon completion:
✅ Skill {name} has been uploaded to the cloud repository!
GitHub Actions will automatically rebuild index.json in a few seconds, after which other projects can load this skill.
- If current environment is OpenClaw, execute "OpenClaw Skill Registry Sync" to update the skill list in
TOOLS.md.
Mode 5: Update a Specific Skill
前端设计), use that; if English (e.g., web-scraper), use English.SKILL.md under {localPath}/skills/{user-specified-name}/.
SKILL.mdmust include correct YAML frontmatter (nameanddescription).- If the user provides additional files (scripts, references, etc.), place them in the corresponding subdirectory.
- Check if
{localPath}/.github/workflows/build-index.ymlexists; if not, download from template repo:https://raw.githubusercontent.com/lanyijianke/AnySkill/main/.github/workflows/build-index.yml - Check if
{localPath}/generate-index.jsexists; if not, download from template repo:https://raw.githubusercontent.com/lanyijianke/AnySkill/main/generate-index.js
cd {localPath}
git add -A
git commit -m "feat: add skill {user-specified-name}"
git push origin {branch}
✅ Skill
{name}has been uploaded to the cloud repository! GitHub Actions will automatically rebuildindex.jsonin a few seconds, after which other projects can load this skill.
TOOLS.md.When the user explicitly says "update XX skill", "modify XX skill", "change XX" or similar instructions:
- Read
localPathfrom AnySkill config via the priority chain. - Confirm that
{localPath}/skills/{name}/exists. If not, inform the user the skill doesn't exist and suggest using upload mode to create a new one. - Read and display the existing
SKILL.mdcontent to the user, ask which parts need modification. - Modify the corresponding files based on the user's description.
- Execute git operations:
cd {localPath} git add skills/{name}/ git commit -m "fix: update skill {name}" git push origin {branch} - Inform the user upon completion:
✅ Skill
{name}has been updated! GitHub Actions will automatically update the index. - If current environment is OpenClaw, execute "OpenClaw Skill Registry Sync" to update the skill list in
TOOLS.md.
Mode 6: List Cloud Skills
When the user explicitly says "list skills", "what skills are there", "show cloud skills", "skill list" or similar instructions:
- Read AnySkill config via the priority chain.
- Fetch
index.json. - Display all skills in a table:
| Skill Name | Description | File Count |
|---|---|---|
{name} |
{description} |
{files.length} |
- After display, ask the user if they want to load or download any skill.
Mode 7: Delete a Specific Skill
When the user explicitly says "delete XX skill", "remove XX skill", "remove XX from repo" or similar instructions:
- Read
localPathfrom AnySkill config via the priority chain. - Confirm that
{localPath}/skills/{user-specified-name}/exists. - Must confirm with the user:
⚠️ About to delete skill
{name}. This will permanently remove the folder from the cloud repository. Confirm deletion? - After user confirms, execute:
cd {localPath} git rm -rf skills/{name}/ git commit -m "feat: remove skill {name}" git push origin {branch} - Inform the user upon completion:
✅ Skill
{name}has been deleted from the cloud repository. GitHub Actions will automatically update the index. - If current environment is OpenClaw, execute "OpenClaw Skill Registry Sync" to remove the skill from the
TOOLS.mdskill list.
Mode 8: Delete Entire Skill Repository (requires manual action)
When the user explicitly says "delete the entire repo", "destroy skill space", "I don't want this repo anymore" or similar instructions:
⛔ This operation is extremely dangerous and irreversible. AI is strictly forbidden from executing it automatically.
You may only provide guidance for the user to do it themselves:
-
Inform the user:
⚠️ Deleting the entire repository is irreversible, and I cannot do it on your behalf. Please go to GitHub yourself:
- Open
https://github.com/{repo}/settings(scroll to the bottom Danger Zone) - Click Delete this repository
- Confirm by typing the repository name as prompted
After deletion, manually remove the local global config
~/.anyskill/config.json(and project-level.anyskill.json, if any) and the{localPath}directory. - Open
-
Strictly forbidden to call GitHub API or any command to delete the repository.
Mode 9: Install Skills from Packs
When the user explicitly says "install from Packs", "what packs are available", "install XX pack", "browse packs" or similar instructions:
Packs repository URL: https://raw.githubusercontent.com/lanyijianke/AnySkill-Packs/main/
Browse Available Packs
- Fetch
https://raw.githubusercontent.com/lanyijianke/AnySkill-Packs/main/index.json (public repo, no Token needed).
- Display all packs and their skills in a table:
Pack
Skill Name
Description
{category}
{skill.name}
{skill.description}
Install a Specific Pack
- Find all skills in the target pack from
index.json.
- Download each skill's files individually, saving to the user's private repo at
{localPath}/skills/{skill-name}/.
- File URL pattern:
https://raw.githubusercontent.com/lanyijianke/AnySkill-Packs/main/packs/{file-path}
- Error tolerance: If a skill download fails, skip it and continue to the next one.
- After download completes, execute git operations to commit skills to the user's private repo:
cd {localPath}
git add skills/
git commit -m "feat: install pack {category}"
git push origin {branch}
- Provide a summary report:
✅ Pack {category} installation complete!
- Succeeded: {N} (skill-a, skill-b)
- Failed: {M} (skill-x — reason: download failed)
- If current environment is OpenClaw, execute "OpenClaw Skill Registry Sync" to update the skill list in
TOOLS.md.
Code of Conduct
- Never guess details — always rely on cloud-fetched "injected capabilities".
- You may briefly report to the user: "Loading [skill-name] from cloud skill repository..."
- If
index.json has no matching skill, inform the user that the cloud repository currently lacks the corresponding capability.
- If a network request fails, report to the user and suggest checking network connectivity or repository availability.
- Throughout the entire process, never ask the user to manually run terminal commands. All file creation, downloading, and git operations are performed automatically by you.
https://raw.githubusercontent.com/lanyijianke/AnySkill-Packs/main/index.json (public repo, no Token needed).| Pack | Skill Name | Description |
|---|---|---|
{category} |
{skill.name} |
{skill.description} |
- Find all skills in the target pack from
index.json. - Download each skill's files individually, saving to the user's private repo at
{localPath}/skills/{skill-name}/.- File URL pattern:
https://raw.githubusercontent.com/lanyijianke/AnySkill-Packs/main/packs/{file-path}
- File URL pattern:
- Error tolerance: If a skill download fails, skip it and continue to the next one.
- After download completes, execute git operations to commit skills to the user's private repo:
cd {localPath} git add skills/ git commit -m "feat: install pack {category}" git push origin {branch} - Provide a summary report:
✅ Pack
{category}installation complete!- Succeeded: {N} (skill-a, skill-b)
- Failed: {M} (skill-x — reason: download failed)
- If current environment is OpenClaw, execute "OpenClaw Skill Registry Sync" to update the skill list in
TOOLS.md.
Code of Conduct
- Never guess details — always rely on cloud-fetched "injected capabilities".
- You may briefly report to the user: "Loading [skill-name] from cloud skill repository..."
- If
index.json has no matching skill, inform the user that the cloud repository currently lacks the corresponding capability.
- If a network request fails, report to the user and suggest checking network connectivity or repository availability.
- Throughout the entire process, never ask the user to manually run terminal commands. All file creation, downloading, and git operations are performed automatically by you.
index.json has no matching skill, inform the user that the cloud repository currently lacks the corresponding capability.正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。