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

gaia-meta-sweep

Orchestrate a whole-registry sweep of Gaia — fan out 13 parallel audit agents across every skill, run adversarial verification, surface Semantic Fusion candidates, propose new generic skill references, and synthesize a publish-ready HTML report under docs/meta/reports/. Use this skill for broad, systemic analysis across many skills at once: "run a meta sweep", "sweep the meta", "full meta audit", "audit the whole registry against META.md", "widespread nomenclature issues", "find all skills missing a GitHub link", "produce a meta report", "check for evidence type mismatches across the registry", "find skills that document a third-party tool with no attribution", or explicitly types /gaia-meta-sweep. This is the registry-wide macro companion to /gaia-meta-audit (a prioritized queue, single-pass) and /gaia-audit (fixes one skill). Use it when you need the full surface — 13 audit dimensions, adversarial verification, fusion proposals, and a durable findings artifact — not just a queue.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md17.1 KB

SKILL.md(原文)

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

gaia-meta-sweep

Orchestrate a registry-wide meta audit using a multi-phase Workflow. The skill fans out 13 parallel audit agents, one per audit dimension from META.md, then runs adversarial verification on every finding before synthesizing a journal-style HTML report, a Chart.js timeline JSON, and a machine-readable findings index.

Inputs

Ask the user (or infer from context) before kicking off. These four parameters gate how much the skill mutates vs. just reports:

InputDescriptionDefault
moderead-only (findings + report only) or apply-safe (also runs gaia dev rename/calibrate/evidence for high-confidence corrections)read-only
fusion-aggressivenessmoderate (3–8 high-confidence Semantic Fusion candidates, adversarially verified) or aggressive (10–20+ including speculative pairings)moderate
scopeall (every named + generic skill) or a filter expression (e.g. level>=3★, contributor:mbtiongson1)all
report-slugFilename for the report under docs/meta/reports/<YYYY-MM-DD>-meta-audit.html
commitnone (leave files unstaged), worktree (commit on current branch), or branch:<name> (create + commit on a fresh branch)none

Pre-flight

  1. Confirm working tree is on a branch you may write to. Registry mutations follow the review/meta/<slug> branch prefix (see CLAUDE.md Branch Naming). Refuse to mutate main directly unless the user explicitly says so.

  2. Read META.md once and cache its key sections in the workflow prompt — this avoids each sub-agent re-reading the full file, which adds latency and drift:

    • §1 Taxonomy (star tiers, skill types)
    • §2 Evidence Methodology + §2.3 Specialist Path Rubric + §2.4 Meta-Audit Standards
    • §3 Demerits
    • §4 Governance & Promotion (Origin rule)
    • §6 Master Skill Fusion & Pruning (Champion + Semantic Fusion)
  3. Snapshot today's registry counts so Phase 5 can include a before/after distribution table:

    PYTHONIOENCODING=utf-8 python - <<'PY'
    import json, collections
    g = json.load(open("registry/gaia.json", encoding="utf-8"))
    nb = json.load(open("registry/named-skills.json", encoding="utf-8"))["buckets"]
    c = collections.Counter(e.get("level","?") for v in nb.values() for e in v)
    print({k: c[k] for k in ["2★","3★","4★","5★","6★"]})
    PY
    

    Note: generic skill references are starless — they carry no level field. Stars live only on named skills (2★–6★); a generic's effective rank is the highest star among its named children.

Workflow invocation

Use the Workflow tool. Author the script inline. Only ask the user before launching if the task seems exploratory and they haven't explicitly asked for a sweep — a direct "run meta sweep" is sufficient opt-in.

Phase plan

Five phases with a barrier only between Survey → Verify, because the synthesis phase needs the full deduplicated finding set before it can write the report. Phases 1–3 run in parallel (pipeline) since they produce independent outputs.

export const meta = {
  name: 'gaia-meta-sweep',
  description: 'Whole-registry audit against META.md with fusion + new-generic proposals',
  phases: [
    { title: 'Survey',  detail: 'fan-out audit dimensions across registry' },
    { title: 'Fuse',    detail: 'identify Semantic Fusion candidates (META §6.2)' },
    { title: 'Propose', detail: 'propose new generic skill refs for the schema' },
    { title: 'Verify',  detail: 'adversarially verify each finding' },
    { title: 'Report',  detail: 'synthesize HTML + timeline JSON' },
  ],
}

Phase 1 — Survey (parallel, one agent per dimension)

Spawn one agent per audit dimension. Parallelism matters here: 13 dimensions × full registry is the bottleneck; running them concurrently cuts wall-clock time by ~10×. Each agent scopes to the whole registry but only looks at its one dimension, keeping prompts focused and outputs structured.

Dimensions:

  1. star-bar — every 3★+ named skill missing/dead links.github (META §2.4)
  2. liveness — run python scripts/verify_evidence.py, return broken URLs (META §2.2 Liveness Heartbeat)
  3. origin-attribution — for every genericSkillRef, evaluate Origin standing per META §4.1 (most renowned / highest-rated, ties broken by TM score, exactly one Origin per bucket, ≤1★ cannot hold Origin). Flag multiple origins, ≤1★ origin claims, or lower-ranked skills holding Origin when a higher-ranked/higher-TM implementation exists.
  4. unbacked-star — named skills whose level is not backed by their own + inherited evidence (generics are starless — no overshoot possible)
  5. brand-coupled — generic IDs containing brand/product names (META §1, §2.4)
  6. heavy-deps — 3★+ named skills with known heavyweight deps / niche integrations (generic demerits are removed from the schema)
  7. installability — 3★+ non-suite skills with installable: false or no GitHub link (META §2.4 Star Bar)
  8. placeholder-bodies — named markdown with stub ## Installation only (no ## Overview)
  9. testuser-timelines — contributor: testuser survivors that were never cleaned up
  10. champion-cluster — generics where multi-implementation clusters exist but no Champion is set (META §6.1)
  11. unique-isolation — named skills on the Unique branch (no suiteComponents, rank ≥ 4★) that fail a Unique-branch gate — e.g. top named star below 4★ despite Unique labeling, or a Unique skill carrying suiteComponents (which would make it Suite branch) (META §1.2 — Unique branch = no suiteComponents AND rank ≥ 4; NOT a prerequisite-count rule)
  12. grade-mismatch — evidence whose declared Evidence Grade (S/A/B/C, §2.1b) is unsupported by its Evidence Type/trustNumber, or Trust Magnitude that does not clear the claimed star's TM gate (§2.1c)
  13. product-attribution — named skill body documents a specific third-party tool's own commands/API with no credit to that tool's actual maker anywhere in body or evidence notes. Driven by the curated TOOL_MAKER_MAP in scripts/check_product_attribution.py — a skill id not in that map is never flagged (no blind NLP heuristic; extend the map as new instances surface, e.g. from a /gaia-triage audit like #1801) (META §2.4)

Each agent returns structured findings so Phase 4 can process them programmatically without re-parsing prose:

{ "type": "object", "required": ["dimension","findings"],
  "properties": {
    "dimension": {"type": "string"},
    "findings": {"type": "array", "items": {
      "type": "object", "required": ["target","priority","reason","suggestedAction","sources"],
      "properties": {
        "target":          {"type":"string"},
        "priority":        {"enum":["P0","P1","P2","P3","P4"]},
        "reason":          {"type":"string"},
        "suggestedAction": {"type":"string"},
        "sources":         {"type":"array","items":{"type":"string"}}
      }}}}}

Phase 2 — Fuse (Semantic Fusion candidates)

Spawn one agent that walks named skills pairwise within shared topical clusters and surfaces fusion candidates per META §6.2. Aggressiveness controls the cap (3–8 moderate vs. 10–20 aggressive). Reject any candidate whose composite would require S-grade Trust Magnitude (TM ≥ 250, the 5★ Ultimate gate per §1.1/§4.2) — that implies a top-rank fusion; redirect to /gaia-fuse-full-suite instead.

Reference the worked example from PR #525 (safishamsi/graphify + mattpocock/triage → graph-driven-issue-triage 3★).

{ "type":"object","required":["candidates"],
  "properties":{"candidates":{"type":"array","items":{
    "type":"object","required":["proposedGenericId","proposedName","prerequisites","rationale","exampleNamed"],
    "properties":{
      "proposedGenericId":{"type":"string"},
      "proposedName":{"type":"string"},
      "prerequisites":{"type":"array","items":{"type":"string"},"minItems":2},
      "rationale":{"type":"string"},
      "exampleNamed":{"type":"array","items":{"type":"string"}}
    }}}}}

Phase 3 — Propose (new generic skill refs)

Spawn one agent that reads registry/schema/meta.json plus the Phase-1 findings and proposes new generic node IDs for capabilities being repeatedly named without a canonical generic to anchor them. Focus on:

  • Brand-coupled generics renamed to abstract phrases (from Phase 1 dimension 5)
  • Repeated genericSkillRef collisions where a more specific generic would reduce mis-attribution
  • Schema additions implied by fusion candidates (Phase 2 prerequisites that don't exist yet)
{ "type":"object","required":["proposals"],
  "properties":{"proposals":{"type":"array","items":{
    "type":"object","required":["id","name","type","description","prerequisites","reasoning"],
    "properties":{
      "id":{"type":"string","pattern":"^[a-z0-9-]+$"},
      "name":{"type":"string"},
      "type":{"enum":["basic","fusion"]},
      "description":{"type":"string","minLength":10},
      "prerequisites":{"type":"array","items":{"type":"string"}},
      "reasoning":{"type":"string"}
    }}}}}

Phase 4 — Verify (adversarial)

For every Phase-1, Phase-2, and Phase-3 finding, spawn 3 independent skeptic agents prompted to refute the finding. Use diverse lenses (correctness / evidence-strength / META-rule-precedent). A finding survives only if ≥2 of 3 agree it is real. This prevents false positives from polluting the report and eroding reviewer trust in future sweeps.

const votes = await parallel(Array.from({length: 3}, () => () =>
  agent(`Try to refute: ${claim}. Default to refuted=true if uncertain.`, {schema: VERDICT})))
const survives = votes.filter(Boolean).filter(v => !v.refuted).length >= 2
{ "type":"object","required":["refuted","reason"],
  "properties":{"refuted":{"type":"boolean"},"reason":{"type":"string"},"counterEvidence":{"type":"string"}}}

Phase 5 — Report (synthesis)

A single synthesis agent receives all surviving findings, fusion candidates, and new-generic proposals and produces three artifacts:

  1. docs/meta/reports/<slug>.html — Copy the structure of docs/meta/reports/2026-05-25-programmatic-registry-audit.html (LaTeX-style journal layout: abstract, executive summary, sections per dimension, references). Title: Registry Audit Report: <Month YYYY> Meta Sweep. Author: from git config user.name or gaia config.

  2. docs/meta/reports/<YYYY-MM>-timeline.json — Chart.js-shaped timeline matching may-2026-timeline.json (labels = days in the audit window; datasets = one per star tier). Use the Pre-flight snapshot as the right-edge values.

  3. docs/meta/reports/<slug>.findings.json — Machine-readable index of every surviving finding tagged by phase, priority, and META.md section reference. This is the durable artifact other tools (Liveness Heartbeat, future gaia dev migrations) can consume without parsing HTML.

The synthesis agent must:

  • Tag every meta change with the META.md section number that justifies it (this is what makes the report auditable, not just readable)
  • Tag every Semantic Fusion candidate with META §6.2
  • Tag every new generic proposal with META §1 + the originating dimension
  • Include a "Before/After" rank distribution table from the Pre-flight snapshot vs. projected post-mutation counts
  • If mode == apply-safe, list every applied gaia dev command in a "Mutations Applied" section; otherwise list them under "Mutations Proposed"

Apply-safe mutations (only if mode = apply-safe)

After Phase 5 produces the findings.json, replay the high-confidence subset programmatically. Only these mutation types are auto-applyable — everything else stays a proposal because the risk of irreversible registry damage outweighs the convenience:

Finding typeCLI command
Brand-coupled generic IDgaia dev rename <old> <new>
Unbacked named stargaia dev calibrate <author/skill> N★ or direct YAML edit on the named markdown
Missing 3★+ evidencegaia dev evidence <id> <url> --type repo --trust <value> --evaluator <user> (grade auto-derives from Trust Magnitude)
Dead evidence linkRemove/replace the offending evidence entry + log a demote timeline event
Unique named star dropped below 4★gaia dev calibrate <author/skill> N★ on the NAMED skill — the branch re-derives to standard automatically; do NOT reclassify the generic (that strips prerequisites)

After every mutation, validate immediately — a half-applied set that fails CI is worse than no mutations at all:

gaia dev validate
gaia dev validate --intake
gaia dev docs

If any check fails, abort the apply pass and revert (git checkout -- registry/); leave the report as findings-only.

Output

Report back:

  • Path to the HTML report and timeline JSON
  • Counts: findings by priority, fusion candidates, new generic proposals, surviving after Verify
  • Any mutations applied (or "none — read-only run")
  • Validation status (gaia dev validate exit code if mutations were applied)
  • Suggested follow-ups: which P0/P1 findings should be routed to /gaia-audit for source-level correction

Gotchas

  • registry/gaia.json and docs/graph/gaia.json are auto-regen targets — let auto-sync CI handle them on a review/meta/* branch. Only commit them manually if the Schema + DAG check requires lockstep (then add labels skip-scope-check + [skip-gen]).
  • Force-push doesn't always re-trigger path-filtered workflows; use gh workflow run validate.yml --ref <branch> after --force-with-lease.
  • The gaia dev timeline contributor lands as unknown if local git config isn't picked up — patch JSON to set the actual user before committing.
  • Renames leave orphan registry/skills/<type>/<old-id>.md; delete by hand after rename.
  • gaia dev docs needs numpy + scipy; install via pip install -e ".[docs]" or pip install -e ".[dev]".
  • The rarity axis is deprecated — do not flag rarity issues; the schema still requires the field but it carries no review signal.

Pipeline continuity — additive-loop trigger + deferred audit coverage (RFC3)

gaia-meta-sweep is the additive-loop trigger (RFC3 §3.6). The RFC2 evidence pipeline runs as a continuous additive loop: there is no green gate; evidence accumulates additively and Trust Magnitude / rank are recomputed at appraisal time, not at collection time. The monthly gaia-meta-sweep run is what triggers that loop across the registry — each sweep re-appraises skills against freshly accumulated evidence rather than gating on a one-time pass. Do not treat a skill's evidence as "final"; a later sweep can raise or lower rank as evidence grows.

Audit coverage of discovery→ingest is DEFERRED + blocked (RFC3 §3.7, GAP9). Today gaia-meta-sweep + gaia-meta-audit sweep only the POST-ingest surface (skills already in the tree). The planned extension also sweeps the discovery→ingest phase — discovery packets (registry-for-review/discovery-packets/), intake issues, evidence seeds (evidence/seeds/), and the provenance sidecars (registry/provenance/<skill-id>.json). This is deferred and blocked by RFC1 + #1148 + the RFC3 umbrella landing. Tracked by issue #1353 — do NOT build the pre-ingest sweep here; when it lands it reuses this skill's fan-out topology over the pre-ingest artifacts.

Optional Semantic Advisory Sidecar

During Phase 2 (Fuse) or Phase 3 (Propose), an operator may optionally run the read-only Jev advisory runner (docs/agents/jev.md):

# Offline dry-run by default ($0 spend); add --live to query TypeSafe API
# Uses --collect-repo to inspect canonical generic nodes directly from registry/nodes/
# Supports bounded paging via --offset (default: 0) and --max-calls
python scripts/jev_advisory.py --mode meta --collect-repo --offset 0

This advisory operates strictly as an auxiliary sidecar; it does not replace the 13 deterministic audit dimensions, never commits registry changes, and falls back to worker-luna when confidence is below 0.75 or budget is exhausted.

Non-goal

  • nova-gaia (sourceProposal.schema.json) — a separate pipeline for already-named skills that MAY converge with this one later pending founder review. No convergence design is in scope here.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

ci-churn

無料

Measure CI churn cost for a pull request: how many commits and how many CI-compute seconds were burned on avoidable "fix the CI" push rounds. Use when you want to understand the efficiency cost of a PR's iteration cycle, get actionable pre-push check suggestions, or include a churn summary in a pipeline report. Triggers: "ci churn", "how much CI did we burn", "avoidable commits", "ci efficiency", "wasted CI time", "churn report", "/ci-churn". Called automatically by /fp-drift at pipeline close.

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

gaia-research/gaia-skill-tree232026年10月13日 更新

Produce the rendered evidence a human-gated frontend PR owes its reviewer: capture each changed surface (plus the before state for anything modified, plus mobile width), then generate one self-contained local HTML page the founder can open and review without checking anything out. Use when a PR is gated by the "Frontend changes are HUMAN-GATED" section of CLAUDE.md, or when the user says "/design-gate", "screenshot evidence for this PR", "prep this for founder review", "build the design evidence page", "what does this look like before and after". The page comes from a template script, not hand-written markup. Output is session-local and never committed. Do NOT use for non-gated changes: typo/grammar/factual fixes in an unchanged block, dead link targets, alt/ARIA fixes with no visual change, cache-bust bumps, or refactors with no rendered diff.

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

gaia-research/gaia-skill-tree232026年10月13日 更新

One-fix-at-a-time, approval-gated design fix recovery. Given a checklist of fixes (handover doc, CHECKLIST.md, or inline list), applies each individually, presents a diff, and waits for an explicit APPROVE / REJECT / NO CHANGES decision before committing. Trigger phrases: /design-iteration, "go through the checklist one by one", "fix these one at a time", "bucket recovery", "design fix pass".

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

gaia-research/gaia-skill-tree232026年10月13日 更新

Playbook for correcting a named skill's star level to match its computed Trust Magnitude grade, with an independent post-calibration verification pass and a CLI-logged timeline event (never hand-written). Use when: recalibrating a skill's level, fixing a stale or drifted star rating, running a batch of `gaia dev calibrate` corrections, or confirming a past calibration actually landed. Triggers: "calibrate <skill>", "recalibrate the trust magnitude backlog", "promote/demote <skill> to N stars", "why is <skill> still N stars", "verify a calibration actually landed", "Hall of Heroes ranking is wrong".

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

gaia-research/gaia-skill-tree232026年10月13日 更新

Close out a completed EPIC / sprint end-to-end: author a fact-verified meta-post announcing what shipped, archive the EPIC's handovers, snapshot orchestrator memory, gate the integration→main merge on CI-green + explicit human go, drive the version bump (merge-commit conventions that auto-sync classifies), and verify the release reached the registry/PyPI. Use when the user says "close out EPIC <n>", "wrap up the sprint", "ship the meta shift", "/epic-close", or asks to finalize an integration branch that is ready to merge to main. Generalizes the EPIC 1002 (Yggdrasil II) close-out. This skill orchestrates — it authors founder docs directly (superadmin) and delegates code/regen to workers; it NEVER merges to main without the human gate.

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

gaia-research/gaia-skill-tree232026年10月13日 更新

Run this skill for Phase 3 of the evidence verification pipeline — the adversarial audit step. Use when you need to check the evidence data lake for bad data before ingestion: dead links, wrong URL formats (tree/ vs blob/), subjective wording ("elite", "high-quality"), stale migration notes, benchmark catalog misuse/vendor-claim leakage, or skills whose star evidence conflicts with classified evidence level. Triggers on phrases like: "audit the data lake", "adversarial check", "ev-adversarial-audit", "check for noise in evidence", "flag bad evidence", "run the audit phase", "quality check the by-type files", or any reference to Phase 3 of the pipeline.

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

gaia-research/gaia-skill-tree232026年10月13日 更新

gaia-research のスキルをすべて見る

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