auto-skill-build-source-pattern-synthesis

Synthesize multiple local `sources/` clones into workflow families before creating skills, references, or scripts. Use when doing source-pattern synthesis, comparing several GitHub-derived repos, deci

SKILL.md

GitHub

Source Pattern Synthesis

Generated by: Codex Supercharge maintenance automation.

Goal: turn many local source clones into a small pattern matrix and a build decision without rereading every README or creating overlapping skills.

Workflow

  1. Refresh metadata first when clone state may have changed:

    python3 plugins/codex-supercharge/scripts/sources_inventory.py --write
    
  2. Generate the cross-repo pattern matrix:

    python3 plugins/codex-supercharge/scripts/source_pattern_matrix.py --write
    
  3. Read plugins/codex-supercharge/references/source-pattern-synthesis.md.

  4. Cluster repos by repeated behavior, not by hype or star counts.

  5. For each cluster, choose one output:

    • update an existing owner skill
    • create one narrow generated skill
    • add a reference page
    • write memory only when the evidence is weak or duplicated
  6. Run safety gates before executing any repo code, install path, MCP server, hook, binary, or account-control tool.

Skip When

  • The task is about one repo only; use $repo-intelligence-brief.
  • The user only needs source metadata; use $auto-skill-build-sources-inventory.
  • The source is an external skill/prompt pack; run $auto-skill-safety-external-skill-intake first.
  • The request is a current popularity or trend claim; verify fresh evidence before writing conclusions.

References

  • plugins/codex-supercharge/references/source-pattern-synthesis.md
  • plugins/codex-supercharge/references/source-repos.md
  • Safety gates: $sandbox-source-intake, $mcp-safety-review
  • Build gates: $automation-skill-forge, $skill-pack-factory, $skill-quality-gate

Validation

python3 plugins/codex-supercharge/scripts/source_pattern_matrix.py | head
python3 plugins/codex-supercharge/scripts/source_pattern_matrix.py --write
python3 "$HOME/.codex/skills/.system/skill-creator/scripts/quick_validate.py" plugins/codex-supercharge/skills/auto-skill-build-source-pattern-synthesis