skill-lifecycle-manager
Skill0 starsChanged 27 days agoApache-2.0View on GitHub
Manage and govern Codex Skills and plugin evidence on Windows and Linux with a Python 3.12 and uv CLI. Use to inventory or classify Skills, observe plugins and marketplaces without writes, generate the canonical Registry, run daily scan-only Guardian checks, publish update and compatibility reports, require exact human approval before source updates, verify Skills, install or update Skills transactionally, back up or restore capabilities, freeze a stable baseline, or run zero-write health checks.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- 5throck/ai-workspace-standardstheir own version, first seen Sep 26, 2026
- EthanYoQ/Skill-hubtheir own version, first seen Sep 19, 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
- EthanYoQ/Skill-hub★ 11same 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.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 6 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Use Python 3.12 through the committed uv project and lock file.
- Very specific: line 15
Run repository scripts as uv run python ....
- Distinctive: line 16
Run the matching preview before every lifecycle mutation.
- Very specific: line 17
Treat PASS, BLOCKED, UNKNOWN, NOT_CONFIGURED, and NOT_RUN literally.
- Distinctive: line 19
Never replace an existing source or activity entry.
- Distinctive: line 20
Keep one physical SOURCE/HYBRID entity.
- Distinctive: line 23
Verify never repairs dependencies, edits a failing Skill, changes PATH, or retries credentials.
- Distinctive: line 26
Treat Registry and baselines as host-local evidence.
- Distinctive: line 155
After implementation or environment changes:
- Very specific: line 157
Run uv sync --frozen and the complete unittest suite.
- Very specific: line 158
Run the official Skill quick_validate.py against this root.
- Very specific: line 159
Run uv build and inspect the wheel and source distribution.
≈ “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
Manage Skill assets as a small software supply chain. Keep desired approvals, physical inventory, activity entries, observed Registry state, verification evidence, and recovery material separate.
Operating rules
- Load workspace and project rules before changing Skill state.
- Use Python 3.12 through the committed uv project and lock file.
Run repository scripts as
uv run python ...; never create or require a systempythonalias. - Run the matching preview before every lifecycle mutation.
- Treat
PASS,BLOCKED,UNKNOWN,NOT_CONFIGURED, andNOT_RUNliterally. - Mutating commands require
--apply; never add it unless the user authorized that exact change. - Never replace an existing source or activity entry. Resolve collisions separately.
- Keep one physical SOURCE/HYBRID entity. Linux activates it with a symbolic link; Windows uses a directory junction through the platform adapter.
- Pin Git-backed state to a full commit. A branch is only an update channel.
- Verify never repairs dependencies, edits a failing Skill, changes PATH, or retries credentials.
- Backup records filesystem links without following them; restore requires an empty destination.
- Health is read-only and never fetches, installs, updates, deletes, grades, or routes.
- Treat Registry and baselines as host-local evidence; regenerate them after an OS migration.
- On Windows, do not run Phase D pilot or manager-promotion commands. The CLI blocks them until a Windows-native rollback rehearsal is implemented and verified.
- Guardian scheduling runs only
guardian scan --apply; no policy tier authorizes unattended install, update, activation, project-log editing, or dependency repair. - Compatibility remains
UNKNOWNunless a declared bounded probe supplies direct evidence. - Plugin installation and enabled metadata never prove connector authorization, runtime injection,
or representative behavior; keep those evidence layers
UNKNOWN,NOT_CONFIGURED, orNOT_RUN. - PACKAGE mutation is Linux-only and fail-closed. Require a validated
uv-tool-gitcontract, exact baseline/candidate commits, Guardian approval, a verified snapshot, and a runnable health check; never substitute a moving branch,latest, install script, or system-level side effect.
Command entry
From the source repository:
uv sync --frozen
uv run skill --helpInstall the reviewed checkout with ./bootstrap.sh install on Linux or .\bootstrap.ps1 install in
Windows PowerShell.
Inventory and governance
skill scan
skill registry
skill registry --apply
skill report --apply
skill governance --applyJSON is the canonical Registry. YAML and Markdown are generated views. Read references/registry-schema.md and references/governance.md before consuming their fields.
Verification
skill verify --name NAME
skill verify --name NAME --apply
skill verify --target-skill PATH --applyA legacy Skill without skill.manifest.yaml keeps Static verification while Runtime and Behavior
report NOT_CONFIGURED. Manifests use a JSON-compatible YAML subset, argument arrays, and the
portable {python} placeholder. Read references/verification-v2.md.
Plugin evidence
skill plugins
skill plugins --available
skill plugins --codex-command /exact/path/to/codexPlugin observation is read-only and separate from the Skill Registry. It records Codex CLI identity, installed/enabled metadata, marketplace identity and local path topology while leaving connector authentication and runtime behavior unclaimed. Read references/plugin-governance.md before consuming these fields.
Install, update, backup, and restore
skill install SOURCE --mode package
skill install SOURCE --mode source --apply
skill install SOURCE --mode hybrid --skill-path skills/NAME --apply
skill package-configure --name NAME --contract CONTRACT.json
skill package-configure --name NAME --contract CONTRACT.json --apply
skill update --name NAME
skill update --name NAME --approval APPROVAL.json --evaluated-at TIMESTAMP --apply
skill updates --name NAME
skill backup --path PATH --apply
skill restore --backup-path BACKUP --destination EMPTY_PATH --applyInstallation publishes Registry evidence only after required probes pass. Source update never uses
an unchecked pull or history rewrite. A PACKAGE update uses its declared adapter, durable lock,
verified preimages, exact Git commit, smoke checks, and automatic rollback before publishing
COMMITTED. Restore returns link records for review instead of silently recreating machine-specific
topology. Read references/operations.md.
Daily Guardian
skill guardian policy --file /exact/guardian-policy.json
skill guardian policy --file /exact/guardian-policy.json --apply
skill guardian scan
skill guardian scan --apply
skill guardian schedule --time 03:00
skill guardian schedule --time 03:00 --applyThe Guardian consumes the existing canonical Registry; it does not create a second Registry. A
missing per-Skill rule uses UNKNOWN risk plus REQUIRE_APPROVAL. Scheduled scans may write only
Guardian JSON/Markdown evidence. Publish a report-bound credential with
skill guardian approve ... --apply, then pass that file and an exact timezone-aware evaluation
time to skill update ... --apply. Read references/guardian.md before
enabling a schedule or approving an update.
Stable operation
skill stabilize
skill stabilize --apply
skill health
skill health --project-root PROJECT_PATHAn existing baseline is immutable. A deliberate rebaseline uses --archive-existing and preserves
the old bytes first. Read references/stability.md.
V5 supply-chain controls
The schemas/ directory and skill_lifecycle.contracts implement artifact identity, desired locks,
approval decisions, evidence, and transaction journals. skill shadow writes only isolated,
non-authoritative output. Read references/supply-chain-v5.md before
extending these contracts.
Linux additionally exposes reviewed Phase D pilot and exact offline manager-promotion commands. These operations require separately approved plans and remain outside Windows support. Read references/manager-promotion.md before authoring a promotion plan: it lists the exact plan keys, the update-channel invariants publication must preserve, and the bootstrap ordering that makes a promotion run the outgoing code.
Completion checks
After implementation or environment changes:
- Run
uv sync --frozenand the complete unittest suite. - Run the official Skill
quick_validate.pyagainst this root. - Run
uv buildand inspect the wheel and source distribution. - Exercise preview/write pairs only against isolated roots.
- Review the exact diff and run credential/private-path scans before publishing.
- Require both Ubuntu and Windows GitHub Actions jobs for cross-platform changes.
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.

