design-meta-skill
Designs and validates a reusable Creator meta-skill workflow for an evidence-backed recurring construction gap after distill-ml-knowledge selects the design-reusable strategy. Use it to parameterize future source or task anchors, verify the workflow, and prepare an approved managed Creator-infrastructure import.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- design-meta-skill
- metadata
- { "disco-role": "meta" }
- description
- Designs and validates a reusable Creator meta-skill workflow for an evidence-backed recurring construction gap after distill-ml-knowledge selects the design-reusable strategy. Use it to parameterize future source or task anchors, verify the workflow, and prepare an approved managed Creator-infrastructure import.
02 资源文件 4
03 SKILL.md 正文
Design Reusable Meta Skill Bundle
Design a parameterized Creator workflow for future distillation anchors. This
skill does not produce the operating graph for the current task and does not
execute the final research or software task. The paper distinguishes only
task-agnostic and task-oriented distillation; design-reusable is a Creator
construction strategy, not a third distillation form.
distill-ml-knowledge owns anchor identification, Q scoping, adequacy
assessment, composition assessment, and strategy selection. This skill owns the
reusable workflow design, validation, approval, and managed Creator-infrastructure
import after it receives that exact handoff.
Required Handoff
Require the current routing handoff with:
- decision revision and
construction strategy: design-reusable; anchor kind, anchor identity, anddistillation form;- current task
tau = (q, D, E, g)when the gap came from a task-oriented run; - future anchor class and intended operating output when it came from a task-agnostic source run;
- scoped capabilities
Q, required evidence/source behavior, and verification/recovery needs; - Creator-visible capability matrix and inventory snapshot;
- uncovered recurring construction contract, recurrence evidence, and why extension or bounded composition is inadequate;
- construction constraints, unknowns, assumptions, and approval state.
If invoked without this handoff, read ../distill-ml-knowledge/SKILL.md and
return through canonical routing. Do not start another reuse, composition, or
gap decision here. If the visible inventory or requirements changed materially,
return the evidence for a new routing revision.
Workflow
-
Validate the handoff and stop with the exact missing blocking fields. Do not inspect Researcher-only skills or hidden paths.
-
Read reusable-bundle-specification.md. Draft the exact future-anchor and four-stage specification, preserving exclusions and assumption owners. Obtain approval before material source exploration, file generation, or compute use.
-
Stage all artifacts outside live skill roots, for example:
~/.disco/agent/creator-runs/<run>/<timestamp>/ routing-handoff.md reusable-bundle-spec.md evidence-plan.md draft/<meta-skill-id>/ verification/ construction-record.md -
Read generation-verification-and-review.md and generate a workflow that later performs scope, ground, construct, and verify for caller-supplied anchors.
-
Parameterize all source, task, environment, permissions, budget, graph, and handoff inputs. Never hardcode the current checkout, credentials, temporary task state, or machine-specific paths.
-
Keep every draft meta
SKILL.mdexplicitlymetadata.disco-role: meta. Do not include target-specificagents/oragents/openai.yaml. Require every operating root, router, and sub-skill produced by the future workflow to declaremetadata.disco-role: operating. -
Verify the candidate workflow on representative anchors: one task-agnostic source anchor, one task-oriented task anchor with source discovery, one source/access failure and recovery, one graph verification failure and local repair, one task-bound/project deployment, and one self-contained/managed deployment. Confirm uncertain reuse defaults to project scope, each graph stays in one scope, and repo output uses its specialized locked transaction.
-
Run the validator before review:
node scripts/validate_meta_skill.mjs <draft-meta-skill-dir> -
Present the routing revision, reusable-bundle specification, evidence plan, candidate files, verification results, unresolved gaps, exact managed target, collisions, and overwrite impact. Obtain approval for this exact artifact revision.
-
After approval, import only the reviewed runtime meta bundle as Creator infrastructure:
node scripts/import_meta_skill.mjs \ --agent-dir ~/.disco/agent \ <creator-run-dir>/draft/<meta-skill-id>Use
--overwriteonly after separate approval. The helper refuses to replace an operating or unclassified target. -
Tell the user to run
/reload. The next invocation of the imported meta skill, not this design run, constructs and verifies the operating graph and writes itsresearcher-handoff.md.
Required Outputs
- validated routing handoff and recurring-gap evidence;
- approved reusable-bundle specification;
- staged, parameterized meta-skill draft and evidence plan;
- verification results, repairs, unresolved points, and construction record;
- separate managed Creator-infrastructure import proposal or result;
- contract for later operating graph verification, one-scope deployment, locked import, and Researcher handoff.
The future workflow's output is accepted operating graph G and construction
record R; the current meta bundle itself is not an operating graph. Its
reusability is assessed against recurring anchors and the generated workflow's
ability to support both project deployment under .agents/skills/ and managed
deployment under ~/.disco/agent/skills/.
Failure Rules
- Missing or stale handoff: return to
distill-ml-knowledge. - Unresolved source access, credentials, hardware, permissions, or budget: keep the item in the future construction environment and stop before use.
- Failed strict verification: report the unverified bundle and do not import it.
- Invalidated recurring gap: return evidence for a new routing revision.
- Collision, overwrite, expanded source access/cost, or weakened verification: obtain separate approval.
- Never write drafts or review artifacts into live skill roots, split one future operating graph across scopes, send repo metadata through the generic importer, or execute the final downstream task here.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).