Logo: Confluence Analytics

Confluence Analytics

Communautéit
ulises-jeremias
confluence-analytics

View analytics, statistics, and popularity metrics for Confluence content. ALWAYS use when user wants to see views, popularity, or contributor stats.

Iwwersiicht

Editeurulises-jeremias
Repositoryagent-toolkit
Skill-Nummconfluence-analytics
Stären
20
Forks
5
Matgeliwwert Dateien
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    ulises-jeremias huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Confluence Analytics an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/confluence-analytics
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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-analytics .claude/skills/confluence-analytics
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Confluence Analytics an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Confluence Analytics automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Confluence Analytics net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Confluence Analytics Skill


⚠️ PRIMARY USE CASE

This skill views content analytics (READ-ONLY). Use for:

  • Checking page view counts
  • Finding popular/most viewed content
  • Seeing who contributed to pages
  • Space-level analytics

This is a read-only skill - it cannot modify content.


When to Use / When NOT to Use

Use This SkillUse Instead
View page statistics-
Find popular pages-
See contributors-
View watcher listconfluence-watch (to modify)
Edit contentconfluence-page

Risk Levels

All operations are read-only with no risk:

OperationRiskNotes
All analytics operations-Read-only

Overview

This skill provides analytics and statistics for Confluence content, including page view information, contributor data, space-level analytics, popular content identification, and watcher lists.

Note: Confluence Cloud has limited analytics APIs compared to Server/Data Center. This skill uses the v1 REST API's history endpoints and CQL queries to provide analytics insights.

CLI Commands

confluence-as analytics views

Get analytics and view information for a specific page.

Retrieves:

  • Version history
  • Last modified date and author
  • Creation date and author
  • List of contributors who have edited the page

Usage:

bash
confluence-as analytics views PAGE_ID [--output json]

Arguments:

  • PAGE_ID - The page ID (required)
  • --output - Output format: text or json (default: text)

Examples:

bash
# Get page analytics
confluence-as analytics views 12345

# Get as JSON
confluence-as analytics views 12345 --output json

Output (text):

Page Statistics: API Documentation (12345)
============================================================

History Information:
  Created: 2024-01-01
  Last Updated: 2024-01-15
  Updated By: John Doe

Contributors: 5
  - Jane Smith
  - John Doe
  - Alice Johnson
  - Bob Wilson
  - Carol Davis
✓ Retrieved page statistics

If page history data is unavailable, the command falls back to basic page info with a note that detailed view analytics may require Confluence Premium.


confluence-as analytics space

Get aggregate analytics for an entire space.

Retrieves:

  • Total content count
  • Breakdown by content type (pages, blog posts)
  • Top contributors
  • Recent updates

Usage:

bash
confluence-as analytics space SPACE_KEY [--days N] [--output json]

Arguments:

  • SPACE_KEY - The space key (required)
  • --days - Limit to content from last N days (optional)
  • --output - Output format: text or json (default: text)

Examples:

bash
# Get all-time space analytics
confluence-as analytics space DOCS

# Get last 30 days
confluence-as analytics space DOCS --days 30

# Get as JSON
confluence-as analytics space DOCS --output json

Output (text):

Space Analytics: Documentation (DOCS)
Date Range: Last 30 days
============================================================

Content Summary:
  Pages: 142+
  Blog Posts: 14+
  Total: 156+
  Contributors: 8

Recent Activity:
  - [page] API Documentation
  - [page] Release Notes v2.1
  - [blogpost] Q1 Planning
✓ Retrieved analytics for space DOCS

The Date Range line appears only when --days is given.


confluence-as analytics popular

Find the most popular or most recently updated content.

Uses CQL queries with ordering to identify popular content based on:

  • Recent creation date
  • Recent modification date
  • Labels (e.g., "featured", "important")

Usage:

bash
confluence-as analytics popular [--space SPACE_KEY] [--label LABEL] [--type TYPE] [--sort SORT] [--limit N] [--output json]

Arguments:

  • --space - Space key to search within (optional)
  • --label - Filter by label (optional)
  • --type - Content type: page, blogpost, or all (default: all)
  • --sort - Sort by: created or modified (default: modified)
  • --limit - Number of results (default: 10)
  • --output - Output format: text or json (default: text)

Note: Both --space and --label are optional. If neither is specified, the command searches across all accessible spaces.

Examples:

bash
# Most recently modified in space
confluence-as analytics popular --space DOCS

# Most recently created pages
confluence-as analytics popular --space DOCS --type page --sort created --limit 5

# Content with featured label
confluence-as analytics popular --label featured --limit 10

# Recent blog posts
confluence-as analytics popular --space DOCS --type blogpost --limit 5

Output (text):

Popular Content
Space: DOCS
Sort: modified
════════════════════════════════════════════════════════════

ID      Title                               Type   Space  Modified
──────  ──────────────────────────────────  ─────  ─────  ──────────
12345   API Documentation                   page   DOCS   2024-01-15
12346   Getting Started Guide               page   DOCS   2024-01-14
12347   Configuration Reference             page   DOCS   2024-01-13
...

✓ Found 10 content item(s)

confluence-as analytics watchers

Get the list of users watching a page (who will be notified of changes).

Usage:

bash
confluence-as analytics watchers PAGE_ID [--output json]

Arguments:

  • PAGE_ID - The page ID (required). Blog post IDs are not supported: the command resolves the ID via the pages API, so a blog post ID fails with a not-found error.
  • --output - Output format: text or json (default: text)

Examples:

bash
# Get watchers for a page
confluence-as analytics watchers 12345

# Get as JSON
confluence-as analytics watchers 12345 --output json

Output (text):

Watchers of: API Documentation (12345)
════════════════════════════════════════════════════════════

Name             Type   Email
───────────────  ─────  ──────────────────────────────
John Doe         user   john.doe@example.com
Jane Smith       user   jane.smith@example.com
Alice Johnson    user   alice.johnson@example.com

✓ Found 3 watcher(s)

Note: Some Confluence Cloud instances may have restricted watcher API access. If the watchers endpoint is not available, the command will report this.


Natural Language Examples

When you ask Claude about analytics, this skill will be triggered:

  • "Show me the analytics for page 12345"
  • "Who has contributed to this page?"
  • "Get statistics for the DOCS space"
  • "What are the most popular pages in the KB space?"
  • "Show me the most recently updated content"
  • "Who is watching page 12345?"
  • "Find the top 5 most active pages"
  • "Get space analytics for the last 30 days"
  • "Show me featured content"
  • "What are the most viewed pages?"

API Endpoints Used

This skill uses the following Confluence REST API endpoints:

v2 API

  • GET /api/v2/pages/{id} - Page metadata

v1 API (Legacy)

  • GET /rest/api/content/{id}/history?expand=lastUpdated,contributors.publishers - Page history and contributors
  • GET /rest/api/search?cql={query} - CQL search for content
  • GET /rest/api/content/{id}/notification/child-created - Watchers

CQL Queries

  • space={key} AND type=page - All pages in space
  • space={key} AND lastmodified >= {date} - Recently modified content (built by the --days filter)
  • type=page ORDER BY lastModified DESC - Recently modified
  • type=page ORDER BY created DESC - Recently created
  • label={name} - Content with label

Limitations

  1. No Direct View Count: Confluence Cloud API does not expose actual view/visit counts like Server/Data Center
  2. Watchers API: May be restricted on some Confluence Cloud instances
  3. Analytics Proxy: Uses modification dates, contributor lists, and labels as proxies for popularity
  4. Rate Limits: Large spaces may hit API rate limits during analytics gathering

Related Skills

  • confluence-page - Page CRUD operations
  • confluence-space - Space management
  • confluence-search - Advanced CQL search
  • confluence-watch - Watch/unwatch content

References

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Confluence Analytics?

View analytics, statistics, and popularity metrics for Confluence content. ALWAYS use when user wants to see views, popularity, or contributor stats.

Firwat Confluence Analytics op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Confluence Analytics besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Confluence Analytics an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/confluence-analytics an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Confluence Analytics benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Confluence Analytics benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Confluence Analytics domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Confluence Analytics gratis?

Jo. ulises-jeremias huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇