skill-index-updater
БесплатноБез исполняемых скриптовНе проверенAdd GitHub skill repos to the ASM index: clone, audit, eval, regenerate index, rebuild catalog, open PR. Use when given GitHub URLs to onboard. Don't use for…
от luongnv89★ 976 звёзд на GitHubОб этом скилле
Skill Index Updater
You are adding new skill repository sources to the ASM (Agent Skill Manager) curated index. This is the pipeline that powers the skill catalog at https://luongnv.com/asm/ — every repo you add here becomes discoverable and installable by thousands of users.
Example
Illustrative only — repo names and counts vary per run; the formats under Step Completion Reports and Final output are the real output shapes.
User: add github.com/anthropics/skills to the index
Result: PR opened
Evidence: Added 1 new repo(s), updated 0 existing repo(s) · Total new skills indexed: 14
Audit: 13 OK · 1 WARN · 0 FLAG · PR: <PR URL>
Uncertainty: the audit is lightweight and asm eval scores structure, not behavior; no repo used the manual fallback.
Decision: review and merge the PR; look first at the WARN skill <skill-name>.
Repo Sync Before Edits (mandatory)
Before modifying any files, pull the latest remote branch:
branch="$(git rev-parse --abbrev-ref HEAD)"
git fetch origin
git pull --rebase origin "$branch"
If tracked files are modified (git status --porcelain --untracked-files=no prints anything): git stash push without -u, sync, then git stash pop. Untracked files stay in place; other sessions may own them. If origin is missing or conflicts occur: stop and ask the user before continuing.
Prerequisites
Check each before Step 1. If one fails, stop and name it.
node(>= 22),jq, andgiton PATH;npm installdone in the repo, sonpx tsxresolvesasmon PATH — the Step 3 workers runasm evalgh auth statussucceeds — Step 10 opens the PRgit status --porcelain -- website/ data/prints nothing. Step 8 restores the trackedwebsite/files anddata/repo-stars.jsonthatbuild-catalogrewrites, which is safe only from a clean start.
Input
The user provides one or more GitHub repository URLs: https://github.com/owner/repo, github.com/owner/repo, github:owner/repo, or owner/repo. Normalize each to owner and repo.
Pipeline
Follow these steps in order. Each step has a verification check — do not proceed to the next step if verification fails.
You are the orchestrator. Steps 2 and 3 are the heavy ones, and you delegate both: each names the slice of references/ its worker needs and hands that slice over as the worker's Input. In those two steps you never clone a repo, read a SKILL.md, or run asm eval yourself, and you never open the two contract files — the workers do. This keeps the clones and contract text out of your context budget. (Step 7's manual-generation fallback is the one place you may call asm eval directly.)
No Agent tool? Degrade gracefully: read references/discovery-contract.md and references/audit-eval-contract.md yourself, run Steps 2 and 3 inline, in order, and say so in the Step 9 summary. The pipeline is identical; only the context cost changes.
Step 1: Parse and Validate Input URLs
For each URL provided:
- Extract
ownerandrepofrom the URL. - Request
https://api.github.com/repos/{owner}/{repo}. A 200 response means the repo exists; keep itsstargazers_countfor Step 8. Any other status marks itINVALIDwith that status. - Replace
ownerandrepowith the two halves of the response'sfull_name. The ingester names files andinstallUrls with the case it is given, soAnthropics/Skillswould otherwise create a duplicate entry. - Look up
github:{owner}/{repo}indata/skill-index-resources.json. If present, mark itEXISTS(re-index); otherwise mark itNEW.
Output a summary table:
| # | Owner/Repo | Status | Notes |
|---|---------------------|----------|--------------------------|
| 1 | owner/repo | NEW | Will be added |
| 2 | other/repo | EXISTS | Will be re-indexed |
| 3 | bad/repo | INVALID | 404 - repo not found |
If every repo is INVALID, stop and tell the user.
Step 2: Discover Skills in Each Repository (workers, one per repo)
Spawn one discovery worker per valid repo, in the same turn so they run concurrently. Each worker's contract:
- Input:
references/discovery-contract.md, plus that repo'sownerandrepo - Output: the fixed JSON in that contract —
{owner, repo, tempRoot, clonePath, status, error, skills[]}, one object per repo - You do NOT read
references/discovery-contract.mdyourself; the worker does
Keep every worker's tempRoot and clonePath: Step 3 runs against the clone, Cleanup deletes the tempRoot. There is no shared $TEMP_DIR in your shell — the clones were made in the workers'.
Report how many skills were found per repo. If a repo returns status: "no-skills", ask the user whether to include it anyway. If a repo returns status: "clone-failed", skip it, report its error, and continue with the others.
Step 3: Audit and Evaluate Discovered Skills (workers, one per batch)
Spawn one audit w
Установить skill-index-updater в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadWriteEditGrepGlobWebFetchAgentВложенные файлы
FAQ
Что делает скилл skill-index-updater?
Add GitHub skill repos to the ASM index: clone, audit, eval, regenerate index, rebuild catalog, open PR. Use when given GitHub URLs to onboard. Don't use for refreshing indexed repos (refresh-index), improving skills (skill-creator), or install.
Как установить скилл skill-index-updater?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл skill-index-updater запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic