Codymaster cm-skill-index

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.

install
source · Clone the upstream repo
git clone https://github.com/tody-agent/codymaster
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/tody-agent/codymaster "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/cm-skill-index" ~/.claude/skills/tody-agent-codymaster-cm-skill-index && rm -rf "$T"
manifest: skills/cm-skill-index/SKILL.md
source content

Skill Index — Progressive Disclosure Engine

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-tdd
test, TDD, red-green-refactorRed-Green-Refactor cycle before any implementation
cm-debugging
bug, error, fix, debug, brokenRoot cause analysis before fixing. 5-phase investigation
cm-quality-gate
deploy, ship, verify, quality, gate6-gate verification: static analysis → blind review → ship
cm-test-gate
test setup, CI, test infrastructureSetup 4-layer test gate for any project type
cm-code-review
review, PR, feedback, branchRequest reviews, handle feedback, complete branches
cm-codeintell
understand codebase, call graph, impact, architecture, what calls X, what breaksAST knowledge graph + architecture diagrams + smart context (30% fewer tokens)
cm-reactor
rewrite, pivot, migrate, direction change, architecture wrong, restructureTRIZ-powered strategic codebase re-direction — 5-phase incremental migration
cm-clean-code
clean, dead code, refactor, code smell, DRY, SOLID, naming, messy7-point hygiene gate: dead code, imports, naming, SRP, DRY, nesting

Operations Swarm ⚙️

SkillTriggersSummary
cm-safe-deploy
deploy, staging, production, releaseMulti-gate deploy pipeline with rollback strategy
cm-identity-guard
git push, deploy, Cloudflare, Supabase, accountVerify identity before any push/deploy to prevent wrong-account
cm-git-worktrees
branch, isolate, worktree, parallelIsolated git worktrees for feature work
cm-terminal
command, terminal, run, executeSafe terminal execution with progress logging

Security Swarm 🔒

SkillTriggersSummary
cm-secret-shield
secret, token, leak, security, scan, pre-commit, gitleaks, rotateDefense-in-depth: pre-commit hooks, repo scanning, token lifecycle

Product Swarm 🎨

SkillTriggersSummary
cm-brainstorm-idea
analyze, enhance, improve, initiative, evaluate, review productStrategic analysis gate: 9 Windows + Double Diamond → 2-3 qualified options
cm-planning
plan, design, brainstorm, featureBrainstorm intent → write implementation plan → then code
cm-ux-master
UI, UX, design, interface, usability48 UX Laws + 37 Design Tests + Figma/Stitch integration
cm-ui-preview
preview, visual, mockup, render UI, wireframeLive UI concept generation via Google Stitch or Pencil MCP
cm-dockit
docs, documentation, knowledge base, SOPGenerate complete knowledge base from codebase
cm-project-bootstrap
new project, init, bootstrap, setupFull project setup: design system → staging → CI → deploy
cm-jtbd
customer discovery, JTBD, jobs to be done, product-market fit, why users churnJTBD canvas: Switch Interview → Outcome Metrics → Opportunity Scoring

Growth Swarm 📈

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

Orchestration Swarm 🎯

SkillTriggersSummary
cm-execution
execute, implement, plan, RARV, batchExecute plans: batch mode, subagent-driven, parallel, or RARV
cm-continuity
memory, context, CONTINUITY, learningsWorking memory protocol: read at start, update at end
cm-skill-mastery
which skill, skill list, discover, helpMeta-skill: when to invoke skills, how to create new ones
cm-skill-health
skill broken, skill drift, missing skill, stale skill, healthAudit a skill using docs drift, retro notes, validation, and gates
cm-skill-evolution
repair skill, evolve skill, fix skill, derive skillRecover a degraded skill with FIX, DERIVED, or CAPTURED mode
cm-skill-search
find skill, lookup skill, which skill, search skillFind the right skill through indexes, suggestions, and repo search
cm-skill-share
export skill, import skill, share skill, move skillPackage and transfer skill folders safely across repos and machines
cm-safe-i18n
translate, i18n, language, localizeSafe translation with multi-pass batching and audit gates
cm-skill-chain
chain, pipeline, workflow, multi-step, full processCompose skills into automated multi-step pipelines
cm-deep-search
semantic search, find docs, large codebase, qmdOptional power-up for semantic search across large projects
cm-readit
audio, TTS, read aloud, voice, speech, SpeechSynthesis, MP3 playerWeb audio engine — TTS reader, pre-recorded MP3 player, Voice CRO triggers
cm-how-it-work
how 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-dashboard
/cm-dashboard, kanban, task board, show tasks, status boardRender Kanban board from OpenSpec
tasks.md
and
cm-tasks.json
— visual task overview
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-practices
vercel-labs/agent-skillsreact, react performance, RSC
composition-patterns
vercel-labs/agent-skillsreact composition, compound components
react-native-guidelines
vercel-labs/agent-skillsreact native, expo, mobile app
react-native-best-practices
callstackincubator/agent-skillsreact native, expo, mobile
nextjs-app-router-patterns
wshobson/agentsnext.js, app router, RSC
react:components
google-labs-code/stitch-skillsreact components, stitch
cm-ux-master
UI/UX, design system, frontendUI/UX design intelligence + Harvester v4
angular-directives
analogjs/angular-skillsangular, directives, components
svelte-best-practices
communitysvelte, sveltekit
astro-best-practices
communityastro, static site, islands

🎨 CSS & UI Design (8)

SkillSourceInstall Keywords
web-design-guidelines
vercel-labs/agent-skillsUI review, accessibility, UX audit
tailwind-design-system
wshobson/agentstailwind, design tokens, utility CSS
tailwind-v4-shadcn
jezweb/claude-skillstailwind v4, shadcn/ui
tailwindcss-advanced-layouts
josiahsiegel/claude-plugin-marketplacetailwind layouts, responsive
remotion-best-practices
remotion-dev/skillsremotion, programmatic video
shadcn-ui-patterns
communityshadcn, radix, component library
css-architecture
communityCSS modules, BEM, CSS-in-JS
framer-motion
communityanimation, framer motion, gestures

🗄️ Databases & ORM (9)

SkillSourceInstall Keywords
supabase-postgres-best-practices
supabase/agent-skillssupabase, postgres, RLS, SQL
prisma-database-setup
prisma/skillsprisma, schema, migration
prisma-client-api
prisma/skillsprisma client, type-safe queries
prisma-expert
sickn33/antigravity-awesome-skillsprisma, advanced patterns
drizzle-orm
communitydrizzle, ORM, type-safe SQL
mongodb-patterns
communitymongodb, mongoose, NoSQL
pinecone-db
communitypinecone, vector DB, embeddings
turso-database
communityturso, libSQL, edge database
planetscale
communityplanetscale, MySQL, branching

🔐 Authentication (6)

SkillSourceInstall Keywords
clerk-nextjs-patterns
clerk/skillsclerk, auth, nextjs auth
clerk-auth-v5
clerk/skillsclerk v5, middleware, session
better-auth-best-practices
communitybetter-auth, auth library
next-auth-v5
the-misfits/agent-skillsnextauth, auth.js, OAuth
auth-js-v5
the-misfits/agent-skillsauth.js, session, JWT
supabase-auth
communitysupabase auth, RLS, magic link

💳 Payments & Commerce (4)

SkillSourceInstall Keywords
stripe-client
communitystripe, payment, checkout
stripe-webhook
communitystripe webhook, event handling
stripe-checkout
communitystripe checkout, subscription
stripe-connect
communitystripe connect, marketplace

🧪 Testing (5)

SkillSourceInstall Keywords
testing-library
communitytesting library, react testing
vitest-best-practices
the-misfits/agent-skillsvitest, unit test, coverage
playwright-e2e
the-misfits/agent-skillsplaywright, e2e, browser test
cypress-patterns
communitycypress, e2e, component test
testing-guidelines
anthropics/skillstest strategy, TDD, test design

☁️ Cloud & Deployment (7)

SkillSourceInstall Keywords
vercel-deploy-claimable
vercel-labs/agent-skillsvercel deploy, preview URL
vercel-deployment-best-practices
communityvercel, edge functions, ISR
azure-deployment
microsoft/skillsazure, cloud, Microsoft
aws-deployment
microsoft/skillsAWS, Lambda, S3
docker-expert
communitydocker, container, Dockerfile
docker-compose-orchestration
communitydocker compose, multi-container
multi-stage-dockerfile
communitydocker build, multi-stage, CI

🤖 AI & ML (5)

SkillSourceInstall Keywords
vercel-ai-sdk-best-practices
communityAI SDK, streaming, LLM
langchain-skills
communitylangchain, agents, RAG
openai-skills
communityopenai, GPT, embeddings
tavily-search
communitytavily, web search, research
ai-sdk-patterns
communityAI SDK, tool calling, generative UI

📡 APIs & Integrations (3)

SkillSourceInstall Keywords
nextjs-supabase-auth
sickn33/antigravity-awesome-skillsnext.js + supabase, full-stack
supabase-edge-functions
nice-wolf-studio/claude-code-supabase-skillsedge functions, Deno
nextjs-seo
laguagu/claude-code-nextjs-skillsSEO, meta tags, sitemap

📱 Mobile & Cross-Platform (2)

SkillSourceInstall Keywords
expo-patterns
communityexpo, EAS, mobile deploy
capacitor-patterns
communitycapacitor, ionic, hybrid app

Discovery Protocol:

1. Check THIS index first (59 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-test-gate, cm-code-review, cm-codeintell, cm-reactor, cm-clean-code]
operations: [cm-safe-deploy, cm-identity-guard, cm-git-worktrees, cm-terminal, cm-safe-i18n]
security: [cm-secret-shield]
product: [cm-brainstorm-idea, cm-planning, cm-ux-master, cm-ui-preview, cm-dockit, cm-project-bootstrap, cm-jtbd]
growth: [cm-content-factory, cm-ads-tracker, cm-cro-methodology]
orchestration: [cm-execution, cm-continuity, cm-skill-mastery, cm-skill-health, cm-skill-evolution, cm-skill-search, cm-skill-share, cm-skill-chain, cm-deep-search, cm-readit, cm-how-it-work]
commands: [cm-start, cm-dashboard, 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.