Repository navigation
v2.0.4
v2.0.4 - Agent-first defaults + legacy cleanup
Major cleanup release that removes legacy compatibility code, aligns with the official Claude Code Skills spec, and restructures the codebase for clarity.
✨ Highlights
- Agent-first by default: All commands are now non-interactive by default
- Use
--tuifor interactive mode (replaces-y/--yes) syncuses transclusion by default (--directfor inline embedding)synccreates AGENTS.md if missing instead of erroring
- Use
- Session hook fix: Fixed PATH corruption bug - hook now uses
${PATH:-fallback}to prevent broken shells - Official spec alignment: SKILL.md frontmatter now strictly follows Claude Code Skills spec
🗑️ Legacy Removal
- Removed
session-hookcommand (replaced by bash script) - Removed
skill-promptcommand (usetool-description) - Removed non-spec frontmatter fields:
when_to_use,disable-model-invocation, snake_case variants
🏗️ Codebase Restructure
Source reorganized from flat src/utils/ to domain-specific directories:
src/skill/- Core skill logic (discovery, validation, frontmatter)src/agent/- Agent platform integration (plugins, agents-md)src/config/- Configuration and pathssrc/marketplace/- GitHub integrationsrc/telemetry/- Usage tracking
Tests restructured to mirror src/ layout. All 147 tests pass.
🛠 Usage
# Non-interactive by default (agent-first)
openskills install anthropics/skills/skill-name
openskills sync
# Interactive mode with --tui
openskills install anthropics/skills --tui
openskills sync --tuiInstall
npm i -g openskills@2.0.4
# or
curl -fsSL https://ain3sh.com/openskills/install.sh | bash
```tps://ain3sh.com/openskills/install.sh | bash