Skip to content
Agentmart
Submit a tool

ask-codex

Ask Codex from a non-Codex harness through a full ACP session for an independent answer or explicitly scoped implementation.

Skill by jesse-merhi

IndexedMIT★ 4
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jesse-merhi-ask-codex

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Ask Codex from a non-Codex harness through a full ACP session for an independent answer or explicitly scoped implementation.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ask-codex

What's inside

Skill name
ask-codex
Description
Ask Codex from a non-Codex harness through a full ACP session for an independent answer or explicitly scoped implementation.
License
MIT
Instructions
51 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Ask Codex

Use a full Codex session through ACP. This is not a subagent and must not be
implemented with the current harness's in-chat delegation tools.

Invoke this skill only when the current user explicitly asks to run
`$ask-codex` or explicitly says to ask Codex. Never auto-select it for review,
planning, a second opinion, delegation, or implementation. Mentioning,
discussing, or linking this skill is not authorization to run it.

## Workflow

1. Resolve `<skill-dir>` to this skill's directory.
2. Give Codex a self-contained brief: objective, checkout, relevant files,
   constraints, expected output, whether writes are authorized, and the
   requirement to archive its own external task before finishing.
3. For advice, review, or planning, run the read-only wrapper:

   ```sh
   <skill-dir>/scripts/ask-codex read "<self-contained prompt>"
   ```

4. Use write mode only when the user authorized implementation and the brief
   names the owned scope:

   ```sh
   <skill-dir>/scripts/ask-codex write "<self-contained prompt>"
   ```

5. Record the created Codex task or session ID, treat the result as another
   full session's work, inspect its evidence, and validate any edits in the
   originating session before reporting completion.
6. A one-shot session is temporary. Require the spawned Codex session to
   archive itself with `set_thread_archived` before it finishes. After its
   result has been captured, verify that it is archived. If self-cleanup did
   not happen, archive the exact task in guaranteed caller cleanup on success,
   failure, cancellation, timeout, or early stop. Use `set_thread_archived`
   when the Codex app tool is available; otherwise run `codex archive <id>`.
   If archival fails, report the exact ID instead of silently leaving the task
   behind.

The wrapper uses the current Codex configuration; do not hard-code a model.
Use a fresh one-shot ACP session by default. Continue a persistent named session
only when the user explicitly asks for an ongoing cross-harness conversation.
Keep that session while the conversation is active, then archive it when the
user ends the conversation.

If ACP or Codex authentication fails, report the exact failure. Do not silently
replace the requested Codex session with a subagent or self-answer.

From jesse-merhi/skills, MIT.

More from jesse-merhi/skills

Signals

Stars
4
Forks
2
Open issues
0
Last commit (this folder)
Sep 4, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from jesse-merhi

Cite this page

ask-codex skill. Agent Mart. https://agentmart.dev/skills/jesse-merhi-ask-codex (last updated 2026-10-24)