friction-triage

friction-triage is a skill for Claude Code from ninthwave-io/ninthwave. It costs 123 tokens per session (3,746 once invoked), scanned A, original, Apache-2.0.

An interactive process for reviewing friction logs stored in .ninthwave/friction/, one at a time, with a human deciding what happens to each log.

In plain words
What is it for?
Use it to assess duplicates and severity, then fix an issue, create a work item, update documentation, discard or merge the report, and remove the processed log.
Why use it?
It turns scattered reports of problems into explicit decisions and clears the log inbox instead of leaving unresolved entries behind.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; names the AskUserQuestion tool.

Good fit Use it to assess duplicates and severity, then fix an issue, create a work item, update documentation, discard or merge the report, and remove the processed log.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ninthwave-io/ninthwave/friction-triage
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 ninthwave-io/ninthwave --skill friction-triage
Clone the repo
git clone --depth 1 https://github.com/ninthwave-io/ninthwave

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ninthwave-io/ninthwave/friction-triage/github.svg)](https://agentmods.dev/skills/ninthwave-io/ninthwave/friction-triage)
Your own site
<a href="https://agentmods.dev/skills/ninthwave-io/ninthwave/friction-triage"><img src="https://agentmods.dev/badge/skills/ninthwave-io/ninthwave/friction-triage/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 friction-triage

Your own site · 80×15
<a href="https://agentmods.dev/skills/ninthwave-io/ninthwave/friction-triage"><img src="https://agentmods.dev/badge/skills/ninthwave-io/ninthwave/friction-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,746 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.00123 $0.03746
Opus 5 $0.00062 $0.01873
Sonnet 5 $0.00025 $0.00749
Haiku 4.5 $0.00012 $0.00375

Measured 8d ago against content hash 32910468b6b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

friction-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 8d 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.

skills/friction-triage/SKILL.md · 274 lines

How it starts

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

What this skill is

This is the canonical way to process friction logs in this repo. It is a synchronous, human-in-the-loop session: you read each log, the user decides what to do, you execute, you delete. There is no async batch / review-PR fallback. The whole point is that the human stays in the loop and the inbox actually gets to zero in one sitting.


Interactive Questions (CRITICAL)

This skill is highly interactive. You MUST use your interactive question tool to ask the user questions. Do NOT print a question as text and wait for a response.

Tool names by platform: AskUserQuestion (Claude Code), question (OpenCode), request_user_input (Codex), ask_user (Copilot CLI, Gemini CLI). Use whichever is available in your environment.

Every question must follow this structure:

  1. Re-ground: State the project, the current branch, what phase you are in, and "log M of N". Assume the user has not looked at this window in 20 minutes.
  2. Explain simply: Paraphrase the friction in plain English. Say what hurt, not just what the log file is named.
  3. Recommend: State which option you would pick and why, in one line.
  4. Options: Lettered options A) through F). When an option involves effort, indicate the scale.

Hard rules

  • Never group questions across logs. Always one question per log. But DO batch the slow parts: investigation runs in parallel up front (Phase 2), execution runs after all decisions are collected (Phase 4). The human's interactive window in Phase 3 must be as tight as possible: no nested confirmations, no waiting for subagents, no follow-up "are you sure" prompts.
  • Never commit. The skill stages edits and writes new files. The human commits at the end if they want to.
  • Work items must follow .ninthwave/work-item-format.md. Read it before writing any new work item file.
  • Generate lineage tokens with nw lineage-token when creating a work item, the same way /decompose does.
  • Duplicate detection is best-effort. If you are not certain two logs are duplicates, surface it as an option and let the human decide. Do not auto-merge.
  • "Drop" is a valid answer. Friction that is no longer relevant is exactly what this flow exists to clear. Do not argue with the user when they pick D.
  • ASCII only. No em dashes, no smart quotes, no ellipsis characters. Use --, straight quotes, and .... The repo enforces a no-em-dash lint rule on .md files.

Read the full file on GitHub · 274 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. 8d ago First seen · 274 lines · 123 tokens per session scan A 32910468b6b7

Subscribe to this mod's changes

friction-triage is a skill published in the GitHub repository ninthwave-io/ninthwave (8 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 123 tokens to every session and 3,746 once invoked, about $0.0006 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.