Files
openchamber/packages/docs/content/docs/zh-cn/skills-catalog.mdx
T
Bohdan Triapitsyn 1ed3f1f575 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.
2026-08-20 01:40:10 +03:00

28 lines
1.0 KiB
Plaintext

---
title: Skills 目录
description: 浏览并安装现成的 skill。
---
# Skills 目录
Skills 目录让你能够安装其他人发布的 skill,而不必自己编写。在 **Settings → Skills → Catalog** 中打开它。
要编写你自己的 skill,请参阅 [Skills](/zh-cn/skills/)。
## 安装 skill
1. 打开目录。
2. 浏览内置来源 — 例如 Anthropic skills 仓库 — 或进行搜索。
3. 选择一个 skill 并安装它。
4. 选择安装位置:用于你的所有工作,或仅用于当前项目。
如果已存在同名的 skill,OpenChamber 会询问该如何处理 — 跳过、覆盖,或逐个 skill 决定。
## 添加你自己的来源
你可以使用 `owner/repo` 名称或完整的 Git URL,将任何 Git 仓库添加为来源。私有仓库需要在你的机器上设置访问权限(一个 SSH 密钥或已保存的凭证);如果某个来源无法通过鉴权,目录会明确告知,而不是悄无声息地失败。
## 相关内容
- [Skills](/zh-cn/skills/) — 创建和管理已安装的 skill