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.
npx skills add phamviet86/codex-a2a-gateway --skill codex-a2a-setupgit clone --depth 1 https://github.com/phamviet86/codex-a2a-gatewayWrote 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.
[](https://agentmods.dev/skills/phamviet86/codex-a2a-gateway/codex-a2a-setup)<a href="https://agentmods.dev/skills/phamviet86/codex-a2a-gateway/codex-a2a-setup"><img src="https://agentmods.dev/badge/skills/phamviet86/codex-a2a-gateway/codex-a2a-setup/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.
<a href="https://agentmods.dev/skills/phamviet86/codex-a2a-gateway/codex-a2a-setup"><img src="https://agentmods.dev/badge/skills/phamviet86/codex-a2a-gateway/codex-a2a-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.00693 |
| Opus 5 | $0.00024 | $0.00347 |
| Sonnet 5 | $0.00010 | $0.00139 |
| Haiku 4.5 | $0.00005 | $0.00069 |
Grade A, and why
codex-a2a-setup scanned grade A with 0 findings 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 3d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Set up Codex A2A Gateway
Complete the requested installation using the existing CLI; this skill is the setup workflow. Preserve the user's selected host, workspace, mode, and existing authentication. Ask only for required values that cannot be obtained from the request or current configuration.
Read runtime.json, generated by install-skills, for the absolute Python command array. Append CLI arguments to that array using a subprocess argument list; do not execute a JSON string as shell code. Run --version and --help before configuration. The reference contains no credentials and works outside the original checkout. If its Python was moved or removed, reinstall the package/skills using the selected replacement environment; do not silently select an unrelated PATH executable.
- Determine
outbound(Codex asks Hermes),inbound(A2A client asks Codex), orboth. Reuse a settled choice; ask once if direction is materially unknown. Only inbound needs an explicit Codex workspace. Generic inbound A2A clients do not require Hermes. - Inspect existing registrations and selected host prerequisites. Outbound requires a configured Hermes default agent and active local Hermes A2A platform. Inbound requires a Codex CLI with existing sign-in and accessible workspace. Provider login belongs to Codex/Hermes: there is no universal gateway API key. Do not solicit or print tokens in chat.
- Follow the relevant sections of workstation configuration. Preserve unrelated client entries and Hermes settings. Keep A2A on loopback. Use an absolute, persistent launcher when configuration must survive GUI launches; shell-only
exportis insufficient. Install startup services only when the user requests or opts into automatic startup. - Run
doctor --modefor the selected direction through the same launcher/environment used at runtime. Outbound mode checks Hermes; inbound mode checks the local gateway, workspace and Codex executable without Hermes. Read-only checks do not prove sign-in or model execution. Confirm MCP registration and tool discovery from a fresh client session. Already installed skills can be checked withinstall-skills --check --dest <current-skills-root>(derive the root from this skill directory, retaining a custom install destination); differing managed files require review before--replace. - If the user has authorized a live model test, send one harmless uniquely identified task for each selected direction and retrieve its result. Otherwise report live execution unverified. Retain stable task handles; never resend after an ambiguous timeout.
If a gateway-created Codex worker needs RAG, verify local-rag-mcp registration in the actual execution host/Codex configuration and verify discovery or a harmless retrieval in that worker context. Same-host configuration may already provide it; Desktop-injected tools/plugins are not automatically inherited. Do not infer availability from the Desktop tool list or gateway health.
Finish with installed runtime, selected direction/workspace, readiness evidence, and any missing prerequisite. Distinguish configured transport from verified model execution. For normal work use the installed codex-a2a skill; do not rerun setup for every task.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3d ago First seen · 21 lines · 49 tokens per session scan A c9c19582d556
codex-a2a-setup is a skill published in the GitHub repository phamviet86/codex-a2a-gateway (0 stars, last pushed yesterday), licensed Apache-2.0. It adds 49 tokens to every session and 693 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-14.
Other skills, from other repositories
draw-image
Generate an image from a text prompt using an OpenAI-compatible image generation API (gpt-image-1-mini or compatible). The image is uploaded to the gofile.io public file sharing service and ONLY the public download page URL is returned. Trigger when user asks to draw, paint, generate, or create an image.
A2A JSON-RPC Call
Call a peer agent's A2A JSON-RPC endpoint. Supports tasks/send (send a task message) and tasks/get (query task status).
Fetch Agent Card
Fetch an A2A agent card JSON from a given endpoint URL. Tries direct GET first, then falls back to /.well-known/agent.json.
ironmesh-send
Send an application message (MSG) to a specific IronMesh peer. Use when the user asks to "send X to agent Y" or "ping peer Z". Has side effects — only invoke when the user explicitly asks.
holix-cron
Schedule recurring agent tasks via Holix built-in gateway cron (not crontab or custom scripts).
ironmesh-audit
Tail the tamper-evident IronMesh audit log for security events. Use when investigating a TOFU mismatch, auth failure, peer dropping out, or a suspected attack.