Logo Confluence Template

Confluence Template

Cộng đồng
ulises-jeremias
confluence-template

Work with page templates and blueprints. ALWAYS use when user wants to create standardized pages or manage templates.

Tổng quan

Nhà phát hànhulises-jeremias
Kho mãagent-toolkit
Tên kỹ năngconfluence-template
Sao
20
Bản fork
5
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được ulises-jeremias công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Confluence Template trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/confluence-template
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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-template .claude/skills/confluence-template
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Confluence Template trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Confluence Template ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Confluence Template với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Confluence Template Skill

Work with Confluence page templates and blueprints.


⚠️ PRIMARY USE CASE

This skill manages page templates. Use for:

  • Listing available templates
  • Creating pages from templates
  • Managing template content
  • Working with blueprints

When to Use / When NOT to Use

Use This SkillUse Instead
List templates-
Create from template-
Update template-
Create page directlyconfluence-page
Search templatesconfluence-search

Risk Levels

OperationRiskNotes
List templates-Read-only
Get template-Read-only
Create from template-Creates new page
Update template⚠️Affects future pages
Delete template⚠️⚠️Cannot be recovered

Overview

Templates in Confluence allow you to standardize page creation. Blueprints are pre-built templates provided by Confluence or apps. This skill primarily uses the Confluence v1 REST API (/rest/api/template/*) for template management, while create-from uses the v2 API (/api/v2/pages) for page creation.

CLI Commands

confluence-as template list

List available page templates and blueprints in your Confluence instance.

Usage:

bash
# List all templates
confluence-as template list

# Filter by space
confluence-as template list --space DOCS

# Filter by type (page or blogpost)
confluence-as template list --type page

# List blueprints instead of templates
confluence-as template list --blueprints

# JSON output
confluence-as template list --output json

# Limit results
confluence-as template list --limit 50

Arguments:

  • --space, -s: Filter templates by space key
  • --type, -t: Filter by template type (page or blogpost)
  • --blueprints: List blueprints instead of templates
  • --output, -o: Output format (text or json)
  • --limit, -l: Maximum number of results (default: 100, max: 250)

confluence-as template get

Retrieve detailed information about a specific template or blueprint.

Usage:

bash
# Get template details
confluence-as template get tmpl-123

# Include body content
confluence-as template get tmpl-123 --body

# Convert body to Markdown
confluence-as template get tmpl-123 --body --format markdown

# Get blueprint details
confluence-as template get bp-456 --blueprint

# JSON output
confluence-as template get tmpl-123 --output json

Arguments:

  • template_id: Template ID or blueprint ID
  • --body: Include template body content
  • --format: Body format (storage or markdown)
  • --blueprint: Get blueprint instead of template
  • --output, -o: Output format (text or json)

confluence-as template create-from

Create a new Confluence page based on an existing template.

Known limitation: --blueprint currently creates the page with an empty body. Blueprint content is not applied - the CLI never sends the blueprint ID to any API; it only records it in the command output. To get content into the page, pass --content or --file, or use --template instead.

Usage:

bash
# Create page from template
confluence-as template create-from --template tmpl-123 --space DOCS --title "New Page"

# Create page with parent
confluence-as template create-from --template tmpl-123 --space DOCS --title "Page" --parent-id 12345

# Create from blueprint (page body will be EMPTY - see limitation note above)
confluence-as template create-from --blueprint bp-456 --space DOCS --title "Project Plan"

# Add labels
confluence-as template create-from --template tmpl-123 --space DOCS --title "Page" --labels "tag1,tag2"

# Override template content
confluence-as template create-from --template tmpl-123 --space DOCS --title "Page" --content "<p>Custom content</p>"

# Use content from file
confluence-as template create-from --template tmpl-123 --space DOCS --title "Page" --file content.md

Arguments:

  • --template: Template ID to use
  • --blueprint: Blueprint ID to use (alternative to --template). Currently produces an empty page body unless --content/--file is given - blueprint content is not applied
  • --space: Space key for the new page (required)
  • --title: Title for the new page (required)
  • --parent-id: Parent page ID
  • --labels: Comma-separated labels
  • --content: Custom HTML/XHTML content
  • --file: File with content (Markdown or HTML)
  • --output, -o: Output format (text or json)

confluence-as template create

Create a new page template in Confluence.

Usage:

bash
# Create basic template (--content or --file is required)
confluence-as template create --name "Meeting Notes" --space DOCS --content "<h1>Meeting Notes</h1>"

# With description
confluence-as template create --name "Status Report" --space DOCS --description "Weekly status report" --content "<h1>Status Report</h1>"

# From HTML file
confluence-as template create --name "Template" --space DOCS --file template.html

# From Markdown file
confluence-as template create --name "Template" --space DOCS --file template.md

# With labels
confluence-as template create --name "Template" --space DOCS --file template.md --labels "template,meeting"

# Blogpost template
confluence-as template create --name "Blog Template" --space DOCS --content "<p>Blog post body</p>" --type blogpost

# Based on blueprint
confluence-as template create --name "Custom" --space DOCS --content "<p>Body</p>" --blueprint-id com.atlassian...

Arguments:

  • --name: Template name (required)
  • --space, -s: Space key (required)
  • --description: Template description
  • --content: Template body content (HTML/XHTML) - required if --file not provided
  • --file: File with template content (Markdown or HTML) - required if --content not provided
  • --labels: Comma-separated labels
  • --type, -t: Template type - page or blogpost (default: page)
  • --blueprint-id: Base on existing blueprint
  • --output, -o: Output format (text or json)

Note: Either --content or --file must be provided to specify the template body.

confluence-as template update

Update an existing page template.

Usage:

bash
# Update name
confluence-as template update tmpl-123 --name "Updated Template"

# Update description
confluence-as template update tmpl-123 --description "New description"

# Update content from HTML file
confluence-as template update tmpl-123 --file updated.html

# Update from Markdown file
confluence-as template update tmpl-123 --file updated.md

# Update inline content
confluence-as template update tmpl-123 --content "<h1>Updated</h1>"

# Add labels
confluence-as template update tmpl-123 --add-labels "tag1,tag2"

# Remove labels
confluence-as template update tmpl-123 --remove-labels "old-tag"

# Multiple updates
confluence-as template update tmpl-123 --name "New Name" --description "New desc" --add-labels "new"

Arguments:

  • template_id: Template ID to update (required)
  • --name: New template name
  • --description: New description
  • --content: New body content (HTML/XHTML)
  • --file: File with new content (Markdown or HTML)
  • --add-labels: Comma-separated labels to add
  • --remove-labels: Comma-separated labels to remove
  • --output, -o: Output format (text or json)

Note: --content and --file are mutually exclusive.

API Endpoints Used

This skill uses the Confluence REST API:

v1 API (template management):

  • GET /rest/api/template/page - List page templates
  • GET /rest/api/content/blueprint/instance - List blueprints
  • GET /rest/api/template/{templateId} - Get template details
  • GET /rest/api/content/blueprint/instance/{templateId} - Get blueprint details
  • POST /rest/api/template - Create template
  • PUT /rest/api/template/{templateId} - Update template

v2 API (page creation):

  • POST /api/v2/pages - Create page from template (used by create-from)

Examples

Finding and Using Templates

bash
# List all available templates
confluence-as template list

# Find templates in a specific space
confluence-as template list --space DOCS

# Get template details
confluence-as template get tmpl-123 --body --format markdown

# Create a page from that template
confluence-as template create-from --template tmpl-123 --space DOCS --title "My Meeting Notes"

Creating Custom Templates

bash
# Create a simple template (--content or --file is required)
confluence-as template create --name "Weekly Report" --space DOCS --description "Template for weekly status reports" --content "<h1>Weekly Report</h1>"

# Create from a Markdown file
confluence-as template create --name "Project Plan" --space DOCS --file project-template.md --labels "template,planning"

Maintaining Templates

bash
# Update template content from file
confluence-as template update tmpl-123 --file updated-template.md

# Add tags to categorize
confluence-as template update tmpl-123 --add-labels "engineering,documentation"

# Update name and description
confluence-as template update tmpl-123 --name "New Template Name" --description "Updated description"

Tips

  1. Template IDs: Template IDs are typically in the format tmpl-123 or similar. Use confluence-as template list to find IDs.

  2. Markdown Support: All scripts support Markdown input files, which are automatically converted to Confluence's storage format (XHTML).

  3. Blueprints vs Templates: Blueprints are system-provided templates and typically cannot be modified. Note that create-from --blueprint currently produces an empty page (blueprint content is not applied); pass --content or --file to supply the body.

  4. Labels: Use labels to organize and categorize templates for easier discovery.

  5. Preserving Content: When updating templates, only the fields you specify are changed. Other fields are preserved.

  6. Parent Pages: When creating pages from templates, you can specify a parent page to create a page hierarchy.

Troubleshooting

Template not found: Verify the template ID with confluence-as template list. Template IDs are space-specific in some cases.

Permission denied: Ensure you have permission to create/modify templates in the specified space. Template management typically requires space admin permissions.

Content format issues: If template content doesn't render correctly, ensure HTML/XHTML is well-formed. Use Markdown files for easier authoring.

Câu hỏi thường gặp

Kỹ năng AI Confluence Template làm được gì?

Work with page templates and blueprints. ALWAYS use when user wants to create standardized pages or manage templates.

Vì sao nên dùng Confluence Template trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Confluence Template là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Confluence Template trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/confluence-template. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Confluence Template?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Confluence Template với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Confluence Template với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Confluence Template có miễn phí không?

Có. Kỹ năng này được ulises-jeremias phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇