Agmente: Skill for Codex

.agents/skills/codex-local-cli-e2e/SKILL.md

codex-local-cli-e2e is a skill for Codex from rebornix/Agmente. It costs 63 tokens per session (656 once invoked), scanned A, original, MIT.

A test workflow for checking Agmente’s iOS connection to a real local Codex app-server, which is the program that provides Codex sessions over a network connection.

In plain words
What is it for?
Use it to verify WebSocket connections, startup handshakes, thread creation, and session flows with a simulator and local Codex server.
Why use it?
It isolates Codex connection and session-flow failures and records useful details when the test fails.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

This is rebornix/Agmente's own configuration. It tells Codex how to work on Agmente itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Agmente configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rebornix/Agmente. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rebornix/Agmente/main/.agents/skills/codex-local-cli-e2e/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/rebornix/Agmente

Made for: 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 codex-local-cli-e2e

README.md
[![agentmods](https://agentmods.dev/badge/skills/rebornix/agmente/codex-local-cli-e2e/github.svg)](https://agentmods.dev/skills/rebornix/agmente/codex-local-cli-e2e)
Your own site
<a href="https://agentmods.dev/skills/rebornix/agmente/codex-local-cli-e2e"><img src="https://agentmods.dev/badge/skills/rebornix/agmente/codex-local-cli-e2e/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 codex-local-cli-e2e

Your own site · 80×15
<a href="https://agentmods.dev/skills/rebornix/agmente/codex-local-cli-e2e"><img src="https://agentmods.dev/badge/skills/rebornix/agmente/codex-local-cli-e2e.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 656 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00063 $0.00656
Opus 5.5 $0.00025 $0.00262
Sonnet 5.5 $0.00013 $0.00131
Haiku 4.5 $0.00006 $0.00066

Measured 2mo ago against content hash 27b63860e3c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-local-cli-e2e 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/run_codex_local_e2e.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/codex-local-cli-e2e/SKILL.md · 74 lines

How it starts

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

Codex Local CLI E2E

Overview

Run Agmente's Codex UI E2E test against a real local codex app-server, using the repo-owned scenario spec as the source of truth, collect actionable failure details, and always clean up simulator/app-server state.

Workflow

  1. Resolve run inputs.
  • Require endpoint (for example ws://127.0.0.1:8788) and simulator UDID.
  • Decide run mode:
    • existing server: server already running.
    • managed server: start server with a provided command and stop it during cleanup.
  • Read e2e/scenarios/codex/local-cli-smoke.md.
  • Use references/agmente-codex-e2e-contract.md only for the UI-test environment-variable harness contract.
  1. Start or verify server.
  • If managed server, start the command and wait until the endpoint port is reachable.
  • If existing server, verify reachability before running tests.
  1. Run only the Codex UI E2E test.
  • Export:
    • AGMENTE_E2E_CODEX_ENABLED=1
    • AGMENTE_E2E_CODEX_ENDPOINT=<endpoint>
  • Execute targeted test only:
    • AgmenteUITests/AgmenteUITests/testCodexDirectWebSocketConnectInitializeAndSessionFlow
  1. On failure, extract root cause.
  • Parse xcodebuild output for the failing test and assertion.
  • Read .xcresult details when xcodebuild is not explicit.
  • Include failing file/line and endpoint/simulator context in the report.
  1. Always clean up.
  • Stop app-server if this run started it.
  • Uninstall app from simulator:
    • xcrun simctl uninstall <UDID> com.example.Agmente
  • Optionally shut simulator down if requested.

Preferred Execution

Use the bundled script for deterministic runs:

  • scripts/run_codex_local_e2e.sh

Managed-server example:

scripts/run_codex_local_e2e.sh \
  --endpoint ws://127.0.0.1:8788 \
  --udid <SIMULATOR_UDID> \
  --start-codex-cmd "codex app-server --listen ws://127.0.0.1:8788"

Existing-server example:

scripts/run_codex_local_e2e.sh \
  --endpoint ws://127.0.0.1:8788 \
  --udid <SIMULATOR_UDID>

Reporting Requirements

Read the full file on GitHub · 74 lines

Files

What ships with it

3 files 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.

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. 2mo ago First seen · 74 lines · 63 tokens per session scan A 27b63860e3c9

Subscribe to this mod's changes

codex-local-cli-e2e is a skill published in the GitHub repository rebornix/Agmente (548 stars, last pushed 5mo ago), licensed MIT. It adds 63 tokens to every session and 656 once invoked, about $0.0003 per session on Opus 5.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-08-30.

Related

Other skills, from other repositories

reproduce-bug

Reproduce a reported bug in googleapis/mcp-toolbox and decide whether it is real, delivering an evidence-backed verdict: confirmed, already fixed, misconfiguration, client-side, works as intended, not reproducible, or blocked. Use whenever a maintainer asks you to reproduce, verify, confirm, or investigate a bug…

googleapis/mcp-toolbox · 130 tokens

verify-omnigent

Drive Omnigent the way a user does and prove a behavior with recorded evidence, using an isolated server, runner, and mock model plus a feature map of every user entry point. Load before reproducing a user-facing bug, before claiming a fix works, or when reviewing whether a change covered every surface (session vs.…

omnigent-ai/omnigent · 100 tokens

testing-blocks

Use this when you have made AEM Edge Delivery Services code changes to blocks, scripts, or styles and need to validate them before opening a pull request. Covers unit testing for utilities and logic, browser testing with Playwright, linting, and guidance on what to test and how.

adobe/skills · 61 tokens

reality-verification

This skill should be used when the user asks to "verify a fix", "reproduce failure", "diagnose issue", "check BEFORE/AFTER state", "VF task", "reality check", "check test quality", "mock-only tests", or needs guidance on verifying fixes by reproducing failures before and after implementation, or detecting mock-heavy…

tzachbon/smart-ralph · 81 tokens

webapp-qa

Perform scoped exploratory QA of a web application, reproduce defects, collect screenshots and console evidence, and deliver a prioritized report.

Prismer-AI/PrismerCloud · 29 tokens

test-electron-app

Drive the real running PostHog Electron app (live tRPC, workspace-server, real data) over CDP with agent-browser. Connect to the running app on port 9222, test desktop changes against a local Django stack, snapshot the accessibility tree, inspect network requests, and screenshot only when explicitly asked. Use when…

PostHog/posthog · 112 tokens