confluence-export
Skill9 starsChanged 2 months agoApache-2.0View on GitHub
Search Confluence through its REST API, then export or refresh a page, subtree, space, or organisation as Markdown with cme. Use for finding Confluence pages, backups, migrations, local mirrors, or staging source pages in an Obsidian vault.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- lutencjusz/confluence-plugintheir own version, first seen Jul 5, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- lutencjusz/confluence-plugin★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository60 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- check-for-updatesSkill
- api-designSkill
- bddSkill
- blueprintSkill
- brainstormingSkill
- browser-usageSkill
- clarify-codeSkill
- cleanupSkill
- codebase-designSkill
- code-contractsSkill
- code-reviewSkill
- commitSkill
- database-proSkill
- datadogSkill
- diagnosing-bugsSkill
- diagram-designSkill
- e2e-testSkill
- explain-code-flowSkill
- explain-simplySkill
- frontend-slidesSkill
- glabSkill
- grill-meSkill
- handoffSkill
- herdrSkill
- i-have-adhdSkill
- impeccableSkill
- implementSkill
- improve-codebase-architectureSkill
- jiraSkill
- loomSkill
- markitdownSkill
- mermaid-skillSkill
- modularity-designSkill
- modularity-reviewSkill
- plannotatorSkill
- ponytailSkill
- prototypeSkill
- qmdSkill
- refactorSkill
- releaseSkill
- researchSkill
- security-reviewSkill
- show-meSkill
- skill-doctorSkill
- stop-the-slopSkill
- tddSkill
- teachSkill
- terraform-engineerSkill
- ticket-overviewSkill
- to-specSkill
- to-ticketsSkill
- update-docstringsSkill
- wayfinderSkill
- write-documentationSkill
- write-readmeSkill
- write-simplySkill
- writing-for-agentsSkill
- wtfSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Search before export when the user does not have a page URL.
- Very specific: line 16
Check cme version. If it is missing, offer:
- Very specific: line 31
Use cme <command> --help as the current option reference.
- Distinctive: line 36
When the user gives search terms instead of a URL, run the bundled helper:
- Very specific: line 42
Use --space KEY to limit the search to one space.
- Distinctive: line 67
Use a dedicated export directory containing no hand-edited files.
- Very specific: line 97
Use the command selected in step 1 in place of pages or spaces.
- Distinctive: line 106
Read the export summary and report:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Search and Export Confluence
Search before export when the user does not have a page URL. Export the smallest requested scope to Markdown. A page, subtree, space, and organisation are progressively broader scopes.
1. Prepare access
Check cme version. If it is missing, offer:
loom add --tool confluence-markdown-exporter --dry-runShow the install command without --dry-run and obtain confirmation before running it.
Authentication is interactive. Ask the user to run this in their own terminal; tokens stay out of chat and command history:
cme config edit auth.confluenceUse cme <command> --help as the current option reference. This step is complete when
cme is available and the user confirms that authentication is configured.
2. Search
When the user gives search terms instead of a URL, run the bundled helper:
python3 <skill-directory>/scripts/search.py "integration guidelines"Use --space KEY to limit the search to one space. Use --site URL only when the cme
configuration contains several Confluence instances. The helper reads the credential
file reported by cme config path, sends an official CQL content-search request, and
prints page ids, titles, spaces, update times, and URLs as JSON. It never prints the
username or token.
Show the matching titles and URLs. Ask the user which result and scope to export when more than one reasonable match remains. This step is complete when one source URL is selected or when the user only requested search results.
3. Set the export boundary
Collect the Confluence URL and choose one command:
| Scope | Command |
| Page | cme pages <page-url> |
| Page and descendants | cme pages-with-descendants <page-url> |
| Space | cme spaces <space-url> |
| Organisation | cme orgs <base-url> |
For a wiki export, resolve the selected vault and stage under
<vault>/inbox/confluence/<space>/. Keep exported source material out of
canonical wiki folders.
Use a dedicated export directory containing no hand-edited files. CME overwrites exported pages and may remove local files when Confluence pages are deleted or moved. Confluence permissions are not reproduced on disk, so the destination must be at least as private as every page in scope. Confirm the destination before every export and obtain explicit confirmation for subtree, space, or organisation scope. This step is complete when scope, dedicated destination, and access boundary are explicit.
4. Export
For a plain Markdown export, set the destination for the selected scope command:
CME_EXPORT__OUTPUT_PATH="$DEST" cme pages "$SOURCE_URL"For Obsidian staging, use per-command overrides so the user's persistent settings stay untouched:
CME_EXPORT__OUTPUT_PATH="$DEST" \
CME_EXPORT__INCLUDE_DOCUMENT_TITLE=false \
CME_EXPORT__PAGE_BREADCRUMBS=false \
CME_EXPORT__PAGE_HREF=relative \
CME_EXPORT__ATTACHMENT_HREF=relative \
CME_EXPORT__PAGE_PROPERTIES_FORMAT=frontmatter \
CME_EXPORT__CONFLUENCE_URL_IN_FRONTMATTER=tinyui \
CME_EXPORT__PAGE_METADATA_IN_FRONTMATTER=true \
cme spaces "$SOURCE_URL"Use the command selected in step 1 in place of pages or spaces. Relative links avoid
ambiguous Obsidian links when pages share a title; use wiki links only when the user
accepts that collision risk. Reusing the dedicated destination skips unchanged pages
and cleans up files for deleted or moved pages. This step is complete when cme exits
successfully and its summary has been captured. Continue to verification after any
non-zero exit or reported failure, but treat the export as incomplete.
5. Verify and hand off
Read the export summary and report:
- scope and destination;
- exported, unchanged, removed, and failed page counts;
- exported, unchanged, removed, and failed attachment counts;
- Markdown and attachment paths;
- any unsupported macros or missing attachments reported by
cme.
A wiki export is complete when the source files are present under inbox/confluence/
and every reported failure is visible. Stop after staging unless the user also asked
for canonical ingestion or indexing.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

