mcpField
C
confluence-page-viewer

confluence-page-viewer

github.com/delexwProductivity254 installsUpdated 31w ago
Repository

About confluence-page-viewer

confluence-page-viewer is a skill for retrieving and formatting Confluence page content with confluence-cli. It is intended for workflows that need a page saved as a Markdown file.

Key features

  1. 01Read pages by URL or page ID
  2. 02Resolve encoded short links
  3. 03Format fetched page content
  4. 04Save output as scroll.md

Use cases

  1. 01Retrieve a Confluence page for review
  2. 02Save page content in a project output directory

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/delexw/claude-code-misc --skill confluence-page-viewer

After installing, type/confluence-page-viewerin Claude Code to confirm it loaded.

Bundled filesreferences/output-format.mdreferences/rules.md

Details

From the project README

Confluence Page Viewer

Fetch and display Confluence page content using confluence-cli.

Inputs

Raw arguments: $ARGUMENTS

Infer from the arguments:

  • PAGE_URL: the Confluence page URL
  • OUT_DIR: output directory, or .implement-assets/confluence if not provided

System Requirements

Execution

  1. Pre-flight check: Run which confluence-cli to verify the CLI is available. If not found, follow error handling in references/rules.md. Do NOT continue until the CLI is available.
  2. Validate PAGE_URL against references/rules.md
  3. Resolve short links: If PAGE_URL matches /wiki/x/ENCODED, decode it to a numeric page ID (see references/rules.md for decoding steps), then use that ID instead.
  4. Run confluence-cli read PAGE_URL_OR_ID via Bash
  5. Format the output per references/output-format.md
  6. Save output: Run mkdir -p OUT_DIR via Bash, then save the full formatted output to OUT_DIR/scroll.md using the Write tool.

Comments

Markdown supported