skill-lifecycle-manager
Skill11 starsChanged 54 days agoMITView on GitHub
Manage Agent Skills across Codex, Claude Code, local/global/project roots, Skill Hubs, GitHub, skills.sh, and managed plugin caches. Use when searching, installing, updating, upgrading, syncing, merging, auditing, deduplicating, cleaning, packaging, publishing, validating, resolving upstream sources, choosing runtime or scope, or working with skill-upgrade, check_upstreams.ps1, Claude Code plugins, skills-lock.json, or skill-upstreams.json. Do not use for ordinary software-package upgrades or non-skill file cleanup.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- Confidence-huang/skill-lifecycle-managertheir own version, first seen Oct 16, 2026
- 5throck/ai-workspace-standardstheir own version, first seen Sep 26, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- 5throck/ai-workspace-standards★ 25same name
- Confidence-huang/skill-lifecycle-manager★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository57 other files it gives its agents.
- AGENTS.mdAGENTS.md
- browser-session-handoffSkill
- deep-researchSkill
- find-skillsSkill
- github-desktop-releaseSkill
- gpt6-pro-consultSkill
- santa-methodSkill
- skill-creatorSkill
- yq-clear-contextSkill
- yq-pre-push-checksSkill
- yq-simplify-codeSkill
- yq-stable-testsSkill
- yq-windows-trash-cleanerSkill
- electron-developmentSkill
- frontend-designSkill
- netlify-cliSkill
- yq-vps-vpn-deploySkill
- data-scraper-agentSkill
- docxSkill
- general-videoSkill
- github-readme-visualsSkill
- html-design-polishSkill
- hyperframes-animationSkill
- hyperframes-audioSkill
- hyperframes-cliSkill
- hyperframes-coreSkill
- hyperframes-creativeSkill
- hyperframes-keyframesSkill
- hyperframes-registrySkill
- hyperframesSkill
- imagegenSkill
- impeccableSkill
- jianying-editorSkill
- make-interfaces-feel-betterSkill
- media-useSkill
- pdfSkill
- ppt-nanoSkill
- pptxSkill
- remotion-video-creationSkill
- ui-ux-pro-maxSkill
- wechat-articleSkill
- xlsxSkill
- yq-editorial-presentation-htmlSkill
- yq-ui-checksSkill
- yq-article-style-imitationSkill
- yq-doc-maintenanceSkill
- yq-remove-reasoning-leaksSkill
- yq-technical-writingSkill
- yq-translate-docsSkill
- contract-reviewSkill
- creating-financial-modelsSkill
- dxy-task-clarifySkill
- healthcare-cdss-patternsSkill
- healthcare-emr-patternsSkill
- healthcare-eval-harnessSkill
- healthcare-phi-complianceSkill
- xhs-pharma-social-listeningSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
33 rules. About 0 are common, 28 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈28
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Do not treat a Skill Hub checkout, _repos source, plugin cache, and global install as interchangeable even when their skill names match.
- Distinctive: line 28
When evidence is incomplete, report known facts, candidate hypotheses, verification paths, and temporary mitigation.
- Distinctive: line 34
Create a compact internal task card before acting:
- Distinctive: line 55
Read the complete relevant reference before performing that operation:
- Distinctive: line 64
Read more than one reference when the task crosses those boundaries.
- Distinctive: line 93
Treat managed roots as read-only unless the user explicitly authorizes an override.
- Distinctive: line 97
Keep an internal inventory:
- Distinctive: line 104
Use this sequence for any operation that can change state:
- Distinctive: line 107
Verify source and scope with evidence appropriate to the operation.
- Distinctive: line 109
Run a dry run when supported.
- Distinctive: line 111
Create a timestamped backup before overwrite, mirror, move, or deletion.
- Very specific: line 122
Use skill-creator for SKILL.md design, progressive disclosure, scripts, references, and evals.
- Distinctive: line 125
Put broadly reusable, trusted workflows in a global/user root and a shared Skill Hub path when repository publication is intended.
- Distinctive: line 127
Put project-specific conventions, private workflows, or experiments in a project root.
- Distinctive: line 129
Avoid same-name duplicates across active roots unless the user explicitly wants scope-specific variants.
- Very specific: line 139
Use find-skills or the ecosystem's discovery command instead of inventing a new search process.
- Distinctive: line 143
Before recommending or installing:
- Distinctive: line 145
Check active roots for existing or competing skills.
- Very specific: line 147
Read the candidate SKILL.md and inspect scripts or dependencies.
- Distinctive: line 157
Never upgrade by name alone.
- Distinctive: line 163
Verify upstream repository, skill subdirectory, branch/ref, and immutable comparison commit.
- Distinctive: line 172
Treat source mapping as reusable lifecycle state, not one-off research.
- Very specific: line 186
Do not invent lifecycle metadata or policy.
- Distinctive: line 192
When both versions changed, summarize behavior-level differences before merging:
- Distinctive: line 201
Read references/upstream-audit.md before using the bundled audit helper or applying a mirror.
- Distinctive: line 228
Use the strongest relevant validation:
- Distinctive: line 232
Run bundled script self-tests or safe dry runs.
- Distinctive: line 234
Run git diff --check and inspect the intended file list.
- Distinctive: line 238
If tooling is unavailable, state that fact and perform a manual static check.
- Distinctive: line 239
Do not convert missing validation into a pass.
- Distinctive: line 243
Use a concise report proportional to the operation:
- Distinctive: line 259
Use the operation-specific templates in references/governance-and-reporting.md when more detail materially helps.
- Distinctive: line 265
Stop and request direction when:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
Skill Lifecycle Manager
Orchestrate skill work as one evidence-backed lifecycle. Keep source, installation, and ownership separate so an update to one copy does not silently overwrite another.
Core Contract
Maintain three boundaries throughout the task:
- Source: where the skill came from, such as GitHub, skills.sh, a Skill Hub checkout, or a local repository.
- Install: where a runtime loads the active skill, such as a global user root or project root.
- Ownership: whether the path is user-maintained, project-maintained, or system/plugin-managed.
- Runtime: which loader owns the active copy, such as Codex, Claude Code, an Agent Skills-compatible host, or more than one runtime.
Do not treat a Skill Hub checkout, _repos source, plugin cache, and global
install as interchangeable even when their skill names match.
When evidence is incomplete, report known facts, candidate hypotheses, verification paths, and temporary mitigation. Do not present an unverified hypothesis as a cause or completed fix.
Start With Lifecycle Triage
Create a compact internal task card before acting:
- Intent: discover, recommend, install, update, sync, merge, audit, cleanup, package, publish, validate, or create/edit.
- Target: skill name, source URL, repository path, installed path, or topic.
- Scope: project, global/user, source repository, managed root, or unknown.
- Runtime: Codex, Claude Code, multiple runtimes, or unknown. Do not assume the runtime executing this skill is the runtime whose skills are being managed.
- Destructive risk: none, overwrite, move, delete, cleanup, or ownership change.
- Evidence needed: source, version, usage, quality, or scope proof.
- Companion skill:
find-skills,skill-installer,skill-creator, or no companion.
Proceed without asking when target, scope, and ownership are clear. Ask a short question only when a reasonable assumption could modify the wrong skill or cross an ownership boundary.
Route To The Relevant Reference
Read the complete relevant reference before performing that operation:
| Operation | Required reference |
| Skill Hub pull, push, new-skill sync, junction, or index rebuild | references/skill-hub-operations.md |
Upstream comparison, skill-upgrade, check_upstreams.ps1, mirror, or local fast-forward | references/upstream-audit.md |
| Runtime roots, Claude Code skills/plugins, scope precedence, cache ownership, or reload behavior | references/runtime-adapters.md |
| Discovery, recommendation, install scope, quality audit, usage cleanup, package, publish, or report format | references/governance-and-reporting.md |
Read more than one reference when the task crosses those boundaries. Do not load unrelated operational detail for a simple task.
Discover Stores And Ownership
Discover actual roots before editing. Common roots include:
- User/global roots:
~/.agents/skills,~/.codex/skills, or configured$CODEX_HOME/skills; Claude Code personal skills live under${CLAUDE_CONFIG_DIR:-~/.claude}/skills. - Project roots: project-local skill directories, including
.codex/skillsand Claude Code.claude/skillsroots. Claude Code can also discover nested.claude/skillsdirectories in a monorepo. - Source checkouts:
_repos, Skill Hub clones, submodules, or manual clones. - Managed roots:
.systemskills and plugin caches. Claude Code marketplace plugins are managed throughclaude plugin, not by editing~/.claude/plugins/cache. - Evidence indexes: a repository
_meta/skill-upstreams.jsonor a local source index such as~/.skill-lifecycle/skill-upstreams.json; legacy~/.agents/skill-upstreams.jsonremains supported.skills-lock.jsonis an inventory, not proof of upstream identity.
CLAUDE_CONFIG_DIR relocates Claude Code's configuration and personal skills;
it does not relocate the runtime-neutral source index. Keep the default index
under the operating-system user home unless -IndexPath is explicit. Likewise,
~/.agents/skills is a shared Agent Skills root, not proof that Codex owns or
loads every contained skill. Never label an .agents install as Codex-owned
without loader or configuration evidence.
Treat managed roots as read-only unless the user explicitly authorizes an override. Treat source checkouts as source evidence, not automatically as the active install target.
Keep an internal inventory:
| Skill | Runtime/scope | Source | Active install | Owner | Intended action |
Lifecycle Safety Sequence
Use this sequence for any operation that can change state:
- Inventory source, install, ownership, branch/ref, and dirty state.
- Verify source and scope with evidence appropriate to the operation.
- Compare behavior and files before deciding replace versus merge.
- Run a dry run when supported.
- Resolve target paths and prove they are strictly below the intended root.
- Create a timestamped backup before overwrite, mirror, move, or deletion.
- Apply only the requested, ownership-compatible change.
- Validate source and installed copies separately when both exist.
- Report source, target, backup, changed files, validation, and unverified items.
A path equal to the allowed root is not a valid child target. A path that only shares the root's text prefix is also not inside that root.
Create Or Edit Skills
Use skill-creator for SKILL.md design, progressive disclosure, scripts,
references, and evals. This manager owns placement and lifecycle decisions:
- Put broadly reusable, trusted workflows in a global/user root and a shared Skill Hub path when repository publication is intended.
- Put project-specific conventions, private workflows, or experiments in a project root.
- Avoid same-name duplicates across active roots unless the user explicitly wants scope-specific variants.
- Validate the source copy before installing it, then compare source and installed hashes.
- For Claude Code, use personal or project
.claude/skillsfor standalone skills and a plugin only when namespaced distribution, versioned updates, or bundled agents/hooks/MCP are actually needed.
Discovery And Installation
Use find-skills or the ecosystem's discovery command instead of inventing a
new search process. Use skill-installer when the requested installation flow
matches it.
Before recommending or installing:
- Check active roots for existing or competing skills.
- Resolve the exact repository, path, branch/ref, and skill directory.
- Read the candidate SKILL.md and inspect scripts or dependencies.
- Record observed installs, stars, license, update activity, and source reputation; mark unavailable evidence as unavailable.
- Choose the smallest scope that supports the repeated workflow.
Read references/governance-and-reporting.md for detailed evidence thresholds, quality checks, and report formats.
Upgrade And Merge
Never upgrade by name alone. Separate source updates from active-install updates:
- Resolve the exact installed path in a source index. If no verified mapping exists, run the source-discovery workflow and persist the result before deciding whether an upgrade exists.
- Verify upstream repository, skill subdirectory, branch/ref, and immutable comparison commit. A GitHub URL mentioned as a dependency or example is only a candidate, not source proof.
- Compare SKILL.md, references, scripts, assets, and evals.
- Back up the target.
- Mirror only when policy and evidence permit exact replacement.
- Merge when local and upstream behavior both matter.
- Validate and report the final source/install relationship.
Treat source mapping as reusable lifecycle state, not one-off research. Key local mappings by canonical installed path so two same-name skills cannot inherit each other's upstream. On each later audit, refresh the verified ref, record the observed commit, and compare the complete skill directory. Read references/upstream-audit.md for the bootstrap, verification, index, and repeat-audit workflow.
For Claude Code marketplace plugins, the plugin manager is the lifecycle
authority. Inventory with claude plugin list --json, compare the declared
marketplace/version/source, preserve the installed scope in
claude plugin update <plugin> --scope <scope>, and follow the CLI's restart
instruction; never mirror files into the versioned plugin cache. Read
references/runtime-adapters.md before acting.
Do not invent lifecycle metadata or policy. source, repository, version,
or similar frontmatter fields are useful only when actually present and remain
candidate evidence until verified. Do not assume semantic versions, automatic
polling, retry-count downgrades, a stale classification, or time-based
thresholds unless the source index or user policy defines them.
When both versions changed, summarize behavior-level differences before merging:
- Triggering and description
- Tools and dependencies
- Safety and destructive operations
- Output contract
- Scripts, references, assets, and evals
Read references/upstream-audit.md before using the bundled audit helper or applying a mirror.
Quality, Cleanup, And Publishing
For quality audits, check frontmatter, trigger specificity, progressive disclosure, referenced resources, script safety, dependencies, secrets, absolute-path leakage, and objective eval coverage.
For usage cleanup, do not use filesystem LastAccessTime as proof. Prefer
explicit invocation evidence, session/tool logs, loadability metadata, then
filesystem presence. Quarantine uncertain candidates instead of deleting them.
For publishing, complete and save the quality and secret/privacy audit before creating or copying the package. Scan file contents as well as names, including quoted JSON/YAML credential keys, environment assignments, tokens, private keys, personal paths, and identifiers. Treat an unreadable file or an unclassified finding as a failed gate; do not package first and repair the audit afterward. Then keep only allowlisted runtime-relevant skill files, remove generated outputs and private data, record provenance, update indexes, and deliberately synchronize source and installed copies.
Read references/governance-and-reporting.md for the full gates, evidence labels, and output templates.
Validation
Use the strongest relevant validation:
- Parse frontmatter and required fields.
- Run
skill-creatorvalidation. - Run bundled script self-tests or safe dry runs.
- Parse JSON indexes and compare indexed counts with actual SKILL.md files.
- Run
git diff --checkand inspect the intended file list. - For objective workflows, create or update
evals/evals.jsonand forward-test representative cases against the prior version.
If tooling is unavailable, state that fact and perform a manual static check. Do not convert missing validation into a pass.
Common Report
Use a concise report proportional to the operation:
Intent:
Runtime and scope:
Source:
Target and scope:
Ownership:
Dry run or comparison:
Backup:
Changed files:
Validation:
Unverified:
Restart needed:Use the operation-specific templates in references/governance-and-reporting.md when more detail materially helps.
Stop Conditions
Stop and request direction when:
- Source trust is insufficient for installation or overwrite.
- Local edits would be overwritten without a backup or merge rule.
- A target cannot be proven strictly below the intended root.
- The target is system/plugin-managed without explicit override authority.
- A material merge conflict changes behavior and intent does not resolve it.
- Credentials, admin approval, license acceptance, or interactive authentication are required.
- The requested conclusion is stronger than the evidence.
Report facts, hypotheses, validation paths, and temporary mitigation instead of guessing past a stop condition.
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
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.

