friction-log

friction-log is a skill for Claude Code, Codex from aurorascharff/agent-friction-skill. It costs 76 tokens per session (2,193 once invoked), scanned A, original, MIT.

A written record of problems encountered during a development task, including where the agent or developer got stuck and why.

In plain words
What is it for?
Use it to document a specific development pain point in a friction-log file.
Why use it?
It preserves confusing steps and documentation gaps so they can be investigated or improved later.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to document a specific development pain point in a friction-log file.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aurorascharff/agent-friction-skill/agent-friction-skill"><img src="https://agentmods.dev/badge/skills/aurorascharff/agent-friction-skill/agent-friction-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,193 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.00076 $0.02193
Opus 5 $0.00038 $0.01097
Sonnet 5 $0.00015 $0.00439
Haiku 4.5 $0.00008 $0.00219

Measured 11d ago against content hash 9267236f93ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

friction-log 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 11d 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.

SKILL.md · 57 lines

How it starts

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

Friction Log

Document agentic developer experience friction as it's encountered during a development task — friction that blocks agents also surfaces DX issues for developers. Treat friction logging as equally important as task completion.

Instructions

When invoked:

  1. Identify the output file — use the argument if provided. Otherwise, name the log after the task with the fl- prefix: fl-<feature>.md. If this run scaffolds a new fl-<feature>/ folder (see #7), the log lives inside that folder as fl-<feature>/fl-<feature>.md. If no scaffold was created, write fl-<feature>.md in the current working directory. Keeping the log next to the code it describes makes the artifact self-contained: zipping or sharing the fl- folder ships the log with it. The fl- prefix makes the file recognisable as a friction log even when it has been moved out of its folder.
  2. Identify the task from the user's first message. The user's first message IS the task. Do not ask clarifying questions before starting unless you are genuinely blocked.
  3. Identify the input — if the task involves an existing codebase, include it as Input in the log header. Use the URL the user provided; otherwise use the local path.
  4. Record the prompt — write the user's initial request verbatim into the log before doing any work.
  5. Record the model and harness — at the top of the log, record the model name (e.g. Claude Sonnet 4.6) and the harness you are running under (e.g. Claude Code, Cursor, DX Agent). Only ask the user if both are genuinely unknown to you.
  6. Read any URLs in the prompt first — if the user's prompt contains URLs (GitHub repos, documentation links, reference files), read their content BEFORE starting the task. Do not skip URLs or silently proceed without reading them.
  7. Name any scaffolded repo after the task — if the task involves creating a new app or repo, use a fl- prefix followed by the feature or API being tested (e.g. fl-catcherror, fl-instant-nav). The prefix makes clear the repo was created as part of a friction log run. Do not use generic names like my-app or test-app. Write the friction log file inside this folder using the same prefix (fl-<feature>/fl-<feature>.md), not in the parent directory.
  8. Log friction as you encounter it — write to the file in real time, not at the end. Each friction entry must say what you expected, what actually happened, what you tried, and how it resolved (or that it didn't). The resolution is as valuable as the friction itself.
  9. Do not initiate questions to the user mid-run. Push uncertainty into the log as friction with the right source tag ([web search], [docs], [training data], [sandbox]) showing what you fell back on, and keep working. Only stop and ask if you are truly blocked AND your harness supports interactive prompts — most agentic harnesses do not. When in doubt, write the friction down and keep going.
  10. Watch for out-of-band context the harness may inject mid-run. Some harnesses surface user messages typed into the running session (chat-thread replies, queued Slack messages, etc.) as system messages at the start of a turn. Treat each item as either:
    • An instruction ("also check headers", "use Turbopack instead") — incorporate it into the current run and adjust any in-progress log entries to reflect it.
    • A direct question ("did you check the headers?", "what version are you on?") — answer it concisely via whatever reply mechanism your harness provides (e.g. a slack_reply-style tool), BEFORE continuing other work. Log the exchange verbatim at the point in time it arrived, using > **User:** … and > **Agent:** … blockquotes.
  11. Cite your sources — every log entry must end with a source tag indicating how you obtained the information. See references/agent-behavior.md for the full list.
  12. Action Items are the most important part of the log. Every friction point (🟡 or 🔴) MUST produce at least one action item. Do NOT leave placeholders like [To be filled] — write concrete, specific action items. Each item MUST have an indented Context: line below it with the specific friction encountered. Split them into three subsections:
    • Docs — fixable with better documentation, clearer callouts, or updated examples. 🔧 prefix.
    • Framework — requires a code change: error messages, warnings, scaffold defaults, tooling, agent-layer infrastructure. 🔧 prefix.
    • DX / Research — open questions or investigations worth pursuing. 🔍 prefix.
  13. Build failures are friction, not stopping points. When a build or test fails, log it as a 🔴, read the error output carefully, try to fix it, and rebuild. A failed build is often the most valuable part of the log. Cap retries — three attempts is usually enough; if it still fails, write what you learned and move on. Do NOT brute-force the same failing command.
  14. Track cumulative build time. If the harness exposes per-build duration (or you can time it cleanly), keep a running total across all build attempts and write it in the header as **Build time:** Xs. This captures total time lost to builds — more builds from bad DX means higher build time. If you cannot time builds, omit the field rather than guess.
  15. Tool timeouts are friction signal. If a tool returns timedOut: true (or its equivalent), log it as 🔴, do not retry the same command, and switch tools or approach. Repeated timeouts on the same command are pure budget waste.
  16. When done, write the log, then cat it to stdout, then stop. After the file is finalized, print its full contents (e.g. cat fl-<feature>.md or cat fl-<feature>/fl-<feature>.md) so the user sees the log inline in the terminal — do not just point at the file path. You may also mention that the log can be pasted into https://agent-friction-skill.vercel.app/ for a collapsible, severity-coded view. Do not ask the user to review it, do not offer to deploy, do not ask follow-ups. Do NOT add an empty ## Skill Feedback section — an empty placeholder is uglier than no section. Only append a ## Skill Feedback section later, if the user reviews the log and explicitly points out a place where the skill itself caused you to behave incorrectly (use 🔁 prefix). This is not DX feedback; it is feedback for improving the skill. If the failure was caused by the task environment, it belongs in Action Items instead.
  17. The final log MUST always include every required section from the template — Header, Prompt, Tool Timeline, Summary, Action Items (Docs + Framework + DX / Research), and Log. No exceptions. Even if the build never succeeded, write a Summary of what happened and Action Items based on the friction you observed. An incomplete log with a missing Summary or missing Action Items is a failure. Skill Feedback is optional and added later (see #16) — never include an empty version.
  18. Write the log progressively — NEVER use placeholders. Do NOT write the full template skeleton with [To be filled], [pending], [TBD], or empty sections. Instead:
    • At the START: write only the header (Date, Model, Harness, Task) and the Prompt section.
    • DURING the task: append Log entries as you encounter them. Rewrite the build-time field after each build.
    • At the END: write the Summary and Action Items based on everything you observed, then rewrite the full file with all sections filled in.
    • If you are running low on context or steps, STOP working on the task and immediately write the complete final log with Summary and Action Items based on what you have so far. A complete log with fewer log entries is far better than an incomplete log. Never end the log mid-sentence or without Summary + Action Items — these are mandatory regardless of how the run went.
  19. Always write a ## Tool Timeline section. Place it directly after ## Prompt, before ## Summary. List your tool calls chronologically as - HH:MM:SS — <tool>: <short description>. Write it yourself even if your harness also appends one — the log is read after the run, often pasted into a viewer that doesn't have access to harness-side appendices, so the timeline must be inside the file itself. Keep entries terse; this section is reference material, not narrative.

Read the full file on GitHub · 57 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. 11d ago First seen · 57 lines · 76 tokens per session scan A 9267236f93ec

Subscribe to this mod's changes

friction-log is a skill published in the GitHub repository aurorascharff/agent-friction-skill (23 stars, last pushed 11d ago), licensed MIT. It adds 76 tokens to every session and 2,193 once invoked, about $0.0004 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens