Signal friction scan

From joelhooks/joelclaw · View interactive version

Signal friction scan is an AI agent skill from the GitHub repository joelhooks/joelclaw. Scan recent agent sessions for repeated friction, corrections, approvals, workflow patterns, and packaging candidates. Use when asked to find signals, friction, recurring manual workflows, missing skills, prompt improvements, or automation opportunities from recent Codex/Pi work.

How to use this skill

Skill file

Signal Friction Scan

Use this to turn recent session history into a grounded shortlist of improvements: skill patches, new skills, docs, runbooks, commands, monitors, automations, or deliberate skips.

This is a scan and synthesis skill, not a license to mutate the system immediately. Default to Pass 1: investigate, produce a shortlist, and stop unless Joel explicitly asks to create or patch assets.

When to Use

Trigger on requests like:

Also use it when a task asks for repeated patterns across recent Codex/Pi work, especially if the output should become durable process.

Evidence Order

Use available evidence in this order:

  1. Local session signals and friction scans.
  2. Targeted session searches and bounded extracts for high-signal hits.
  3. Existing skills and docs, to avoid duplicates.
  4. .brain/, vault, ADRs, project docs, and swarm memory when relevant.
  5. Source repos, logs, issue trackers, Slack/email/task systems only when needed to verify a candidate.

Chronicle or GUI history is discovery-only. Confirm important details in source systems before recommending mutations.

Core Commands

Start with local machine facts:

hostname
pwd

Run the broad signal scan:

joelclaw sessions signals \
  --kind any \
  --source local \
  --machine "$(hostname -s)" \
  --since 30d \
  --limit 40 \
  --evaluate

Run a focused friction scan:

joelclaw sessions friction \
  --source local \
  --machine "$(hostname -s)" \
  --since 30d \
  --limit 30

If hostname -s does not match the machine id used by session capture, rerun with the observed machine id from recent session paths or known context, for example:

joelclaw sessions signals --kind any --source local --machine blaine-the-mono --since 30d --limit 40 --evaluate

Use targeted searches to triangulate themes:

Use recall and the current session-search contract. Keep private queries in structured MCP arguments. Raw evidence requires a scope-bound evidenceDrilldownReceipt; missing projections do not grant raw access.

Inspect existing skill coverage:

find ~/Code/joelhooks/joelclaw/skills -maxdepth 2 -name SKILL.md -print
find ~/Code/joelhooks/joelclaw/skills -maxdepth 2 -name SKILL.md -print \
  | xargs rg -n "friction|signals|workflow-pattern|mode-mismatch|<candidate-term>"

Use bounded extracts only for candidates that may become concrete work:

Use recall and the current session-search contract. Keep private queries in structured MCP arguments. Raw evidence requires a scope-bound evidenceDrilldownReceipt; missing projections do not grant raw access.

How to Read Signals

Treat sessions signals as radar, not truth.

Look at:

Do not overfit on single words. Joel's fuck, fucking, and fuckin are emphasis, not automatically anger. Classify by nearby critique, correction, approval, or preference.

Common high-value surfaces:

Candidate Criteria

Only recommend packaging when most of these are true:

Skip candidates that are one-off, speculative, too broad, mostly taste, private-sensitive, poorly evidenced, or already covered well enough.

Existing Asset Check

Before proposing a new skill, inspect for existing coverage:

Prefer extend existing over creating a duplicate. New skills are for missing reusable workflows, not every interesting pattern.

Output Shape

For Pass 1, return only a shortlist and recommendations. Do not edit files.

Use this shape:

**Evidence Inspected**

- Commands run and notable counts.
- Existing assets checked.
- Sources unavailable or failed.

**Shortlist**

| Candidate | Evidence | Frequency / Confidence | Pain | Recommended Form | Existing Assets | Recommendation |
|---|---|---:|---:|---|---|---|

**Highest-Confidence Recommendations**

1. <candidate>
   Why:
   Scope:
   Validation:

**Deliberately Skipped**

- <candidate and reason>

**Needs More Evidence**

- <candidate and exact missing evidence>

**Validation Performed**

- No files modified, unless explicitly requested.
- Commands run and their results.

Keep the report compact. Lead with the useful answer, then receipts.

Pass 2 Creation Rules

Only create or patch assets when Joel explicitly asks for Pass 2 or asks to capture a specific candidate.

When creating:

For a new joelclaw skill, follow add-skill: create under ~/Code/joelhooks/joelclaw/skills/<name>, keep frontmatter name matching the directory, symlink only where needed, record durable workflow decisions in Brain .svx, and commit only if Joel asks or the current workflow requires it.

Failure Handling

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.