/x2:extractfrom X2 Method
Runs the X2 extraction loop when a project completes: reconciles turn ledgers, computes cost metrics and churn tables, and distills candidates, confirmations, and negative-space nominations for method feedback.
Ships in X2 Method. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The turn ledger is not just a cost record. It is a map of negative space: every human turn marks a place the method or the edition was not yet good enough. Defect turns are the loud half of that map. The quiet half is churn: a wrong-but-green decision leaves no defect behind it, it gets reworked across many small, individually-green turns that cluster on the same decision. This skill mines both halves and feeds the method, so each project makes the next one cheaper. It exists so the loop runs the same way every time, without anyone having to think about how.
Run in its own context (the intake seat), never the builder's. The builder is the measured subject and does not grade its own record.
docs/work/; merge them into one timeline first).
Classify every human turn; intake's bucketing governs over the builder's provisional bucket
(MET-05). Buckets: decision or green-but-wrong (sanctioned); edition-defect,
invariant-gap, methodology-defect (defects); ideation, admin (uncounted).Four outputs, all in method-level language:
Every item that could cross carries an applies-when condition (public web surface, model-backed feature, template-shaped product, and so on). The method serves many verticals; nothing is worded as universal unless it is.
Assume every word that crosses will be read by a stranger with no knowledge of the source project. Strip, without exception: product, brand, person, company, and team names; repository names and project-local identifiers (decision numbers, slice numbers, tickets); file names and paths; endpoint, route, config, host, and domain details; third-party vendor, service, model, and library names; URLs and addresses; anything that fingerprints the project or a person, even in aggregate.
Do not redact; generalize. Each item becomes the pattern and the rule it argues for, with zero residue of its origin. If an item cannot be generalized without losing its meaning, flag it for the human to reword or drop; never ship a half-scrubbed version. Default: auto-generalize and present only the doubtful crossings side by side.
Present: the figure, the churn table with nominations called out, the distillate, and the un-sanitizable flags. Put the open dispositions as options; do not pick for the human. Present it all in plain language, the owner's own words; method vocabulary rides alongside, never instead (P3: the demand for plain English fired against the extraction itself). Nothing crosses into the method without a ruling. Rejected items are recorded as ruled so they never resurface; accepted confirmations close their claims to reopening.
Accepted items apply in lockstep, each to its tier:
record/candidates.md for the next invariants
pass; kernel/claims/ is never edited during extraction.record/negative-space.md.
This table is the anticipation payoff: decompose reads it to pre-decide the decisions history
says will churn. An entry earns its place by having bitten once or by cross-project frequency,
and it must graduate to a mechanized rule as soon as it can; a list a human must re-read is the
documentation weight the method exists to avoid.record/metrics.md, under the one counting rule.The sanitized distillate lives in the method's public record/ layer. The raw intake record,
with real names and turn pointers, lives in the project's own private repo (docs/work/) and
never leaves it. Commit and push the method repo only on the human's word.
kernel/claims/ (that is the invariants pass), and no rulings taken for the human.Rulings applied, method deployed; the project's ledger stands as the audited source. The next project's decompose reads the churn table.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub teklabsdigital/x2-method --plugin x213 skills in this plugin
/adoptUse when an existing project that was not built with X2 must be migrated to run under it, with documentation sprawl to dissolve, stories to harvest at epic altitude, an as-built design to baseline, and existing enforcement to map and arm. Runs the migration on a dedicated branch with three human gates. Do not use for a new project (that is seed), and do not use it to redesign the product or refactor code beyond what arming the enforcement requires./decomposeUse after the repo is seeded to run the D-000 five-lens decomposition, record persistent schema decisions, define slice one, and start the deltas file. Also use when a stays-ahead decision (decomposition, schema) must be revisited. Do not use for per-slice implementation decisions; those are D-0xx record-gaps raised during implement./Other plugins' skills for the same job