원클릭으로
behavior-simulator
This skill enables real-time, lightweight simulation of emergent sorting behaviors in the Emergent Doom Engine (EDE)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
This skill enables real-time, lightweight simulation of emergent sorting behaviors in the Emergent Doom Engine (EDE)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | behavior-simulator |
| description | This skill enables real-time, lightweight simulation of emergent sorting behaviors in the Emergent Doom Engine (EDE) |
| license | MIT |
| compatibility | opencode/skills |
| metadata | {"domain":"lab-tools","style":"ede-chop-shop","languages":"java,python,typescript","emphasis":"readability-over-cleverness"} |
This skill enables real-time, lightweight simulation of emergent sorting behaviors in the Emergent Doom Engine (EDE), predicting how local cell swaps evolve into global patterns without full Java execution. Focused on general sorting (any comparable array), it models cell interactions, swap proposals, and convergence trajectories, using probabilistic shortcuts for efficiency. Ideal for rapid prototyping, debugging algotype mixes, or forecasting iterations (e.g., "Simulate 100 Bubble cells on [3,1,4,1,5]—predict steps to sort?").
Key capabilities:
From training: Local rules (e.g., Bubble's random dir on disorder) create diffusion; Insertion prefixes build left-to-right; Selection increments ideals for min-finding. Skill abstracts to Markov-like steps, predicting without full Probe/Engine.
Analyzed full relevant codebase (~40 files) for emergent fidelity:
Probabilistic model: Bubble nextBoolean() → sample 100 paths; deterministic for Insertion/Selection. General sorting: No domain (e.g., factorization)—pure comparables.
Invoke via /simulate-sorting command or tool integration:
array=[3,1,4], algotypes=['BUBBLE','INSERTION','SELECTION'], steps=1000, samples=100 (for random algos).{ "steps_to_converge": 25, "final_order": [1,3,4], "swaps": 12, "monotonicity": 100.0, "trajectory": [[initial], [after_swap1], ...] }.Example CLI:
$ python tools/emergent_sim.py --array "[5,2,8,1]" --algotypes "BUBBLE BUBBLE INSERTION SELECTION" --max_steps 500
Returns: Simulated path, e.g., 18 steps to sort, 95% monotonicity at end.
In opencode sessions: "Simulate Bubble on [10,3,7]—what's convergence time?" → Runs Python, summarizes.
Standalone tools/emergent_sim.py (std lib only).
[Code as above, fixed version]