/axiom:axiom-create-orgfrom axiom
Provisions a temporary Axiom organization via a single unauthenticated API call, securely stores the one-time token, and provides the claim URL. Use when an agent needs an Axiom org and none is configured or a throwaway org is requested.
Ships in axiom. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
POST https://api.axiom.co/v2/orgs/provision creates a real Axiom organization and returns a full-access API token. The org is deleted after 24 hours unless a human opens its claim URL.
~/.axiom.toml if one fits the task.The token and claim URL are returned once and can never be retrieved again. Save them before doing anything else, and never print the token, echo the raw response, or commit either value.
Run this as one command so the response only touches a private temp file:
umask 077
resp=$(mktemp)
code=$(curl -sS -o "$resp" -w '%{http_code}' -X POST https://api.axiom.co/v2/orgs/provision \
-H 'Content-Type: application/json' -d '{"name": "<short-task-name>"}')
if [[ "$code" == 200 ]]; then
jq -r '"\n[deployments.\(.id)]\nurl = \"https://api.axiom.co\"\ntoken = \"\(.token)\"\norg_id = \"\(.id)\"\nclaim_url = \"\(.claimUrl)\"\nexpires_at = \"\(.expiresAt)\""' \
"$resp" >> ~/.axiom.toml && chmod 600 ~/.axiom.toml &&
jq '{id, name, defaultEdgeDeployment, expiresAt}' "$resp" && rm -f "$resp"
else
echo "provision failed: HTTP $code" >&2; cat "$resp" >&2; rm -f "$resp"
fi
{} is valid. name defaults to Agent Org <hex>.edgeDeployment unless the user asks for one; the default is US East 1 (AWS).429 Too Many Requests means the daily limit is hit. Retry later with backoff; never loop.~/.axiom.toml fails, the response stays in $resp. Recover the token from it before deleting it.The org id is the deployment name for API-based workflows. Until the org is accessible through an MCP connection, use this skill's API helper (resolve the path from this skill's directory):
scripts/axiom-api <org-id> GET /datasets
For direct calls, send Authorization: Bearer <token> and X-Axiom-Org-Id: <org-id>. Read the token from ~/.axiom.toml into a variable; do not paste it into commands or output. The org behaves like any Axiom org: create datasets, ingest, query, and build dashboards and monitors. The axiom-alerting skill requires a connected Axiom MCP with access to this org; saving the provisioning token does not configure that connection.
Claiming needs a human signed in to Axiom; there is no API for it. Try to open the claim URL in the user's browser, and print it with the deadline:
url=$(awk -F'"' -v d="[deployments.<org-id>]" '$0==d{f=1;next} /^\[/{f=0} f&&/^claim_url/{print $2}' ~/.axiom.toml)
{ open "$url" || { [[ -n "${DISPLAY:-}${WAYLAND_DISPLAY:-}" ]] && xdg-open "$url"; }; } >/dev/null 2>&1 && echo "opened claim URL in browser" || echo "no browser available"
awk -v d="[deployments.<org-id>]" '$0==d{f=1;next} /^\[/{f=0} f&&/^(claim_url|expires_at)/' ~/.axiom.toml
Always show the claim URL once in your reply too: on a remote machine the browser may open where the user cannot see it. Tell the user:
expires_at (24 hours after provisioning).dataset license limit exceeded in testing (not documented). Put related data in one dataset.If the token is lost, the org is unreachable over the API until a human claims it and creates a new token.
Docs: https://axiom.co/docs/console/intelligence/agent-created-orgs
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/axiom-alertingDesign, create, tune, and troubleshoot Axiom monitors and notification routing using Axiom MCP. Use for alert setup, noisy or silent alerts, and requested changes to monitors or notifiers./axiom-build-dashboardDesign, create, and edit Axiom dashboards using Axiom MCP. Use for dashboard requests, chart changes, and migrations from Grafana or Splunk, including APL and metrics/MPL charts, SmartFilters, and layout./axiom-control-costsAnalyze Axiom usage and query history to find potential waste, and build cost dashboards and monitors using Axiom MCP. Use for reducing Axiom costs, reviewing rarely queried data, tracking ingest usage, or setting up cost controls.npx claudepluginhub axiomhq/skills --plugin axiomOther plugins' skills for the same job