askcodex

askcodex is a skill for Claude Code, Codex from JairoTorregrosa/jaiskills. It costs 158 tokens per session (3,611 once invoked), scanned A, original, MIT.

A command-line interface for asking OpenAI models questions, generating or editing images, viewing available models, and checking account usage.

In plain words
What is it for?
Use it to complete text tasks, create or edit images, list models, check usage and plan details, verify authentication, refresh credentials, or call another supported endpoint.
Why use it?
It gives terminal-based workflows a direct way to use these model operations and inspect authentication or quota status.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: reads ~/.codex paths; mentions Codex.

Part of the jaiskills plugin — 12 skills, 4 agents, 2 hooks shipped together

Good fit Use it to complete text tasks, create or edit images, list models, check usage and plan details, verify authentication, refresh credentials, or call another supported endpoint.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jairotorregrosa/jaiskills/askcodex
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 JairoTorregrosa/jaiskills --skill askcodex
Clone the repo
git clone --depth 1 https://github.com/JairoTorregrosa/jaiskills

Made for: Claude Code, Codex.

Or install jaiskills, the plugin that ships this one along with the rest of its 12 skills, 4 agents, 2 hooks.

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 askcodex

README.md
[![agentmods](https://agentmods.dev/badge/skills/jairotorregrosa/jaiskills/askcodex/github.svg)](https://agentmods.dev/skills/jairotorregrosa/jaiskills/askcodex)
Your own site
<a href="https://agentmods.dev/skills/jairotorregrosa/jaiskills/askcodex"><img src="https://agentmods.dev/badge/skills/jairotorregrosa/jaiskills/askcodex/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 askcodex

Your own site · 80×15
<a href="https://agentmods.dev/skills/jairotorregrosa/jaiskills/askcodex"><img src="https://agentmods.dev/badge/skills/jairotorregrosa/jaiskills/askcodex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 158 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,611 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.
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.00158 $0.03611
Opus 5.5 $0.00063 $0.01444
Sonnet 5.5 $0.00032 $0.00722
Haiku 4.5 $0.00016 $0.00361

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

Security

Grade A, and why

askcodex 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 1mo 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/models/askcodex/SKILL.md · 181 lines

How it starts

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

askcodex

You have the askcodex CLI. It sends one request to an OpenAI model through the user's ChatGPT/Codex subscription and returns a text answer, an image, or a transcript. Turn the user's request into a complete brief, run one focused call, check the result against the brief, and hand the user the useful output with its saved path.

Canonical copy: skill/ in https://github.com/JairoTorregrosa/askcodex (this is a mirror; change it there, then re-sync). Local delta: the description's not-for clause points to second-opinion.

Context you must respect

  • This skill describes askcodex 0.3.0 or later. Check askcodex --version once per session. 0.2.x has no --schema, --verbosity or --background, prints the ~700 KB raw catalog inside models --json, and gives errors without error.backend; 0.1.x also hides the GPT-6 models. If it is older, tell the user to update instead of working around it: in an askcodex checkout, git pull && ./install.sh; without one, download the latest release binary from https://github.com/JairoTorregrosa/askcodex/releases (verify SHA256SUMS), or clone it and run ./install.sh (needs Rust 1.88+).
  • Every call is one-shot and stateless. ask sends only the prompt and optional --instructions: the model gets no tools, files, browsing, repository, or earlier conversation. A file path in a prompt is just text; paste the contents instead.
  • Everything in a prompt, a reference image or an audio file leaves the machine for OpenAI's backend. Before you paste logs, exports, code or documents, always remove credentials, tokens, keys and passwords, even when the user supplied them for the task: replace them with placeholders. Also remove personal or customer data the task does not need; if the task needs it, or you cannot tell, ask the user first.
  • Every call spends the user's subscription quota. GPT-6 Astra is the most expensive model.
  • A second model's answer is input to your work. Verify its facts, review its code, and look at its images before you report success.
  • askcodex uses the credentials codex login saved to ~/.codex/auth.json; it reads no API key. Never print credentials.

Read the full file on GitHub · 181 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. 1mo ago Changed · +35 lines · +7 tokens per session 394930a96085
  2. 1mo ago Changed · +1 lines 575bbeb44ced
  3. 1mo ago Changed · +32 lines · +11 tokens per session df69f1ee5239
  4. 1mo ago Changed · +31 lines · -33 tokens per session 0dbc7a6b0f3e
  5. 2mo ago First seen · 82 lines · 173 tokens per session scan A 21b03c6e3fb3

Subscribe to this mod's changes

askcodex is a skill published in the GitHub repository JairoTorregrosa/jaiskills (11 stars, last pushed yesterday), licensed MIT. It adds 158 tokens to every session and 3,611 once invoked, about $0.0006 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-31.

Related

askcodex compared with skills from other repositories

askcodex next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
askcodexJairoTorregrosa/jaiskillsSkill11yesterdayMITA158Claude Code, Codex
data-catchallChipagosfinest/enterprise-teamSkill206mo agononeA95Claude Code
foundry-config-setupmicrosoft/agent-frameworkSkill15ktodayMITA65Claude Code, Codex
voice-extractorelvisun/newsjackSkill1.7k2d agoMITA90Claude Code
coverage-trackerelvisun/newsjackSkill1.7k2d agoMITA47Claude Code
prompt-set-qaelvisun/newsjackSkill1.7k2d agoMITA56Claude Code
realistic-prompt-generationelvisun/newsjackSkill1.7k2d agoMITA55Claude Code