AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Confluence Operations

skill-yohei1126-agent-skills-confluence-operations · by yohei1126

Upload a local markdown file to a Confluence page, or download a Confluence page to a local markdown file. Use when the user wants to publish/sync a markdown file to Confluence, or fetch an existing Confluence page for offline editing.

No reviews yet
0 installs
35 views
0.0% view→install

Install

$ agentstack add skill-yohei1126-agent-skills-confluence-operations

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-yohei1126-agent-skills-confluence-operations)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
5mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Confluence Operations? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Prerequisites

Set the following environment variables in agent_skills/.env:

CONFLUENCE_BASE_URL=https://yourorg.atlassian.net
CONFLUENCE_EMAIL=you@example.com
CONFLUENCE_API_TOKEN=your_api_token   # from id.atlassian.com/manage-profile/security/api-tokens
CONFLUENCE_SPACE_KEY=MYSPACE

Upload — scripts/upload.ts

Upload a local markdown file to Confluence as a page (create or update).

Usage

cd agent_skills
npx tsx confluence-operations/scripts/upload.ts  [options]

Arguments

| Argument | Required | Description | |---|---|---| | markdown-file | Yes | Path to the local .md file to upload | | --title "Title" | No | Page title. Defaults to the first H1 heading in the file, or the filename if no H1 exists. | | --parent-id 12345 | No | Confluence page ID to nest the new page under | | --page-id 99999 | No | Update a specific existing page by ID (bypasses title search; also allows renaming the title) |

Behavior

  • The first # heading in the markdown file is extracted as the page title and stripped from the body (Confluence displays the title separately).
  • A Table of Contents macro is automatically prepended to the page body.
  • If --page-id is given, that page is updated directly — no title search is performed.
  • Otherwise, if a page with the same title already exists in the space, it is updated (new version).
  • If no matching page exists, a new page is created.
  • Markdown is converted to HTML (Confluence storage format) before upload.

Examples

# Create or update a page (title taken from first H1)
npx tsx confluence-operations/scripts/upload.ts reports/gpa-framework-guide-ja.md

# Nest under a parent page
npx tsx confluence-operations/scripts/upload.ts reports/overview-ja.md --parent-id 4890951685

# Update a specific page by ID (safe rename: avoids duplicate page on title change)
npx tsx confluence-operations/scripts/upload.ts reports/overview-ja.md --page-id 5940019259

# Override the title
npx tsx confluence-operations/scripts/upload.ts notes.md --title "Agent Eval Notes" --parent-id 98765

Download — scripts/download.ts

Download a Confluence page and save it as a local markdown file.

Usage

cd agent_skills
npx tsx confluence-operations/scripts/download.ts  [output]

Arguments

| Argument | Required | Description | |---|---|---| | page-id | Yes | Confluence page ID (numeric, visible in the page URL) | | output | No | Output .md path or directory. Derived from the page title if omitted. |

Behavior

  • Fetches the page body in Confluence storage format (HTML) via the REST API.
  • Converts HTML to Markdown using Turndown (headings, tables, lists, code blocks preserved).
  • Confluence macros (TOC, panels, etc.) are stripped.
  • Prepends YAML front matter with source, page_id, and fetched fields.
  • The page title is added as the first # H1 heading in the file.
  • If the output path already exists, a numeric suffix is appended (e.g. page-2.md).

Examples

# Derive filename from page title → saves to: my-page-title.md
npx tsx confluence-operations/scripts/download.ts 5940019259

# Save to a specific path
npx tsx confluence-operations/scripts/download.ts 5940019259 outputs/snowflake/my-page.md

# Save into a directory (filename derived from page title)
npx tsx confluence-operations/scripts/download.ts 5940019259 outputs/snowflake/

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.