@wopr-network/wopr-plugin-skills
v1.4.0
Published
Skills discovery, state management, and REST API for WOPR
Downloads
404
Maintainers
Readme
@wopr-network/wopr-plugin-skills
Skills discovery, state management, and REST API for WOPR.
Features
- Skill Discovery: Automatically discover skills from multiple sources (managed, workspace, bundled)
- State Management: Track enabled/disabled state and usage statistics
- REST API: HTTP endpoints for managing skills
- Context Provider: Inject available skills into AI prompts
- SQL Storage: Persistent skill state using WOPR's plugin storage API
Installation
npm install @wopr-network/wopr-plugin-skillsUsage
The plugin is automatically loaded by WOPR. It registers:
- Context provider for skill injection into prompts
- REST router at
/skillsfor HTTP API - Storage schema for skill state persistence
API Endpoints
GET /skills- List all discovered skillsPOST /skills- Create a new skillPOST /skills/install- Install skill from GitHub or URLPOST /skills/uninstall- Uninstall a skillDELETE /skills/:name- Remove a skillPOST /skills/:name/enable- Enable a skillPOST /skills/:name/disable- Disable a skillPOST /skills/cache/clear- Clear skill cache
Development
npm run build # Build TypeScript
npm run dev # Watch mode
npm run lint # Lint code
npm run format # Format code
npm run check # Lint + type-check
npm test # Run testsLicense
MIT
