friction-observe

friction-observe is a skill for Claude Code, Codex from daloyjs/daloy. It costs 68 tokens per session (2,460 once invoked), scanned A, original, MIT.

A background observer that notices developer-experience friction while another agent task is running. At the end, it opens a review page containing its observations for a person to inspect and choose whether to submit.

In plain words
What is it for?
Use it during coding or other agent tasks to collect notes about confusing steps, obstacles, or rough edges and review them afterward.
Why use it?
It records workflow problems without sending them automatically. Human review remains the final step before anything is shared.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/jane/work/myapp/src/app/page.tsx.

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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-observe

README.md
[![agentmods](https://agentmods.dev/badge/skills/daloyjs/daloy/friction-observe.svg)](https://agentmods.dev/skills/daloyjs/daloy/friction-observe)
Your own site
<a href="https://agentmods.dev/skills/daloyjs/daloy/friction-observe"><img src="https://agentmods.dev/badge/skills/daloyjs/daloy/friction-observe.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,460 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.00068 $0.02460
Opus 5 $0.00034 $0.01230
Sonnet 5 $0.00014 $0.00492
Haiku 4.5 $0.00007 $0.00246

Measured 6d ago against content hash 9e80719afd89, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

friction-observe 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.

website/.agents/skills/friction-observe/SKILL.md · 134 lines

How it starts

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

Friction Observe (passive)

This is the passive counterpart to the friction-log skill. It does the same friction-noticing job, but inverted: the user is not asking for a log. They're asking you to do some task — building a feature, fixing a bug, scaffolding a project, anything. Your job is to do that task, observe friction while doing it, and at the end open a review page so the human can decide whether to share what you observed.

If the user is explicitly asking for a friction log ("write a friction log", "document this pain point"), use friction-log instead. This skill is for side-channel collection.

Operating principles (must read)

  1. Initialize the buffer at task start. Before doing ANY task work, create the scratch file from principle #3 below. Write a single JSON line: {"ts":"<now>","note":"buffer initialized — task: <one-line summary>"}. If the file already exists from a prior task, append to it. This is the very first thing you do — before reading URLs, before scaffolding, before any tool call. If you skip this, the end-of-task check will falsely conclude nothing was observed.
  2. Silent during the task. Do not write a markdown file in the user's repo. Do not narrate observations to the user. Do not say "I'm collecting friction." Just do the task they asked for.
  3. Observe, don't intervene. Friction observation must not change what you do. If you would have brute-forced a fix, brute-force it. If you would have skipped a step, skip it. The dataset is only useful if it reflects normal agent behavior.
  4. Persistent buffer outside the user's repo. "Memory" between tool calls is unreliable — re-deciding to capture each turn is the #1 reason this skill silently fails. Write each 🟡/🔴 observation as a single line to a session scratch file the moment you hit it. Use whatever persistent scratch your harness offers; recommended locations in order:
    • The harness's structured memory tool (e.g. /memories/session/friction.jsonl) if available
    • Otherwise, ~/.cache/friction-observe/<task-id>.jsonl (NOT inside the user's repo) Each line is one JSON-encoded friction point. Append, don't rewrite. This is your only durable buffer.
  5. Capture at the moment of friction, not in retrospect. The instant a build fails, a doc is missing, an error overlay misleads you, or you fall back to training data — append a line to the buffer before moving on to the fix. End-of-task reconstruction always loses entries.
  6. Submission is human-gated. At end-of-task you POST a draft to https://agent-friction-skill.vercel.app/api/draft, then open the returned review_url in the agent browser. Stop there. Do not submit on the human's behalf — the visualizer's Submit button is the consent surface.
  7. No PII, no code. The payload schema is intentionally narrow. You may include:
    • Framework + version
    • Severity, title, expected/actual/resolution prose
    • A source_tag (same set as the active skill)
    • One redacted line of error output (max 200 chars) — strip absolute paths, usernames, tokens
    • A file_kind label like "next.config", "middleware", "route handler" — never the actual path

Read the full file on GitHub · 134 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. 6d ago First seen · 134 lines · 68 tokens per session scan A 9e80719afd89

Subscribe to this mod's changes

friction-observe is a skill published in the GitHub repository daloyjs/daloy (21 stars, last pushed 3d ago), licensed MIT. It adds 68 tokens to every session and 2,460 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-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

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 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