agentleFS
TencentCloudBaseTencentCloudBase/CloudBase-AI-Toolkit/skills/manage-local-skills/SKILL.md

manage-local-skills

Skill1.1k starsChanged 4 months agoMITView on GitHub

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.

Trending

More talk lately.about the whole repository

Dec 2025: 2 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 4 mentionsSep 2026: 5 mentionsOct 2026: 5 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the TencentCloudBase/CloudBase-AI-Toolkit repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about TencentCloudBase/CloudBase-AI-Toolkit

The biggest 5 of 18 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 18

Talked about on GitHub (18 times).

On GitHub · 18

13 more on GitHub

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 7 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to:

    line 12
  2. Very specific:

    If the source is not obviously standard, read references/source-classification.md and run scripts/inspect-source.mjs first.

    line 30
  3. Very specific:

    If migration is needed, read references/migration-playbook.md and convert the source into a standard skill folder before installation.

    line 31
  4. Very specific:

    Before mounting a skill, read references/cli-alignment.md and references/install-workflow.md to preserve the source-first install model …

    line 32
  5. Very specific:

    Use scripts/validate-skill.mjs before and after installation when structure or path correctness is in doubt.

    line 33
  6. Very specific:

    If the target agent is new or unclear, read references/mapping-extension.md before adding or changing mappings.

    line 34
  7. Very specific:

    Treat skills CLI installation semantics as the baseline, but follow this repo's source-first project install model for locally maintained …

    line 56
  8. Distinctive:

    Prefer analysis first when the source structure is ambiguous.

    line 57
  9. Distinctive:

    Do not execute arbitrary scripts from the source folder while inspecting it.

    line 58
  10. Distinctive:

    Prefer symlinks when supported and safe.

    line 60
  11. Distinctive:

    Ask the user to confirm before writing files, replacing existing installs, changing mappings, or converting a non-standard source into a …

    line 62
  12. Distinctive:

    If the user asks to sync multiple skills or multiple agents, summarize the planned batch operation before execution and wait for …

    line 63
  13. Very specific:

    Call out differences whenever the requested behavior cannot fully match skills CLI.

    line 64
  14. Very specific:

    If symlink mode was requested, does the installed .agents entry resolve back to the maintained source?

    line 78
  15. Distinctive:

    If symlink mode is used, is there a defined fallback to copy mode?

    line 80
  16. Very specific:

    If behavior differs from skills CLI, did you state the difference clearly?

    line 81

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  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

  • "Install this local skill into Claude and Cursor."
  • "Sync everything under ./skills to Codex and CodeBuddy."
  • "Turn this prompts folder into a reusable skill."
  • "Link my local skills into the agent directories for this project."

Routing

TaskReadScript
Understand how this differs from or aligns with skills CLIreferences/cli-alignment.md
Classify local sources and detect migration candidatesreferences/source-classification.mdscripts/inspect-source.mjs
Convert non-standard local folders into standard skillsreferences/migration-playbook.mdscripts/inspect-source.mjs
Install or mount local skills into agent directoriesreferences/install-workflow.mdscripts/install-skill.mjs
Add or update agent mappingsreferences/mapping-extension.mdscripts/install-skill.mjs
Validate structure or installation resultsreferences/install-workflow.mdscripts/validate-skill.mjs

Operating rules

  • Treat skills CLI 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 symlink mode, keep skills/ as the single maintained source of truth and expose .agents entries 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: project means the current workspace, global means 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.
  • 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 skills CLI.

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

Minimum self-check

  • Is the source clearly classified as standard, nonstandard, or mixed?
  • Is the target skill structure valid before installation?
  • If symlink mode was requested, does the installed .agents entry 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 skills CLI, did you state the difference clearly?

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.