| name | auto-skill-build-source-pattern-synthesis |
| description | 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, deciding which cloned patterns deserve durable Codex artifacts, or avoiding duplicate generated skills. Requires local source clones plus `source_pattern_matrix.py`. Skip when you only need a one-repo brief or a metadata-only source inventory.
|
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
-
Refresh metadata first when clone state may have changed:
python3 plugins/codex-supercharge/scripts/sources_inventory.py --write
-
Generate the cross-repo pattern matrix:
python3 plugins/codex-supercharge/scripts/source_pattern_matrix.py --write
-
Read plugins/codex-supercharge/references/source-pattern-synthesis.md.
-
Cluster repos by repeated behavior, not by hype or star counts.
-
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
-
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