recipe-diagnose

recipe-diagnose is a skill for Claude Code, Codex from shinpr/codex-workflows. It costs 19 tokens per session (1,432 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: mentions subagents; installed under .agents/ (shared by several agents).

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/shinpr/codex-workflows/recipe-diagnose
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.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.svg" alt="Measured on agentmods" 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,432 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.1 $0.00019 $0.01432
Opus 5 $0.00010 $0.00716
Sonnet 5 $0.00004 $0.00286
Haiku 4.5 $0.00002 $0.00143

Measured 6d ago against content hash d5e98e74a0aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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 · 167 lines

How it starts

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

Required Skills [LOAD BEFORE EXECUTION]

  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

Spawn rule: every spawn_agent call uses fork_turns="none" so the subagent receives only the task message and explicitly provided context.

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

Target problem: $ARGUMENTS

Orchestrator Definition

Execution Method:

  • Investigation -> Spawn investigator agent
  • Verification -> Spawn verifier agent
  • Solution derivation -> Spawn 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 spawning investigator)

0.1 Problem Type Determination

Type Criteria
Change Failure Indicates some change occurred before the problem appeared
New Discovery No relation to changes is indicated

If uncertain, keep the type provisional and let repository history and investigation evidence resolve it.

0.2 Information Supplementation for Change Failures

For change failures, resolve the following from the supplied report and repository evidence when available:

  • What was changed (cause change)
  • What broke (affected area)
  • Relationship between both (shared components, etc.)

Carry unresolved details into the investigator prompt as investigation targets and continue.

Diagnosis Flow Overview

Problem -> investigator -> verifier
verifier needs_more_investigation -> investigator while new evidence can change coverage
verifier ready_for_solution -> solver
solver recommendation -> Report
solver null recommendation -> investigator while new evidence can change the result
evidence saturated before recommendation -> unresolved Report

Read the full file on GitHub · 167 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. 6d 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 (37 stars, last pushed 2d ago), licensed MIT. It adds 19 tokens to every session and 1,432 once invoked, about $0.0001 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-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

node-connect

Diagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps. Use when QR/setup code/manual connect fails, local Wi-Fi works but VPS/tailnet does not, or errors mention pairing required, unauthorized, bootstrap token invalid or expired, gateway.bind, gateway.remote.url, Tailscale…

the-open-agent/openagent · 81 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

debug-false-positive

Diagnose and fix a Fallow false positive or false negative through extraction, resolution, graph, analysis, reporting, and real-consumer verification.

fallow-rs/fallow · 34 tokens

triage-issue

Triage a GitHub issue against the current fallow codebase and determine validity, priority, scope, and likely implementation shape. Use when the user asks to triage an issue, assess a bug report, or evaluate an enhancement request.

fallow-rs/fallow · 53 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