ask-codex

ask-codex is a skill for Claude Code, Codex from BackToCimaCoppi/Praxis. It costs 70 tokens per session (4,300 once invoked), scanned A, original, Apache-2.0.

A manually triggered helper that asks GPT-5.5 for a second opinion, a review, or one-time code execution through the Codex command line.

In plain words
What is it for?
Use it for lightweight advice, non-code questions, or directly assigning a one-time coding task to Codex. Completed-code checks against a fixed specification belong to codex-review instead.
Why use it?
It gives you another model’s view or delegated work when you explicitly ask for it, while keeping the final decision with you. It does not run automatically.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/backtocimacoppi/praxis/ask-codex
Any agent
npx skills add BackToCimaCoppi/Praxis --skill ask-codex
Clone the repo
git clone --depth 1 https://github.com/BackToCimaCoppi/Praxis

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 ask-codex

README.md
[![agentmods](https://agentmods.dev/badge/skills/backtocimacoppi/praxis/ask-codex.svg)](https://agentmods.dev/skills/backtocimacoppi/praxis/ask-codex)
Your own site
<a href="https://agentmods.dev/skills/backtocimacoppi/praxis/ask-codex"><img src="https://agentmods.dev/badge/skills/backtocimacoppi/praxis/ask-codex.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,300 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00070 $0.04300
Opus 5 $0.00035 $0.02150
Sonnet 5 $0.00014 $0.00860
Haiku 4.5 $0.00007 $0.00430

Measured 3d ago against content hash 8c39ddec1aac, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ask-codex 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.

skills/ask-codex/SKILL.md · 308 lines

How it starts

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

codex 咨询 / 派任务(ask-codex)

通过 codex exec 一次性非交互命令,让 GPT-5.5 承担第二意见、审查、或直接执行任务。

设计哲学:人保留分工权和最终决策权。AI 不做自动路由——用户不说触发词,主线程自己处理。用户说触发词,主线程严格按触发词对应模式执行。

与「派 Claude 子代理」的根本差异:用 Agent 工具起的 Claude 子代理,子代理是可持续对话的进程,派模式能"先探索汇报计划、等确认再动手"。codex 不是子代理,是一条一次性非交互命令行——跑完即结束,没有"跑到一半停下来等确认"这回事。因此本 skill 的派模式是一次性直接执行(任务+护栏一次性打包,执行完由主线程做事后 git diff 验收),不是"探索计划→确认→继续"的两阶段模式。


0. 与 codex-review / adversarial-review 的边界(进入本 skill 前必查)

codex 在这套技能体系里有三个入口,互不替代:

Skill 时机 前提 输出形态
adversarial-review 开工前,方案/高风险代码待定 无固定前提 多模型评审 + 主线程裁决报告
codex-review 施工完成后 必须有已冻结蓝图 + 决策表(或蓝图退化基线) 强制 A/B/C 三级分类 + 证据闸 + 分流台账
本 skill(ask-codex) 任意时刻 无前提,随问随答 自由文本结论 / 直接执行

强制检查(触发本 skill 前):问题是不是"核验代码是否照已冻结的蓝图/决策表施工"?

  • 命中 → 停止,改用 codex-review。它的证据闸和三级分流协议专门防止"把已拍板决策误判成 bug、又被照改",本 skill 没有这套保护,绕开它会架空那套纪律。
  • 没命中(轻量咨询、非代码问题、没有冻结真值可核对、或直接派任务执行)→ 才用本 skill。

方案/高风险代码的开工前评审同理指向 adversarial-review,不进本 skill。


1. 模型映射

模式 触发词 codex 参数
问 codex(默认) 问一下codex、问一下gpt、问一下gpt5.5 -m gpt-5.5,reasoning 默认 xhigh(config 默认即是,无需显式传)
派 codex 让codex去做XX、让codex直接XX、让gpt去做XX、让gpt直接XX 同上
  • 用户未指定降级时,默认 xhigh(超强思考)
  • 用户说"快速 / 省着点跑" → 降级 -c 'model_reasoning_effort="medium"'
  • 用户不说触发词 → 不调 codex,主线程自己处理
  • 触发词模糊时 → 直接问用户:"你想问模式还是派模式?"

成本提示:xhigh 质量最高也最慢(常 60–180s,复杂任务更久),调用必须走后台(§5)。


2. 模式路由

用户消息
  │
  ├─ 不含触发词 → 主线程直接处理
  │
  └─ 含触发词
        │
        ├─ 先过 §0 边界检查 → 命中 codex-review / adversarial-review 范围 → 转对应 skill,不进本 skill
        │
        └─ 未命中
              │
              ├─ "问一下" / "怎么看" / "审查" / "评审"
              │   → 问模式(§3)
              │
              └─ "让XX去做" / "让XX直接" / "派XX"
                  → 派模式(§4)

3. 问模式

用途:让 codex 回答一个问题(设计审查、技术分析、方案评估、代码片段审查等)。codex 只读不改,输出结论到文件,主线程消化后回答用户。

沙箱-s read-only(物理上写不了任何东西)。

3.1 打包指南

方法论复用 §8 引用的证据包制作规范(RAM 框架:R 谁读 / A 干什么 / M 最小充分集)。槽位:

[具体问题] — 一句话,可被独立回答,不依赖隐含上下文

[文件引用] — 需要读的代码/文档文件,精确到方法/行范围
  格式:文件路径(只读:方法名/行范围)
  必须附带禁入声明:"只读以上列出的文件,不要自行查找其他文件"

[背景事实] — 回答此问题必须知道的关键事实(先浓缩再写入,不贴超过 5 行原始代码)

[约束条件] — 从 CLAUDE.md 摘出适用条款,内嵌原文,不写"参考 CLAUDE.md"

[判断标准] — 什么算好答案

[外部信息] — 非代码的参考信息(如有)

Read the full file on GitHub · 308 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. 3d ago First seen · 308 lines · 70 tokens per session scan A 8c39ddec1aac

Subscribe to this mod's changes

ask-codex is a skill published in the GitHub repository BackToCimaCoppi/Praxis (7 stars, last pushed 9d ago), licensed Apache-2.0. It adds 70 tokens to every session and 4,300 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories

triz-synergy

Разрешает противоречия в разработке: формулирует пару взаимоисключающих требований к одному объекту, ищет уже существующий ресурс в коде и в структуре данных, разделяет по структуре/времени/условию/отношению и проверяет решение различающим опытом. On-demand only — вызывать явно, когда виден признак противоречия. Use…

stepanenkoviktor0110-boop/ai-dev-methodology · 175 tokens

code-writing

Universal quality coding process: plan, TDD, reviews. Use whenever code needs to be written — ad-hoc or as part of a task. Use when: "напиши код", "закодь", "реализуй", "write code", "implement" For planning tasks → tech-spec-planning skill. For specs → user-spec-planning skill.

stepanenkoviktor0110-boop/ai-dev-methodology · 77 tokens

feature-execution

Orchestrate feature delivery as team lead: spawn agents by wave, manage review cycles (max 3 rounds), commit per wave. Use when: "выполни фичу", "do feature", "execute feature", "запусти фичу", "выполни все задачи", "execute all tasks".

stepanenkoviktor0110-boop/ai-dev-methodology · 73 tokens

methodology

AI-First development methodology: spec-driven pipeline, project structure, skills/agents ecosystem, quality gates. Use when: "изучи методологию", "изучи глобальную папку", "как работает методология", "what is the pipeline", "покажи пайплайн", "расскажи о процессе разработки", "how does the methodology work", "explain…

stepanenkoviktor0110-boop/ai-dev-methodology · 97 tokens

task-decomposition

Decompose approved tech-spec into atomic task files with parallel creation and validation. Use when: "разбей на задачи", "декомпозиция", "decompose tech-spec", "создай задачи из техспека", "/decompose-tech-spec".

stepanenkoviktor0110-boop/ai-dev-methodology · 55 tokens

tech-spec-planning

Creates tech-spec.md with architecture, decisions, testing strategy, and implementation plan. Use when: "сделай техспек", "составь техспек", "техническая спецификация", "tech spec", "создай тз", "составь тз", "new-tech-spec", "/new-tech-spec" Requires existing user-spec.md as input (create with user-spec-planning…

stepanenkoviktor0110-boop/ai-dev-methodology · 93 tokens