Confluence Bulkのロゴ

Confluence Bulk

コミュニティ
ulises-jeremias
confluence-bulk

Bulk operations for 50+ pages - updates, moves, deletions, labels, and permissions. Use when updating multiple pages simultaneously (dry-run preview included), needing rollback safety, or coordinating team changes. Handles partial failures gracefully.

概要

公開者ulises-jeremias
リポジトリagent-toolkit
スキル名confluence-bulk
スター
20
フォーク
5
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    ulises-jeremiasがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Confluence Bulk」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/confluence-bulk
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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-bulk .claude/skills/confluence-bulk
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでConfluence Bulkを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にConfluence Bulkを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Confluence Bulkは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Confluence Bulk Skill

Bulk operations for Confluence content management at scale - updates, moves, deletions, labels, and read restrictions.


⚠️ PRIMARY USE CASE

This skill performs bulk operations on multiple pages. Use for:

  • Updating multiple pages simultaneously
  • Bulk labeling/unlabeling content
  • Moving many pages between spaces
  • Bulk read-restriction changes (page view access)
  • Mass deletion with dry-run preview

When to Use / When NOT to Use

Use This SkillUse Instead
Update 10+ pages-
Bulk label operations-
Move pages between spaces-
Bulk delete with preview-
Single page operationsconfluence-page
Search for pagesconfluence-search
Single label add/removeconfluence-label

Risk Levels

OperationRiskNotes
Bulk label add⚠️Can be undone
Bulk label remove⚠️Can be undone
Bulk update⚠️⚠️Modifies content
Bulk move⚠️⚠️Changes hierarchy
Bulk permission (read restrictions)⚠️⚠️Can lock out users not on the restriction list
Bulk delete⚠️⚠️⚠️DESTRUCTIVE - pages go to trash (restorable ~30 days, manually per page); use dry-run first

Always use --dry-run for destructive operations!


When to Use This Skill

Use this skill when you need to:

  • Update multiple pages with the same change
  • Add or remove labels from many pages at once
  • Move pages between spaces or under different parents
  • Delete multiple pages with preview capability
  • Manage read restrictions on many pages simultaneously
  • Execute operations with dry-run preview before making changes
  • Handle partial failures gracefully with progress tracking

Scale guidance:

  • 5-10 pages: Run directly, no special options needed
  • 50-100 pages: Use --dry-run first, then execute
  • 500+ pages: Consider off-peak hours; use --batch-size for label add operations

Quick Start

bash
# Preview before making changes
confluence-as bulk label add --cql "space = DOCS AND type = page" --labels "approved" --dry-run

# Execute the labeling
confluence-as bulk label add --cql "space = DOCS AND type = page" --labels "approved"

# Bulk delete with preview
confluence-as bulk delete --cql "space = ARCHIVE AND created < '2023-01-01'" --dry-run

CLI Commands

CommandPurposeRiskExample
confluence-as bulk label addAdd labels to pages⚠️--cql "..." --labels "tag1,tag2"
confluence-as bulk label removeRemove labels from pages⚠️--cql "..." --labels "old-tag"
confluence-as bulk updateUpdate page properties⚠️⚠️--cql "..." --title-prefix "[Archive]" --title-suffix " (Old)"
confluence-as bulk moveMove pages to new location⚠️⚠️--cql "..." --target-space NEWSPACE
confluence-as bulk deleteDelete pages (moves them to trash)⚠️⚠️⚠️--cql "..." --dry-run
confluence-as bulk permissionManage page read restrictions⚠️⚠️--cql "..." --add-group GROUP / --remove-group GROUP / --add-user USERID / --remove-user USERID

Common Options

All commands support these options, except --batch-size, which only bulk label add accepts:

OptionPurposeWhen to Use
--dry-runPreview changesAlways use for ⚠️⚠️+ operations
--yes / -ySkip confirmationScripted automation
--max-pages NLimit scope (default: 100)Testing, large operations
--batch-size NControl batching (bulk label add only, default: 50)500+ pages or rate limits
--output jsonJSON outputScripting, pipelines

The global -o/--output flag placed before the subcommand (e.g. confluence-as -o json bulk update ...) sets the default output format for all subcommands; an explicit subcommand-level --output wins.


Examples

Bulk Label Operations

bash
# Add labels to all pages in a space
confluence-as bulk label add --cql "space = DOCS AND type = page" --labels "documentation"

# Add multiple labels
confluence-as bulk label add --cql "space = DOCS AND label = 'api'" --labels "reviewed,approved"

# Remove labels
confluence-as bulk label remove --cql "space = ARCHIVE" --labels "active,current"

# Preview first
confluence-as bulk label add --cql "space = DOCS" --labels "new-tag" --dry-run

Bulk Move Operations

bash
# Move pages to different space
confluence-as bulk move --cql "space = OLD AND type = page" --target-space NEW --dry-run

# Move under specific parent
confluence-as bulk move --cql "label = 'archive-ready'" --target-parent 12345 --dry-run

# Execute after preview
confluence-as bulk move --cql "space = OLD" --target-space NEW --yes

Bulk Delete (DESTRUCTIVE)

bash
# ALWAYS preview first with dry-run
confluence-as bulk delete --cql "space = CLEANUP AND type = page" --dry-run

# Delete old content
confluence-as bulk delete --cql "space = ARCHIVE AND lastModified < '2022-01-01'" --dry-run

# Execute deletion (after confirming dry-run output)
confluence-as bulk delete --cql "space = CLEANUP" --yes

# Limit scope for safety
confluence-as bulk delete --cql "space = CLEANUP" --max-pages 50 --dry-run

Safety features:

  • --dry-run shows exactly what will be deleted before making changes
  • Confirmation required by default
  • Default --max-pages 100 prevents accidental mass deletion
  • Per-page error tracking with summary of failures

Recovery: Deleted pages go to the space trash and can be restored for ~30 days. Restoration is manual and per-page in the Confluence UI, so recovering a large bulk deletion is still painful — always dry-run first.

Bulk Read-Restriction Changes

bulk permission manages page read restrictions (who may view a page), not general page permissions.

⚠️ Lockout warning: --add-group / --add-user on a page with no existing read restrictions creates a restriction list — every user NOT on that list immediately loses view access to the page. Always --dry-run first and confirm the matched pages are actually meant to be restricted.

bash
# Restrict pages to a group (adds a read restriction)
confluence-as bulk permission --cql "space = INTERNAL" --add-group "engineering" --dry-run

# Remove a group from the read-restriction list
confluence-as bulk permission --cql "space = INTERNAL" --remove-group "contractors" --dry-run

# Restrict pages to a user (adds a read restriction)
confluence-as bulk permission --cql "label = 'team-docs'" --add-user "user123" --dry-run

# Remove a user from the read-restriction list
confluence-as bulk permission --cql "label = 'sensitive'" --remove-user "contractor123" --dry-run

Restriction options:

  • --add-group GROUP - Add a group to the page's read-restriction list
  • --remove-group GROUP - Remove a group from the read-restriction list
  • --add-user USERID - Add a user (account ID) to the read-restriction list
  • --remove-user USERID - Remove a user from the read-restriction list

Parameter Tuning Guide

How many pages?

Page CountRecommended Setup
<50Defaults are fine
50-500--dry-run first, then execute
500-1,000Use --batch-size 100 for label add; run off-peak for other commands
1,000+Use --batch-size 50 for label add; run off-peak for other commands

Getting rate limit (429) errors?

  • For label add: Reduce batch size with --batch-size 25
  • For other commands: Run during off-peak hours, use --max-pages to limit scope

Note: --max-pages is capped at 1000 for label add/remove and at 500 for update, move, delete, and permission. For larger jobs, narrow the CQL and run in batches.


Exit Codes

CodeMeaning
0Command completed (per-page failures, if any, are reported in the summary output)
1Validation or API error
2Malformed command line (unknown flag, missing argument)
130Cancelled by user (Ctrl+C)

Note: A run where individual pages fail still exits 0 — check the success/failed counts (or the failed/failures fields in JSON output) to detect partial failures.


Troubleshooting

ErrorSolution
No pages foundVerify CQL query returns results
Permission deniedCheck space/page permissions
Rate limit (429)For bulk label add: reduce --batch-size. Other commands: run off-peak, lower --max-pages
Invalid CQLTest CQL in Confluence search first
Page lockedPage may be being edited; retry later

Related Skills

  • confluence-page: Single-page operations
  • confluence-label: Individual label management
  • confluence-search: Find pages with CQL queries
  • confluence-permission: Single-page permission changes

よくある質問

AIスキル「Confluence Bulk」では何ができますか?

Bulk operations for 50+ pages - updates, moves, deletions, labels, and permissions. Use when updating multiple pages simultaneously (dry-run preview included), needing rollback safety, or coordinating team changes. Handles partial failures gracefully.

TypingMindでConfluence Bulkを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Confluence Bulkはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにConfluence Bulkをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/confluence-bulkを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Confluence Bulkを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Confluence Bulkで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもConfluence Bulkを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Confluence Bulk」は無料ですか?

はい。ulises-jeremiasがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇