Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By wisdomgraph
Extract reusable coding skills and strategies from Claude Code sessions, curate them through A/B evaluation or remote pipeline enhancement, and install them as step-by-step plans for future engineering work.
npx claudepluginhub wisdomgraph/mega-code --plugin mega-codeShow MEGA-Code help — available commands, output locations, skill and strategy structure, and usage tips.
Sign in to MEGA-Code via GitHub or Google OAuth to get an API key.
View or update your MEGA-Code developer profile (language, level, style) to personalise skill extraction.
Internal — local human-in-the-loop A/B + iteration flow backing `/mega-code:skill-enhance --hitl`. Not invoked directly.
Enhance a mega-code skill — defaults to the remote server flow; pass --hitl for the local human-in-the-loop A/B flow.
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.
Curated skills for Claude Code and Codex power users - tool selection, workflow optimization, and productivity
Core skills: ecosystem guide, skill creator, research patterns, session reflection, and plugin development. Includes UserPromptSubmit hook for forced skill evaluation.
Harness for Claude Code — skills, /harness:* slash commands, persona subagents, lifecycle hooks, and MCP tools without per-repo `harness setup`. Sibling plugins exist for Cursor, Gemini CLI, and Codex.
Self-evolving Claude Code system that learns from corrections, manages context, and improves every session
Agent Skills for improving SKILL.md files: mine repeated workflows from history, personalize and audit existing skills, or generalize personal skills for publication.
MEGA Code is a self-evolving infrastructure layer for AI coding agents. It turns your coding sessions into reusable wisdom by generating skills and strategies from real execution traces, decomposing validated knowledge into Primary-Context-Resultant (PCR) units, and reinjecting the right knowledge back into future tasks. Instead of treating skills as flat blocks, MEGA Code structures them at the atomic level so they can be retrieved, recomposed, and improved over time. The result is not just persistence, but compounding problem-solving quality.
This wisdom is stored in the Wisdom Graph DB: a structured graph that maps relationships between procedures, contexts, constraints, and outcomes across sessions. Rather than loading entire skill blocks into context, MEGA Code retrieves only the knowledge relevant to the user’s current intent, along with workflow-level guidance and step-by-step cheatmaps. It also evaluates generated skills, surfaces ROI, and provides enhanced versions, so the system improves not only by accumulation, but by refinement. This is what allows quality and efficiency to improve together rather than trade off against each other.
Most approaches to AI agent skills fail in a predictable way. Skills are stored as fixed blocks and injected wholesale into context at session start. As the library grows, the prompt grows — but the reasoning does not. More skills often mean more noise, not more capability.
What matters is not how many skills you store, but whether knowledge can be decomposed, retrieved, recomposed, and improved in a form that fits the task at hand.
MEGA Code is built around one principle: Evaluated wisdom compounds. Unevaluated assets just add noise.
Measured head-to-head against 5 leading systems on tasks developers actually ship.
1/5Token Usagevs no-skill baseline 169K tokens vs 897K baseline | #1Highest Scoreagainst 5 competing systems 78% combined avg — 4 skills x 2 models | 3xStructural Qualityvs competitor average 16/16 score across 8 structural dimensions |
MEGA Code ████░░░░░░░░░░░░░░░░ 169K ← 81% reduction
HF Upskill ████████████████░░░░ 763K
anthropic-skill █████████████████░░░ 826K
Baseline ██████████████████░░ 897K
skill-factory ██████████████████████████████ 1,448K
skill-builder ██████████████████████████████████████████ 2,024K
MEGA Code ████████████████ 78% ← #1
HF Upskill ██████████████░░ 70%
anthropic-skill █████████████░░░ 65%
Baseline █████████████░░░ 65%
skill-builder ██████████░░░░░░ 50%
skill-factory █████████░░░░░░░ 43%
Two of the four competing systems perform worse than using no skills at all. MEGA Code is the only system that beats the no-skill baseline on both token efficiency and task quality simultaneously.
MEGA Code installs as a Claude Code plugin and runs inside your existing workflow — no new coding workflow required.
MEGA Code works through three core flows:
1. wisdom-gen
MEGA Code reads your coding session traces and extracts reusable wisdom from what actually happened. It identifies:
These are written into structured local assets and prepared for reuse.
2. wisdom-curate
MEGA Code does not simply inject an entire skill library into context. Instead, it decomposes curated skills into atomic PCR-level wisdom, stores them in the Wisdom Graph DB, and retrieves only the knowledge relevant to your current intent.