/radar:radar-analyzefrom radar
Analyze your Claude Code and Cowork session history to surface actionable workflow insights. Diagnoses failures, identifies automation opportunities, aligns time allocation with goals, and flags repeated knowledge worth saving.
Ships in radar. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Analyze recent Claude Code and Cowork sessions to generate actionable workflow insights.
Uses the bundled workflow-analyzer for session parsing and enrichment. Claude does the reasoning.
This skill is self-contained — it does not depend on or use the Open Brain plugin, ai-brain MCP, or any external memory service. All data comes from local files.
$ARGUMENTS — Optional:
--days N — How many days of history to analyze (default: 7)Parse the days value from $ARGUMENTS if provided. Default to 7.
Run the workflow-analyzer CLI to parse and enrich sessions from all configured sources (Claude Code + Cowork):
# Bundled binary (preferred)
node "${CLAUDE_PLUGIN_ROOT}/bin/workflow-analyzer/dist/cli.js" parse --since ${DAYS} --output /tmp/workflow-analyzer-parsed.json
# Fallback if bin/ not available:
# npx @flippyhead/workflow-analyzer@latest parse --since ${DAYS} --output /tmp/workflow-analyzer-parsed.json
If the command fails, surface the error output directly to the user. Do not swallow the error or exit silently.
Read the output file. It contains { sessions: [...], sessionGroups: [...] }.
If sessions is empty, report "No activity in the last N days" and stop.
Otherwise, note the summary: how many sessions, which sources (claude-code, cowork), how many session groups.
Read ~/.claude/radar/catalogue.json and look at the insights array. Note:
status: "new" — unresolved insights to avoid duplicatingstatus: "dismissed" — things the user doesn't want to see againBuild a set of existing insight IDs and observation text to use for deduplication. If the catalogue doesn't exist, skip this step.
Read ~/.claude/CLAUDE.md if it exists. Look for stated goals, priorities, or focus areas. These are used by the Decision Support analysis below.
If no goals are found, skip goal-based analysis.
With all data gathered, analyze the parsed sessions and produce insights across four modules. For each insight, you MUST provide a concrete action — never just describe a problem without telling the user what to do about it.
Module A — Root Cause Diagnosis:
Look at tool failures in the session data. For each tool with a notable failure rate:
action type: run or action type: install)action type: acknowledge)Module B — Direct Automation:
Look for patterns that could be automated:
action type: install with settings.json patch)action type: install with skill content)Module C — Decision Support:
Using the session groups and any user goals from Step 3:
action type: decide)Module D — Knowledge Nudges:
Look for repeated topics across sessions:
action type: save)For each insight, produce:
{
"module": "root-cause | direct-automation | decision-support | knowledge-nudges",
"severity": "alert | action | suggestion | info",
"title": "One-line summary",
"observation": "What the data shows (with specific numbers)",
"diagnosis": "Why this is happening (optional)",
"action": {
"type": "install | run | save | review | decide | acknowledge"
},
"evidence": [{"metric": "specific numbers"}],
"effort": "low | medium | high",
"impact": "low | medium | high",
"confidence": 0.0-1.0,
"deduplicationKey": "unique-key-for-this-insight"
}
Action types:
install: { type: "install", artifact: "filename", content: "file content to install" }run: { type: "run", command: "command to run", explanation: "why" }save: { type: "save", content: "what to save", destination: "CLAUDE.md or project memory" }review: { type: "review", summary: "what to look at", links: [] }decide: { type: "decide", question: "decision to make", options: ["option 1", "option 2"] }acknowledge: { type: "acknowledge", message: "FYI only, no action needed" }Aim for 5-10 total insights. Prioritize high-impact/low-effort actions. Skip insights that duplicate existing insights from Step 2.
# Bundled binary (preferred)
node "${CLAUDE_PLUGIN_ROOT}/bin/workflow-analyzer/dist/cli.js" publish --insights /tmp/workflow-analyzer-insights.json
# Fallback if bin/ not available:
# npx @flippyhead/workflow-analyzer@latest publish --insights /tmp/workflow-analyzer-insights.json
The insights JSON file should contain:
{
"insights": [...],
"metadata": {
"period": { "since": "ISO date", "until": "ISO date" },
"sessionCount": N,
"sources": ["claude-code", "cowork"],
"modulesRun": ["root-cause", "direct-automation", "decision-support", "knowledge-nudges"]
}
}
Write this file before running the publish command.
Append insights to ~/.claude/radar/catalogue.json's insights array. If the file or ~/.claude/radar/ directory doesn't exist:
~/.claude/radar-catalogue.json or ~/.claude/scout-catalogue.json. If found, migrate using the same transformation as radar-scan Step 1 (see below).{ "version": "1.0", "updatedAt": null, "items": [], "insights": [] }.Convert each insight to the catalogue insight schema:
{
"id": "analyze-<deduplicationKey>",
"type": "pattern",
"observation": "<insight.observation>",
"recommendation": "<describe the action>",
"evidence": ["<insight.evidence metrics>"],
"relatedItems": [],
"createdAt": "<ISO date>",
"status": "new"
}
Output a brief summary:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub flippyhead/radar --plugin radar5 skills in this plugin
/radarYour AI development radar — scan the ecosystem for new tools and techniques, then get personalized recommendations. Combines radar-scan and radar-recommend in one command./radar-recommendMatch catalogued AI tools and techniques against your goals and usage patterns. Surfaces personalized recommendations./radar-reviewReview your radar catalogue in a local web UI — browse, star, dismiss, annotate, and filter discovered tools and insights./radar-scanScan external sources for AI tools, features, and techniques. Builds a discovery catalogue from dependency changelogs, HN (targeted + firehose), GitHub, YouTube, a people-to-watch list, and your inbox.