Skill Index — Progressive Disclosure Engine

SkillAI & models

Progressive Disclosure skill index — efficient skill loading in 3 layers. Layer 1 (index, ~100 tokens) always loaded. Layer 2 (summary, ~300 tokens) loaded on context need. Layer 3 (full SKILL.md) loaded on execution only.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Skill Index — Progressive Disclosure Engine skill

What this skill tells your AI

The instructions your AI receives, as published by tody-agent/codymaster in skills/cm-skill-index/SKILL.md and read by ahel’s review.

TL;DR

  • Use when searching for a CodyMaster or community skill
  • Layered: L1 index (always loaded) → L2 summary → L3 full
  • Includes: discovery, search, mastery (consolidated in v6)

Save 90%+ tokens. Agents scan the index first, load full skills only when executing. Inspired by Loki Mode's 3-Layer Progressive Disclosure memory architecture.

The Problem

Traditional approach: Load every SKILL.md to decide which skill to use.

  • 30+ skills × ~3000 tokens each = 90,000+ tokens just for discovery
  • Agent only needs ~500 tokens to make the choice
  • 89,500 tokens wasted on reading full skills

The Solution: 3-Layer Loading

┌────────────────────────────────────────────────┐
│ LAYER 1: INDEX (~100 tokens per skill)          │
│ Always loaded. Quick scan. "What exists?"        │
│ Name + Domain + Triggers + 1-line summary       │
└─────────────────────┬──────────────────────────┘
                      │ (match found?)
                      v
┌────────────────────────────────────────────────┐
│ LAYER 2: SUMMARY (~300 tokens per skill)        │
│ Load when choosing. "Is this the right one?"     │
│ Description + When to use + Integration table   │
└─────────────────────┬──────────────────────────┘
                      │ (confirmed?)
                      v
┌────────────────────────────────────────────────┐
│ LAYER 3: FULL SKILL.md (1500-5000 tokens)       │
│ Load ONLY during execution. "How to use it."     │
│ Complete instructions, examples, red flags       │
└────────────────────────────────────────────────┘

Layer 1: Skill Index

Always loaded by agents at session start. Maximum 100 tokens per skill.

Engineering Swarm 🔧

SkillTriggersSummary
cm-tddtest, TDD, red-green-refactorRed-Green-Refactor cycle before any implementation
cm-debuggingbug, error, fix, debug, brokenRoot cause analysis before fixing. 5-phase investigation
cm-quality-gatedeploy, ship, verify, quality, gate6-gate verification: static analysis → blind review → ship
cm-quality-gatetest setup, CI, verificationTest + verification gate before claiming completion
cm-code-reviewreview, PR, feedback, branchRequest reviews, handle feedback, complete branches
cm-codeintellunderstand codebase, call graph, impact, architecture, what calls X, what breaksAST knowledge graph + architecture diagrams + smart context (30% fewer tokens)
cm-reactorrewrite, pivot, migrate, direction change, architecture wrong, restructureTRIZ-powered strategic codebase re-direction — 5-phase incremental migration
cm-clean-codeclean, dead code, refactor, code smell, DRY, SOLID, naming, messy7-point hygiene gate: dead code, imports, naming, SRP, DRY, nesting

Operations Swarm ⚙️

SkillTriggersSummary
cm-safe-deploydeploy, staging, production, releaseMulti-gate deploy pipeline with rollback strategy
cm-identity-guardgit push, deploy, Cloudflare, Supabase, accountVerify identity before any push/deploy to prevent wrong-account
cm-executionbranch, isolate, worktree, parallelExecution modes including isolated workspaces and parallel batches
cm-terminalcommand, terminal, run, executeSafe terminal execution with progress logging

Security Swarm 🔒

SkillTriggersSummary
cm-safe-deploysecret, token, leak, security, scan, pre-commit, gitleaks, rotateDefense-in-depth: repo scanning, token lifecycle, and release safety

Product Swarm 🎨

SkillTriggersSummary
cm-brainstorm-ideaanalyze, enhance, improve, initiative, evaluate, review productStrategic analysis gate: 9 Windows + Double Diamond → 2-3 qualified options
cm-planningplan, design, brainstorm, featureBrainstorm intent → write implementation plan → then code
cm-ux-masterUI, UX, design, interface, usability48 UX Laws + 37 Design Tests + Figma/Stitch integration
cm-design-systempreview, visual, mockup, render UI, wireframeLive UI concept generation via design-token and Stitch/Open Design workflows
cm-dockitdocs, documentation, knowledge base, SOPGenerate complete knowledge base from codebase
cm-project-bootstrapnew project, init, bootstrap, setupFull project setup: design system → staging → CI → deploy
cm-jtbdcustomer discovery, JTBD, jobs to be done, product-market fit, why users churnJTBD canvas: Switch Interview → Outcome Metrics → Opportunity Scoring

Growth Swarm 📈

SkillTriggersSummary
cm-content-factorycontent, blog, article, marketingAI content engine: research → generate → audit → deploy
cm-ads-trackerpixel, tracking, GTM, Meta, TikTok, Google AdsComplete conversion tracking setup across platforms
cm-cro-methodologyconversion, A/B test, landing page, funnelCRO audit: funnel mapping → persuasion → objection handling

Orchestration Swarm 🎯

SkillTriggersSummary
cm-executionexecute, implement, plan, RARV, batchExecute plans: batch mode, subagent-driven, parallel, or RARV
cm-continuitymemory, context, CONTINUITY, learningsWorking memory protocol: read at start, update at end
cm-skill-indexwhich skill, skill list, discover, helpMeta-skill: when to invoke skills and how to discover the right one
cm-skill-healthskill broken, skill drift, missing skill, stale skill, healthAudit a skill using docs drift, retro notes, validation, and gates
cm-skill-evolutionrepair skill, evolve skill, fix skill, derive skillRecover a degraded skill with FIX, DERIVED, or CAPTURED mode
cm-skill-evolutionrepair skill, evolve skill, capture skillRepair, derive, or capture skills from execution feedback
cm-safe-i18ntranslate, i18n, language, localizeSafe translation with multi-pass batching and audit gates
cm-skill-chainchain, pipeline, workflow, multi-step, full processCompose skills into automated multi-step pipelines
cm-deep-searchsemantic search, find docs, large codebase, qmdOptional power-up for semantic search across large projects
cm-readitaudio, TTS, read aloud, voice, speech, SpeechSynthesis, MP3 playerWeb audio engine — TTS reader, pre-recorded MP3 player, Voice CRO triggers
cm-how-it-workhow does X work, explain, architecture overviewExplain how a system, feature, or codebase works

Workflow Commands 🖥️

SkillTriggersSummary
cm-start/cm-start, start workflow, begin objective, new taskOrchestrate full cm-* workflow from objective to production code
cm-status/cm-status, quick status, progress, what's next, blockedUltra-concise progress summary: done / next / blocked
cm-status/cm-status, quick status, progress, what's next, blockedUltra-concise progress summary: done / next / blocked

Planned (not yet implemented) 🧪

Skills below do not have SKILL.md files yet.

SkillTriggersSummary
mom-test (planned)customer interview, validate idea, leading questionsCustomer interviews without leading questions
release-it (planned)production, circuit breaker, timeout, chaosBuild production-ready systems with stability patterns
medical-research (planned)medical, OB/GYN, clinical, evidence-basedEvidence-based medical writing with citation standards
tailwind-mastery (planned)Tailwind, utility-first, responsive, v4Tailwind CSS utilities, responsive, accessibility
pandasai-analytics (planned)DataFrame, analytics, forecast, time-seriesNatural language DataFrame analysis and visual reports
cm-google-form (planned)Google Form, sheet, App ScriptForm-to-sheet integration with auto-retry

Community Skills Registry 🌐

STOP! Zero-Token Discovery Priority: BEFORE using this registry, check if .cm/project-skills.md exists in the local project. It contains the pre-compiled, exact community skills needed for the project's tech stack. If it doesn't exist, run npx cm index skills first to build it.

Only use the registry below if tech is not listed or if you need to search manually: npx skills find "{keyword}"

🖥️ Frontend Frameworks (10)
SkillSourceInstall Keywords
react-best-practicesvercel-labs/agent-skillsreact, react performance, RSC
composition-patternsvercel-labs/agent-skillsreact composition, compound components
react-native-guidelinesvercel-labs/agent-skillsreact native, expo, mobile app
react-native-best-practicescallstackincubator/agent-skillsreact native, expo, mobile
nextjs-app-router-patternswshobson/agentsnext.js, app router, RSC
react:componentsgoogle-labs-code/stitch-skillsreact components, stitch
cm-ux-masterUI/UX, design system, frontendUI/UX design intelligence + Harvester v4
angular-directivesanalogjs/angular-skillsangular, directives, components
svelte-best-practicescommunitysvelte, sveltekit
astro-best-practicescommunityastro, static site, islands
🎨 CSS & UI Design (8)
SkillSourceInstall Keywords
web-design-guidelinesvercel-labs/agent-skillsUI review, accessibility, UX audit
tailwind-design-systemwshobson/agentstailwind, design tokens, utility CSS
tailwind-v4-shadcnjezweb/claude-skillstailwind v4, shadcn/ui
tailwindcss-advanced-layoutsjosiahsiegel/claude-plugin-marketplacetailwind layouts, responsive
remotion-best-practicesremotion-dev/skillsremotion, programmatic video
shadcn-ui-patternscommunityshadcn, radix, component library
css-architecturecommunityCSS modules, BEM, CSS-in-JS
framer-motioncommunityanimation, framer motion, gestures
🗄️ Databases & ORM (9)
SkillSourceInstall Keywords
supabase-postgres-best-practicessupabase/agent-skillssupabase, postgres, RLS, SQL
prisma-database-setupprisma/skillsprisma, schema, migration
prisma-client-apiprisma/skillsprisma client, type-safe queries
prisma-expertsickn33/antigravity-awesome-skillsprisma, advanced patterns
drizzle-ormcommunitydrizzle, ORM, type-safe SQL
mongodb-patternscommunitymongodb, mongoose, NoSQL
pinecone-dbcommunitypinecone, vector DB, embeddings
turso-databasecommunityturso, libSQL, edge database
planetscalecommunityplanetscale, MySQL, branching
🔐 Authentication (6)
SkillSourceInstall Keywords
clerk-nextjs-patternsclerk/skillsclerk, auth, nextjs auth
clerk-auth-v5clerk/skillsclerk v5, middleware, session
better-auth-best-practicescommunitybetter-auth, auth library
next-auth-v5the-misfits/agent-skillsnextauth, auth.js, OAuth
auth-js-v5the-misfits/agent-skillsauth.js, session, JWT
supabase-authcommunitysupabase auth, RLS, magic link
💳 Payments & Commerce (4)
SkillSourceInstall Keywords
stripe-clientcommunitystripe, payment, checkout
stripe-webhookcommunitystripe webhook, event handling
stripe-checkoutcommunitystripe checkout, subscription
stripe-connectcommunitystripe connect, marketplace
🧪 Testing (5)
SkillSourceInstall Keywords
testing-librarycommunitytesting library, react testing
vitest-best-practicesthe-misfits/agent-skillsvitest, unit test, coverage
playwright-e2ethe-misfits/agent-skillsplaywright, e2e, browser test
cypress-patternscommunitycypress, e2e, component test
testing-guidelinesanthropics/skillstest strategy, TDD, test design
☁️ Cloud & Deployment (7)
SkillSourceInstall Keywords
vercel-deploy-claimablevercel-labs/agent-skillsvercel deploy, preview URL
vercel-deployment-best-practicescommunityvercel, edge functions, ISR
azure-deploymentmicrosoft/skillsazure, cloud, Microsoft
aws-deploymentmicrosoft/skillsAWS, Lambda, S3
docker-expertcommunitydocker, container, Dockerfile
docker-compose-orchestrationcommunitydocker compose, multi-container
multi-stage-dockerfilecommunitydocker build, multi-stage, CI
🤖 AI & ML (5)
SkillSourceInstall Keywords
vercel-ai-sdk-best-practicescommunityAI SDK, streaming, LLM
langchain-skillscommunitylangchain, agents, RAG
openai-skillscommunityopenai, GPT, embeddings
tavily-searchcommunitytavily, web search, research
ai-sdk-patternscommunityAI SDK, tool calling, generative UI
📡 APIs & Integrations (3)
SkillSourceInstall Keywords
nextjs-supabase-authsickn33/antigravity-awesome-skillsnext.js + supabase, full-stack
supabase-edge-functionsnice-wolf-studio/claude-code-supabase-skillsedge functions, Deno
nextjs-seolaguagu/claude-code-nextjs-skillsSEO, meta tags, sitemap
📱 Mobile & Cross-Platform (2)
SkillSourceInstall Keywords
expo-patternscommunityexpo, EAS, mobile deploy
capacitor-patternscommunitycapacitor, ionic, hybrid app

Discovery Protocol:

1. Check THIS index first (62 skills above)
   → Match found? → npx skills add {source} --skill {name} -a antigravity
2. No match? → npx skills find "{keyword}" on skills.sh
3. Still nothing? → Proceed without skill, note gap in .cm-skills-log.json

Trigger points:
  - cm-start Step 0.5 (before planning)
  - cm-planning Phase A Step 4 (scope analysis)
  - cm-execution Pre-flight (before dispatch)
  - cm-execution RARV (after 2 failed retries)

Layer 2: Skill Summary

Loaded when an agent has matched a skill from Layer 1 and needs more context.

To access Layer 2, read the first 20 lines of the corresponding SKILL.md (frontmatter + first section).

Example: cm-tdd Layer 2
  - Full name: "TDD — Test Before Write"
  - When to Use: ALWAYS before implementing any feature or bugfix
  - Process: Red (write failing test) → Green (minimal code) → Refactor (clean up)
  - Integration: Works with cm-execution (subagent TDD), cm-quality-gate (coverage check)
  - Token cost: ~4200 tokens for full skill

Layer 3: Full SKILL.md

Loaded ONLY when executing. Read the complete SKILL.md file.

# Agent loads full skill only when ready to execute
view_file /path/to/skills/cm-tdd/SKILL.md

Usage Protocol

1. AT SESSION START:
   - Load this skill index (Layer 1) — costs ~2500 tokens total
   - Now you know what 34 skills do without reading any of them

2. WHEN MATCHING A TASK:
   - Scan Layer 1 triggers to find matching skill(s)
   - If unsure, read Layer 2 (first 20 lines of SKILL.md)
   - Choose the best skill

3. WHEN EXECUTING:
   - Load Layer 3 (full SKILL.md) for the chosen skill
   - Follow the skill's instructions completely

4. SAVINGS:
    - Without index: 34 × 3000 = 102,000 tokens
    - With index: 2800 + 300 + 3000 = 6,100 tokens
    - Saved: ~95,900 tokens (~94%)

Skill Domain Mapping

For dynamic agent selection (Phase 3), skills map to domains:

engineering: [cm-tdd, cm-debugging, cm-quality-gate, cm-code-review, cm-codeintell, cm-reactor, cm-clean-code]
operations: [cm-safe-deploy, cm-identity-guard, cm-terminal, cm-safe-i18n]
security: [cm-safe-deploy]
product: [cm-brainstorm-idea, cm-planning, cm-ux-master, cm-design-system, cm-dockit, cm-project-bootstrap, cm-jtbd]
growth: [cm-content-factory, cm-ads-tracker, cm-cro-methodology]
orchestration: [cm-execution, cm-continuity, cm-skill-index, cm-skill-health, cm-skill-evolution, cm-skill-chain, cm-deep-search, cm-readit, cm-how-it-work]
commands: [cm-start, cm-status]
# planned (no SKILL.md yet): mom-test, release-it, medical-research, tailwind-mastery, pandasai-analytics, cm-google-form

The Bottom Line

Know everything. Load nothing. Execute precisely. Save 90%+ tokens.

Signals

GitHub stars
52
Forks
23
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
cm-skill-index
Source
github.com/tody-agent/codymaster