unify
Recursive context unification engine that decomposes a target directory into an actionable DAG-oriented modular architecture with explicit cross-skill bridges.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Recursive context unification engine that decomposes a target directory into an actionable DAG-oriented modular architecture with explicit cross-skill bridges.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Run and validate recursive control-plane synthesis for the skill corpus: dependency graph extraction, DAG/ontology emission, issue tracking, and release packaging across all SKILL assets. This skill orchestrates decomposition, cross-skill synthesis, and deterministic governance with hard/soft dependency normalization.
Run and validate recursive control-plane synthesis for the skill corpus: dependency graph extraction, DAG/ontology emission, issue tracking, and release packaging across all SKILL assets. This skill orchestrates decomposition, cross-skill synthesis, and deterministic governance with hard/soft dependency normalization.
| name | unify |
| description | Recursive context unification engine that decomposes a target directory into an actionable DAG-oriented modular architecture with explicit cross-skill bridges. |
| triggers | ["unify","map codebase","analyze structure","decompose into modules","build dependency DAG","optimize ontology graph"] |
unify converts a directory into a minimal progressive architecture:
extract → cluster → decompose → bridge → optimize.
--output.core → cluster_base → specific → bridge.python scripts/unify.py <target_dir> --output ./unified
python scripts/unify.py <target_dir> --analyze-only
python scripts/unify.py <target_dir> --threshold 0.95 --max-iter 80
| Arg | Default | Purpose |
|---|---|---|
| target | required | Directory to ingest |
--output | ./unified | Destination for artifacts |
--threshold | 0.95 | Target score convergence |
--max-iter | 50 | Optimization budget |
--max-clusters | 12 | Maximum clusters |
--block-size | 500 | Max lines per specific module |
--chunk-size | 4096 | Byte chunk size for large files |
--analyze-only | false | Emit analysis only |
--verbose | false | Print phase telemetry |
index.md: progressive manifestanalysis.json: graph/cluster/bridge metadatareport.md: score and diagnosticscore/, modules/, bridges/: emitted module tiersObjective (9): parsimony, redundancy, connectivity, DAG validity, bridge coverage, load efficiency, modularity, depth ratio, convergence.
1 + parse error.--analyze-only, +max-clusters, or -threshold.+max-iter, -block-size..git, node_modules, venv, dist, build.networkx>=3.0.Downstream: graph, hierarchical-reasoning, ontolog, critique.
unify emits portable Markdown/JSON contracts.