Skip to content

kyt19970215/codex-skill-evolution-framework

Repository files navigation

Codex Skill Evolution Framework

简体中文

A reusable, privacy-clean framework for growing a Codex skill system without turning it into one giant prompt.

It keeps six concerns separate:

  1. skill-evolution-core — create, update, split, merge, validate, and absorb skills.
  2. skill-evolution-router — decide where durable rules and lessons belong.
  3. project-rules-router — select project-specific guidance before non-trivial work.
  4. coding-debug-rules — triage local environment, shell, encoding, path, dependency, build, and test failures.
  5. research-verification — verify public tools, APIs, versions, and error behavior against current sources.
  6. codex-capability-router — select installed skills, plugins, apps, MCP tools, or safe discovery candidates.

Shortcut aliases are local configuration. On first installation, each user chooses one shortcut for a full evolution pass and another for capability absorption. The public framework does not impose personal trigger words.

Privacy Model

This repository contains no real trigger evidence, generated capability inventory, local absolute paths, account data, private project names, logs, screenshots, conversation transcripts, or project-specific source lists.

skills/codex-capability-router/data/ is generated locally and ignored by Git. trigger-candidates.md is an empty ledger template. external-skill-registry.md is a neutral configuration template.

Install Or Update

Clone or download the repository, then run from its root:

python scripts/install_or_update.py

On first installation, the script asks for two distinct shortcut aliases and installs all six routed skills. For unattended first installation, supply both choices explicitly:

python scripts/install_or_update.py --non-interactive --evolution-trigger "YOUR_EVOLUTION_SHORTCUT" --absorption-trigger "YOUR_ABSORPTION_SHORTCUT"

Run the same script after pulling a newer repository version. Saved shortcuts and local personal evolution are preserved by default. Unchanged framework files update automatically; locally modified files remain in place, while incoming copies are written under ~/.codex/.skill-evolution-updates/ for review.

Installations created before the manifest existed are handled conservatively: existing files are preserved and incoming versions are staged for review. The installer uses Python 3 and otherwise only the standard library.

Validate

From the repository root:

python scripts/validate_framework.py

The validator checks skill metadata, folder names, referenced files, script syntax, forbidden generated artifacts, and common privacy leaks.

Build The Local Capability Registry

After installation:

python ~/.codex/skills/codex-capability-router/scripts/build_capability_registry.py
python ~/.codex/skills/codex-capability-router/scripts/query_capability_router.py --task "create and review a slide deck"

The optional candidate refresh script queries public GitHub metadata. It does not upload local files:

python ~/.codex/skills/codex-capability-router/scripts/refresh_plugin_candidates.py

Customize Safely

  • Put always-on personal preferences in global guidance rather than publishing them inside a skill.
  • Put repository commands and conventions in the repository's AGENTS.md.
  • Copy templates/project-skill-template/ for private project knowledge.
  • Keep skill-evolution-entry/, trigger-candidates.md, and external-skill-registry.md local; the updater never overwrites them.
  • Keep real trigger evidence and local capability inventories private.
  • Run the validator and privacy checklist before publishing a customized fork.

License

MIT. See LICENSE.

About

A privacy-clean framework for evolving, routing, validating, and sharing Codex skills.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages