agentleFS
bostonaholicbostonaholic/skills/skills/engineering/summarizing-friction-logs/SKILL.md

summarizing-friction-logs

Skill1 starsChanged 2 months agoMITView on GitHub

Aggregates frog friction logs across every repository in a workspace plus the global log into one prioritized dashboard. Use when asked for the friction dashboard, all known friction or papercuts across repos, to list friction logs, or to decide which friction to fix first.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check for frog with command -v frog.

    line 10
  2. Very specific:

    Entries table: every rendered entry in one table, sorted by severity, then newest first.

    line 77
  3. Very specific:

    Read-only: never run frog resolve or frog publish, and never edit entries.

    line 97

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Summarizing friction logs

Collect every frog friction entry in a workspace into one read-only dashboard, so known friction can be prioritized in a single view. Check for frog with command -v frog; when it is missing, use the fallback in step 3 and never install it.

1. Resolve the workspace

The workspace is the directory that holds the user's repositories. Use the path the user gives. Otherwise use the parent of the current repository's top level (git rev-parse --show-toplevel; from a linked worktree, use the main clone, which git worktree list prints first). Outside a repository, ask once.

2. Discover the friction logs

find <workspace> -maxdepth 3 -type d -path '*/.agents/friction-log' -not -path '*/.claude/worktrees/*'

Depth 3 reaches <workspace>/<repo>/.agents/friction-log. Worktree paths are excluded because worktrees share the primary clone's log and would double-count entries. <workspace>/.agents/friction-log also matches: it is not a repo but the global store for system-wide and cross-repo friction (a CLI or MCP server used everywhere, machine and shell setup, an agent harness). Label that scope global throughout, never the workspace's directory name, and never count it as a repo. If nothing matches, report the workspace path and stop.

3. Collect entries per scope

frog list --cwd <scope> --format json

<scope> is the discovered path minus /.agents/friction-log: a repo root, or the workspace for the global store. Each entry has id, title, severity (blocker, major, or minor), state (pending or linked), and an optional target, the upstream owner/repo the friction belongs to. Without frog, read each <scope>/.agents/friction-log/<id>/friction.md directly; its YAML frontmatter carries title, severity, and target.

4. Count before reading or rendering

Print the workspace path and each scope's total, for example Workspace: ~/src, global: 41, api-server: 18, web-app: 6.

A scope with more than 15 entries switches to bounded mode; these limits keep the dashboard readable. Sort its entries by severity (blocker, major, minor), then newest first, and read and render only the top 10, plus an aggregate line for the rest, for example + 31 more (4 major, 27 minor) not rendered. Scopes with 15 or fewer entries render in full. Never drop entries without saying so.

5. Read entry detail

For each entry selected for rendering, read <scope>/.agents/friction-log/<id>/friction.md and distill its body into a one-line gist: what got in the way, plus the suggested fix when the entry names one. The list output carries only titles; the gist makes the dashboard actionable.

6. Render the dashboard

Present one Markdown dashboard in the final message. The layout is exact: keep these sections, their order, the columns, glyphs, and line formats; only values change.

  1. Header: total entries, repo count, and a severity breakdown over all entries, with global entries counted separately, for example 7 entries across 3 repos + 2 global: 1 blocker · 3 major · 5 minor. Drop the + N global clause when the global log is empty. Append any bounded scopes, for example (bounded: global 41→10, api-server 18→10).
  2. Entries table: every rendered entry in one table, sorted by severity, then newest first. Glyphs: 🔴 blocker, 🟠 major, 🟡 minor. Derive Logged from the id's YYYYMMDDHHMMSS prefix. When an entry has a target, append (upstream: owner/repo) to its title.

    SevScopeEntryStateLogged
    🔴 blockerapi-servertitlependingAug 19
    🟠 majorglobaltitlelinkedAug 20
  3. Detail: one short paragraph per rendered entry (its gist), grouped by scope, so each row can be understood without opening files. Put global last: it is everyone's friction rather than one project's.
  4. Footer: one line naming scopes whose log has zero entries (for example No entries: docs-site, cli-tools), a note for any log that could not be read, and one line per bounded scope, for example Bounded: global, 41 total, showing 10, + 31 more (4 major, 27 minor) not rendered.

Notes

  • Read-only: never run frog resolve or frog publish, and never edit entries.
  • pending versus linked matters when prioritizing: pending entries are filed nowhere else, so they are invisible outside this dashboard.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.