Skip to content
Development
Skill

/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.

From plugin
cm
5662 skills8 agents11 commands3 hooks
+1

Claude Code

$ npx -y skills add tody-agent/codymaster --skill cm-skill-index --agent claude-code

SKILL.md

cm-skill-index.SKILL.md
name: cm-skill-index
description: "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."
token_budget: 800
compressed: true
deprecated: false

Skill Index — Progressive Disclosure Engine

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 🔧

| Skill | Triggers | Summary | |-------|----------|---------| | `cm-tdd` | test, TDD, red-green-refactor | Red-Green-Refactor cycle before any implementation | | `cm-debugging` | bug, error, fix, debug, broken | Root cause analysis before fixing. 5-phase investigation | | `cm-quality-gate` | deploy, ship, verify, quality, gate | 6-gate verification: static analysis → blind review → ship | | `cm-quality-gate` | test setup, CI, verification | Test + verification gate before claiming completion | | `cm-code-review` | review, PR, feedback, branch | Request reviews, handle feedback, complete branches | | `cm-codeintell` | understand codebase, call graph, impact, architecture, what calls X, what breaks | AST knowledge graph + architecture diagrams + smart context (30% fewer tokens) | | `cm-reactor` | rewrite, pivot, migrate, direction change, architecture wrong, restructure | TRIZ-powered strategic codebase re-direction — 5-phase incremental migration | | `cm-clean-code` | clean, dead code, refactor, code smell, DRY, SOLID, naming, messy | 7-point hygiene gate: dead code, imports, naming, SRP, DRY, nesting |

Operations Swarm ⚙️

| Skill | Triggers | Summary | |-------|----------|---------| | `cm-safe-deploy` | deploy, staging, production, release | Multi-gate deploy pipeline with rollback strategy | | `cm-identity-guard` | git push, deploy, Cloudflare, Supabase, account | Verify identity before any push/deploy to prevent wrong-account | | `cm-execution` | branch, isolate, worktree, parallel | Execution modes including isolated workspaces and parallel batches | | `cm-terminal` | command, terminal, run, execute | Safe terminal execution with progress logging |

Security Swarm 🔒

| Skill | Triggers | Summary | |-------|----------|---------| | `cm-safe-deploy` | secret, token, leak, security, scan, pre-commit, gitleaks, rotate | Defense-in-depth: repo scanning, token lifecycle, and release safety |

Product Swarm 🎨

| Skill | Triggers | Summary | |-------|----------|---------| | `cm-brainstorm-idea` | analyze, enhance, improve, initiative, evaluate, review product | Strategic analysis gate: 9 Windows + Double Diamond → 2-3 qualified options | | `cm-planning` | plan, design, brainstorm, feature | Brainstorm intent → write implementation plan → then code | | `cm-ux-master` | UI, UX, design, interface, usability | 48 UX Laws + 37 Design Tests + Figma/Stitch integration | | `cm-design-system` | preview, visual, mockup, render UI, wireframe | Live UI concept generation via design-token and Stitch/Open Design workflows | | `cm-dockit` | docs, documentation, knowledge base, SOP | Generate complete knowledge base from codebase | | `cm-project-bootstrap` | new project, init, bootstrap, setup | Full project setup: design system → staging → CI → deploy | | `cm-jtbd` | customer discovery, JTBD, jobs to be done, product-market fit, why users churn | JTBD canvas: Switch Interview → Outcome Metrics → Opportunity Scoring |

Growth Swarm 📈

| Skill | Triggers | Summary | |-------|----------|---------| | `cm-content-factory` | content, blog, article, marketing | AI content engine: research → generate → audit → deploy | | `cm-ads-tracker` | pixel, tracking, GTM, Meta, TikTok, Google Ads | Complete conversion tracking setup across platforms | | `cm-cro-methodology` | conversion, A/B test, landing page, funnel | CRO audit: funnel mapping → persuasion → objection handling |

Orchestration Swarm 🎯

| Skill | Triggers | Summary | |-------|----------|---------| | `cm-execution` | execute, implement, plan, RARV, batch | Execute plans: batch mode, subagent-driven, parallel, or RARV | | `cm-continuity` | memory, context, CONTINUITY, learnings | Working memory protocol: read at start, update at end | | `cm-skill-index` | which skill, skill list, discover, help | Meta-skill: when to invoke skills and how to discover the right one | | `cm-skill-health` | skill broken, skil

Read more
@tody-agent
Ships withcm

"I can't write code. But in 6 months, I shipped 12 real products using AI. CodyMaster is everything I learned — so you don't have to repeat my mistakes." — Tody Le, Head of Product, Creator of CodyMaster 50+ skills. One install.

5662 skills8 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
56
Star history of tody-agent/codymaster on GitHub, a chart by star-history.com

Other skills on cm.

cm-autopilot

cm-autopilot

Easy-to-use conversational CLI (Claude Code style) for non-technical users to spawn parallel AI tasks supervised by a visual web…

@tody-agent@tody-agentInstall Skill
cm-brainstorm-idea

cm-brainstorm-idea

Strategic analysis gate for existing products — multi-dimensional evaluation (tech, product, design, business) using Design…

@tody-agent@tody-agentInstall Skill
cm-browse

cm-browse

Fallback local Playwright daemon for real-browser visual QA / screenshots / smoke. Use ONLY when the host platform has no native…

@tody-agent@tody-agentInstall Skill
cm-clean-code

cm-clean-code

Code hygiene gate — detect and eliminate dead code, duplicates, naming mess, and code smells. TRIZ-powered. Run after features,…

@tody-agent@tody-agentInstall Skill
cm-code-review

cm-code-review

Full review lifecycle — request reviews, handle feedback with technical rigor, and complete branch integration. Use when…

@tody-agent@tody-agentInstall Skill
cm-codeintell

cm-codeintell

Unified code intelligence — routes to Skeleton Index, CodeGraph, Architecture Diagram, or Smart Context Builder based on task…

@tody-agent@tody-agentInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about cm-skill-index.

Which coding agents can use cm-skill-index?
cm-skill-index installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.