Skip to content

Arnie016/codex-prompt-templates / skills/auto-skill-build-source-pattern-synthesis

auto-skill-build-source-pattern-synthesis

Verified

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.

FileKindSize
SKILL.mdskill md2.5 KB
---
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

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

   ```bash
   python3 plugins/codex-supercharge/scripts/sources_inventory.py --write
   ```

2. Generate the cross-repo pattern matrix:

   ```bash
   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

```bash
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
```
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: 471kUpdated Claude CodeCodexVerifiedInstall
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: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
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 availableStars: 322kUpdated Claude CodeCodexVerifiedInstall