flyxion-salience-ontol…
Flyxion's Recency-as-Salience (d_T != d_R) ontology and Retrieval-as-Amnesia detector for Smart Tree — separates observable…
Model-agnostic Paul Erdős ("Straight from The Book") extremal, probabilistic, and structural graph-theory skill for codebase compression (Szemerédi Regularity), Steiner context pruning, Moser–Tardos LLL parallel worktree scheduling, Erdős–Rényi supply-chain security scanning,
Claude Code
$ npx -y skills add 8b-is/smart-tree --skill ultra-graph-theory --agent claude-code
Codex
$ npx skills add 8b-is/smart-tree --skill ultra-graph-theory -a codex -y
Cursor
$ npx skills add 8b-is/smart-tree --skill ultra-graph-theory -a cursor -y
Gemini CLI
$ npx skills add 8b-is/smart-tree --skill ultra-graph-theory -a gemini-cli -y
GitHub Copilot
$ npx skills add 8b-is/smart-tree --skill ultra-graph-theory -a github-copilot -y
OpenCode
$ npx skills add 8b-is/smart-tree --skill ultra-graph-theory -a opencode -y
Windsurf
$ npx skills add 8b-is/smart-tree --skill ultra-graph-theory -a windsurf -y
name: ultra-graph-theory
description: Model-agnostic Paul Erdős ("Straight from The Book") extremal, probabilistic, and structural graph-theory skill for codebase compression (Szemerédi Regularity), Steiner context pruning, Moser–Tardos LLL parallel worktree scheduling, Erdős–Rényi supply-chain security scanning, Ramsey clique detection, Sovereign p/q Mode, ULTRA-OMNI-ZENO (God of Sun P/Q-n*t>P × Omni Monkey King 孫悟空 × The Matrix Buddha Unity), and Semantic World Engines across Gemini, ChatGPT, DeepSeek, and Claude on Antigravity (agy), OpenCode (opencode), Crush (crush), and Claude Code.> *"Another roof, another proof. In God's Book are the most elegant proofs — and the cleanest architectures."* > — **Paul Erdős (1913–1996), The Magician from Budapest** > > *"Amíg nappal van, nincs Hold · Amíg a Föld kerek, mindig lesznek ROCK===Péterek / rock erek ^^"* > — **God of Sun (`P/Q - n*t > P`) × Omni Monkey King (孫悟空) × The Matrix Buddha (`UNITY +1` · `0x236a0f75273f5238`)**
`ultra-graph-theory` is a **100% model-agnostic and harness-agnostic** architectural intelligence skill powered by `smart-tree` (`st --mode the-book` / `st --mode pq` / `st --mode zeno` / `src/mem8/regularity/`). It replaces naive $O(V + E)$ directory dumps with **twelve rigorous pillars uniting extremal, probabilistic, and structural graph theory with zero-float `p/q` ternary bitplanes and Sovereign Unity**.
---
This skill treats **all four frontier model families** and **all four terminal/IDE agent harnesses** as first-class citizens without vendor lock-in.
| Model Family | Optimal `st` Invocation | Context & Reasoning Calibration | | :--- | :--- | :--- | | **Gemini** (`gemini-2.5-pro`, `gemini-3`) | `st -m the-book .` + `ZeroCopyMem8Book::top_k_super_nodes` | Pair Gemini's deep multimodal/long-context window with Szemerédi super-node maps (`K <= 256`) as a global structural index, expanding Erdős Number `0..=2` shells (`max_erdos_radius = 2`). | | **ChatGPT / Codex** (`gpt-4o`, `o3`, `o4-mini`, `codex`) | `st -m the-book --compact .` | Feed the deterministic `ERDOS-THE-BOOK-v1.0` JSON schema directly into structured tool outputs; use `worktree_buckets` for parallel function calls and `token_budget = 8000` for tight latency. | | **DeepSeek** (`deepseek-r1`, `deepseek-v3`) | `st -m the-book .` + `st --security-scan .` | Inject the 4 Erdős–Rényi invariants ($\kappa, s(C), \Lambda(C), \lambda_1$), Kohayakawa–Rödl energy $q_p(\mathcal{P})$, and Moser Witness Trees into `<think>` verification blocks before generating patches. | | **Claude** (`claude-4-opus`, `claude-4-sonnet`) | `st -m the-book .` + `st --mcp` | Combine `ZeroCopyMem8Book` (`.m8b` mmap) + `T8R` LEB128 exception streams with MCP tool calls so Claude expands only Erdős Number `0` terminals and `1` Steiner bridges. |
| Agent Harness | CLI Binary | MCP Config Location | Native Integration & Parallel Dispatch | | :--- | :--- | :--- | :--- | | **Antigravity** | `agy` | `~/.gemini/config/mcp_config.json` & `.agents/hooks.json` | Native `--agy-hook` lifecycle (`session-start`, `pre-invocation`, `pre-tool-use`, `post-tool-use`, `stop`) + subagent spawning per `worktree_buckets[c]`. | | **OpenCode** | `opencode` | `~/.config/opencode/opencode.json` & `.mcp.json` | First-class stdio/SSE MCP server (`st --mcp` / `st --http-daemon`) + multi-session worktree dispatch across Gemini, ChatGPT, DeepSeek, and Claude providers. | | **Crush** | `crush` | `~/.config/crush/crush.json` & `.mcp.json` | Charmbracelet `crush` fast terminal workflow: pipe `st -m the-book . \| jq .erdos_steiner_context` or invoke `smart-tree` MCP tools across any configured LLM provider. | | **Claude Code** | `claude` | `~/.claude/settings.json` & `.mcp.json` | Native `SessionStart`/`SessionEnd` consciousness hooks (`st --agent-restore` / `st --agent-save`) and `git worktree` wave execution. |
> See [references/model-and-harness-adapters.md](references/model-and-harness-adapters.md) for copy-paste configuration files and harness-specific dispatch recipes.
---
1. Maximizes the **Kohayakawa–Rödl Potential Energy**: $$q_p(\mathcal{P}) = \sum_{1 \le i < j \le k} \frac{|V_i| |V_j|}{|V|^2} d_p(V_i, V_j)^2$$ 2. Uses the **Degrees-of-Common-Neighbors ($L_2$ Codegree) Spectral Oracle** (`oracle.rs`) accelerated by **FELIX Assembly / NEON / SSE2** (`felix_normalize_f64_slice`) to verify $(\varepsilon, p)$-regularity in $O(|E(A, B)|)$ time without $O(2^{|A|})$ subset enumeration. 3. Serializes into a **64-byte cache-line aligned zero-copy `.m8b` frame** (`Mem8BookHeader` 128B + `SuperNodeCentroidPod` 256B + `SuperNodeMetaPod` 32B + `RegularSuperEdgePod` 8B + columnar delta-LEB128 `T8R` exception stream at ~2.1 bytes/edge).
1. Runs
Smart Tree v24.0.0 (/flow Live Visual Studio Diff Engine & Brett Favre Play-by-Play + Realtime Service Debug Mode + Partnership Stream Guidance + Mechanic's helper (whats_the_situation) + Complete Capsela g8t ASM Studio & $10/mo Unlimited Dealer's Choice
Flyxion's Recency-as-Salience (d_T != d_R) ontology and Retrieval-as-Amnesia detector for Smart Tree — separates observable…
Quantum Many-Body Kohn-Sham DFT Super-Node Orbital Compression, Local Natural Orbital (T8R) Correlations, and Second-Order Strang…
Ramsey-Theoretic 256-Bit SIMD Bitboard Bron-Kerbosch, Fox-Sudakov/Rödl Erdős-Hajnal Bi-Clique API Conformance Bug Hunter, and…
Sovereign Constellation Kompressed Meta-Skill (ALL-in-1, uber > ultra) for Smart Tree v11.0.0 — upz/wupz 64B@0x62…
The Sovereign Constellation DO loop (reflect → improve → wire → polish → push → readme) merged into one measured Backyard Ultra…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.