Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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, and git on PATH; npm install done in the repo, so npx tsx resolves
  • asm on PATH — the Step 3 workers run asm eval
  • gh auth status succeeds — Step 10 opens the PR
  • git status --porcelain -- website/ data/ prints nothing. Step 8 restores the tracked website/ files and data/repo-stars.json that build-catalog rewrites, 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:

  1. Extract owner and repo from the URL.
  2. Request https://api.github.com/repos/{owner}/{repo}. A 200 response means the repo exists; keep its stargazers_count for Step 8. Any other status marks it INVALID with that status.
  3. Replace owner and repo with the two halves of the response's full_name. The ingester names files and installUrls with the case it is given, so Anthropics/Skills would otherwise create a duplicate entry.
  4. Look up github:{owner}/{repo} in data/skill-index-resources.json. If present, mark it EXISTS (re-index); otherwise mark it NEW.

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's owner and repo
  • 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.md yourself; 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.md на GitHub

Установить skill-index-updater в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Write
Edit
Grep
Glob
WebFetch
Agent

Вложенные файлы

LICENSE.txtdocs/README.mdevals/evals.jsonreferences/audit-eval-contract.mdreferences/commit-and-pr.mdreferences/discovery-contract.mdreferences/edge-cases.mdreferences/manual-index.mdreferences/star-baseline.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить skill-index-updater с