twg-confluence
Skill35 starsChanged 6 months agoApache-2.0View on GitHub
Use with root `twg` for Confluence pages, live docs, whiteboards, databases, spaces, hierarchy, authoring, editing, comments, versions, permissions, exports, and CQL. Applies Confluence semantics and safe write rules.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- ByronScottJones/Agentsedited, first seen Oct 17, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- ByronScottJones/Agents★ 760% same
Wrote their own version · 0
None found.
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 repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- twg-agentic-searchSkill
- twg-artifactsSkill
- twg-code-reviewSkill
- twg-context-discoverySkill
- twg-engineering-workSkill
- twg-jira-resolve-merged-workSkill
- twg-jiraSkill
- twg-operational-healthSkill
- twg-responsibility-routingSkill
- twg-setupSkill
- twgSkill
- twg-space-creationSkill
- twg-status-rollupsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
25 rules. About 0 are common, 7 are distinctive, and 18 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
18
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Use with root twg for Confluence-focused work.
- Very specific: line 17
Run twg <command>. On shell command not found, use $HOME/.local/bin/twg (macOS/Linux) / $env:LOCALAPPDATA\Programs\twg\bin\twg.exe …
- Very specific: line 42
Use --reference-space for exact titles.
- Distinctive: line 49
Search snippets are discovery candidates.
- Very specific: line 51
Use CQL for metadata lists.
- Very specific: line 56
Before pre-edit reads, follow references/editing.md for draft and snapshot-token rules.
- Very specific: line 60
Read each body.outputFile when present, otherwise body.value.
- Very specific: line 63
Search with surrounding lines for focused questions.
- Very specific: line 67
Read prose with --format md.
- Very specific: line 68
Use HTML for editing or required status markers, macros, and table details.
- Very specific: line 69
If data.body.lossyConversion is true and relevant details are missing, fetch --format html once.
- Distinctive: line 71
Never infer missing status from prose.
- Very specific: line 74
Before you write any page or live doc body, run twg confluence content body-formats html and follow it.
- Very specific: line 83
If live help advertises confluence content authority, use it when page choice can change the answer.
- Distinctive: line 85
Keep relevance primary. Compare only pages providing equivalent evidence.
- Very specific: line 86
Prefer VERY_HIGH, then HIGH, MEDIUM, and LOW.
- Very specific: line 89
Treat JSON/JSONL items lacking authorityCategory as neutral existing pages.
- Distinctive: line 90
Never remove a more relevant page for a higher-Authority one.
- Distinctive: line 91
If unavailable, continue with current evidence.
- Very specific: line 95
Treat user authorization and CLI confirmation as separate checks for archive, trash, and purge.
- Very specific: line 103
If the mutation or targets were inferred, identify the proposed targets, present the exact action and bounded target list, and wait for the …
- Very specific: line 107
Before authoring, apply the target space's instructions once per space per session.
- Distinctive: line 116
Use the lossless HTML round trip when macros or exact storage matter.
- Very specific: line 117
Use --dry-run only for explicit preview requests or unusually risky edits where direct execution was not requested.
- Distinctive: line 119
Read back the content or space after mutation and report its URL.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
twg-confluence
Use with root twg for Confluence-focused work. Live help owns command grammar.
twg skills list: load active companions, otherwise use help.
CLI launcher fallback
Run twg <command>. On shell command not found, use $HOME/.local/bin/twg
(macOS/Linux) / $env:LOCALAPPDATA\Programs\twg\bin\twg.exe (PowerShell), then
tell user to add that directory to PATH. Do not treat auth or command errors as
PATH failures.
Agents: use host-set TWG_AGENT_DEFAULTS=1 or TWG_AGENT_DEFAULTS=1 twg <command>. If assignments are blocked, pass --mode agent with explicit output flags. Respect host permissions. --mode user overrides the opt-in.
First Route
| Intent | Route |
| Access-link URL | Access-link workflow |
| Known content ID/URL | confluence content get; route embeds |
| Several known pages | One confluence content get <id-or-url...> for the selected set |
| Exact Confluence filtering | Confluence search with CQL |
| Date-filtered page/blogpost list | confluence search query --cql with lastmodified; content list has no date filter |
| Fuzzy page/topic discovery | Cross-product search, then native get |
| Create or update content | Unified confluence content surface |
| Current user's personal space | confluence space me; reuse returned identity, never infer it from accountId or search |
| Read or write comments | confluence content comments; comment rules |
| Space metadata/lifecycle | confluence space |
| Hierarchy | confluence tree |
| Export | confluence content export; export workflow |
Pass supported references and known scope/bounds in the first native call.
Use --reference-space for exact titles; avoid separate resolve.
Required write/auth guidance applies.
Confluence Semantics
Pagination.
- Search snippets are discovery candidates. Read the selected content before summarizing or editing it.
Use CQL for metadata lists. Batch up to 25 known pages. For prose-only reads, use
confluence content get <id-or-url...> --detail full --format md -o json. For rich, mixed, unknown, or pre-edit content, useconfluence content get <id-or-url...> --detail full --format html -o json. Before pre-edit reads, followreferences/editing.mdfor draft and snapshot-token rules.Singles return
data.body; batches return ordereddata.itemswithinput,ok, anddataorerror. Check failures and conversion warnings. Read eachbody.outputFilewhen present, otherwisebody.value; omitted text is inoutput_files.stdout.Search with surrounding lines for focused questions; read full bodies for whole-page summaries. Reuse saved content.
--include-metadataadds provenance.--body-onlyand version reads are single-page.- Read prose with
--format md. Use HTML for editing or required status markers, macros, and table details. Ifdata.body.lossyConversionis true and relevant details are missing, fetch--format htmlonce. Keep headings and table cells together. Never infer missing status from prose. docs getsearches a user's document activity window, not page bodies; it may miss accessible pages.- Before you write any page or live doc body, run
twg confluence content body-formats htmland follow it. - Page titles are supplied separately from bodies. Do not repeat the title as the first body heading.
- Apply Remix/Maui ownership and embedding rules in
references/content.md; an asset ID/URL is not proof of a page embed.
Authority
If live help advertises confluence content authority, use it when page choice can change the answer.
- Keep relevance primary. Compare only pages providing equivalent evidence.
- Prefer
VERY_HIGH, thenHIGH,MEDIUM, andLOW. - Reuse Authority categories supplied by other responses.
- Batch up to 100 uncategorized canonical page ARIs per site.
- Treat JSON/JSONL items lacking
authorityCategoryas neutral existing pages. Text reportsNOT_SCOREDfor no Authority relationship,UNSUPPORTED_CATEGORYfor unrecognized categories, andNOT_FOUNDfor pages omitted from JSON/JSONL. - Never remove a more relevant page for a higher-Authority one.
- If unavailable, continue with current evidence; never retry via raw graph query.
Safe Authoring And Editing
- Treat user authorization and CLI confirmation as separate checks for archive,
trash, and purge. Passing
--yesis an execution preflight, not evidence the user authorized the mutation. Use--yesonly after the user named the mutation and the exact target or a previously displayed bounded target set. - Explicit instructions such as "archive page XYZ" or "archive those 15 pages" after a concrete list authorize execution without another confirmation. Vague language such as "clean up", "organize", or "take care of" does not authorize archive, trash, or purge.
- If the mutation or targets were inferred, identify the proposed targets,
present the exact action and bounded target list, and wait for the user to
affirm it. Do not generalize approval from a similar prior action;
trashdoes not authorize a permanent purge. - Before authoring, apply the target space's instructions once per space per
session; see
references/spaces.md. Empty instructions mean defaults. - Pick the type by job (rules):
whiteboardfor spatial/visual work (diagrams, flows, maps, brainstorms);databasefor records to filter, sort, or track;live_docfor narrative and bare "page"/"doc" asks;pagefor explicit classic intent or KB/help. Explicit types win; preserve a target's type. - For non-trivial edits, read current content, save the body locally, edit the file, then update with the snapshot token.
- Use the lossless HTML round trip when macros or exact storage matter.
- Use
--dry-runonly for explicit preview requests or unusually risky edits where direct execution was not requested. - Read back the content or space after mutation and report its URL.
Handoffs
- Load
twg-context-discoveryfor related Jira work, projects, goals, or dependencies;twg-responsibility-routingfor people, ownership, authority, or escalation. - Load
twg-status-rollupswhen pages contribute to a broader status report. - Load
twg-operational-healthfor runbooks, incidents, or PIRs. - Load
twg-space-creationto create or clone a whole space.
References
../twg/references/KNOWLEDGE-IDENTIFIERS.md- native selectors and first-call scopereferences/content.md- content types, reads, writes, and exportsreferences/editing.md- concurrency-safe body editingreferences/spaces.md- space lifecycle and hierarchyreferences/querying.md- CQL and fuzzy discoveryreferences/body-formats.md- HTML, markdown, mentions, and special formats
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.

