npx claudepluginhub valorvie/custom-skillsEverything Claude Code - Memory Persistence & Strategic Compact Hooks
Claude Code 通知系統 — 透過 Telegram 接收長時間任務的狀態通知
FileGuard - Path-based access control for Claude Code
7-day visitors to each marketplace page
統一的自動化設定與維護 CLI 工具,支援 macOS, Linux 與 Windows。
完整環境設定指南:如果你是第一次設定 AI 開發環境(包含 Claude Code、MCP Server、Plugin 等),請參閱 AI 開發環境設定指南。
以下僅說明
ai-devCLI 工具本身的安裝方式。
請先安裝 uv (Python 專案管理工具):
macOS / Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows (PowerShell):
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
從 GitHub 安裝(推薦):
# 使用 uv
uv tool install git+https://github.com/ValorVie/custom-skills.git
# 使用 pipx
pipx install git+https://github.com/ValorVie/custom-skills.git
# 私有倉庫需要 token
uv tool install git+https://<GITHUB_TOKEN>@github.com/ValorVie/custom-skills.git
更新 CLI 工具:
uv tool upgrade ai-dev
本地開發安裝:
git clone https://github.com/ValorVie/custom-skills.git
cd custom-skills
# 一般安裝(需要更新 pyproject.toml 的 version 欄位後重新安裝才能套用程式碼變更)
uv tool install . --force
# Editable 安裝(推薦開發使用,程式碼變更立即生效)
uv tool install -e . --force
關於
-e(editable) 模式:
- 一般安裝:把源碼複製到安裝目錄,修改源碼後需要重新安裝才會生效
- Editable 安裝:建立指向專案目錄的連結,修改源碼後立即生效,不需重新安裝
開發期間建議使用
-e模式,或直接用uv run ai-dev <command>從專案目錄執行。
安裝後,可在任意目錄使用 ai-dev 指令。
# 顯示版本
ai-dev --version
ai-dev -v
# 顯示說明
ai-dev --help
執行以下指令進行全新環境設定:
ai-dev install
這會自動:
openspec, skills 等)。~/.config/(Stage 1,包含 ~/.config/custom-skills 本機 repo)。upstream/npx-skills.yaml 安裝或更新第一方與第三方 global Skills。~/.config/custom-skills 分發 commands、agents、workflows、plugins,以及保留 clone ownership 的 custom repo/ECC resources。npx skills 可用指令提示。注意:Claude Code 需要使用 native 安裝方式,不再透過 NPM 安裝。
ai-dev install預設 phase 為tools,repos,npx-skills,targets。
| 參數 | 說明 |
|---|---|
--only | 只執行指定 phase:tools,repos,npx-skills,targets |
--skip | 從預設 phase 中跳過指定 phase |
--target | 僅分發指定目標:claude, codex, agy, opencode, antigravity |
--dry-run | 只顯示執行計畫,不實際寫入 |
範例:
# 只建立 repo,不分發到工具目錄
ai-dev install --only repos
# 僅分發到 Claude Code
ai-dev install --only targets --target claude
建議每天開始工作前執行,以保持環境最新:
ai-dev update
這會自動:
npx skills update)。git fetch + git reset)。注意:此指令不會自動分發 clone-owned resources。如需更新 commands、agents、workflows、plugins、custom repos 或 ECC,請執行
ai-dev clone。
ai-dev update預設 phase 為tools,repos,npx-skills。
| 參數 | 說明 |
|---|---|
--only | 只執行指定 phase:tools,repos,npx-skills |
--skip | 從預設 phase 中跳過指定 phase |
--dry-run | 只顯示執行計畫,不實際寫入 |
範例:
# 只更新 repo,不更新工具
ai-dev update --only repos
# 只更新工具
ai-dev update --only tools
# 更新後分發 clone-owned resources
ai-dev update && ai-dev clone
分發仍由 framework ownership 管理的 commands、agents、workflows、plugins、custom repos 與 ECC 白名單 resources:
ai-dev clone
第一方 global skills 由 ValorVie/ai-dev-skills 維護,透過 npx-skills phase 安裝。ai-dev clone 不再從本 repository 的 skills/ 複製第一方 skills,也不會替它們建立新的 ManifestTracker ownership。
Codex 的使用者層 Skills 會寫入共用的 ~/.agents/skills。專案內的 Codex Skills
也統一放在 .agents/skills;.codex/config.toml、agents、hooks、prompts、認證與
session 等 Codex 專用資料仍留在 .codex。共用路徑可讓 Codex、Prime Agent 與其他支援 Agent Skills 慣例的 harness agent tool 讀取同一份一般 Skills,降低工具綁定。
ai-dev install、ai-dev update 與 ai-dev clone 會先檢查舊版
~/.codex/skills:
~/.agents/skills。auto-skill 不參與路徑遷移,交由後述確認式清理處理。.system 等隱藏項目由 Codex 管理,不會搬移。--dry-run 只列出預計搬移與去重的數量,不建立目錄或備份。實際搬移前會先備份到
~/.config/ai-dev/backups/codex-skills-migration/<timestamp>/,同一目錄的
audit.json 會記錄來源、目標、動作與結果。需要回復時,先停止後續分發,並
逐項確認共用目錄的內容仍與備份相同:migrate 項目才把共用目錄中的項目移回
舊路徑;deduplicate 項目保留共用副本,只從備份還原舊副本。若內容已變更就停止,
不得整包覆蓋。ai-dev toggle --target codex --type skills 也會操作這個共用目錄,
因此會同時影響讀取同一 skill 的其他工具。
auto-skill 已退役,不再參與安裝或分發。ai-dev clone 會在分發前檢查既有的來源副本、canonical state、shadow、各工具 projection、舊啟動規則與 Claude Plugin。只有在互動式終端明確確認後,才會先備份至 ~/.config/ai-dev/backups/auto-skill-removal/<timestamp>/ 再清理;拒絕、非互動模式與 --dry-run 都不會刪除。退役原因與原始內容見 archive/auto-skill/。
ai-dev clone 預設 phase 為 targets。
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Claude Code marketplace entries for the plugin-safe Agentic Awesome Skills library and its compatible editorial bundles.