Arnie016/codex-prompt-templates / skills/auto-skill-build-source-pattern-synthesis
auto-skill-build-source-pattern-synthesis
VerifiedSynthesize 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-intakefirst. - The request is a current popularity or trend claim; verify fresh evidence before writing conclusions.
References
plugins/codex-supercharge/references/source-pattern-synthesis.mdplugins/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
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 467k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |