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

tree-rerooting

Stars66
Forks1
UpdatedMay 17, 2026 at 09:22

Re-root an undirected tree from any node using DFS/BFS. Use when changing the point of view in a tree, finding paths between nodes, or reparenting tree structures.

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