confluence-hierarchylisted
Install: claude install-skill ulises-jeremias/agent-toolkit
# Confluence Hierarchy Skill
---
## ⚠️ PRIMARY USE CASE
**This skill navigates page relationships.** Use for:
- Finding parent/ancestor pages
- Listing child/descendant pages
- Viewing page tree structure
- Reordering child pages
---
## When to Use / When NOT to Use
| Use This Skill | Use Instead |
|----------------|-------------|
| Get parent/ancestors | - |
| List children | - |
| View page tree | - |
| Move pages | `confluence-page` |
| Create pages | `confluence-page` |
| Search pages | `confluence-search` |
---
## Risk Levels
| Operation | Risk | Notes |
|-----------|------|-------|
| Get ancestors/children | - | Read-only |
| View tree | - | Read-only |
| Reorder pages | - | Preview only - calculates and displays proposed order, applies no changes |
---
## Overview
This skill provides operations for navigating and managing page hierarchies in Confluence, including getting ancestors, children, descendants, and full page trees.
## CLI Commands
### confluence-as hierarchy ancestors
Get all ancestor pages for a given page (parent, grandparent, etc.).
**Usage:**
```bash
confluence-as hierarchy ancestors PAGE_ID
confluence-as hierarchy ancestors PAGE_ID --breadcrumb
confluence-as hierarchy ancestors PAGE_ID --output json
```
**Options:**
- `--breadcrumb` - Display as breadcrumb path (Root > Parent > Current)
- `--output` - Output format: text (default) or json
**Examples:**
- Get ancestors: `confluence-as hierarchy ancestors 12345`
- Show breadcrumb: `conflu