manage-local-skills
Analyze, standardize, validate, and sync locally maintained skills into agent skill directories with a `skills` CLI-aligned workflow. Use this skill when…
от TencentCloudBase★ 1 172 звезды на GitHub
Установить manage-local-skills в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Manage Local Skills
Manage locally maintained skills as reusable, standard skill assets.
What this skill does
Use this skill to:
- classify local sources as standard skills, non-standard skill-like folders, or mixed repositories
- convert non-standard local materials into a standard
SKILL.md-based structure - validate standard skill structure before installation
- sync one or more local skills into one or more agent skill directories
- maintain explicit agent and IDE path mappings for local skill installation
Do not use this skill for
- publishing remote skills registries or package indexes
- cloning skills from remote repositories
- interactive marketplace search
- generic documentation cleanup unrelated to local skill structure
Workflow
- Identify whether the user wants analysis only, migration, validation, mapping changes, or installation.
- If the source is not obviously standard, read
references/source-classification.mdand runscripts/inspect-source.mjsfirst. - If migration is needed, read
references/migration-playbook.mdand convert the source into a standard skill folder before installation. - Before mounting a skill, read
references/cli-alignment.mdandreferences/install-workflow.mdto preserve the source-first install model used in this repo. - Use
scripts/validate-skill.mjsbefore and after installation when structure or path correctness is in doubt. - If the target agent is new or unclear, read
references/mapping-extension.mdbefore adding or changing mappings.
Common requests
- "Install this local skill into Claude and Cursor."
- "Sync everything under
./skillsto Codex and CodeBuddy." - "Turn this prompts folder into a reusable skill."
- "Link my local skills into the agent directories for this project."
Routing
| Task | Read | Script |
|---|---|---|
Understand how this differs from or aligns with skills CLI |
references/cli-alignment.md |
|
| Classify local sources and detect migration candidates | references/source-classification.md |
scripts/inspect-source.mjs |
| Convert non-standard local folders into standard skills | references/migration-playbook.md |
scripts/inspect-source.mjs |
| Install or mount local skills into agent directories | references/install-workflow.md |
scripts/install-skill.mjs |
| Add or update agent mappings | references/mapping-extension.md |
scripts/install-skill.mjs |
| Validate structure or installation results | references/install-workflow.md |
scripts/validate-skill.mjs |
Operating rules
- Treat
skillsCLI installation semantics as the baseline, but follow this repo's source-first project install model for locally maintained skills. - Prefer analysis first when the source structure is ambiguous.
- Do not execute arbitrary scripts from the source folder while inspecting it.
- In
symlinkmode, keepskills/as the single maintained source of truth and expose.agentsentries as links instead of extra copies. - Prefer symlinks when supported and safe. Fall back to copy when the user requests it or symlinks fail.
- Make scope explicit:
projectmeans the current workspace,globalmeans the user-level agent directory. - Ask the user to confirm before writing files, replacing existing installs, changing mappings, or converting a non-standard source into a standard skill.
- When an install reports a conflict, review the printed paths with the user and re-run with
--confirm-replaceonly after they agree to replace them. - If the user asks to sync multiple skills or multiple agents, summarize the planned batch operation before execution and wait for confirmation.
- Call out differences whenever the requested behavior cannot fully match
skillsCLI.
Quick commands
node skills/manage-local-skills/scripts/inspect-source.mjs --input <path> --json
node skills/manage-local-skills/scripts/validate-skill.mjs --skill-dir <path>
node skills/manage-local-skills/scripts/install-skill.mjs --source-dir skills --skill <name> --agent cursor --scope project --mode symlink
node skills/manage-local-skills/scripts/install-skill.mjs --source-dir skills --skill <name> --agent cursor --scope project --mode symlink --dry-run
node skills/manage-local-skills/scripts/install-skill.mjs --source-dir skills --skill <name> --agent cursor --scope project --mode symlink --confirm-replace
Minimum self-check
- Is the source clearly classified as
standard,nonstandard, ormixed? - Is the target skill structure valid before installation?
- If
symlinkmode was requested, does the installed.agentsentry resolve back to the maintained source? - Is the selected agent mapping explicit and correct for the requested scope?
- If symlink mode is used, is there a defined fallback to copy mode?
- If behavior differs from
skillsCLI, did you state the difference clearly?
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/cli-alignment.md
- references/install-workflow.md
- references/mapping-extension.md
- references/migration-playbook.md
- references/source-classification.md
- scripts/inspect-source.mjs
- scripts/install-skill.mjs
- scripts/lib/agent-mappings.mjs
- scripts/lib/install-model.mjs
- scripts/lib/path-safety.mjs
- scripts/validate-skill.mjs
FAQ
Что делает скилл manage-local-skills?
Analyze, standardize, validate, and sync locally maintained skills into agent skill directories with a `skills` CLI-aligned workflow. Use this skill when Codex needs to turn ad-hoc prompt or rules folders into reusable `SKILL.md`-based skills, install or sync one or more local skills from `./skills` into Claude, Cursor, CodeBuddy, Codex, or similar agent directories, or manage local skill path mappings and symlink or copy installation behavior.
Как установить скилл manage-local-skills?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл manage-local-skills запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…