Loading...
Loading...
Use the askcodex CLI to get text and code from OpenAI models (GPT-6 Astra, Sol, Luna and older), generate or edit images, transcribe audio, and inspect available models, subscription usage, or authentication. Trigger for requests such as "ask GPT", "make an image", "pregúntale a GPT", "genera una imagen", "edita esta foto", "transcribe este audio", "qué modelos tengo", or "cuánta cuota queda", and for bounded one-shot tasks (draft, summarize, classify or extract into schema-checked JSON, generate an asset) worth a second model's answer. Not for critiquing repo work, plans or diffs: use second-opinion, which reads the repo.
npx skill4agent add jairotorregrosa/jaiskills askcodexaskcodexskill/askcodex --version--schema--verbosity--backgroundmodels --jsonerror.backendgit pull && ./install.shSHA256SUMS./install.shask--instructionscodex login~/.codex/auth.jsonaskcodex models --no-refreshgpt-6.1-solgpt-6-astragpt-6-solgpt-6-lunagpt-5.6-solgpt-5.6-terragpt-5.6-lunagpt-daybreak-blue-latestgpt-5.5gpt-reservecodex-auto-reviewaskaskgpt-6.1-solmedium--model gpt-6-luna--effortlowmediumhighxhighmaxnoneultranonegpt-6-astragpt-6.1-solgpt-6-solgpt-6-luna--verbosity low|medium|highmediumlowlowhigh--schema FILErequired"additionalProperties": false"null"["string","null"]["integer","null"]enumnullerror.backend.code: "invalid_json_schema"--json.result.jsonresponse_invalidimage createimage edit--background transparentopaquewidthheightalpha_channeltranscribe| Result | Command | Read first |
|---|---|---|
| Answer, analysis, writing, code, or review | | prompting-text.md and the model's guide below |
| Classification or extraction you will parse | | Same as above |
| New image | | prompting-images.md and model-gpt-image-2.md |
| Image edit from one to five PNG references | | Same as a new image |
| Audio transcript | | transcription.md |
| Which models exist, their default effort, what retires | | Nothing; no prompt is involved |
| Quota, account, auth status | | Nothing |
ask| The task | Model | Guide |
|---|---|---|
| Most work: coding, review, debugging, analysis, drafting | | model-gpt-6.1-sol.md |
| The hardest or most consequential single deliverable | | model-gpt-6-astra.md |
| Clear, repeatable extraction, classification, or transformation | | model-gpt-6-luna.md |
| Authorized defensive security work | | model-gpt-daybreak-blue-latest.md |
| Reproducing a GPT-6 Sol result | | model-gpt-6-sol.md |
| Reproducing a GPT-5.6 result | | sol, terra, luna |
Anything on | move to | model-gpt-5.5.md |
--model--effort/tmp/askcodex/-o /tmp/askcodex/<name>-vN.png--json.result.width.result.height.result.alpha_channelalpha_channel: true--json > /tmp/askcodex/<name>.jsonjq -r .result.text /tmp/askcodex/<name>.json--json--events--no-refresh--json{schema_version:1,command,result}.result--backendmodelsask --json.result.model.result.effort.result.verbosity.result.text.result.usage.result.json--schema.result.models.result.rate_limit--eventsasktext_deltaresult--events--jsontranscribe.result.text--json-raw --body -image edit.pngraw <METHOD> <PATH> --body '<JSON>'--eventsreference--json--events{schema_version:1,error:{code,message, http_status?,backend?}}error.backendcodetypeparammessagedetailerrorincomplete_details.reason| The diagnostic says | Cause | Next step |
|---|---|---|
| The model does not take that effort | Pick a level from the model's guide and retry once |
| The | Fix the key the message names; no answer was generated |
| Unknown slug, or a model this plan cannot use | Check |
| A safety classifier blocked the request | Report it; do not reword the request to get around it |
| The answer was cut short | Report it; narrow the task or ask for less output, then retry once |
| Quota or rate limit | Check |
--no-refreshaskcodex auth refreshask~/.local/bin/askcodex./install.sh--skills agents--skills claude--skills all--check-auth