Confluence Commentのロゴ

Confluence Comment

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

Manage comments on Confluence pages - add, get, update, delete, and resolve comments. ALWAYS use for feedback, discussions, and inline annotations.

概要

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

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

AIスキル「Confluence Comment」を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-comment
  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-comment .claude/skills/confluence-comment
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Confluence Comment Skill


⚠️ PRIMARY USE CASE

This skill manages comments on Confluence pages. Use for:

  • Adding footer comments (end of page)
  • Adding inline comments (within content)
  • Replying to existing comments
  • Resolving/unresolving footer comments (inline comments are not supported by resolve)

When to Use / When NOT to Use

Use This SkillUse Instead
Add/edit comments-
Reply to comments-
Resolve footer comments-
Edit page contentconfluence-page
Search commentsconfluence-search

Risk Levels

OperationRiskNotes
List comments-Read-only
Add comment-Can be deleted
Update comment⚠️Overwrites original
Delete comment⚠️No recovery

Overview

This skill provides comprehensive comment management for Confluence pages, supporting both footer comments and inline comments. Use it to add feedback, manage discussions, and track comment resolution.

CLI Commands

Output format tip: A global -o/--output flag placed before the subcommand (e.g. confluence-as -o json comment list 12345) sets the default output format for all subcommands; an explicit subcommand-level --output wins.

confluence-as comment add

Add a footer comment to a Confluence page.

Usage:

bash
confluence-as comment add PAGE_ID "Comment text"
confluence-as comment add PAGE_ID --file comment.txt

Arguments:

  • page_id - Page ID to add comment to
  • body - Comment body text (optional if using --file)

Options:

  • --file, -f - Read comment body from file (alternative to body argument)
  • --output, -o - Output format (text or json)

Note: Either body argument or --file option is required, but not both.

confluence-as comment list

Retrieve footer comments on a Confluence page. Returns at most --limit comments (default: 25, max: 250) and silently truncates at that limit - pass a higher --limit on pages with many comments.

Usage:

bash
confluence-as comment list PAGE_ID
confluence-as comment list PAGE_ID --limit 10
confluence-as comment list PAGE_ID --sort created
confluence-as comment list PAGE_ID --output json

Arguments:

  • page_id - Page ID to get comments from

Options:

  • --limit, -l - Maximum number of comments to retrieve (default: 25, max: 250); results beyond the limit are silently dropped
  • --sort, -s - Sort order: created or -created (default: -created for newest first)
  • --output, -o - Output format (text or json)

confluence-as comment update

Update an existing comment's body.

Usage:

bash
confluence-as comment update COMMENT_ID "Updated text"
confluence-as comment update COMMENT_ID --file updated.txt

Arguments:

  • comment_id - Comment ID to update
  • body - Updated comment body (or use --file)

Options:

  • --file, -f - Read updated body from file
  • --output, -o - Output format (text or json)

confluence-as comment delete

Delete a comment from a Confluence page.

Usage:

bash
confluence-as comment delete COMMENT_ID
confluence-as comment delete COMMENT_ID --force

Arguments:

  • comment_id - Comment ID to delete

Options:

  • --force, -f - Skip confirmation prompt

confluence-as comment add-inline

Add an inline comment to specific text in a Confluence page.

Usage:

bash
confluence-as comment add-inline PAGE_ID "selected text" "Comment about this text"

Arguments:

  • page_id - Page ID to add inline comment to
  • selection - Text selection to attach comment to
  • body - Comment body text

Options:

  • --output, -o - Output format (text or json)

Note: The text selection must match existing text in the page content.

confluence-as comment resolve

Mark a footer comment as resolved or reopen it.

Footer comments only: this command calls the /api/v2/footer-comments/{id} endpoints exclusively, so passing an inline comment ID fails with 404 Not Found. Resolving inline comments is not supported by the CLI; use the Confluence UI instead.

Usage:

bash
confluence-as comment resolve COMMENT_ID --resolve
confluence-as comment resolve COMMENT_ID --unresolve

Arguments:

  • comment_id - Footer comment ID to resolve/unresolve (inline comment IDs return 404)

Options:

  • --resolve, -r - Mark comment as resolved
  • --unresolve, -u - Mark comment as unresolved/open
  • --output, -o - Output format (text or json)

Note: One of --resolve or --unresolve is required; if both are given, the last one wins.

Examples

Natural Language Triggers

Adding Comments:

  • "Add a comment to page 12345 saying 'Great work!'"
  • "Comment on page 67890 with the content from feedback.txt"
  • "Leave a comment on the API docs page"

Getting Comments:

  • "Show me all comments on page 12345"
  • "Get the comments from the release notes"
  • "List comments on page 67890, newest first"

Updating Comments:

  • "Update comment 999 to say 'Revised feedback'"
  • "Edit comment 888 with the text from file.txt"
  • "Change my comment on that page"

Deleting Comments:

  • "Delete comment 777"
  • "Remove comment 666 without confirmation"
  • "Delete my comment from that page"

Inline Comments:

  • "Add inline comment to page 12345 on the text 'important section' saying 'Needs clarification'"
  • "Comment on specific text in the documentation"

Resolving Comments:

  • "Resolve comment 555"
  • "Mark comment 444 as resolved"
  • "Reopen comment 333"
  • "Unresolve comment 222"

API Endpoints Used

This skill uses the Confluence v2 REST API:

  • Footer Comments:

    • POST /api/v2/footer-comments - Add comment (pageId in request body)
    • GET /api/v2/pages/{id}/footer-comments - Get comments on a page
    • GET /api/v2/footer-comments/{id} - Get specific comment
    • PUT /api/v2/footer-comments/{id} - Update comment body or resolution status (used by update and resolve)
    • DELETE /api/v2/footer-comments/{id} - Delete comment
  • Inline Comments:

    • POST /api/v2/inline-comments - Add inline comment (pageId in request body); this is the only inline-comment endpoint the CLI uses - resolving inline comments is not supported

Error Handling

All commands include proper error handling for:

  • 404 Not Found - Page or comment doesn't exist
  • 403 Forbidden - No permission to add/edit/delete comments
  • 409 Conflict - Version mismatch on updates
  • 400 Bad Request - Invalid input (empty body, invalid selection)

Notes

  • Comments support HTML storage format for rich text
  • Inline comments require exact text matches in page content
  • Comment IDs are numeric strings (same validation as page IDs)
  • Resolution status is tracked separately from comment body (resolve/unresolve applies to footer comments only)
  • Deletion requires confirmation unless --force is used

よくある質問

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

Manage comments on Confluence pages - add, get, update, delete, and resolve comments. ALWAYS use for feedback, discussions, and inline annotations.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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