recipe-diagnose

recipe-diagnose is a skill for Claude Code, Codex from shinpr/codex-workflows. It costs 19 tokens per session (1,686 once invoked), scanned A, original, MIT.

A structured process for investigating a problem, checking the findings, and deriving solutions.

In plain words
What is it for?
Use it to diagnose technical or project problems through specialist investigation, review, and solution stages.
Why use it?
It separates investigation, verification, and solution design so proposed fixes are based on confirmed evidence.

Skill for Claude CodeCodex

Written for Claude Code and Codex: $ARGUMENTS substitution, but also agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to diagnose technical or project problems through specialist investigation, review, and solution stages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shinpr/codex-workflows/recipe-diagnose
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 shinpr/codex-workflows --skill recipe-diagnose
Clone the repo
git clone --depth 1 https://github.com/shinpr/codex-workflows

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 recipe-diagnose

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/shinpr/codex-workflows/recipe-diagnose"><img src="https://agentmods.dev/badge/skills/shinpr/codex-workflows/recipe-diagnose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,686 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.00019 $0.01686
Opus 5.5 $0.00008 $0.00674
Sonnet 5.5 $0.00004 $0.00337
Haiku 4.5 $0.00002 $0.00169

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

Security

Grade A, and why

recipe-diagnose 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 2d 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.

.agents/skills/recipe-diagnose/SKILL.md · 170 lines

How it starts

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

Required Skills [LOAD BEFORE EXECUTION]

Before loading required skills, use wc -c to size the files and set both exec_command.max_output_tokens and the outer // @exec: {"max_output_tokens": N} budget to accommodate their contents, including the combined output of batched reads. Split oversized reads upfront; recover any truncated content before proceeding.

  1. [LOAD IF NOT ACTIVE] ai-development-guide — AI development patterns
  2. [LOAD IF NOT ACTIVE] coding-rules — coding standards
  3. [LOAD IF NOT ACTIVE] llm-friendly-context — clear prompts, handoffs, and generated artifacts

Invocation rule: Start each named agent with spawn_agent and fork_turns="none". When invoking the same named agent again within this flow, use followup_task on its existing instance with the inputs specified for the current invocation.

Context: Diagnosis flow to identify concrete failure points and present solutions

Target problem: $ARGUMENTS

Orchestrator Definition

Execution Method:

  • Investigation -> Invoke investigator agent
  • Verification -> Invoke verifier agent
  • Solution derivation -> Invoke solver agent

The orchestrator structures the reported problem, coordinates the three specialist stages, evaluates their results, and passes only the context needed by the next stage.

Execution Plan: Reuse the active execution plan. When the workflow has multiple dependent actions and no plan exists, create one that tracks them through final verification. Complete a plan step after verifying its result; start a dependent step after its prerequisites are satisfied.

Step 0: Problem Structuring (Before invoking investigator)

Keep the user's current symptom report and corrections verbatim, separate from investigation interpretations. Record observed and expected behavior, location, trigger, conditions, and onset when known. Resolve target-changing uncertainty from available evidence; ask the user only for a fact the investigation cannot obtain, and continue unaffected work.

Read the full file on GitHub · 170 lines

Files

What ships with it

1 file 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. 2d ago Changed · +2 lines b53b974e0195
  2. 8d ago Changed · +4 lines 24915aaae404
  3. 23d ago Changed 9cf5bbf923dc
  4. 1mo ago Changed · -3 lines 335c567120dd
  5. 1mo ago First seen · 167 lines · 19 tokens per session scan A d5e98e74a0aa

Subscribe to this mod's changes

recipe-diagnose is a skill published in the GitHub repository shinpr/codex-workflows (39 stars, last pushed 3d ago), licensed MIT. It adds 19 tokens to every session and 1,686 once invoked, about $0.0001 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

langbot-plugin-dev

Develop, debug, and test LangBot plugins. Use when creating new LangBot plugins, fixing plugin bugs, setting up a LangBot test environment, or testing plugins via WebSocket. Covers plugin component architecture (EventListener, Command, Tool), the plugin SDK API (invokellm, getllmmodels, sendmessage, plugin storage)…

langbot-app/LangBot · 110 tokens

codebase-refactoring

Three-part workflow to improve overall codebase health with jscpd — find and fix duplicated code, find and remove or refactor dead code, then find and simplify the largest/most complex files. Starts from --dashboard/--health to prioritize and ends by re-measuring the score.

kucherenko/jscpd · 63 tokens

ax-cpp-agent-observability

Use when writing C++ code with axllm for agent tracing, centralized and multi-tenant usage accounting, action logs, runtime diagnostics, replay, and production debugging.

ax-llm/ax · 44 tokens

troubleshoot

Diagnose and fix a failing or misbehaving Atomic Agents app — import errors, schema validation failures, empty or malformed LLM output, provider role/mode errors, history and context problems, MCP transport errors. Use when the user reports an error, traceback, or wrong behavior in atomic-agents code, asks "why is my…

Eigenwise/atomic-agents · 103 tokens

diagnosing-bgs-problems

A symptom-first guide for investigating crashes, frame-rate drops, stuttering, freezes, and startup failures in Bethesda Game Studios games with mods.

hashgraph-online/awesome-codex-plugins · 72 tokens

sentry-app-setup

Create and configure a Sentry internal integration so the assistant can manage issues, alerts, and releases under its own identity.

vellum-ai/vellum-assistant · 29 tokens