setup-new-acpx-key

setup-new-acpx-key is a skill for Claude Code, Codex from XAIHT/Tlamatini. It costs 92 tokens per session (2,907 once invoked), scanned A, original, MIT.

A procedure for configuring the credentials that let a registered ACPX agent run its command-line client. ACPX is the system described here for starting other coding agents.

In plain words
What is it for?
It helps add an API key or other login for one supported agent, update its configuration, regenerate secrets, and verify the result with acpdoctor.
Why use it?
It puts each agent's credential in the expected configuration and environment locations, then checks that the setup works.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions Codex; built for openclaw; mentions Gemini CLI.

Good fit It helps add an API key or other login for one supported agent, update its configuration, regenerate secrets, and verify the result with acpdoctor.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xaiht/tlamatini/setup_new_acpx_key
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add XAIHT/Tlamatini --skill setup_new_acpx_key
Clone the repo
git clone --depth 1 https://github.com/XAIHT/Tlamatini

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup-new-acpx-key

README.md
[![agentmods](https://agentmods.dev/badge/skills/xaiht/tlamatini/setup_new_acpx_key/github.svg)](https://agentmods.dev/skills/xaiht/tlamatini/setup_new_acpx_key)
Your own site
<a href="https://agentmods.dev/skills/xaiht/tlamatini/setup_new_acpx_key"><img src="https://agentmods.dev/badge/skills/xaiht/tlamatini/setup_new_acpx_key/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup-new-acpx-key

Your own site · 80×15
<a href="https://agentmods.dev/skills/xaiht/tlamatini/setup_new_acpx_key"><img src="https://agentmods.dev/badge/skills/xaiht/tlamatini/setup_new_acpx_key.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,907 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00092 $0.02907
Opus 5 $0.00046 $0.01453
Sonnet 5 $0.00018 $0.00581
Haiku 4.5 $0.00009 $0.00291

Measured 9d ago against content hash 3167b853dcca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

setup-new-acpx-key scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

`subprocess.Popen(env={**os.environ, **spec.env})` in
Tlamatini/agent/skills_pkg/setup_new_acpx_key/SKILL.md · 270 lines

How it starts

The opening of the file, as written. The whole thing — 270 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Set Up a New ACPX Agent Key

Configures the credential for ONE ACPX agent_id so acp_spawn(agent_id=...) launches the child CLI authenticated. The runtime never asks the LLM for a key: each child reads its canonical env var, injected via subprocess.Popen(env={**os.environ, **spec.env}) in agent/acpx/runtime.py::AcpSession.spawn_child() (and _oneshot_send_turn).

Canonical env-var map

agent_id Env var the CLI reads Top-level config.json key?
claude ANTHROPIC_API_KEY YES — also read by imaging/image_interpreter.py + opus_client/claude_opus_client.py.
gemini GEMINI_API_KEY (+ GOOGLE_API_KEY alias) YES — see _section_gemini in config.json.
codex OPENAI_API_KEY NO.
qwen DASHSCOPE_API_KEY NO.
cursor none (uses own login) NO.
copilot none (gh auth login) NO.
pi, droid, iflow, kilocode, kimi, kiro, opencode per upstream — check each CLI's docs NO.
tlamatini n/a (self-host) NO.

If unsure: agent/acpx/agent_registry.py::DEFAULT_ACP_AGENTS.

Procedure

1. Verify the CLI is resolvable

The runtime calls windows_spawn.resolve_command(spec.command) at spawn time and surfaces AGENT_NOT_FOUND if it cannot find the binary.

where ${cli_command}        # Windows
which ${cli_command}        # POSIX

If absent: install the CLI per its upstream docs, or pass command_override and add it to the agent block in step 3.

2. Add the secret to data.keys (gitignored vault)

Read the full file on GitHub · 270 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 270 lines · 92 tokens per session scan A 3167b853dcca

Subscribe to this mod's changes

setup-new-acpx-key is a skill published in the GitHub repository XAIHT/Tlamatini (16 stars, last pushed today), licensed MIT. It adds 92 tokens to every session and 2,907 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.