Logo Confluence Analytics

Confluence Analytics

Cộng đồng
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.

Tổng quan

Nhà phát hànhulises-jeremias
Kho mãagent-toolkit
Tên kỹ năngconfluence-analytics
Sao
20
Bản fork
5
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được ulises-jeremias công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Confluence Analytics trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/confluence-analytics
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Confluence Analytics trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Confluence Analytics ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Confluence Analytics với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Confluence Analytics làm được gì?

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

Vì sao nên dùng Confluence Analytics trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Confluence Analytics là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Confluence Analytics trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/confluence-analytics. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Confluence Analytics?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Confluence Analytics với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Confluence Analytics với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Confluence Analytics có miễn phí không?

Có. Kỹ năng này được ulises-jeremias phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇