yodakeisuke/ralph-wiggum-aot/aot-dag
Claude Code and agent skill by yodakeisuke/ralph-wiggum-aot
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when you need to manipulate the AoT DAG (Work Graph) structure. Use it when decomposing Atoms into sub-tasks, resolving Atoms, managing AND/OR dependencies, performing backtracking on OR branches, or shrinking the DAG by replacing resolved Atoms with summaries in Bindings.
Install
npx vskill@latest install yodakeisuke/ralph-wiggum-aot/aot-dagSKILL.md
The same SKILL.md was published earlier as yodakeisuke/ralph-wiggum-aot/aot-dag.
AoT DAG (Atom of Thoughts)
Decompose problems into Atoms and manage them as a DAG with dependencies (AND/OR).
DAG Structure
Atom
The smallest unit of a task:
| status | Description | |
|---|---|---|
pending | Not started, waiting for dependencies | |
in_progress | In execution | |
resolved | Complete, summary in Bindings |
Dependencies
AND dependency: Specified via depends_on. Cannot execute until all resolved.
OR dependency: Defined in or_groups. Select and execute one from choices.
Atom Operations
Decomposition
Resolution
Auto-Backtracking
On OR branch failure, automatically switch to alternative.
Executable Atom Determination
Deterministic Operations (Python Scripts)
For reliable DAG manipulation, use the Python scripts in scripts/. These execute deterministically without LLM interpretation.
Available Scripts
1. Add Atom
Arguments:
id: New atom ID (e.g., "A9")--description: Atom description (required)--depends-on: Comma-separated dependency IDs (optional)--or-group: OR group name (optional)
Example:
Returns: {"success": true, "atom_id": "A9", "depends_on": ["A1", "A2"]}
2. Decompose Atom
Arguments:
parent_id: Parent atom ID--children: Comma-separated child IDs--descriptions: Pipe-separated descriptions (use|||as separator)--reason: Reason for decomposition
Notes:
- Child atoms inherit parent's
depends_on - Records decomposition in
decompositionssection - Use
|||to separate descriptions (allows commas within descriptions)
Example:
Returns: {"success": true, "parent": "A2", "children": ["A2a", "A2b"], "inherited_deps": ["A1"]}
3. Switch OR Branch
Arguments:
group_name: OR group namenew_selection: New selected atom ID--reason: Reason for switch (required)
Example:
Returns: {"success": true, "or_group": "auth_method", "selected": "A4_session"}
Notes:
- Updates
or_groups[group].selected - Automatically records in
trailwith timestamp
Workflow Examples
Adding new work during iteration:
Decomposing complex atom:
Backtracking on OR branch failure:
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/aot-dag/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yodakeisuke/ralph-wiggum-aot/aot-dag)