agentleFS
yuelenghanyuelenghan/orbit/skills/confluence/SKILL.md

confluence

Skill0 starsChanged 5 months agoMITView on GitHub

Use when the user needs Confluence Data Center page, space, attachment, comment, metadata, search, configuration, create, update, or read operations.

12 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

32 rules. 0 are common, 10 are distinctive, and 22 are very specific to this project.

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 22

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to operate Confluence Data Center through the packaged local CLI runtime.

    line 13
  2. Very specific:

    Treat the user-facing term PAT as the packaged CLI --token value when you need to save auth config.

    line 15
  3. Very specific:

    Use <skill-dir> below to mean the installed skill directory root.

    line 19
  4. Distinctive:

    Always run the packaged launcher from the installed skill directory so it works from the user's current working directory:

    line 21
  5. Distinctive:

    If no compatible system Node runtime is available, the launcher uses a bundled runtime when present or bootstraps a target-specific runtime …

    line 27
  6. Very specific:

    Do not call node dist/cli.js directly.

    line 29
  7. Distinctive:

    Do not call Confluence REST API directly from the skill layer.

    line 30
  8. Very specific:

    Use page labels and page properties for page metadata.

    line 38
  9. Very specific:

    Use attachment and comment command groups for page-linked collaboration objects.

    line 39
  10. Very specific:

    Run confluence config get when configuration state is unknown or before the first provider-scoped task in a new session.

    line 61
  11. Very specific:

    Read references/commands.md for command families and packaged launcher forms.

    line 65
  12. Very specific:

    Read references/usage.md for execution policy, read/write behavior, update/version rules, and help-based recovery.

    line 66
  13. Very specific:

    Read examples/common-workflows.md for end-to-end examples.

    line 67
  14. Distinctive:

    When the command family or option spelling is uncertain, use packaged CLI help before guessing:

    line 69
  15. Distinctive:

    Use help probes to correct uncertainty, not to rediscover the whole CLI from scratch.

    line 74
  16. Very specific:

    Keep the config bootstrap exception: do not run config set --help before saving recovered config.

    line 76
  17. Very specific:

    When a packaged CLI command fails with CONFIG_ERROR, collect only the missing values and recover configuration in the skill flow.

    line 80
  18. Very specific:

    Run packaged config get first to check existing values.

    line 82
  19. Very specific:

    If the initial failure is stored config was not found, skip config get and collect config directly.

    line 83
  20. Very specific:

    If the user already provided both baseUrl and PAT, skip extra config probing and save immediately.

    line 84
  21. Distinctive:

    Ask only for values still missing.

    line 85
  22. Very specific:

    Run the packaged config set command yourself through <skill-dir>/bin/confluence.

    line 86
  23. Very specific:

    Always map the user-provided PAT to the CLI --token option, never --pat.

    line 87
  24. Very specific:

    Always use the documented CLI option spelling --base-url, never guessed variants such as --baseUrl.

    line 88
  25. Very specific:

    Do not run config set --help or other help probes before saving recovered config.

    line 89
  26. Distinctive:

    Never echo the PAT back in chat output.

    line 90
  27. Distinctive:

    If retry still fails, return the real failure.

    line 92
  28. Very specific:

    Never guess undocumented query flags such as --query or --keyword for search pages.

    line 97
  29. Very specific:

    When the user asks for a natural-language page search, translate that request into CQL first, then run search pages --cql <CQL>.

    line 98
  30. Very specific:

    Use search pages --all only when the user explicitly wants every matching page.

    line 100
  31. Very specific:

    Only describe search results as “all pages” when the CLI response includes fetchedAll: true.

    line 101
  32. Distinctive:

    Use packaged CLI help only when the action family or option spelling is still uncertain after applying this contract.

    line 103

“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Confluence Skill

Use this skill to operate Confluence Data Center through the packaged local CLI runtime.

Treat the user-facing term PAT as the packaged CLI --token value when you need to save auth config.

Runtime and execution

Use <skill-dir> below to mean the installed skill directory root.

Always run the packaged launcher from the installed skill directory so it works from the user's current working directory:

  • macOS/Linux: <skill-dir>/bin/confluence
  • Windows: <skill-dir>\bin\confluence.cmd

The packaged launcher first reuses a compatible system Node runtime when available. If no compatible system Node runtime is available, the launcher uses a bundled runtime when present or bootstraps a target-specific runtime from the configured mirror.

Do not call node dist/cli.js directly. Do not call Confluence REST API directly from the skill layer.

Scope and boundaries

  • Confluence Data Center only (not Cloud).
  • CLI-mediated operations only.
  • PAT authentication only.
  • Content body format is Confluence storage.
  • Use page labels and page properties for page metadata.
  • Use attachment and comment command groups for page-linked collaboration objects.

Capability Domain

Domain:

  • docs

Provides:

  • docs.config.get
  • docs.config.set
  • docs.content.search
  • docs.content.get
  • docs.content.create
  • docs.content.update
  • docs.content.label.add
  • provider-specific workflow helpers

Config check:

  • confluence config get

Config check

Run confluence config get when configuration state is unknown or before the first provider-scoped task in a new session.

Supporting files

  • Read references/commands.md for command families and packaged launcher forms.
  • Read references/usage.md for execution policy, read/write behavior, update/version rules, and help-based recovery.
  • Read examples/common-workflows.md for end-to-end examples.

When the command family or option spelling is uncertain, use packaged CLI help before guessing:

  • <skill-dir>/bin/confluence <group> --help
  • <skill-dir>/bin/confluence <group> <action> --help

Use help probes to correct uncertainty, not to rediscover the whole CLI from scratch. If a help-guided retry still fails, return the real CLI failure.

Keep the config bootstrap exception: do not run config set --help before saving recovered config.

Provider-specific caveats

When a packaged CLI command fails with CONFIG_ERROR, collect only the missing values and recover configuration in the skill flow.

  1. Run packaged config get first to check existing values.
  2. If the initial failure is stored config was not found, skip config get and collect config directly.
  3. If the user already provided both baseUrl and PAT, skip extra config probing and save immediately.
  4. Ask only for values still missing.
  5. Run the packaged config set command yourself through <skill-dir>/bin/confluence.
  6. Always map the user-provided PAT to the CLI --token option, never --pat.
  7. Always use the documented CLI option spelling --base-url, never guessed variants such as --baseUrl.
  8. Do not run config set --help or other help probes before saving recovered config.
  9. Never echo the PAT back in chat output.
  10. Retry the original command once.
  11. If retry still fails, return the real failure.

Search behavior

  • search pages accepts only --cql for the query input.
  • Never guess undocumented query flags such as --query or --keyword for search pages.
  • When the user asks for a natural-language page search, translate that request into CQL first, then run search pages --cql <CQL>.
  • search pages returns the current page or current batch by default.
  • Use search pages --all only when the user explicitly wants every matching page.
  • Only describe search results as “all pages” when the CLI response includes fetchedAll: true.
  • For search pages --limit / --start, describe the output as the current page or current batch.
  • Use packaged CLI help only when the action family or option spelling is still uncertain after applying this contract.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.