From confluence-assistant-skills
View analytics, statistics, and popularity metrics for Confluence content. ALWAYS use when user wants to see views, popularity, or contributor stats.
npx claudepluginhub grandcamel/confluence-assistant-skills --plugin confluence-assistant-skillsThis skill uses the workspace's default tool permissions.
---
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
This skill views content analytics (READ-ONLY). Use for:
This is a read-only skill - it cannot modify content.
| Use This Skill | Use Instead |
|---|---|
| View page statistics | - |
| Find popular pages | - |
| See contributors | - |
| View watcher list | confluence-watch (to modify) |
| Edit content | confluence-page |
All operations are read-only with no risk:
| Operation | Risk | Notes |
|---|---|---|
| All analytics operations | - | Read-only |
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.
Get analytics and view information for a specific page.
Retrieves:
Usage:
confluence analytics views PAGE_ID [--output json]
Arguments:
PAGE_ID - The page ID (required)--output - Output format: text or json (default: text)Examples:
# Get page analytics
confluence analytics views 12345
# Get as JSON
confluence analytics views 12345 --output json
Output (text):
Page: API Documentation
ID: 12345
Type: page
Space: DOCS
History Information
Last Modified: 2024-01-15
Modified By: John Doe
Created: 2024-01-01
Contributors (5):
- Jane Smith
- John Doe
- Alice Johnson
- Bob Wilson
- Carol Davis
Web UI: https://your-site.atlassian.net/wiki/spaces/DOCS/pages/12345
Get aggregate analytics for an entire space.
Retrieves:
Usage:
confluence 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:
# Get all-time space analytics
confluence analytics space DOCS
# Get last 30 days
confluence analytics space DOCS --days 30
# Get as JSON
confluence analytics space DOCS --output json
Output (text):
Space: DOCS
Period: Last 30 days
Content Summary
Total Items: 156
Pages: 142+
Blog Posts: 14+
Contributors: 8
Recent Updates:
- API Documentation (page) - 2024-01-15
- Release Notes v2.1 (page) - 2024-01-14
- Q1 Planning (blogpost) - 2024-01-13
...
Find the most popular or most recently updated content.
Uses CQL queries with ordering to identify popular content based on:
Usage:
confluence 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:
# Most recently modified in space
confluence analytics popular --space DOCS
# Most recently created pages
confluence analytics popular --space DOCS --type page --sort created --limit 5
# Content with featured label
confluence analytics popular --label featured --limit 10
# Recent blog posts
confluence 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)
Get the list of users watching a page (who will be notified of changes).
Usage:
confluence analytics watchers PAGE_ID [--output json]
Arguments:
PAGE_ID - The page or blog post ID (required)--output - Output format: text or json (default: text)Examples:
# Get watchers for a page
confluence analytics watchers 12345
# Get as JSON
confluence 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.
When you ask Claude about analytics, this skill will be triggered:
This skill uses the following Confluence REST API endpoints:
GET /rest/api/content/{id}?expand=history,version,history.contributors.publishers - Page analyticsGET /rest/api/search?cql={query} - CQL search for contentGET /rest/api/content/{id}/notification/child-created - Watchersspace={key} AND type=page - All pages in spacespace={key} AND created >= "{date}" - Recent contenttype=page ORDER BY lastModified DESC - Recently modifiedtype=page ORDER BY created DESC - Recently createdlabel={name} - Content with labelreferences/ directory