Agent SkillsOpenBMB/PilotDeck › pilotdeck-skills-migration

pilotdeck-skills-migration

GitHub

将 Claude Code、OpenClaw、Hermes 或自定义 Agent Skill 目录迁移至 PilotDeck 全局技能库。通过交互式选择源、执行干跑检查冲突,确认后安全复制技能文件,支持重命名覆盖及 JSON 报告。

skills/pilotdeck-skills-migration/SKILL.md OpenBMB/PilotDeck

Trigger Scenarios

用户请求迁移、导入或合并技能到 PilotDeck 提及 ~/.claude/skills, ~/.openclaw, ~/.hermes, ~/.agents/skills 或 ~/.pilotdeck/skills

Install

npx skills add OpenBMB/PilotDeck --skill pilotdeck-skills-migration -g -y
More Options

Use without installing

npx skills use OpenBMB/PilotDeck@pilotdeck-skills-migration

指定 Agent (Claude Code)

npx skills add OpenBMB/PilotDeck --skill pilotdeck-skills-migration -a claude-code -g -y

安装 repo 全部 skill

npx skills add OpenBMB/PilotDeck --all -g -y

预览 repo 内 skill

npx skills add OpenBMB/PilotDeck --list

SKILL.md

Frontmatter
{
    "name": "pilotdeck-skills-migration",
    "description": "Migrate Claude Code, OpenClaw, Hermes, or custom Agent Skill directories into PilotDeck's global skills directory. Use when the user asks to migrate, import, copy, or consolidate skills into PilotDeck, or mentions ~\/.claude\/skills, ~\/.openclaw, ~\/.hermes, ~\/.agents\/skills, or ~\/.pilotdeck\/skills."
}

PilotDeck Skills Migration

Use this skill to migrate Agent Skill folders into PilotDeck's global skill store, ~/.pilotdeck/skills.

Workflow

Use the repo npm script from the repo root:

npm run skills:migrate

npm run dev runs predev, which syncs this repo skill into $PILOT_HOME/skills (~/.pilotdeck/skills by default). The migration command itself stays available as npm run skills:migrate without requiring a global pilotdeck command on PATH.

  1. Ask the user which source to migrate before running any migration command. Use ask_user_question with these options:
Which skills should I migrate into PilotDeck?
- Claude Code
- OpenClaw
- Hermes
- Custom path

For "Custom path", ask for the source directory path before continuing.

  1. Run a dry run for only the selected source:
npm run skills:migrate -- --from cc
npm run skills:migrate -- --from openclaw
npm run skills:migrate -- --from hermes
npm run skills:migrate -- --source /path/to/skills
  1. If the dry run finds no source path or no migratable skill directories, stop. Do not run --execute. Tell the user which source was checked and that no matching SKILL.md directories were found.

  2. Review the dry-run report with the user, especially conflicts and validation errors.

  3. Copy skills only after confirmation:

npm run skills:migrate -- --from cc --execute
npm run skills:migrate -- --from openclaw --execute
npm run skills:migrate -- --from hermes --execute
npm run skills:migrate -- --source /path/to/skills --execute

Common Commands

Migrate only selected sources:

npm run skills:migrate -- --from cc,openclaw --execute
npm run skills:migrate -- --from hermes --execute

Handle destination conflicts:

npm run skills:migrate -- --rename --execute
npm run skills:migrate -- --overwrite --execute

Migrate a custom source directory:

npm run skills:migrate -- --source /path/to/skills --execute

Use JSON for scripts or machine-readable reports:

npm run skills:migrate -- --json

Default Sources

The PilotDeck migrator scans immediate child directories containing SKILL.md from:

  • Claude Code: ~/.claude/skills, <project>/.claude/skills
  • OpenClaw: ~/.openclaw/workspace/skills, ~/.openclaw/workspace-main/skills, ~/.openclaw/workspace-assistant/skills, ~/.openclaw/skills, ~/.agents/skills
  • Hermes: ~/.hermes/skills, ~/.hermes/.claude/skills, ~/.hermes/.agents/skills

Safety Rules

  • Always ask which source to migrate first; do not assume all sources.
  • If the selected source path is missing, or the dry run reports no migratable skills, do not execute the migration. Report that nothing was found.
  • Do not delete source skills.
  • Prefer --rename over --overwrite unless the user explicitly wants to replace existing PilotDeck skills.
  • The repo bootstrap syncs this skill into $PILOT_HOME/skills from skills/pilotdeck-skills-migration/SKILL.md; it skips existing targets.

Version History

  • 1730cb4 Current 2026-07-05 20:08

Same Skill Collection

skills/1password/SKILL.md
skills/apple-notes/SKILL.md
skills/apple-reminders/SKILL.md
skills/bear-notes/SKILL.md
skills/blogwatcher/SKILL.md
skills/diagram-maker/SKILL.md
skills/frontend-slides/SKILL.md
skills/github/SKILL.md
skills/gog/SKILL.md
skills/himalaya/SKILL.md
skills/karpathy-guidelines/SKILL.md
skills/meeting-recorder-assistant/SKILL.md
skills/notion/SKILL.md
skills/obsidian/SKILL.md
skills/react-next-best-practices/SKILL.md
skills/skill-creator/SKILL.md
skills/spike/SKILL.md
skills/summarize/SKILL.md
skills/tmux/SKILL.md
skills/trello/SKILL.md
skills/weather/SKILL.md
skills/find-skills/SKILL.md
skills/frontend-design/SKILL.md
skills/minimax-pdf/SKILL.md
skills/web-design-guidelines/SKILL.md

Metadata

Files
0
Version
1730cb4
Hash
e9a12ad8
Indexed
2026-07-05 20:08

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-08 23:48
浙ICP备14020137号-1 $bản đồ khách truy cập$