Skip to main content
Run any Skill in Manus
with one click

bfs-traverse

Stars3
Forks0
UpdatedJune 19, 2026 at 09:14

Demonstrates recursive self-invocation with a depth limit. Performs a breadth-first (level-order) traversal of the decision tree in tree.json by invoking ITSELF once per level — each call expands the current frontier and recurses on the next, stopping at a maximum depth. Takes an optional max depth.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly