confluence-setup

confluence-setup is a command for Claude Code from ngocsangyem/MeowKit. It costs 18 tokens per session (624 once invoked), scanned B, original, MIT.

An interactive setup command for connecting mk:confluence skills to Confluence Cloud, Atlassian’s hosted workspace for pages and team knowledge.

In plain words
What is it for?
Use it when configuring or updating Confluence Cloud credentials for the related skills.
Why use it?
It checks the required setup and guides you through storing the site, account, and API-token settings needed for access.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/ngocsangyem/meowkit/confluence-setup
Clone the repo
git clone --depth 1 https://github.com/ngocsangyem/MeowKit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for confluence-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/ngocsangyem/meowkit/confluence-setup.svg)](https://agentmods.dev/commands/ngocsangyem/meowkit/confluence-setup)
Your own site
<a href="https://agentmods.dev/commands/ngocsangyem/meowkit/confluence-setup"><img src="https://agentmods.dev/badge/commands/ngocsangyem/meowkit/confluence-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 624 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00018 $0.00624
Opus 5 $0.00009 $0.00312
Sonnet 5 $0.00004 $0.00125
Haiku 4.5 $0.00002 $0.00062

Measured 4d ago against content hash 8d61a6e46311, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

confluence-setup scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

2. Ensure `.meowkit/.env` exists. If absent: create empty file, then `chmod 0600 .meowkit/.env`.
.claude/commands/mk/confluence-setup.md · 54 lines

How it starts

The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/mk:confluence-setup

Walk the user through Confluence Cloud credential setup for the mk:confluence-* skills.

Steps

  1. Verify .claude/scripts/bin/setup-workflow ran and confluence-as binary exists at .claude/skills/.venv/bin/confluence-as. If not, instruct: .claude/scripts/bin/setup-workflow.

  2. Ensure .meowkit/.env exists. If absent: create empty file, then chmod 0600 .meowkit/.env.

  3. Check whether MEOW_CONFLUENCE_* vars are already populated:

    grep -c '^MEOW_CONFLUENCE_' .meowkit/.env || true
    

    If present (count >= 3): ask user whether to overwrite. If overwriting, comment out the old lines (do not delete; user may want to recover).

  4. Prompt user for the three values via AskUserQuestion:

  5. Append to .meowkit/.env via >> Bash redirection (do NOT echo back — keeps token out of transcript):

    MEOW_CONFLUENCE_SITE_URL=...
    MEOW_CONFLUENCE_EMAIL=...
    MEOW_CONFLUENCE_API_TOKEN=...
    
  6. Re-run chmod 0600 .meowkit/.env.

  7. Validate by running:

    bash .claude/skills/confluence/scripts/confluence-as.sh space list 2>&1 | head -20
    

    Expect non-error JSON output. If the wrapper exits 2/3/127: surface the error and offer to retry.

  8. Optional channel-detection smoke (recommended once per install):

    bash .claude/skills/confluence/scripts/smoke-live.sh
    

    Tells the user whether to set MEOW_CONFLUENCE_STDOUT_FILTER=trim-tail.

  9. On success print: "Confluence skills ready. Try: 'analyze spec for page ' to invoke mk:confluence-spec-analyst once it ships, or 'show me page ' for mk:confluence-page."

Notes

  • Does NOT write credentials to .claude/settings.local.json (the wrapper rejects that path).
  • Token never echoed in transcript — use Bash heredoc / >> redirection so the token value never appears in chat output.
  • Cloud-only — refuse Server/DC URLs at step 4.

Read the full file on GitHub · 54 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 54 lines · 18 tokens per session scan B 8d61a6e46311

Subscribe to this mod's changes

confluence-setup is a command published in the GitHub repository ngocsangyem/MeowKit (14 stars, last pushed 1mo ago), licensed MIT. It adds 18 tokens to every session and 624 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.