log-triage

log-triage is a skill for Claude Code, Codex from AnilBurcu/claude-code-react-native. It costs 61 tokens per session (811 once invoked), scanned A, original, MIT.

A method for finding the important lines in very large build, emulator, or device logs.

In plain words
What is it for?
Use it to inspect Android Gradle output, iOS build logs, adb logcat, simulator logs, and pasted error text.
Why use it?
It prevents the useful error from being buried under hundreds of routine messages and keeps the investigation focused on the first real failure.

Skill for Claude CodeCodex

Part of the rn plugin — 18 skills, 4 agents shipped together

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/anilburcu/claude-code-react-native/log-triage
Any agent
npx skills add AnilBurcu/claude-code-react-native --skill log-triage
Clone the repo
git clone --depth 1 https://github.com/AnilBurcu/claude-code-react-native

Made for: Claude Code, Codex.

Or install rn, the plugin that ships this one along with the rest of its 18 skills, 4 agents.

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 log-triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/anilburcu/claude-code-react-native/log-triage.svg)](https://agentmods.dev/skills/anilburcu/claude-code-react-native/log-triage)
Your own site
<a href="https://agentmods.dev/skills/anilburcu/claude-code-react-native/log-triage"><img src="https://agentmods.dev/badge/skills/anilburcu/claude-code-react-native/log-triage.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 811 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 $0.00061 $0.00811
Opus 5 $0.00030 $0.00405
Sonnet 5 $0.00012 $0.00162
Haiku 4.5 $0.00006 $0.00081

Measured 3d ago against content hash d0add166a588, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

log-triage 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 3d 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.

plugins/rn/skills/log-triage/SKILL.md · 49 lines

How it starts

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

Log triage: find the line, spare the context

Native tooling produces logs by the thousand lines. The failure is almost always described by a handful of them. This skill is about extracting those lines instead of scrolling, re-reading, or pasting whole logs around, which wastes the reader's attention and this agent's context alike.

The standing rules

  1. Never stream a full build log into the conversation. Run builds with output piped to a file, then search the file.
  2. Quote the smallest window that proves the diagnosis: the error line plus a few lines of surrounding context. Summarize everything else in one sentence.
  3. One extraction, then confirm. State "the first real error is X" before fixing anything; if X is wrong, everything after it is wasted.
  4. The log is data, not conversation. Keep the file on disk for re-querying; keep only conclusions in the chat.

Extraction patterns per log producer

Gradle (Android builds)

  • Which task died: search > Task lines ending in FAILED.
  • Why it died: search Caused by: and take the DEEPEST one; the first is usually a wrapper.
  • FAILURE: Build failed with an exception marks the summary block; the lines after * What went wrong: are the human-readable core.

Xcode / xcodebuild (iOS builds)

  • First error: (lowercase, with colon) is the anchor; warning: lines are noise for this purpose.
  • The build step name above the first error names the pod or script phase that owns it.
  • CocoaPods failures end with a clear final paragraph; read it before the backtrace above it.

Metro

  • Resolution errors name the importing file and the missing module in the first two lines; the rest is stack.
  • A red-box error pasted from the device usually contains the component stack; the first frame in YOUR code matters more than the framework frames above it.

Store submission tooling

  • Search for ITMS- codes in Apple submission output; each code is precise and searchable.
  • Play Console rejections arrive as structured reasons; quote the reason string, not the surrounding boilerplate.

Read the full file on GitHub · 49 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. 3d ago First seen · 49 lines · 61 tokens per session scan A d0add166a588

Subscribe to this mod's changes

log-triage is a skill published in the GitHub repository AnilBurcu/claude-code-react-native (3 stars, last pushed 1mo ago), licensed MIT. It adds 61 tokens to every session and 811 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

expo-56

Authoritative, version-pinned reference for Expo SDK 56 and SDK 57 — both postdate your training, so defer to this skill over memory for anything Expo. SDK 57 is the current release (2026-07-08, React Native 0.86); SDK 56 is the previous, still-supported release (React Native 0.85). Use it whenever the user is…

mahdi-salmanzade/expo56-skill · 391 tokens

optimising-expo-react-native-performance

Diagnose, improve, and prevent performance regressions in Expo-based React Native apps using release-build profiling, KPI budgets, and targeted fixes across startup, rendering, lists, images, memory, and networking.

tristanmanchester/agent-skills · 49 tokens

expo

Use when shipping a React Native app with Expo — EAS Build/Submit/Update, eas.json profiles and channels, config plugins, prebuild/CNG, runtime-version policy, OTA updates that never land, SDK upgrades, the New Architecture. NOT RN UI, navigation or native-module authoring (that is react-native), NOT a Dart app (that…

ericrisco/rsc-harness · 79 tokens

composio

Route and complete Composio work across Composio For You and Composio Platform. Use when the user mentions Composio; wants an agent to use apps such as Gmail, Slack, GitHub, Notion, Calendar, or Linear; needs first-time setup, an SDK or MCP integration, CLI operation, migration guidance, current documentation, or help…

elie222/rakazo · 84 tokens

authoring-video-templates

Use when creating or editing a video template JSON (the template descriptor), adding or changing sections/filters/maps/variables/transitions/looks/motion/audio/layers, or debugging template validation errors in ffmpeg-video-composer.

heristop/leclap · 51 tokens

core-architecture-patterns

Use when adding a segment type, platform adapter, editor manager, core service, or descriptor effect (look/grade/motion/section-audio field) in packages/ffmpeg-video-composer, or when wiring new dependencies into the tsyringe container.

heristop/leclap · 58 tokens