本文へ移動
cccskills
無料GitHub で公開

mixture-of-experts

Run a Mixture of Experts (MoE) audit on any topic, plan, codebase, evidence archive, or process. Dynamically spawns specialized subagents with different critical lenses to cross-reference findings and detect flaws, overlap, retention issues, or drift. Use when designing architectures, analyzing complex code, verifying multi-step plans, classifying evidence artifacts, or looking for duplicated intent in a repo.

インストール方法を見る

含まれるファイル(11)

  • SKILL.md10.9 KB
  • evals/cases/evidence-retention-trigger.yaml587 B
  • evals/cases/evolutionary-simplicity-synthesis-trigger.yaml820 B
  • evals/cases/install-skills-dormant.yaml397 B
  • evals/cases/moe-architecture-trigger.yaml536 B
  • evals/cases/parallel-governance-boundary-trigger.yaml916 B
  • references/evals.md2.6 KB
  • references/evolutionary-simplicity.md1.9 KB
  • references/generational-architecture-ladder.md2.3 KB
  • references/sources.md892 B
  • references/stewardship-loop.md1.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Mixture of Experts (MoE) Audit

Concept bridge (read before procedural steps)

Skill Steward procedures assume three portable lenses. If you only have this skill installed, load the digests in references/ (they ship with the skill). Full essays live on docs.page.

LensOne-lineWhen to applyDigestFull
Engineering StewardshipKeep the repo ecology understandable and improvable via observe → decide → update → prove → preserveFriction repeats or survives one sessionstewardship-loop.mddocs.page · North Star
Evolutionary simplicityEvolve toward lower future confusion (split / compress / promote / demote / delete / stay native) — not always fewer partsBefore adding, splitting, merging, or deleting a surfaceevolutionary-simplicity.mddocs.page
Generational architectureChoose the smallest useful layer (G0–G5); higher is not automatically better; mature stewardship can move downBefore promoting codegen, harness actions, or new abstractionsgenerational-architecture-ladder.mddocs.page

Install-world rule: never rely on ../../docs/core/... alone — those paths only work inside a skill_steward checkout. Prefer the digests above and absolute docs.page URLs.

These lenses are not a new doctrine skill (see DESIGN_FAQ). This skill applies them; the digests teach them when the docs tree is not present.

The Mixture of Experts pattern is a powerful critical-thinking framework. It prevents tunnel vision by forcing multiple independent "expert personas" to analyze a single topic from completely different angles, before cross-referencing their findings.

It can be applied to literally anything: a codebase, a feature plan, a deployment process, or a repository's governance skills.

When to use

  • "Review this architecture plan using a mixture of experts"
  • "Do we have skills with duplicated intent?"
  • "Audit this deployment script for security and performance"
  • You encounter a complex design decision and need rigorous, multi-faceted critique.

Workflow

  1. Identify the Topic Understand what the user wants to audit (e.g. "repo skills overlap", "new caching architecture", "release process").

  2. Define Expert Personas Invent 2-3 specialized experts whose lenses are highly relevant but orthogonal to the topic. Use more than 3 only when the user explicitly asks for broad subagent coverage or when the domains are truly independent; default maximum is 4. Do not spawn agents to restate the parent plan. For each expert, write a short ownership contract:

    • Role: the critical lens.
    • Scope: what evidence or subsystem they inspect.
    • Out of scope: what they must not decide or edit.
    • Expected output: findings, contradiction, or artifact recommendation.
    • Fallback: what to do if the lens times out or returns partial evidence.
    • Integration contract: exact docs, checks, skills, or code surfaces their finding would affect.

    Examples:

    • For repo governance: "Codebase Auditor", "Skills Analyst"
    • For a system architecture: "Security Specialist", "Scalability Engineer", "Cost Analyst"
    • For a frontend component: "Accessibility Auditor", "Performance Expert"
    • For product claims or external platform support: "Evidence / Validation QA". This lens asks what claim is being made, what evidence proves exactly that claim, what validation or source freshness is required, and what remains a non-claim. Use it when a thread touches platform support, generated assets, cross-repo cleanup, benchmark proof, public compatibility, or external APIs.
    • For evidence archives, PDSA loops, dogfood notes, templates, and proof packets: "Evidence / Retention QA". This lens asks whether the artifact is an ADR, current ledger, historical evidence, public reproducibility card, template, check/tool candidate, or deletion candidate; whether it is for maintainer routing, current status, historical provenance, or public audit; what claim it protects; whether it has status/type/limitations/non-claims; and what next disposition prevents stale-proof drift.
    • For E2E Execution & Evals (Dogfooding): "Harness QA Expert". When a workflow, toolchain, typed action, or benchmark loop changes, include a Harness QA lens. Use a subagent when available; otherwise run the lens sequentially and label it. If the change claims H2+ maturity or changes action/benchmark behavior, capture a review artifact in the final or PR summary: scope, repo used, commands/actions exercised, evidence level reached, and remaining non-proof. Docs-only alignment can use softer wording and does not need a separate artifact unless it changes a readiness claim.
    • For stewardship, tools, harnesses, or growing products: "Generational Architecture Skeptic (ladder digest)". This lens asks what can be deleted, collapsed, kept native, moved to docs/FAQ, extracted to a public API, generated from schema, or promoted to harness proof. It must ask whether the design helps the next repo, next agent, next version, and next maintainer, or instead creates path magic, one-consumer hacks, overclaims, "full adoption" drift, or tool dependency loops. The clean promise is: Skill Steward helps a repo notice when it has outgrown its current shape, choose the smallest next layer, and prove the change reduces future work.
    • For stalled PDSA, repeated blockers, evidence loops, or repo pain: "Loop Compression / Pain Tutor". This lens asks what original user goal is being delayed, which owner can be fixed now, which native gate proves the fix, which surface can disappear, and whether the pain should become an error message, FAQ row, test, schema, script, action candidate, or current-ledger update instead of another evidence artifact.
  3. Spawn Subagents Use the available subagent capability for the current host to launch these experts independently. Give them explicit prompts to audit the target topic through their specific lens. Keep read-only lenses read-only unless the user explicitly asked for implementation. If no subagent tool is available, run the expert lenses sequentially and label the output as a non-parallel MoE.

  4. Cross-reference Findings Wait for all subagents to report back, or stop at the declared fallback point. Synthesize their independent critiques. Look for structural contradictions, missed edge cases, maintenance traps, and (in the case of repo skills) duplicated intent. If a lens times out or returns unusable evidence, label it as missing_lens, partial_lens, timed_out_lens, or superseded_lens; either retry, continue with downgraded confidence, or state that the missing lens blocks a stronger claim. Include a compact lens-status summary whenever the MoE result affects implementation, evidence, or a readiness claim.

    Example lens-status summary:

    | Lens | Status | Integration |
    |------|--------|-------------|
    | Evidence QA | integrated | limited the claim ceiling |
    | Operations QA | partial | accepted as input, not proof |
    | Skeptic | timed_out | no stronger claim based on this lens |
    

    When the Skeptic lens is active, name the smallest useful layer and any deletion/collapse option before recommending new tools; for broad surface-shape questions, also name whether the useful move is split, compress, promote, demote, delete, or stay native. When the Evidence / Retention QA lens is active, name the artifact status, claim protected, and retention/disposition route before recommending new evidence. If the critique would change durable docs, skills, contracts, or tooling, create or recommend a Pattern Promotion Review under docs/evidence/ instead of creating a new doctrine. For broad repo pain, MoE may discover possible lane candidates and contradictions between lanes. These findings are advisory critique inputs only: they do not authorize writes, assign workers, accept results, or replace parent synthesis. Parent lane contracts and direct-fix authority belong to multi-agent-handoff.

  5. Choose output mode

    • Read-only critique mode: If the user asks to analyze, discuss, criticize, or validate only, summarize findings in chat. Do not create files or plans.
    • Implementation planning mode: If the user asks for a plan or approved changes, draft a concise implementation plan or learning artifact.
    • Execution mode: If the user explicitly approves implementation, apply the smallest scoped changes and validate them. If validation, generators, or freshness checks are skipped or blocked, record exact commands not run, why, and what claim is therefore not proven.
  6. Present to User Lead with critical findings, contradictions, and actionable recommendations. End the synthesis with one disposition:

    • chat_only: useful critique, no durable change.
    • promote_to_artifact: update an ADR, FAQ, evidence note, skill, docs map, or Pattern Promotion Review.
    • convert_to_check: repeated deterministic truth should become a test, validator, generator freshness check, or harness probe.
    • compress_existing: merge overlapping guidance or navigation while preserving child truths.
    • delete_or_retire: remove stale guidance, evidence, or scaffolding after useful truth lands elsewhere.
    • leave_native: keep the work in the repo's existing command, framework, or owner surface.

    If implementation follows from the MoE, hand off the execution through multi-agent-handoff or keep it in the parent with an explicit claim ceiling. MoE findings alone are not terminal lane states and do not make temp or worker proof source-owned. Ask for approval only when the next step would mutate files or widen scope.

Compact rule: spawn for independence, synthesize for contradiction, persist only what changes future behavior.

Install

npx skills add arenukvern/skill_steward --skill mixture-of-experts

Sources

See references/sources.md.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Design, implement, and integrate generalized validation harnesses across a producer-consumer boundary after a local harness contract exists. Use when refactoring custom validation CLIs/MCPs for large polyrepos, extending Steward across sibling repos, or deploying a local tool to a consumer project for dogfooding and testing; use mcp-harness-repo-maintainer first for initial steward.yaml adoption and cold-start proof.

日本語の概要は準備中です。原文の説明を表示しています。

Arenukvern/skill_steward112026年9月24日 更新

Maintains repo-local action contracts and harness repositories where product CLI and MCP adapters stay thin over core libraries. Use when adopting or improving steward.yaml actions, capability-level adoption evidence, cold-start proof loops, probes, benchmarks, CLI/MCP/core parity, adapter refactors, packages/core boundaries, or sibling harness layout; use repo-quality-system-lifecycle first for general app/library/tool stewardship baselines.

日本語の概要は準備中です。原文の説明を表示しています。

Arenukvern/skill_steward112026年9月24日 更新

Plan and document handoffs, parent lane contracts, and parallel batch contracts between specialized AI agents (foreman, workers, reviewers). Use for multi-agent workflows, subagents, original goal preservation, native gates, claim ceilings, terminal states, baton passes, or guild-style agent coordination.

日本語の概要は準備中です。原文の説明を表示しています。

Arenukvern/skill_steward112026年9月24日 更新

Designs public or private Agent Skill and plugin marketplaces for Cursor, Claude Code, Codex, Zed, Open Plugin, and npx skills—manifest layout, install matrix, and Skill Steward vs product boundaries. Use when setting up a marketplace, distributing skills/plugins to a team, private registry, .cursor-plugin, .codex-plugin, .plugin, .claude-plugin, or skills.sh publishing.

日本語の概要は準備中です。原文の説明を表示しています。

Arenukvern/skill_steward112026年9月24日 更新

Chooses ecosystem-native release and changelog tooling (Changesets, Melos, release-plz) plus binary distribution (GitHub Release tarballs, install.sh) when the product is an executable. Use for release CI, install.sh, versioning, CHANGELOGs, shipping MCP/CLI without clone, or meta repos that only ship skills via npx skills—not domain app tutorials.

日本語の概要は準備中です。原文の説明を表示しています。

Arenukvern/skill_steward112026年9月24日 更新

Establish or audit a structural quality contract for any agent-operated engineering repository: app, library, CLI/tool, plugin, harness, or meta repo. Use when a repo needs charter clarity, docs/decision ownership, type-native validation gates, evidence paths, safe action policy, cold-start legibility, maturity proof, repair-loop routing, consumer/producer owner-boundary routing, command surface evolution, evolutionary simplicity (see references/evolutionary-simplicity.md), or a repo ecology pass to decide what should be compressed, merged, removed, updated, created, retired, or moved to checks.

日本語の概要は準備中です。原文の説明を表示しています。

Arenukvern/skill_steward112026年9月24日 更新

Arenukvern のスキルをすべて見る

このスキルの問題を報告する