Logo Skill Selector

Skill Selector

Cộng đồng
mizchi
skill-selector

Meta-skill for picking project skills via APM. Invoke ONLY when the user explicitly asks to set up apm.yml, choose which skills a project needs, or evaluate a catalog match — do NOT auto-invoke on routine project-init or apm-management tasks. Two-phase: pick from a curated catalog first; only escalate to broader search/evaluation when the catalog has no fit. Avoids the failure mode of impulse-installing skills you never use or hand-searching GitHub when a vetted answer already exists.

Tổng quan

Nhà phát hànhmizchi
Kho mãskills
Tên kỹ năngskill-selector
Sao
333
Bản fork
4
Tệp đi kèm
5
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 5 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được mizchi công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Skill Selector trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/mizchi/skills/tree/main/skill-selector
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mizchi/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skill-selector .claude/skills/skill-selector
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Skill Selector trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Skill Selector ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Skill Selector không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Skill Selector

Adding a skill is cheap on disk and not free in context. Pick deliberately.

This skill separates two concerns:

  1. Selection from a curated catalog — fast, opinionated, mostly enough.
  2. Search-and-evaluate — broader, slower, only when phase 1 doesn't fit.

Run them as distinct passes. The catalog has been pre-vetted. Outside-catalog skills haven't, and need explicit evaluation before adoption.

When to use

  • Starting a new project / new repo and you want it stocked with the right skills
  • Mid-development, when a recurring task type is uncovered (suddenly need Playwright, suddenly need release automation)
  • A slash command or another skill hints at a downstream skill not yet installed

When NOT to use:

  • One-off task that won't recur — solve it inline; don't install a skill you'll never trigger again
  • The project already lists the relevant skill in apm.yml — re-check before searching

Phase 1 — Curated catalog

The catalog lives in references/catalog.md. It is grouped by project signal (language / tool / process), with apm install strings inline.

Workflow:

  1. Read references/catalog.md.
  2. Identify project signals from three sources:
    • Repo files: package.json (Node), moon.mod.json (MoonBit), gleam.toml (Gleam), flake.nix (Nix), .github/workflows/ (CI), Playwright config, dotenvx keystore.
    • Stated user intent: in-message cues like "we plan to deploy to X", "we publish a small npm utility eventually".
    • CLAUDE.md mandates: persistent rules in user-level ~/.claude/CLAUDE.md or project-level CLAUDE.md (e.g., "task runner: justfile", "lint: ast-grep") count as signals even when the scenario text is silent. When mandate and stated intent disagree, surface the conflict to the user before installing. In the proposal, label mandate-driven rows explicitly (e.g., # from ~/.claude/CLAUDE.md: task runner = justfile) so a reviewer doesn't mistake them for padding.
  3. Confirm with the user before installing — propose, let them subtract. Default to fewer skills, not more. Each skill consumes context every conversation.
    • Non-interactive contexts (subagent dispatch, scripted automation, batch runs): emit the proposal as the deliverable and stop. The caller subtracts. Do not stall waiting for a confirmation that will not come.
    • Active-in-language heuristic: if the user is actively writing code in a language with a <lang>-practice skill in the catalog (e.g. moonbit-practice, gleam-practice), include it. If they only consume a single binding or dep written in that language, hold off.
    • Platform-name caveat: when a catalog row's description names a specific CI provider / runtime / cloud:
      • Project platform matches: adopt as-is. Do not re-read the underlying SKILL.md; the catalog row already answered the question.
      • Project platform differs: read the underlying SKILL.md before deciding. The core capability may still apply — install for that core, note "integration glue N/A." Skipping for platform mismatch alone is wrong.
      • If you cannot read the underlying SKILL.md (no local install, no upstream clone, no network): do NOT silently skip the check. Surface the uncertainty in the proposal explicitly — e.g., note "adopting <skill> based on its catalog description; the SKILL.md was not consulted, so the core-vs-integration split is unverified." The user can then decide whether to verify before committing the install. Silently dropping the verification leaves a bug (the wrong skill adopted, or a usable skill rejected) that no later step recovers.
    • Out-of-band rows: rows tagged (out-of-band) in the catalog cannot be installed via public APM (chezmoi-local, gated, etc.). Mention them in prose if the project would benefit, but do NOT put them in apm.yml.
  4. Install via APM. Read apm-usage first to confirm the exact apm.yml syntax — the manifest format is non-trivial and field names should not be inferred from this skill alone.
    • Project scope: edit apm.yml, run apm install. Commit apm.lock.yaml.
    • Global scope: apm install -g <repo>/<path>, verify in ~/.apm/apm.yml.
    • targets: declaration is required. APM 0.12+ does not fall back to a default target when no marker directory (.claude/ / .github/ / etc.) exists at the repo root — apm install errors out asking for an explicit choice. Write targets: [claude] (or whatever the host harness is) in apm.yml unconditionally; do not rely on directory auto-detection.
    • targets: does not strictly gate deploy directories. Even with targets: [claude], APM 0.12+ may also write to .agents/skills/ alongside .claude/skills/. Inspect the apm install output (Skill integrated -> ...) and treat every listed path as a deploy target for the gitignore decision below.
    • Pinning: catalog entries do not carry tags. Resolve a concrete tag or SHA via apm view <repo> (or check the upstream repo's release page) before committing apm.yml. Floating refs are listed under Common mistakes.
  5. Decide the gitignore policy before the first commit. apm install auto-adds apm_modules/ to .gitignore but does NOT add the deploy targets. Pick one and stick to it:
    • Commit deploy targets (.claude/skills/, .agents/skills/, …): repo is self-contained, teammates / CI can clone without running apm install. Cost: file count balloons (7 skills ≈ 700 files in a recent utels install). Choose when teammates may not have APM, or when you want skill content reviewable in PRs.
    • Gitignore deploy targets: leaner repo; teammates run apm install --frozen-lockfile after clone. Add the exact paths emitted by apm install (e.g., .claude/skills/, .agents/skills/). Caveat: if the project also keeps local skills under the same directory (.claude/skills/<local-skill>/), gitignore only the APM-managed subpaths, not the whole directory.
    • Always commit apm.yml and apm.lock.yaml regardless. Without the lockfile the install is not reproducible — the deploy-target gitignore choice only changes whether the generated artifacts live in git.
    • Propose the choice to the user when the install lands the first APM skills in the repo. Don't silently pick — file-count bloat vs. clone-time install are both legitimate but the trade-off is repo-specific.
  6. If a need is unmet, escalate to Phase 2. Do not skip Phase 1 — even if a search query is already forming in your head, scanning the catalog is cheaper.

Phase 2 — Search and evaluate (delegated to skill-finder)

Phase 2 is owned by the skill-finder skill. Trigger it only when all of the following are true:

  • Phase 1 has no candidate (catalog scanned, no row matched within ~30 seconds).
  • The need is recurring, not a one-off setup task. One-off scaffolding (Vite/React init, single-shot config conversion, ad-hoc data migration) belongs inline.
  • The need is stated as an active pain or near-term task, not just an ambient signal. A Rust service that exists in the repo but isn't currently causing skill-shaped questions does not by itself justify Phase 2 — wait until the recurring need surfaces.

If any of the three is false, do nothing. Re-read the "When NOT to use" section above before escalating.

To run Phase 2: tell the user "Phase 1 catalog has no fit; want me to invoke skill-finder for a cross-source search?" and only proceed on explicit go-ahead. skill-finder performs the cross-source survey (Anthropic official → claude-skill-registry → VoltAgent → ComposioHQ → Superpowers → GitHub topic), applies the same rubric, and gates adoption through a mandatory waxa eval. Do not duplicate that workflow inline.

Phase boundary — do not blur

The two phases solve different problems:

  • Phase 1 trades breadth for confidence. The catalog is curated; trust it.
  • Phase 2 trades confidence for breadth. Compensate with explicit evaluation.

Common failure: starting in Phase 2 ("let me grep GitHub for a Playwright skill") when Phase 1 already has playwright-test. Always read the catalog first.

Reverse failure: forcing a Phase 1 fit when the catalog truly has nothing suitable. If no row matches within ~30 seconds of scanning, escalate — don't pad the install list with adjacent-but-not-quite skills.

Maintenance of the catalog

  • Catalog is part of this skill. Keep it in sync when mizchi/skills (and upstream skill repos referenced) gain or lose skills.
  • A skill discovered through Phase 2 (skill-finder) may be promoted into the catalog after it has been used in 2+ projects without issue and after passing its waxa eval.
  • If the catalog feels stale, cross-check against mizchi/skills README before falling back to skill-finder.

Common mistakes

MistakeFix
Installing skills "just in case"Don't. Each one costs context per conversation. Install only when there's a near-term task that needs it.
Skipping the catalog and going straight to GitHub searchRe-read the catalog first. It exists to avoid this.
Adopting a Phase 2 skill without testingskill-finder requires a waxa eval gate before adoption. Don't bypass it — descriptions can lie.
Floating refs in apm.yml for project scopePin to a tag or SHA. Drift mid-feature is its own debugging hell.
Re-evaluating the same rejected skill quarterlyRecord the rejection reason in-repo. Don't re-search ground already covered.
Silently committing (or silently gitignoring) the APM deploy targetsSurface the choice — see step 5. Default-commit can balloon the repo; default-ignore can break teammates without APM.
Assuming targets: [claude] keeps deploy paths under .claude/skills/ onlyAPM 0.12+ may also write to .agents/skills/. Read the apm install output and treat every path it lists as a deploy target.
Treating Phase 1 catalog as exhaustiveIf nothing matches in ~30 seconds, escalate to Phase 2. Don't shoehorn.

Related

  • skill-finder — Phase 2 owner; cross-source survey + waxa eval gate when the catalog has no fit
  • apm-usage — actual apm install syntax and manifest format
  • empirical-prompt-tuning — how to test a candidate skill before adopting it
  • superpowers:writing-skills — when no existing skill fits, write one instead of adopting a poor match
  • chezmoi-management — for skills that must stay private (the APM-vs-chezmoi boundary)

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Skill Selector làm được gì?

Meta-skill for picking project skills via APM. Invoke ONLY when the user explicitly asks to set up apm.yml, choose which skills a project needs, or evaluate a catalog match — do NOT auto-invoke on routine project-init or apm-management tasks. Two-phase: pick from a curated catalog first; only escalate to broader search/evaluation when the catalog has no fit. Avoids the failure mode of impulse-installing skills you never use or hand-searching GitHub when a vetted answer already exists.

Vì sao nên dùng Skill Selector trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Skill Selector là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Skill Selector trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/mizchi/skills/tree/main/skill-selector. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Skill Selector?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Skill Selector với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Skill Selector với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Skill Selector có miễn phí không?

Kỹ năng này được mizchi phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇