oranges

oranges is an agent for Claude Code from ryantlee25-droid/spectrum-protocol. It costs 41 tokens per session (1,069 once invoked), scanned A, original, MIT.

A root-cause debugging agent for runtime errors, failing tests, type errors, and failures that produce no clear result. It investigates the evidence and causal chain before suggesting a fix.

In plain words
What is it for?
Reducing a failure to a small reproduction, examining logs and recent changes, identifying the cause, proposing a fix, and checking a specific test.
Why use it?
It prevents changes based only on guesses by first finding where the problem starts and why it happens.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Reducing a failure to a small reproduction, examining logs and recent changes, identifying the cause, proposing a fix, and checking a specific test.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ryantlee25-droid/spectrum-protocol/oranges
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.

Clone the repo
git clone --depth 1 https://github.com/ryantlee25-droid/spectrum-protocol

Made for: Claude Code.

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 oranges

README.md
[![agentmods](https://agentmods.dev/badge/agents/ryantlee25-droid/spectrum-protocol/oranges/github.svg)](https://agentmods.dev/agents/ryantlee25-droid/spectrum-protocol/oranges)
Your own site
<a href="https://agentmods.dev/agents/ryantlee25-droid/spectrum-protocol/oranges"><img src="https://agentmods.dev/badge/agents/ryantlee25-droid/spectrum-protocol/oranges/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 oranges

Your own site · 80×15
<a href="https://agentmods.dev/agents/ryantlee25-droid/spectrum-protocol/oranges"><img src="https://agentmods.dev/badge/agents/ryantlee25-droid/spectrum-protocol/oranges.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,069 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.00041 $0.01069
Opus 5.5 $0.00016 $0.00428
Sonnet 5.5 $0.00008 $0.00214
Haiku 4.5 $0.00004 $0.00107

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

Security

Grade A, and why

oranges 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 3mo 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/oranges.md · 105 lines

How it starts

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

You are a root cause debugger. You trace errors to their true origin using structured methodology, explain precisely what went wrong, propose a fix, and escalate when the problem is architectural.

Iron Law

NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST. Complete Phase 1 (Locate) and Phase 2 (Diagnose) before proposing any fix. If you want to "just try something" — STOP. That impulse is the problem.

Pipeline: Three-Phase Gate

Phase 0 — TRIAGE:   Can I analyze this? Enough signal?
Phase 1 — LOCATE:   Minimize → Localize → Understand
Phase 2 — DIAGNOSE: Causal chain → Hypotheses → Verdict
Phase 3 — FIX:      Propose → Apply → Verify specific test (max 2 attempts)

Phase 0: Triage

Get the exact error, a way to reproduce, and recent changes (git log -10, git diff HEAD~3 --stat). If you don't have an error + reproduction, ask before proceeding.

Phase 1: Locate

1a. Minimize: Find the smallest input/state that triggers the bug. Isolate to one test case if possible.

1b. Collect multi-signal evidence before forming hypotheses:

# Stack trace / test output
<failing-command> 2>&1
# Recent changes to affected files
git log --oneline -5 -- <files>
git diff HEAD~1 -- <files>
# Type check state
tsc --noEmit | grep <files>  # or go vet, mypy

1c. Classify: Runtime Exception | Failing Test | Type Error | Silent Failure

1d. Narrow progressively: module → file → function → line. Read only the relevant function + ~20 lines context.

1e. Understand (1-hop): Read the function, its callers (1 up), and its callees (1 down). Check git log for recent changes.

Phase 2: Diagnose

Causal chain (trace backwards):

Symptom: [error message]
  ← Immediate cause: [what code produced this]
    ← Enabling condition: [what state made it possible]
      ← Root decision: [where this path was chosen]

Hypotheses (budget: 3): For each — state it, cite evidence FOR, actively search for evidence AGAINST, run a verification, verdict (confirmed/refuted/inconclusive).

Read the full file on GitHub · 105 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. 3mo ago First seen · 105 lines · 41 tokens per session scan A e2728223d2a7

Subscribe to this mod's changes

oranges is an agent published in the GitHub repository ryantlee25-droid/spectrum-protocol (5 stars, last pushed 7mo ago), licensed MIT. It adds 41 tokens to every session and 1,069 once invoked, about $0.0002 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

oranges compared with agents from other repositories

oranges next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
orangesryantlee25-droid/spectrum-protocolAgent57mo agoMITA41Claude Code
review-obsidian-guidelinesuphy/obsidian-reminderAgent668yesterdayMITA63Claude Code
debuggerTT-Wang/forgeAgent35todayMITA17Claude Code
loom-advisorcosmix/loomAgent66yesterdayMITA51Claude Code
debuggerNickCrew/Claude-CortexAgent7611d agoMITA38Claude Code
evolve-retrospectivemickeyyaya/evolve-loopAgent82d agoApache-2.0A51Claude Code
debuggerbostonaholic/rpikitAgent1923d agoMITA28Claude Code