skillopt-sleep
CommandRun or manage the SkillOpt-Sleep self-evolution cycle (review past sessions, replay tasks through a selected backend, consolidate…
Discover and activate relevant skills (410+ skills, 23 gateways)
> /plugin marketplace add rand/cc-polymath> /plugin install cc-polymath@cc-polymath-marketplace
description: Discover and activate relevant skills (410+ skills, 23 gateways) argument-hint: [category|search-term] (optional) context: fork
You are helping the user discover and activate relevant skills from their skills library.
**User's Request:** `$ARGUMENTS`
Follow these steps:
Read the master catalog: Read ../skills/README.md
Analyze the current directory to understand the project:
# List files to detect project type
ls -la | head -30
# Check for language/framework indicators
ls *.{json,md,go,py,rs,swift,zig,toml,yaml,yml} 2>/dev/null | head -20**Technology Detection → Gateway Mapping:**
Review the current conversation for:
Map to gateway keywords:
Based on the argument provided:
**If NO ARGUMENT (default view):**
Display in this format:
RECOMMENDED FOR THIS PROJECT: → discover-[category] Read ../skills/discover-[category]/SKILL.md → discover-[category] Read ../skills/discover-[category]/SKILL.md CATEGORIES (410+ skills): Frontend (8) | Database (8) | API (7) | Testing (6) | Diagrams (8) | ML (30) Math (19) | Debugging (14) | Build Systems (8) | Caching (7) | Observability (8) Containers (5) | CI/CD (4) | PLT (13) | Formal (10) | Cloud (13) COMMANDS: /skills api - View API skills /skills frontend - View frontend skills /skills postgres - Search for 'postgres' /skills list - Show all categories
Recommend 2-4 gateway skills that match:
**Format:**
RECOMMENDED GATEWAYS: → discover-api Keywords: REST, GraphQL, authentication, authorization, rate limiting Read ../skills/discover-api/SKILL.md → discover-database Keywords: PostgreSQL, MongoDB, Redis, query optimization Read ../skills/discover-database/SKILL.md
**If ARGUMENT = category name:**
Two scenarios:
**A) If discover-{category} gateway exists:**
{CATEGORY} SKILLS
Total: [N] skills
Keywords: [comma-separated keywords]
KEY SKILLS:
[List 3-5 key skills with one-line descriptions]
LOAD:
Read ../skills/{category}/INDEX.md # All skills in category
Read ../skills/discover-{category}/SKILL.md # Gateway overview**B) If searching root-level skills:** Check for skills like:
Display similarly but note they're at root level.
**Example for `/skills api`:**
API SKILLS (7 total) Keywords: REST, GraphQL, authentication, authorization, rate limiting SKILLS: 1. rest-api-design - RESTful resource modeling, HTTP semantics 2. graphql-schema-design - GraphQL types, resolvers, N+1 prevention 3. api-authentication - JWT, OAuth 2.0, API keys, sessions 4. api-authorization - RBAC, ABAC, policy engines 5. api-rate-limiting - Token bucket, sliding window algorithms 6. api-versioning - API versioning, deprecation, compatibility 7. api-error-handling - RFC 7807, validation errors LOAD: Read ../skills/api/INDEX.md # Full details Read ../skills/discover-api/SKILL.md # Gateway overview Read ../skills/api/rest-api-design.md # Specific skill
**If ARGUMENT = search term:**
Search across:
Display matching gateway categories FIRST, then specific skills:
SEARCH: 'postgres' GATEWAY: → discover-database Keywords: PostgreSQL, MongoDB, Redis, query optimization Read ../skills/discover-database/SKILL.md SKILLS: → postgres-query-optimization.md Debug slow queries, EXPLAIN plans, index design Read ../skills/database/postgres-query-optimization.md → postgres-migrations.md Schema changes, zero-downtime deployments Read ../skills/database/postgres-migrations.md → postgres-schema-design.md Designing schemas, relationships, data types Read ../skills
Run or manage the SkillOpt-Sleep self-evolution cycle (review past sessions, replay tasks through a selected backend, consolidate…
Create or update an OpenCode skill using the bundled skill-creator workflow
Add a skill to the project with validation and README generation