Token-efficient CLI + Claude Code Skill for Atlassian Server/DC (Jira, Confluence, Bitbucket, Bamboo).
Project description
atlassian-skills
A token-efficient CLI that brings mcp-atlassian functionality to the command line — optimized for LLM agent workflows on Atlassian Server/DC.
mcp-atlassian is great for Cloud setups, but on Server/DC its MCP protocol overhead and verbose JSON responses consume tokens fast. It also lacks lossless Confluence markup round-tripping — edits via MCP can silently alter page content.
atlassian-skills re-implements the same Jira and Confluence operations as a lightweight CLI with compact output, achieving ≥50% token reduction. Its Confluence workflow uses portable managed Markdown plus fresh, source-bound cfxmark proofs; no machine-local database is publication authority.
First-class integration with Claude Code, Codex, and GitHub Copilot. A single atls setup wizard configures URLs, tokens, and the auto-loaded Skill for all three agents in one pass.
Why atlassian-skills?
| mcp-atlassian (MCP) | atlassian-skills (CLI) | |
|---|---|---|
| Interface | MCP protocol (JSON-RPC) | Shell CLI (atls) |
| Schema overhead per session | ~15,000 tokens | <400 tokens |
| Response payload size | Full JSON | 7–34% of MCP |
| Full workflow (end-to-end) | Baseline | 91% reduction |
| Confluence markup round-trip | Lossy (XHTML re-serialization) | Source-bound proof + informed loss consent via cfxmark |
| Jira body preservation | Drops special chars | Byte-preserving |
| Server/DC support | Partial | Full (primary target) |
| AI agent setup | Manual MCP config | One interactive wizard (atls setup) for Claude Code + Codex + GitHub Copilot |
| Bitbucket Server | Not supported | Full (0.2.0) — PR workflow, comments, tasks, build status |
| Bamboo | Not supported | Not supported |
Quick install
uv tool install atlassian-skills # or: pipx install atlassian-skills / pip install atlassian-skills
atls setup # interactive wizard — URLs, tokens, local attachment writer, agent skills
atls doctor # verify configuration + auth
That's it. The wizard stores tokens in your OS keyring and installs the agent skills in one pass — no shell restart needed. On Windows it also offers an optional compatibility attachment writer; native writes remain the default. Prefer environment variables or a secret-manager command instead? See Manual setup below; the wizard is keyring-only for credentials.
⚠️ Run
atls setupdirectly in your terminal — never through an AI agent's shell tool. The wizard refuses non-TTY stdin and prompts hide token input from terminal echo; running it through an agent would force the agent to fulfil the token prompt from chat, leaking the value into LLM context.
Don't have a package manager yet? (Linux / macOS / Windows)
If you'll use plain pip, skip this entirely.
uv (recommended)
# Linux / macOS
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Alternatives: brew install uv (macOS), winget install astral-sh.uv (Windows), pipx install uv (cross-platform). Full options in the uv installation docs.
Manual setup (env vars / config.toml / multi-profile)
If you'd rather skip the wizard and set everything by hand:
1. Create access tokens
- Jira: Profile → Personal Access Tokens → Create
- Confluence: Profile → Personal Access Tokens → Create
- Bitbucket: Profile → Manage Account → HTTP access tokens → Create (permissions: project read, repository read/write)
2. Configure server URLs
atls config set profiles.default.jira_url https://your-jira.example.com
atls config set profiles.default.confluence_url https://your-confluence.example.com
atls config set profiles.default.bitbucket_url https://your-bitbucket.example.com
Or via environment variables:
export ATLS_DEFAULT_JIRA_URL="https://your-jira.example.com"
export ATLS_DEFAULT_CONFLUENCE_URL="https://your-confluence.example.com"
export ATLS_DEFAULT_BITBUCKET_URL="https://your-bitbucket.example.com"
For non-default profiles, replace DEFAULT with the profile name (e.g. ATLS_CORP_JIRA_URL).
3. Set tokens (Linux / macOS — ~/.zshrc / ~/.bashrc)
# Standard names (compatible with existing MCP servers)
export JIRA_PERSONAL_TOKEN="your-jira-pat"
export CONFLUENCE_PERSONAL_TOKEN="your-confluence-pat"
export BITBUCKET_TOKEN="your-bitbucket-http-access-token"
# Multi-profile
export ATLS_CORP_JIRA_TOKEN="..."
export ATLS_CORP_CONFLUENCE_TOKEN="..."
export ATLS_CORP_BITBUCKET_TOKEN="..."
File-based storage (manual — for the security-conscious without a keyring)
The wizard no longer manages ~/.secrets — it stores tokens in the OS keyring only. If you'd rather keep each token in a 0600-mode file and source it yourself — independent of the wizard — set it up by hand:
mkdir -p ~/.secrets && chmod 700 ~/.secrets
printf '%s' 'YOUR_JIRA_PAT' > ~/.secrets/jira_pat && chmod 600 ~/.secrets/jira_pat
printf '%s' 'YOUR_CONFLUENCE_PAT' > ~/.secrets/confluence_pat && chmod 600 ~/.secrets/confluence_pat
printf '%s' 'YOUR_BITBUCKET_PAT' > ~/.secrets/bitbucket_pat && chmod 600 ~/.secrets/bitbucket_pat
# Then in ~/.zshrc or ~/.bashrc:
# >>> atls env >>>
[ -f ~/.secrets/jira_pat ] && export JIRA_PERSONAL_TOKEN="$(cat ~/.secrets/jira_pat)"
[ -f ~/.secrets/confluence_pat ] && export CONFLUENCE_PERSONAL_TOKEN="$(cat ~/.secrets/confluence_pat)"
[ -f ~/.secrets/bitbucket_pat ] && export BITBUCKET_TOKEN="$(cat ~/.secrets/bitbucket_pat)"
# <<< atls env <<<
Set tokens (Windows)
atls runs natively on Windows; pick whichever method you prefer — all produce the same result.
- System Properties GUI:
Win + R→sysdm.cpl→ Advanced → Environment Variables → New (under User variables):JIRA_PERSONAL_TOKEN,CONFLUENCE_PERSONAL_TOKEN,BITBUCKET_TOKEN, plusATLS_DEFAULT_*_URL. Open a new terminal afterwards. - PowerShell (permanent, picked up by new sessions):
[Environment]::SetEnvironmentVariable("JIRA_PERSONAL_TOKEN", "your-jira-pat", "User") [Environment]::SetEnvironmentVariable("ATLS_DEFAULT_JIRA_URL", "https://your-jira.example.com", "User")
- cmd /
setx(permanent):setx JIRA_PERSONAL_TOKEN "your-jira-pat" setx ATLS_DEFAULT_JIRA_URL "https://your-jira.example.com"
atls config set ...works identically on Windows — config is stored at%APPDATA%\atlassian-skills\config.tomlviaplatformdirs.
Basic auth (legacy instances without PAT support)
Older Jira (< 8.14) and Confluence (< 7.9) predate Personal Access Tokens. For those:
export ATLS_DEFAULT_JIRA_AUTH=basic
export ATLS_DEFAULT_JIRA_USER=myname
export ATLS_DEFAULT_JIRA_TOKEN=<password-or-api-token>
The same *_AUTH=basic / *_USER / *_TOKEN triple works for jira, confluence, and bitbucket.
4. Verify
atls auth status # equivalent to the Auth section of `atls doctor`
Priority
- URLs — CLI flags >
ATLS_*env > config.toml - Tokens — CLI flags >
ATLS_*env >JIRA_PERSONAL_TOKEN/CONFLUENCE_PERSONAL_TOKEN/BITBUCKET_TOKEN> the profile'sstorageprovider (keyring / command)
Prefer not to keep tokens in env vars? See System keyring and shell-command providers below to store them in the OS keyring or fetch them from 1Password /
pass/ Bitwarden on demand.
System keyring and shell-command providers (no persistent env vars)
atls resolves a token from the first source that has one: CLI flag → env var → the profile's storage provider. The atls setup wizard only ever writes to the keyring; the other two providers are configured by hand (this section + Manual setup).
storage |
set up by | platform | when to use |
|---|---|---|---|
keyring |
the wizard (or by hand) | macOS, Linux desktop, Windows | personal machine, dotfile-synced configs |
| env vars | you (export / atls config / Manual setup) |
all | simple; the only option that works headless / CI / Docker |
command |
you (edit config.toml) |
all (bring your own tool) | already using 1Password / pass / bw / PowerShell |
storage selects a single provider — it is not a fallback chain. An env var always wins at resolution time, so a quick export overrides the keyring without touching config (and the wizard will skip a product whose token is already in the environment).
System keyring — uses the platform's native credential store (macOS Keychain, Windows Credential Manager, Linux Secret Service). The keyring package ships with atls by default (no extra needed). Save tokens once, then point the profile at the keyring:
# Save tokens to the system keyring (run once per token — works on all platforms)
python -c "import keyring; keyring.set_password('atls-default', 'jira_token', 'your-jira-pat')"
python -c "import keyring; keyring.set_password('atls-default', 'confluence_token', 'your-confluence-pat')"
The keyring service name is atls-<profile> and the account is <product>_token (e.g. service atls-default, account jira_token).
# ~/.config/atlassian-skills/config.toml
attachment_writer = "native" # Windows also supports "compatible"; native is the default
[profiles.default]
jira_url = "https://your-jira.example.com"
storage = "keyring"
Shell command — run any command that prints the token to stdout. The feature is cross-platform; the command itself is whatever your OS and secret manager support:
# ~/.config/atlassian-skills/config.toml
[profiles.default]
jira_url = "https://your-jira.example.com"
storage = "command"
# One command for all products (1Password CLI)
credential_command = "op read op://vault/atlassian/token"
# …or a different command per product (takes priority over credential_command)
jira_command = "op read op://vault/jira/token"
confluence_command = "op read op://vault/confluence/token"
bitbucket_command = "op read op://vault/bitbucket/token"
# macOS Keychain : security find-generic-password -s my-jira-token -w
# Linux (pass) : pass show jira/pat
# Bitwarden CLI : bw get password jira
# Windows PowerShell: powershell -NoProfile -Command "(Get-StoredCredential -Target jira-pat).GetNetworkCredential().Password"
The command runs with a 5-second timeout; exit code must be 0 and stdout is used as the token.
Inspect what each product resolves to (probes keyring / runs the command — may prompt for Touch ID or a passphrase):
atls auth status # configured-only (does not run keyring/command)
atls auth status --resolve # actually probes each provider
What the wizard does, step by step
The wizard is keyring-only for credentials: tokens go only to your OS keyring. It also stores non-secret settings such as the Windows attachment writer in config.toml. Environment variables and shell-command secret managers still work at call time (the resolver checks env > keyring > command), but you configure those by hand — see Manual setup. The wizard never edits your shell rc or env.
- TTY guard — refuses to run if stdin isn't a real terminal (protects tokens from being fed in through AI-agent shell tools).
- Env-token detection — if atls already finds a token in your environment (
ATLS_DEFAULT_<PRODUCT>_TOKENorJIRA_PERSONAL_TOKENetc.), the wizard says so up front. Because env outranks the keyring, it skips those products (a keyring entry would just be shadowed) and leaves your env setup untouched. To move one to the keyring: unset its env var, remove it from your shell rc, open a new terminal, and re-run. - Windows only: attachment writer [1/5]. Native is the visible default and starts no helper process. Keep it unless downloaded attachments are altered or blocked by Windows file-protection software. Compatibility is an explicit per-user setting that applies to all profiles; setup checks Git Bash, Perl, and
Digest::SHAbefore saving it. Re-running setup shows and preserves the current choice when you press Enter. - Product steps — [1/4]–[3/4] normally, [2/5]–[4/5] on Windows. Each step prints the current URL + where the token lives (
environment variable (VAR)orkeyring storage), then asks[s]kip / [e]dit / [r]emove(defaults, orewhen there's nothing yet).skipleaves it as-is.[e]ditprompts for the URL (saved to~/.config/atlassian-skills/config.toml); then, unless the product's token is in the environment, prints the PAT issuer link and takes a hidden PAT prompt →keyring.set_password("atls-<profile>", "<product>_token", …).[r]emoveclears the URL and deletes the product's keyring entry (it never touches your env vars or shell rc). - Keyring availability — if the
keyringpackage can't be imported the wizard aborts with a reinstall hint. After saving, if the session looks headless (Docker / WSL / no D-Bus / text-only SSH) it warns that the keyring may be locked and points you at env (Manual setup). - AI agent skills — [4/4] normally, [5/5] on Windows.
[Y/n]prompt for each:- Claude Code (default
Y):~/.claude/skills/atls/SKILL.md+ routing block in~/.claude/CLAUDE.md - Codex (default
Y):~/.codex/skills/atls/SKILL.md+ routing block in~/.codex/AGENTS.md - GitHub Copilot (default
Y):~/.copilot/skills/atls/SKILL.md+ routing block in~/.copilot/copilot-instructions.md. Cross-platform viaPath.home()— works identically on Linux, macOS, and Windows (%USERPROFILE%\.copilot\...). WSL note:~/.copilothere lives in the WSL filesystem and is invisible to a native Windows Copilot CLI install; the wizard prints a one-line warning when this is detected.
- Claude Code (default
- Verify — probes each provider (
auth status --resolve) so you see whether each product actually resolves (source=env/keyring) before you exit.
Re-run atls setup any time. Defaults are non-destructive (s skips a product, Y installs an agent skill), and storage flips to keyring only when you actually store a token — a pure Enter-through leaves an env-based setup exactly as it was.
Quick Start
# Jira
atls jira issue get PROJ-1
atls jira issue search "project=PROJ AND status=Open" --limit=20
atls jira issue create --project PROJ --type Story --summary "New feature" --body-file=story.md --body-format=md
# Confluence read and managed edit
atls confluence page get 12345
atls confluence page search "space=DOCS AND title=API"
atls confluence page get 12345 --body-repr=md --format=md
atls confluence page copy 12345 --parent-id 67890 --space DOCS --title "run-20260717-page-001" --include-attachments --verify --reason "Validation baseline" --dry-run --format=json
atls confluence page copy 12345 --parent-id 67890 --space DOCS --title "run-20260717-page-001" --include-attachments --verify --reason "Validation baseline" --format=json
atls confluence page pull-md 12345 --output=page.md --resolve-assets=sidecar --asset-dir=assets/ --format=json
atls confluence page validate-local page.md --format=json
atls confluence page push-md 12345 --md-file=page.md --if-version 15 --dry-run --format=json
# Jira description from markdown
atls jira issue update PROJ-1 --body-file=desc.md --body-format=md --heading-promotion=jira
# Jira comment / worklog from markdown
atls jira comment add PROJ-1 --body-file=comment.md --body-format=md
atls jira comment edit PROJ-1 12345 --body-file=comment.md --body-format=md
atls jira worklog add PROJ-1 --time-spent-seconds 1800 --comment "$(cat note.md)" --comment-format=md
Talking to your AI agent in natural language
Once atls setup has installed the Skill, your AI agent translates plain language into the right CLI call automatically:
"Read PROJ-123 and summarize the acceptance criteria."
"Search for open bugs in the PLATFORM project assigned to me."
"Pull the API Overview page from Confluence, add a rate-limiting section, and push it back."
"Create a Story in PROJ: title 'Add retry logic to payment service', and paste the description from desc.md."
The agent picks the right output format and handles pagination + error codes for you.
Agent usage tips
# 1. Token-efficient: compact format is the default
atls jira issue search "project=PROJ AND status=Open"
# 2. Use md format only when you need to read the body
atls jira issue get PROJ-1 --format=md
# 3. Use json format for automation/parsing
atls jira issue get PROJ-1 --format=json | jq '{key, summary, status}'
# 4. Confluence managed page editing workflow
atls confluence page pull-md PAGE_ID -o page.md --resolve-assets=sidecar --asset-dir=assets/ --format=json
# Edit page.md. The portable v2 manifest and adjacent asset comments are the only local baseline.
atls confluence page validate-local page.md --format=json
atls confluence page push-md PAGE_ID --md-file page.md --if-version 15 --dry-run --format=json
# If JSON reports migration_consent_required, show the loss summary first and obtain informed user approval.
# Then run exactly the returned next_actions[].argv; never synthesize or persist its fingerprint.
atls confluence page push-md PAGE_ID --md-file page.md --if-version 15 --reason "Update documentation" --minor-edit
# 5. Branch on exit codes
# 0=OK, 2=not found/usage, 3=permission, 4=state/output conflict,
# 5=stale version, 6=auth failure, 7=validation/migration,
# 10=network, 11=rate limited
Confluence pull-first Markdown
For a current-page baseline clone, use confluence page copy only with a verified run-owned destination parent and an
explicit unique run-scoped --title. It reads the source without modifying it, stages every
attachment before creating anything, creates a version-1 destination from the exact storage body, uploads each attachment
under its exact Confluence title, and verifies the destination storage and attachment bytes. If the source has attachments,
--include-attachments is required; use --dry-run first and keep --verify enabled. --reason adds a visible comment to
the new page. A failed copy removes only a destination whose exact title, space, parent, version, storage, and empty initial
attachment set prove that this command created it. An unknown create outcome reports recovery candidates in JSON and never
guesses an ID for upload or cleanup. Never copy into the source tree or treat a user-supplied arbitrary parent as run-owned.
Page history, comments, labels,
restrictions, likes, watchers, and attachment version history are intentionally not copied.
Choose the narrowest workflow that matches the intended change:
- Read:
page get PAGE_ID --body-repr=mdreturns content-only readable Markdown.--body-repr=view --format=rawreturns exact server-rendered HTML. Neither is publish input. - Inspect:
page inspect PAGE_ID --format=jsonreports conversion loss and recommendspatch-text,pull-md, or the exact-append proof path without writing. - Small text correction: dry-run
page patch-text PAGE_ID --find ... --replace ... --if-version N --format=json, then repeat only when exactly one decoded plain-text storage leaf is patchable. Batch patches use a versioned--patch-file. Attributes, macro/code bodies, duplicates, overlaps, boundary-spanning matches, and remote drift fail before PUT. - Structure, formatting, table, or image work:
page pull-md PAGE_ID --output page.md --format=json. The output is portable managed Markdown with a v2 manifest and source-bound cfxmark migration comments. It may be copied or moved; there is no checkout registry or one-path restriction. - Locally authored Markdown:
page createorpage update --body-format=mduses the same source-conversion loss report and informed-consent fingerprint as managed push.
Pull always publishes the managed file, even when conversion reports losses. Status is pulled or pulled_with_migrations; loss reporting is guidance, not a hidden local approval state. The file contains no raw storage XHTML or credentials. Unknown/opaque constructs are preserved only when the cfxmark artifact proves that behavior; otherwise they appear as migration loss.
Before publishing, run validate-local and push-md --dry-run --format=json. Local validation checks only the manifest, Markdown bytes, and referenced local assets, and reports remote_freshness=not_checked. Push fetches fresh storage/version, verifies page/site/resource identity, and evaluates proofs in this order:
no_changeexact_remote_prefix_appendfull_migration
Exact EOF append converts only the appended fragment and preserves the complete existing remote storage prefix byte-for-byte. Any edit within existing Markdown, asset change, ambiguity, or new blocker disqualifies that path.
A lossy full migration never writes without the exact migration_fingerprint returned by the current dry-run. Show the loss summary before asking for approval. On approval, execute the response's next_actions[].argv exactly; the argv contains only CLI constants and arguments supplied by the caller. Do not auto-approve, retain the fingerprint in a file/config/cache, or reuse it after the remote source or local candidate changes. The final command repeats version/hash checks immediately before mutation and verifies a fresh read-back.
Table backgrounds omitted from readable Markdown are reported as conversion loss/presentation diagnostics. They are not hidden protected state, and there is no table-style command. Hard line breaks use literal <br>. Image presentation metadata remains adjacent to its asset identity comment, for example <!-- cfxmark:img w=320 h=200 thumbnail=1 align=center --><!-- cfxmark:asset src="assets/a.png" -->.
Assets are matched by attachment ID, remote version, remote filename, and local hash. Body and asset dirtiness are independent: unchanged references are not reuploaded, unreferenced files are ignored, and removing a reference never deletes the remote attachment. Partial progress is recorded in operation comments inside the managed Markdown, without raw storage, full Markdown copies, or credentials. Success removes the operation comments. After a crash or response loss, rerun the same push-md; it reconciles upload_unknown, body_put_failed, readback_pending, reconciled, or conflict from fresh remote evidence and never treats an unproved upload or PUT as success.
The durable operation journal belongs only to managed push-md. page create, page update, page copy, and
patch-text use their documented fresh-read/read-back or idempotent-selector contracts but do not gain the managed-file
journal. Direct page update --body-format=storage accepts caller-authored storage bytes and is outside Markdown
conversion consent; it still performs version and read-back checks. A cfxmark version change invalidates pending
consent fingerprints and the converter binding in existing managed files.
Independent confluence attachment upload and upload-batch remain filename-oriented compatibility surfaces with explicit --if-exists policy. They do not participate in managed Markdown's attachment proof. atls setup uninstall preserves managed files, assets, configuration, credentials, and remote content by default. --state --yes only removes a verified legacy 0.3.0-candidate SQLite artifact and never opens it as runtime authority.
Attachment downloads use authenticated streaming with a 100 MiB per-response hard limit. Oversized or falsely declared responses fail before local publication instead of consuming unbounded memory or disk.
See the 0.3 migration guide for the complete lifecycle and recovery rules.
Output Formats
| Format | Flag | Use case |
|---|---|---|
| compact | default | LLM scanning, minimal tokens |
| json | --format=json |
Automation, structured parsing |
| md | --format=md |
Body/description reading |
| raw | --format=raw |
Byte-preserving body access |
--format can be placed globally or locally on subcommands:
# Global placement
atls --format=json jira issue get PROJ-1
# Local placement (preferred for readability)
atls jira issue get PROJ-1 --format=json
With --format=json, structured result and error envelopes are written to stdout and stderr remains empty. Human-readable warnings and diagnostics use stderr so Markdown or other primary stdout payloads stay clean.
Some commands use
-ffor file input (e.g.push-md). After the subcommand, always use the long form--format=to avoid ambiguity.
Command Reference
Jira (45 commands: 22 read + 23 write)
jira issue get|search|create|update|delete|transition|transitions|dates|sla|imagesjira comment add|editjira field search|optionsjira project list|issues|versions|components|versions-createjira board list|issuesjira sprint list|issues|create|update|add-issuesjira link list-types|create|remote-list|remote-create|deletejira epic linkjira watcher list|add|removejira worklog list|addjira attachment download|upload|deletejira dev-info get|get-manyjira service-desk list|queues|queue-issuesjira user get
Confluence
confluence page get|inspect|search|children|history|diff|images|create|copy|update|patch-text|delete|move|push-md|validate-local|pull-md|pull-batch|diff-localconfluence space treeconfluence comment list|add|replyconfluence label list|addconfluence attachment list|download|download-all|upload|upload-batch|deleteconfluence user search
--passthrough-prefixis supported on Confluence Markdown conversion commands: readablepage get,push-md,pull-md,pull-batch, anddiff-local.
Bitbucket (33 commands: 11 read + 22 write)
bitbucket project listbitbucket repo list|getbitbucket pr list|get|diff|comments|commits|activity|create|update|merge|decline|approve|unapprove|needs-work|reopen|diffstat|statuses|pending-reviewbitbucket branch listbitbucket file getbitbucket comment add|reply|update|delete|resolve|reopenbitbucket task list|get|create|update|delete
All write commands support
--dry-run. PR diff and file get treat--format=mdas raw text passthrough.
Utility
setup— interactive wizard (URLs, tokens, Claude/Codex skill, auto-verify)setup uninstall [--dry-run] [--state|--config|--credentials --yes]— remove only explicit atls-owned surfacessetup --skills-only— silent skill refresh, used byatls upgradedoctor— diagnose installation: platform, paths, skill version markers, auth resolutionauth login|status|listconfig get|set|pathupgrade— auto-detects uv / pipx / pip and refreshes skill assetsversion [--check]— show installed version;--checkexits 1 if outdated vs PyPIsetup codex|claude|all|paths|status(deprecated compatibility shims in 0.3.x; removal planned for 0.4.0) — replaced bysetup(wizard) anddoctor
Corporate network (proxy & TLS)
If atls fails before it ever reaches your instance, start here:
atls doctor --check-auth # classifies 401 / 403 / proxy interception / TLS / DNS
atls --verbose 2 jira user me # per-request log on stderr (tokens are redacted)
--verbose writes to stderr only, so --format=json on stdout stays parseable. Levels are
1 (one line per request), 2 (+ headers, proxy env), 3 (+ response shape — never the body).
Proxy
atls uses the standard environment variables (HTTPS_PROXY, HTTP_PROXY, NO_PROXY) through httpx.
NO_PROXY does not accept * wildcards. Each entry is matched as a suffix, so:
NO_PROXY value |
matches jira.corp.example.com? |
|---|---|
*.corp.example.com |
no — the * is taken literally |
.corp.example.com |
yes (subdomains) |
corp.example.com |
yes (the domain and its subdomains) |
Listing every host individually is not necessary — drop the * and use the leading-dot form.
A proxy that intercepts the request usually shows up as a 3xx or as a 200 with
content-type: text/html; both are reported explicitly by atls doctor --check-auth.
TLS with a private / self-signed CA
Since 0.3.2, atls verifies TLS against the OS trust store by default (via truststore, the same mechanism pip uses). If the corporate root CA is installed in the operating system — it is, if the browser on the same machine trusts your instance — atls needs no TLS configuration at all.
When you do need to override (precedence: ca_bundle → SSL_CERT_FILE/SSL_CERT_DIR → OS
trust store):
# Preferred: per-profile, applies to atls only — cannot break other tools
[profiles.default]
jira_url = "https://jira.corp.example.com"
ca_bundle = "/etc/ssl/corp/root-ca.pem" # a PEM file (or an OpenSSL hashed directory)
# Environment — CAUTION: process-global. uv, pip, node and anything else that honours
# SSL_CERT_FILE reads it too, and a file they cannot parse breaks *them* as well
# (a broken SSL_CERT_FILE stops uv from building its HTTP client at all).
# The file must be strictly PEM (Base-64). Prefer ca_bundle above.
export SSL_CERT_FILE=/etc/ssl/corp/root-ca.pem
# Directory form — requires an OpenSSL *hashed* layout (c_rehash), not a plain
# folder of .pem files. A plain folder is accepted silently and adds no trust,
# then fails at handshake time. Prefer SSL_CERT_FILE unless you already run c_rehash.
export SSL_CERT_DIR=/etc/ssl/corp/certs.d
atls doctor prints which of these is actually in effect, checks that an SSL_CERT_FILE
actually loads as PEM, and warns about the hashed-layout trap.
Exporting the CA on Windows. The certificate has to be PEM (Base-64). Export-Certificate
writes DER (or SST for multiple certs), so either export the single corporate root from
certmgr.msc as Base-64 encoded X.509 (.CER), or convert an existing DER file:
certutil -encode corp-root-der.cer corp-root.pem
Do not create the file with PowerShell redirection (> / Out-File) — that writes UTF-16,
which OpenSSL (and uv) cannot parse. certutil -encode writes it correctly.
Upgrading behind a TLS-inspecting proxy
The download itself can fail certificate verification, which is separate from atls's own TLS config:
atls upgrade --system-certs # uv installs: trusts the OS certificate store
SSL_CERT_FILE=/etc/ssl/corp/root-ca.pem atls upgrade # any installer
--system-certs is opt-in rather than automatic, because older uv builds reject the flag.
Write Safety
- Use
--dry-runwhere the command exposes it. - Use
confluence page copy --parent-id RUN_PARENT --space SPACE --title UNIQUE_RUN_TITLE --include-attachments --verify --reason TEXT --dry-run --format=jsonbefore creating a verified run-owned Server/DC baseline clone. - Use
--if-version Nfor Confluence page update and managedpush-md. - Use
--if-updated ISOfor Jira updates. - Managed
push-mdrequires--md-file PATHand does not accept legacy attachment upload flags. Its smart asset plan comes from the portable manifest, adjacent asset records, local hashes, and a fresh remote attachment inventory. - Use
confluence attachment upload|upload-batchfor attachment operations outside the managed Markdown workflow.
Jira Custom Fields
For scripting, explicitly requested customfield_* keys are preserved in JSON output:
atls jira issue get PROJ-1 --fields=summary,customfield_10100 --format=json
atls jira issue search "project=PROJ" --fields=summary,customfield_10100 --format=json
For writes, --set-customfield verifies the result with a read-back check and exits with a validation error if Jira accepts the request but does not apply the value:
atls jira issue update PROJ-1 --set-customfield customfield_10100=EPIC-1
If the field expects a structured payload instead of a plain string/key, use --fields-json instead of --set-customfield.
Migrating from mcp-atlassian
atlassian-skills is a CLI re-implementation of mcp-atlassian's Jira and Confluence operations. If you are currently using mcp-atlassian:
| mcp-atlassian | atlassian-skills |
|---|---|
| MCP protocol (JSON-RPC over stdio) | Shell CLI (atls <command>) |
| Full JSON responses every call | compact by default, json/md/raw on demand |
| ~15k token schema overhead per session | <400 tokens (CLI help only when needed) |
JIRA_PERSONAL_TOKEN env var |
Same env var works, plus ATLS_* for multi-profile |
| Cloud + Server/DC | Server/DC only (primary target) |
| Separate Jira wiki / Confluence XHTML handling | Unified via cfxmark — single dependency for all markup |
| Confluence edits can silently alter content | Source-bound cfxmark proof and explicit informed loss consent |
| Silent character dropping in Jira descriptions | Byte-preserving --format=raw mode |
Token-compatible auth: If you already have JIRA_PERSONAL_TOKEN and CONFLUENCE_PERSONAL_TOKEN set for mcp-atlassian, atls picks them up automatically — no reconfiguration needed.
Architecture
- CLI-first: All functionality accessible via the
atlsbinary. AI agent skills are thin wrappers that invoke CLI commands. - Single HTTP client:
httpx-basedBaseClientwith retry (429/5xx), pagination, and auth. - cfxmark integration: Confluence storage/Markdown artifacts carry typed diagnostics, source maps, preservation signatures, and presentation; Jira wiki conversion uses the same dependency.
- Portable state-free control plane: the managed Markdown manifest binds page/site/version/source hashes, while fresh remote reads and source-bound cfxmark proofs authorize writes. Recovery uses bounded operation comments that are removed after success; there is no global publication database.
- Pydantic v2 models: Strict response parsing for stable fields, with Jira
customfield_*passthrough in JSON output.
Key Dependencies
| Package | Purpose |
|---|---|
| httpx | REST client (sync) |
| typer + rich | CLI framework |
| pydantic | Response models |
| cfxmark ≥ 0.5, < 0.6 | Source-bound ownership proofs, managed Markdown projection, migration diagnostics, and Jira wiki conversion |
| platformdirs | Config path resolution |
Development
# Setup
uv sync
# Local install (editable)
uv tool install -e . # from repo root
uv tool install --force -e . # reinstall after entrypoint changes
# Test
uv run pytest
# Lint
uv run ruff check src/ tests/
uv run mypy src/
# Build
uv build
Roadmap
- 0.1.x — Jira + Confluence read/write, push-md/pull-md/diff-local, benchmarks, GitHub Actions CI/release
- 0.2.x — Bitbucket Server/DC PR workflow + Skill-first Claude/Codex integration
- 0.2.7 —
atls setupinteractive wizard +atls doctor;setup all/codex/claude/paths/statusdeprecated - 0.3.0 (current) — portable Markdown-first Confluence workflow, source-bound informed consent, exact EOF-append preservation, state-free asset/body recovery, readable view/inspect, and smart asset synchronization
- 0.4.0+ — typed table-style editing, Async client, caching, non-interactive
atls setup, fish shell support, multi-profile wizard
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file atlassian_skills-0.3.2.tar.gz.
File metadata
- Download URL: atlassian_skills-0.3.2.tar.gz
- Upload date:
- Size: 437.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ecc34df8ba5d985ea3cc26cb6ca473742bd0da9c5d723f5eede9499e1f297e2
|
|
| MD5 |
f4f65488ef34ae6791d47dacc8a3a011
|
|
| BLAKE2b-256 |
ece8bbbe5d17ba588ea31c56524dbf2b4e7c730b5fbb300e9ec06e20ad40748e
|
File details
Details for the file atlassian_skills-0.3.2-py3-none-any.whl.
File metadata
- Download URL: atlassian_skills-0.3.2-py3-none-any.whl
- Upload date:
- Size: 235.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f82beb052e6eb365258a0b8c9f1d3c388aab90cc44fac9992702f4adbefaf04
|
|
| MD5 |
121ea40f1eed197eab80348dc2f98759
|
|
| BLAKE2b-256 |
7ac61c998a37be1c1b8b9ea6d3b2dbbce24eeb13cc754e114c56d03bd4595706
|