feat(skills): curated GitHub catalog redesign (#3016)

* feat(skills): remove ClawHub catalog integration

Drop the ClawHub registry as a skills catalog source across web server,
shared UI, VS Code, docs, and locales. The catalog now serves git-based
sources only: the curated Anthropic repo and user-defined repositories.
Also removes the now-unused adm-zip dependency.

* feat(skills): redesign catalog around curated GitHub repositories

Replace the single-source dropdown with a card grid of curated GitHub
repositories (Anthropic, OpenAI, Cursor pstack/skills, Matt Pocock) plus
user-defined sources. Source cards show skill counts, GitHub stars, and
last-updated time; a global search covers all loaded sources.

Server: curated sources gain GitHub repo metadata (stars, pushed_at)
fetched best-effort with a 3-hour in-memory and on-disk cache; scans
run through a concurrency-limited, deduplicated cache with 3-hour TTL
persisted across restarts. Refresh still bypasses the cache.

Shared UI: source cards, global search with clear button, per-skill
GitHub links, install/installed states. VS Code curated list updated
to match. All new copy translated across 12 locales.

* fix(skills): address catalog review findings

- GitHub metadata fetch timeout drops to 1.5s (under the catalog
  client's 3s deadline) and failed lookups cache briefly (5 min) so
  repeated catalog loads do not re-hit a failing API.
- Disk cache files are written with owner-only permissions (0o600);
  rename preserves the mode.
- loadSource deduplicates concurrent in-flight requests per source and
  the shared isLoadingSource flag now clears only when the last active
  source load finishes.
This commit is contained in:
Bohdan Triapitsyn
2026-08-20 01:40:10 +03:00
committed by GitHub
parent 90d8868bfc
commit 1ed3f1f575
45 changed files with 1143 additions and 1286 deletions
@@ -12,7 +12,7 @@ Zum Schreiben eigener Skills siehe [Skills](/skills/).
## Einen Skill installieren
1. Öffne den Katalog.
2. Durchsuche die eingebauten Quellen — das Anthropic-Skills-Repo und die ClawHub-Community-Registry — oder nutze die Suche.
2. Durchsuche die eingebauten Quellen — wie das Anthropic-Skills-Repo — oder nutze die Suche.
3. Wähle einen Skill aus und installiere ihn.
4. Entscheide, wo er installiert werden soll: für alles, was du tust, oder nur für das aktuelle Projekt.
@@ -12,7 +12,7 @@ Para escribir tus propias skills, consulta [Skills](/es/skills/).
## Instala una skill
1. Abre el catálogo.
2. Explora las fuentes integradas —el repositorio de skills de Anthropic y el registro comunitario de ClawHub— o busca.
2. Explora las fuentes integradas —como el repositorio de skills de Anthropic— o busca.
3. Elige una skill e instálala.
4. Elige dónde instalarla: para todo lo que hagas, o solo en el proyecto actual.
@@ -12,7 +12,7 @@ Pour écrire vos propres skills, voir [Skills](/skills/).
## Installer un skill
1. Ouvrez le catalogue.
2. Parcourez les sources intégrées — le dépôt de skills Anthropic et le registre communautaire ClawHub — ou lancez une recherche.
2. Parcourez les sources intégrées — comme le dépôt de skills Anthropic — ou lancez une recherche.
3. Choisissez un skill et installez-le.
4. Choisissez où linstaller : pour tout ce que vous faites, ou seulement pour le projet actuel.
@@ -12,7 +12,7 @@ Skills Catalog では、自分で書く代わりに、他の人が公開した
## スキルをインストールする
1. カタログを開きます。
2. 組み込みソース(Anthropic skills repo と ClawHub community registry)を閲覧するか、検索します。
2. 組み込みソース(Anthropic skills repo など)を閲覧するか、検索します。
3. スキルを選び、インストールします。
4. インストール先を選びます。すべての作業で使うか、現在のプロジェクトだけで使うかです。
@@ -12,7 +12,7 @@ Skills Catalog를 사용하면 직접 작성하는 대신 다른 사람이 게
## 스킬 설치하기
1. 카탈로그를 엽니다.
2. 내장된 소스(Anthropic 스킬 저장소와 ClawHub 커뮤니티 레지스트리)를 둘러보거나 검색합니다.
2. 내장된 소스(예: Anthropic 스킬 저장소)를 둘러보거나 검색합니다.
3. 스킬을 선택하고 설치합니다.
4. 설치 위치를 선택합니다. 모든 작업에 적용할지, 현재 프로젝트에만 적용할지 선택합니다.
@@ -12,7 +12,7 @@ Aby pisać własne skille, zobacz [Skille](/pl/skills/).
## Zainstaluj skill
1. Otwórz katalog.
2. Przeglądaj wbudowane źródła — repozytorium skilli Anthropic oraz rejestr społeczności ClawHub — albo wyszukaj.
2. Przeglądaj wbudowane źródła — na przykład repozytorium skilli Anthropic — albo wyszukaj.
3. Wybierz skill i zainstaluj go.
4. Wybierz, gdzie go zainstalować: dla wszystkiego, co robisz, albo tylko dla bieżącego projektu.
@@ -12,7 +12,7 @@ Para escrever suas próprias skills, veja [Skills](/pt-br/skills/).
## Instalar uma skill
1. Abra o catálogo.
2. Navegue pelas fontes integradas — o repositório de skills da Anthropic e o registro comunitário ClawHub — ou pesquise.
2. Navegue pelas fontes integradas — como o repositório de skills da Anthropic — ou pesquise.
3. Escolha uma skill e instale-a.
4. Escolha onde instalá-la: para tudo o que você faz, ou apenas no projeto atual.
@@ -12,7 +12,7 @@ For writing your own skills, see [Skills](/skills/).
## Install a skill
1. Open the catalog.
2. Browse the built-in sources — the Anthropic skills repo and the ClawHub community registry — or search.
2. Browse the built-in sources — like the Anthropic skills repo — or search.
3. Pick a skill and install it.
4. Choose where to install it: for everything you do, or just the current project.
@@ -12,7 +12,7 @@ description: Переглядайте та встановлюйте готові
## Встановлення навички
1. Відкрийте каталог.
2. Перегляньте вбудовані джерела — репозиторій навичок Anthropic та спільнотний реєстр ClawHub — або скористайтеся пошуком.
2. Перегляньте вбудовані джерела — наприклад репозиторій навичок Anthropic — або скористайтеся пошуком.
3. Оберіть навичку й установіть її.
4. Виберіть, куди встановити: для всього, що ви робите, чи лише для поточного проєкту.
@@ -12,7 +12,7 @@ Skills 目录让你能够安装其他人发布的 skill,而不必自己编写
## 安装 skill
1. 打开目录。
2. 浏览内置来源 — Anthropic skills 仓库和 ClawHub 社区注册表 — 或进行搜索。
2. 浏览内置来源 — 例如 Anthropic skills 仓库 — 或进行搜索。
3. 选择一个 skill 并安装它。
4. 选择安装位置:用于你的所有工作,或仅用于当前项目。