@xingyu.wang/evoskills
v3.1.0
Published
Evolution Skills CLI for installing and managing openskills-compatible AI skills.
Downloads
694
Readme
evoskills
Evolution Skills CLI - A modular, evolvable AI skills framework for GitHub Copilot
evoskills is a CLI tool and skill framework that enhances AI assistants (like GitHub Copilot) with modular, reusable capabilities. It provides a self-improving system through constitutional AI guidelines and pluggable skills.
✨ Features
- 🧩 Modular Skills: Install only the skills you need
- 🔄 Self-Improving: Built-in evolution mechanism learns from mistakes
- 🛡️ Safe by Default: Content protection prevents overwriting user customizations
- 📦 openskills Compatible: Works with standard openskills format
- 🌐 Extensible: Create your own skill repositories
- 🚀 Zero Config: Sensible defaults, auto-saves configuration
📦 Installation
Option 1: Global Install (Recommended for regular use)
npm install -g @xingyu.wang/evoskillsThen use anywhere:
evoskills --helpOption 2: Use with npx (No installation required)
npx @xingyu.wang/evoskills init🚀 Quick Start
Initialize evoskills in your project:
cd /path/to/your/project
evoskills initThis will:
- ✅ Create
.agent/skills/directory (skills installed from GitHub) - ✅ Generate
AGENTS.mdat project root (openskills-compatible skill registry) - ✅ Download
.github/AI_CONSTITUTION.md(core evolution mechanism) - ✅ Download
.github/AI_INITIALIZATION.md(mandatory 4-skill initialization protocol) - ✅ Create
.github/copilot-instructions.md(entry point for the system) - ✅ Save configuration to
.evoskills-config.json
Architecture:
- AI Constitution - Core evolution principles (always active)
- Initialization Protocol - Mandatory 4-skill execution sequence with verifiable markers
- Skills - Reusable capabilities with 3 tiers:
- Core (2): evolution infrastructure
- Required System (4): safety/runtime baseline (enforced by initialization protocol)
- Optional (8): user-selectable workflow enhancements
📚 Usage
List Available Skills
evoskills list # Show all available skills
evoskills list --installed # Show installed skills onlyInitialize by Tier
evoskills init # Install core + required + optional (default)
evoskills init --core-only # Install only core skills (2)
evoskills init --required-only # Install core + required system skills (6)
evoskills init --skills _git-commit,_pr-creator # Install selected optional skillsInstall/Remove Skills
evoskills install _git-commit # Install a skill
evoskills remove _git-commit # Remove a skillUpdate Skills and CLI
evoskills update # Update CLI (via npm) and refresh all installed skills
evoskills update _git-commit # Update specific skill onlynpm Release Authentication (GitHub Actions)
- Preferred: Trusted Publishing (OIDC), no token needed
- Fallback: Granular access token stored as
NPM_TOKENin GitHub Secrets - Note: npm legacy tokens were removed (Nov 2025), so "Automation token" may not appear in UI
Use Custom Skill Repository
evoskills init --repo https://github.com/your-username/your-skills-repo
evoskills update --repo <url> # Switch repository and update all skillsThe repository URL is auto-saved to .evoskills-config.json.
🎯 Available Skills
The default repository provides 14 skills in a 3-tier model:
Tier 1: Core Skills (2)
_evolution-core- Identifies improvement opportunities and proposes enhancements_skills-manager- Manages skill lifecycle (install/remove/update/contribute)
Tier 2: Required System Skills (4)
_instruction-guard- Ensures project instructions are applied before responses_context-ack- Formats responses with clear context and references_file-output-guard- Safeguards file operations and output behavior_execution-precheck- Validates dependencies before execution
Tier 3: Optional Skills (8)
_git-commit- Conventional commits workflow_pr-creator- PR generation workflow_release-process- End-to-end release process_code-health-check- Pre-commit quality checks_typescript-type-safety- Type safety and mock patterns_change-summary- Session change summarization_traceability-check- Decision traceability checks_session-safety- Session state consistency safeguards
🛡️ User Content Protection
evoskills intelligently preserves your customizations during updates:
AGENTS.md Protection
- Managed region marked with
<!-- EVOSKILLS_START -->and<!-- EVOSKILLS_END --> - Content outside markers is preserved (your custom skills, notes, etc.)
- Updates only replace content between markers
- If no markers exist, content is appended (never overwritten)
copilot-instructions.md Protection
- New file: Creates standard template with required references
- Existing file: Checks for
AI_CONSTITUTION.md,AI_INITIALIZATION.md, andAGENTS.mdreferences - Only appends missing references, never overwrites existing content
Example: You can safely add your own skill groups to AGENTS.md - evoskills updates won't touch them.
📂 Project Structure
This repository uses the same .agent/skills/ structure it creates for users (dogfooding):
.agent/skills/ # Skill source definitions (14 skills)
evoskills # CLI entry point (npm bin)
.github/
AI_CONSTITUTION.md # Constitutional template
AGENTS.md # Skill registry (openskills format)
package.json # npm package metadataWhen users install skills from GitHub, evoskills downloads from the .agent/skills/ path.
🤝 Contributing
Contributions are welcome! See our contribution guidelines for details.
Quick contribution workflow:
git checkout -b feat/your-feature
# Make your changes in .agent/skills/
git commit -m "feat: add new skill"
git push -u origin feat/your-feature
# Create PR (with GitHub CLI)
gh pr create --fill📄 License
MIT © wxy
