Logo: Confluence Search

Confluence Search

Communautéit
ulises-jeremias
confluence-search

Search Confluence using CQL queries, validate syntax, export results, and manage search history. ALWAYS use when user wants to find, search, or query for content.

Iwwersiicht

Editeurulises-jeremias
Repositoryagent-toolkit
Skill-Nummconfluence-search
Stären
20
Forks
5
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    ulises-jeremias huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Confluence Search an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/confluence-search
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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-search .claude/skills/confluence-search
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Confluence Search an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Confluence Search automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Confluence Search net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Confluence Search Skill

Search Confluence content using CQL (Confluence Query Language).


⚠️ PRIMARY USE CASE

This skill finds content across Confluence. Use this skill for:

  • Searching pages by text, title, or labels
  • Building CQL queries for complex searches
  • Exporting search results to CSV/JSON
  • Finding content by date, creator, or space

This is a read-only skill - it cannot create, modify, or delete content.


When to Use This Skill

TriggerExample
Text search"Find pages about API documentation"
Label search"Find all pages with label 'approved'"
Space search"Search for content in DOCS space"
Date-based"Find pages modified this week"
Export"Export all pages in KB space to CSV"
CQL query"Run CQL: space = DOCS AND type = page"

When NOT to Use This Skill

OperationUse Instead
Create/edit pagesconfluence-page
Add/remove labelsconfluence-label
Manage permissionsconfluence-permission
View page hierarchyconfluence-hierarchy

Risk Levels

All operations are read-only with no risk:

OperationRiskNotes
Search content-Read-only
Validate CQL-Read-only
Export results-Creates local file only
View history-Local history only

Overview

This skill provides powerful search capabilities:

  • Execute CQL queries
  • Validate CQL syntax
  • Get field and value suggestions
  • Interactive query builder
  • Export results to CSV/JSON
  • Streaming export for large result sets
  • Query history management

CQL Query Patterns

Basic Queries

cql
# Find pages in a space
space = "DOCS" AND type = page

# Find by label
label = "documentation"

# Text search
text ~ "API documentation"

# By creator
creator = "john.doe@company.com"
creator = currentUser()

# By date
created >= "2024-01-01"
lastModified > startOfMonth()

Advanced Queries

cql
# Multiple spaces
space in ("DOCS", "KB", "DEV") AND type = page

# Exclude labels
label = "approved" AND label != "draft"

# Date ranges
lastModified >= "2024-01-01" AND lastModified < "2024-02-01"

# Ancestor (child pages)
ancestor = 12345

# Combined with ordering
space = "DOCS" AND label = "api" ORDER BY lastModified DESC

# Attachments in a space
type = attachment AND space = "DOCS"

# Blog posts by date
type = blogpost AND created >= startOfYear()

CQL Fields Reference

FieldDescriptionExample
spaceSpace keyspace = "DOCS"
titlePage titletitle ~ "API"
textFull text searchtext ~ "configuration"
typeContent typetype = page
labelContent labellabel = "docs"
creatorContent creatorcreator = currentUser()
contributorAny contributorcontributor = "email"
createdCreation datecreated >= "2024-01-01"
lastModifiedLast modified datelastModified > startOfWeek()
parentParent page IDparent = 12345
ancestorAncestor page IDancestor = 12345
idContent IDid = 12345

CLI Commands

Output format tip: A global -o/--output flag placed before the subcommand (e.g. confluence-as -o json search cql "...") sets the default output format for all subcommands; an explicit subcommand-level --output wins. Note that for search export and search stream-export, the subcommand-level -o/--output is the output file path, not the format - use --format there.

confluence-as search cql

Execute CQL queries against Confluence.

Usage:

bash
# Simple text search
confluence-as search cql "text ~ 'API documentation'"

# Search with space filter
confluence-as search cql "space = 'DOCS' AND type = page"

# With limit
confluence-as search cql "label = 'approved'" --limit 50

# Show excerpts
confluence-as search cql "text ~ 'config'" --show-excerpts

Arguments:

  • cql - CQL query string (required)
  • --limit, -l - Maximum results (default: 25)
  • --show-excerpts - Show content excerpts
  • --show-labels - Show content labels
  • --show-ancestors - Show ancestor pages
  • --output, -o - Output format: text or json

confluence-as search validate

Validate CQL query syntax.

Usage:

bash
confluence-as search validate "space = 'DOCS' AND type = page"
confluence-as search validate "invalid query (("

Arguments:

  • cql - CQL query to validate (required)

confluence-as search suggest

Get CQL field and value suggestions.

Usage:

bash
# Get field suggestions
confluence-as search suggest --fields

# Get values for a field
confluence-as search suggest --field space
confluence-as search suggest --field type

# Get operators and functions
confluence-as search suggest --operators
confluence-as search suggest --functions

Arguments:

  • --fields - List all available CQL fields
  • --field NAME - Get values for a specific field
  • --operators - List all CQL operators
  • --functions - List all CQL functions
  • --output, -o - Output format: text or json

confluence-as search interactive

Interactive CQL query builder.

Usage:

bash
confluence-as search interactive
confluence-as search interactive --space DOCS
confluence-as search interactive --type page --execute

Arguments:

  • --space - Pre-filter by space
  • --type - Pre-filter by content type: page, blogpost, comment, or attachment
  • --limit, -l - Maximum results (default: 25)
  • --execute - Execute query after building

confluence-as search export

Export search results to file.

Usage:

bash
# Export to CSV
confluence-as search export "space = 'DOCS'" --format csv --output results.csv

# Export to JSON
confluence-as search export "label = 'api'" --format json --output results.json

# Select columns
confluence-as search export "type = page" --columns id,title,space,created --output pages.csv

Arguments:

  • cql - CQL query (required)
  • --format, -f - Output format: csv or json (default: csv)
  • --output, -o - Output file path (required)
  • --columns - Columns to include (comma-separated)
  • --limit, -l - Maximum results

confluence-as search stream-export

Export large result sets with checkpoints.

Usage:

bash
# Full export with progress
confluence-as search stream-export "space = 'DOCS'" --output docs.csv

# Resume from checkpoint
confluence-as search stream-export "space = 'DOCS'" --output docs.csv --resume

# Custom batch size
confluence-as search stream-export "type = page" --output pages.csv --batch-size 50

Arguments:

  • cql - CQL query (required)
  • --output, -o - Output file path (required)
  • --format, -f - Output format: csv or json (inferred from extension if not specified)
  • --columns - Columns to include (comma-separated)
  • --batch-size - Records per batch (default: 100)
  • --resume - Resume from last checkpoint

confluence-as search history

Manage local query history.

Usage:

bash
# List recent queries
confluence-as search history list
confluence-as search history list --limit 10

# Search history
confluence-as search history search "space = DOCS"

# Show specific query by index
confluence-as search history show 5

# Clear history
confluence-as search history clear

# Export history to file
confluence-as search history export history.csv
confluence-as search history export history.json --format json

# Cleanup old entries
confluence-as search history cleanup --days 30

Subcommands:

  • list - List recent queries (--limit default: 20, --output)
  • search KEYWORD - Search history for queries containing keyword
  • show INDEX - Show specific query by index
  • clear - Clear all query history
  • export FILE - Export history to file (--format: csv or json)
  • cleanup - Remove old entries (--days default: 90)

confluence-as search content

Simple text search (no CQL knowledge required).

Usage:

bash
confluence-as search content "meeting notes"
confluence-as search content "meeting notes" --space DOCS
confluence-as search content "API documentation" --type page

Arguments:

  • query - Search text (required)
  • --space - Limit to space
  • --type - Content type: page or blogpost. Omit the flag to search all types. (The CLI also accepts all, but that injects the literal type = all into the CQL, which the server rejects - do not use it.)
  • --limit, -l - Maximum results
  • --output, -o - Output format

Examples

Natural Language Triggers

  • "Search for pages about API documentation"
  • "Find all pages with label 'approved' in DOCS space"
  • "Search for content created this month"
  • "Export all pages in KB space to CSV"
  • "Find pages modified by me today"

Common Pitfalls

1. CQL Syntax Errors

  • Problem: Query fails with syntax error
  • Solution: Use confluence-as search validate "query" to check syntax first

2. Quoting Issues

  • Problem: Values with spaces not matching
  • Solution: Use double quotes: space = "My Space" or single quotes: label = 'my-label'

3. Case Sensitivity

  • Problem: Search not finding expected results
  • Solution: Text search (~) is case-insensitive, but = is exact match

4. Date Format

  • Problem: Date queries failing
  • Solution: Use YYYY-MM-DD format or functions like startOfWeek(), now("-7d")

5. Large Result Sets

  • Problem: Export timing out or running slow
  • Solution: Use stream-export for large datasets, add --batch-size option

6. Empty Results

  • Problem: Search returns nothing when content exists
  • Solution: Check space permissions, verify space key is correct, try broader query

Error Handling

ErrorCauseResolution
400 Bad RequestInvalid CQL syntaxUse confluence-as search validate to check query
403 ForbiddenNo permission to search spaceRequest space access
408 TimeoutQuery too complex or large result setSimplify query, use pagination

CQL Troubleshooting

Validate query before running:

bash
confluence-as search validate "space = 'DOCS' AND type = page"

Build query interactively:

bash
confluence-as search interactive --space DOCS

Check available fields:

bash
confluence-as search suggest --fields
confluence-as search suggest --field space

Common CQL fixes:

cql
# Wrong: unquoted space with spaces
space = My Space

# Right: quoted space name
space = "My Space"

# Wrong: wrong date format
created > 01-15-2025

# Right: correct date format
created > "2025-01-15"

# Wrong: invalid operator for text
text = "exact match"

# Right: use contains operator
text ~ "search text"

Heefeg gestallte Froen

Wat mécht de KI-Skill Confluence Search?

Search Confluence using CQL queries, validate syntax, export results, and manage search history. ALWAYS use when user wants to find, search, or query for content.

Firwat Confluence Search op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Confluence Search besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Confluence Search an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/confluence-search an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Confluence Search benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Confluence Search benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Confluence Search domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Confluence Search gratis?

Jo. ulises-jeremias huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇