Logo di Confluence Hierarchy

Confluence Hierarchy

Community
ulises-jeremias
confluence-hierarchy

Navigate and manage Confluence page hierarchies, ancestors, descendants, and trees. ALWAYS use for parent/child relationships and page tree navigation.

Panoramica

Pubblicato daulises-jeremias
Repositoryagent-toolkit
Nome della skillconfluence-hierarchy
Stelle
20
Fork
5
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da ulises-jeremias su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Confluence Hierarchy in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/confluence-hierarchy
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ulises-jeremias/agent-toolkit.git /tmp/agent-toolkit
mkdir -p .claude/skills
cp -r /tmp/agent-toolkit/plugins/agent-toolkit-complete/skills/confluence-hierarchy .claude/skills/confluence-hierarchy
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Confluence Hierarchy in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Confluence Hierarchy non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Confluence Hierarchy non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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 SkillUse Instead
Get parent/ancestors-
List children-
View page tree-
Move pagesconfluence-page
Create pagesconfluence-page
Search pagesconfluence-search

Risk Levels

OperationRiskNotes
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: confluence-as hierarchy ancestors 12345 --breadcrumb

confluence-as hierarchy children

Get direct child pages of a parent page (one level down only).

Usage:

bash
confluence-as hierarchy children PAGE_ID
confluence-as hierarchy children PAGE_ID --limit 50
confluence-as hierarchy children PAGE_ID --sort title

Options:

  • --limit - Maximum number of children to retrieve (default: 25, max: 250)
  • --sort - Sort by: title, id, or created
  • --output - Output format: text (default) or json

Examples:

  • Get children: confluence-as hierarchy children 12345
  • Sort by title: confluence-as hierarchy children 12345 --sort title

confluence-as hierarchy descendants

Get all descendant pages recursively (children, grandchildren, etc.).

Usage:

bash
confluence-as hierarchy descendants PAGE_ID
confluence-as hierarchy descendants PAGE_ID --max-depth 2
confluence-as hierarchy descendants PAGE_ID --limit 200
confluence-as hierarchy descendants PAGE_ID --output json

Options:

  • --max-depth - Maximum depth to traverse (default: unlimited)
  • --limit - Maximum number of descendants to retrieve (default: 100, max: 500)
  • --output - Output format: text (default) or json

Examples:

  • Get all descendants: confluence-as hierarchy descendants 12345
  • Limit depth: confluence-as hierarchy descendants 12345 --max-depth 2

confluence-as hierarchy tree

Get full hierarchical tree structure with nested children.

Usage:

bash
confluence-as hierarchy tree PAGE_ID
confluence-as hierarchy tree PAGE_ID --max-depth 3
confluence-as hierarchy tree PAGE_ID --stats

Options:

  • --max-depth - Maximum depth to traverse (default: unlimited)
  • --stats - Show tree statistics (total pages, max depth, leaf pages)
  • --output - Output format: text (default) or json

Examples:

  • Get page tree: confluence-as hierarchy tree 12345
  • With statistics: confluence-as hierarchy tree 12345 --stats

confluence-as hierarchy reorder

Calculate and display proposed child page order. This command helps plan reordering operations.

Usage:

bash
confluence-as hierarchy reorder PARENT_ID
confluence-as hierarchy reorder PARENT_ID "id1,id2,id3"
confluence-as hierarchy reorder PARENT_ID --reverse

Arguments:

  • order - (Optional) Comma-separated child page IDs in desired order (must be quoted)

Options:

  • --reverse - Sort children reverse-alphabetically by title (children are sorted alphabetically first, then reversed; only applies when no explicit order argument is given)
  • --output, -o - Output format: text (default) or json

Examples:

  • Sort alphabetically: confluence-as hierarchy reorder 12345
  • Specify custom order: confluence-as hierarchy reorder 12345 "200,201,202"
  • Reverse-alphabetical order: confluence-as hierarchy reorder 12345 --reverse

IMPORTANT: This command only CALCULATES and DISPLAYS the proposed new order - it does NOT apply changes to Confluence. To actually reorder pages, you must use the Confluence UI (drag and drop in the page tree).

Natural Language Examples

These phrases will trigger this skill:

  • "Show me the ancestors of page 12345"
  • "Get the breadcrumb path for page 12345"
  • "List all children of page 12345"
  • "Get all descendants of page 12345 up to depth 3"
  • "Show me the page tree for 12345"
  • "Reorder the children of page 12345"
  • "What is the hierarchy for page 12345?"
  • "Show the navigation path to page 12345"

API Endpoints Used

  • GET /api/v2/pages/{id}/ancestors - Get page ancestors
  • GET /api/v2/pages/{id}/children - Get direct children
  • GET /api/v2/pages/{id}/descendants - Get all descendants
  • GET /api/v2/pages/{id} - Get page information

Common Patterns

Building Breadcrumbs

bash
confluence-as hierarchy ancestors 12345 --breadcrumb
# Output: Space Root > Section > Subsection > Current Page

Visualizing Page Structure

bash
confluence-as hierarchy tree 12345 --stats
# Shows hierarchical tree with statistics

Finding All Pages Below

bash
confluence-as hierarchy descendants 12345 --output json > descendants.json
# Export all descendants to JSON

Limiting Traversal Depth

bash
confluence-as hierarchy descendants 12345 --max-depth 2
# Only get children and grandchildren

Notes

  • Depth is tracked starting from 1 for direct children
  • Tree operations can be resource-intensive for large hierarchies
  • Use --max-depth to limit traversal when needed
  • The reorder command only previews the proposed order; apply changes via the Confluence UI

Domande frequenti

Cosa fa la skill IA Confluence Hierarchy?

Navigate and manage Confluence page hierarchies, ancestors, descendants, and trees. ALWAYS use for parent/child relationships and page tree navigation.

Perché usare Confluence Hierarchy su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Confluence Hierarchy è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Confluence Hierarchy in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/confluence-hierarchy. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Confluence Hierarchy?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Confluence Hierarchy?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Confluence Hierarchy: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Confluence Hierarchy è gratuita?

Sì. È pubblicata su GitHub da ulises-jeremias con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇