executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
qk_ov_circuit_expansionExpand attention-head QK and OV weights into token-level circuit matrices and copying diagnostics.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when analyzing an attention head as separable query-key and output-value circuits. It is designed for mechanistic interpretability of attention-only or attention-isolated transformer components. Do not use its copying score as definitive proof by itself; pair it with behavioral tests or ablations.
embedding: vocabulary-by-model matrix.unembedding: model-by-vocabulary matrix.w_qk: model-by-model combined query-key matrix, or already-combined equivalent.w_ov: model-by-model combined output-value matrix.The included script uses row-vector convention and computes embedding @ w_qk @ embedding.T and embedding @ w_ov @ unembedding.
Run the tests or the Paper2Skills skill-tree validator with --run-tests.
The script intentionally avoids heavy numerical dependencies. Eigenvalue diagnostics are exact only for one-by-one and two-by-two examples; larger matrices still get diagonal dominance summaries.