Manage local skills

From TencentCloudBase/CloudBase-AI-Toolkit · View interactive version

Manage local skills is an AI agent skill from the GitHub repository TencentCloudBase/CloudBase-AI-Toolkit. 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`

How to use this skill

Skill file

Manage Local Skills

Manage locally maintained skills as reusable, standard skill assets.

What this skill does

Use this skill to:

Do not use this skill for

Workflow

  1. Identify whether the user wants analysis only, migration, validation, mapping changes, or installation.
  2. If the source is not obviously standard, read references/source-classification.md and run scripts/inspect-source.mjs first.
  3. If migration is needed, read references/migration-playbook.md and convert the source into a standard skill folder before installation.
  4. Before mounting a skill, read references/cli-alignment.md and references/install-workflow.md to preserve the source-first install model used in this repo.
  5. Use scripts/validate-skill.mjs before and after installation when structure or path correctness is in doubt.
  6. If the target agent is new or unclear, read references/mapping-extension.md before adding or changing mappings.

Common requests

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

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.