Logo de Confluence Analytics

Confluence Analytics

Comunidade
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.

Visão geral

Publicado porulises-jeremias
Repositórioagent-toolkit
Nome da habilidadeconfluence-analytics
Estrelas
20
Forks
5
Arquivos incluídos
1
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 1

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por ulises-jeremias no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Confluence Analytics no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/confluence-analytics
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse 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-analytics .claude/skills/confluence-analytics
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Confluence Analytics em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Confluence Analytics automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Confluence Analytics não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Confluence Analytics faz?

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

Por que usar Confluence Analytics no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Confluence Analytics é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Confluence Analytics no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/confluence-analytics. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Confluence Analytics?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Confluence Analytics?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Confluence Analytics com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Confluence Analytics é gratuita?

Sim. A habilidade é publicada no GitHub por ulises-jeremias sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇