From labyrinthe-acli
Search Confluence content using CQL queries via the REST API. Find pages, blog posts, attachments, and spaces by title, content, label, author, or date. WHEN: search confluence, find page, confluence query, CQL, search wiki, find in confluence, confluence content, search space, find document, wiki search, confluence find.
How this skill is triggered — by the user, by Claude, or both
Slash command
/labyrinthe-acli:confluence-searchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Search Confluence content using CQL (Confluence Query Language) via the REST API.
Search Confluence content using CQL (Confluence Query Language) via the REST API.
$ACLI_SITE and $ACLI_EMAIL are available$ACLI_TOKEN must be set in the profile (the same API token used for acli auth login)If $ACLI_TOKEN is not set, guide the user:
Your profile needs an API token for Confluence search. Update your profile with
/acli-profileand include your API token.
curl -s -G \
"https://$ACLI_SITE/wiki/rest/api/content/search" \
--data-urlencode "cql=type = page AND space = 'DEV' AND title ~ 'architecture'" \
--data-urlencode "limit=25" \
--data-urlencode "expand=version,space" \
-H "Authorization: Basic $(echo -n "$ACLI_EMAIL:$ACLI_TOKEN" | base64)"
curl -s -G \
"https://$ACLI_SITE/wiki/rest/api/content/search" \
--data-urlencode "cql=type = page AND space = 'DEV'" \
--data-urlencode "limit=25" \
--data-urlencode "start=25" \
-H "Authorization: Basic $(echo -n "$ACLI_EMAIL:$ACLI_TOKEN" | base64)"
curl -s -G \
"https://$ACLI_SITE/wiki/rest/api/content/search" \
--data-urlencode "cql=type = page AND text ~ 'deployment guide'" \
--data-urlencode "limit=10" \
--data-urlencode "expand=body.view,version,space" \
-H "Authorization: Basic $(echo -n "$ACLI_EMAIL:$ACLI_TOKEN" | base64)"
Translate natural language requests to CQL:
| User Says | CQL |
|---|---|
| "find pages about X" | type = page AND text ~ "X" ORDER BY lastmodified DESC |
| "pages in SPACE" | type = page AND space = "SPACE" ORDER BY title ASC |
| "recently updated pages" | type = page AND lastmodified >= now("-7d") ORDER BY lastmodified DESC |
| "pages I created" | type = page AND creator = currentUser() ORDER BY created DESC |
| "blog posts this month" | type = blogpost AND created >= now("-30d") ORDER BY created DESC |
| "pages with label X" | type = page AND label = "X" ORDER BY title ASC |
| "pages under parent PAGE_ID" | type = page AND ancestor = PAGE_ID ORDER BY title ASC |
| "pages modified by USER" | type = page AND contributor = "[email protected]" ORDER BY lastmodified DESC |
| "attachments in SPACE" | type = attachment AND space = "SPACE" |
| "pages containing exact phrase" | type = page AND text = "exact phrase" |
| "pages updated today" | type = page AND lastmodified >= now("-1d") ORDER BY lastmodified DESC |
| "pages titled X" | type = page AND title = "Exact Title" |
| "pages with title containing X" | type = page AND title ~ "partial" |
See cql-guide.md for the full CQL syntax reference.
$ACLI_SITE and $ACLI_TOKEN from the active profile--data-urlencode with curl, never put CQL directly in the URLORDER BY lastmodified DESC if the user doesn't specify an orderlimit to 25 results; increase for broader searcheslimit and start parameters for pagination$ACLI_TOKEN is not set, do not attempt API calls; guide user to /acli-profileexpand=version,space by default to include useful metadata in results~ operator does fuzzy/contains matching; = does exact matching$ACLI_SITE or $ACLI_TOKEN is not setnpx claudepluginhub charlesmatte/atlassian-cli-skills --plugin labyrinthe-acliProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.