captainphantasy/deerfloyd/conversation-analyzer

Claude Code and agent skill by captainphantasy/deerfloyd

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Analyze conversation transcripts to identify problematic behaviors, user frustrations, and repeated mistakes. Generates actionable hook rules to prevent recurrence. Use when users say "hookify", "analyze this conversation", "what mistakes did you make", or "create rules from this session".

Install

npx vskill@latest install captainphantasy/deerfloyd/conversation-analyzer

SKILL.md

The same SKILL.md was published earlier as captainphantasy/deerfloyd/conversation-analyzer.

Conversation Analyzer Skill

Overview

This skill analyzes conversation transcripts to identify patterns of problematic behavior by the AI agent, then generates structured rules to prevent recurrence. It bridges the gap between user frustration and automated prevention.

When to Use This Skill

  • User runs /hookify command
  • User says "analyze this conversation for mistakes"
  • User says "what did you do wrong?"
  • User wants to create rules from a session
  • After a session with repeated corrections

Analysis Process

1. Search for User Frustration Signals

Read user messages in reverse chronological order. Look for:

Explicit corrections:

  • "Don't use X", "Stop doing Y", "Please don't Z"
  • "Avoid...", "Never..."

Frustrated reactions:

  • "Why did you do X?", "I didn't ask for that"
  • "That's not what I meant", "That was wrong"

Corrections and reversions:

  • User reverting changes the agent made
  • User fixing issues the agent created
  • User providing step-by-step corrections

Repeated issues:

  • Same type of mistake multiple times
  • User having to remind multiple times
2. Identify Tool Usage Patterns

For each issue, determine:

  • Which tool: Bash, Edit, Write, etc.
  • What action: Specific command or code pattern
  • When it happened: During what task/phase
  • Why problematic: User's stated reason or implicit concern
3. Create Regex Patterns

Convert behaviors into matchable patterns:

Bash command patterns:

  • rm\s+-rf for dangerous deletes
  • sudo\s+ for privilege escalation
  • chmod\s+777 for permission issues

Code patterns (Edit/Write):

  • console\.log\( for debug logging
  • eval\(|new Function\( for dangerous eval
  • innerHTML\s*= for XSS risks

File path patterns:

  • \.env$ for environment files
  • /node_modules/ for dependency files
4. Categorize Severity
SeverityDescriptionAction
HighDangerous commands, security issues, data lossBlock
MediumStyle violations, wrong file typesWarn
LowPreferences, non-critical patternsOptional
5. Output Format
markdown
## Hookify Analysis Results
### Issue 1: [Title]
**Severity**: High/Medium/Low
**Tool**: Bash/Edit/Write
**Pattern**: `regex_pattern`
**Occurrences**: N times
**Context**: Description of what happened
**User Reaction**: Quote from user
**Suggested Rule:**
-Name: rule-name
-Event: bash/file/stop
-Pattern: regex_pattern
-Action: block/warn
-Message: "Human-readable explanation"
---
[Continue for each issue...]
## Summary
Found N behaviors worth preventing:
-N high severity
-N medium severity
-N low severity
6. Rule File Generation

For each approved rule, generate a .local.md file:

markdown
---
name: rule-name
enabled: true
event: bash
action: warn
conditions:
-field: command
operator: regex_match
pattern: "rm\\s+-rf"
---
Warning: Dangerous rm command detected. Verify the path before proceeding.

Quality Standards

  • Be specific about patterns (don't be overly broad)
  • Include actual examples from conversation
  • Explain why each issue matters
  • Provide ready-to-use regex patterns
  • Don't false-positive on discussions about what NOT to do

Edge Cases

  • Hypothetical discussions: "What would happen if..." → not a real issue
  • Teaching moments: "Here's what you shouldn't do" → not a real issue
  • One-time accidents: Single occurrence, already fixed → low priority
  • Subjective preferences: "I prefer X over Y" → let user decide

Mandatory execution contract

For EACH requested item: 1) Show exact action taken 2) Show direct evidence (file/line/command/output) 3) Show verification result 4) Mark status only after proof

Forbidden behaviors

  • Declaring "done" without evidence
  • Collapsing multiple requested items into one vague summary
  • Skipping failed steps without explicit blocker report

Required output structure

A) Requested items checklist B) Per-item evidence ledger C) Verification receipts D) Completeness matrix (item -> done/blocked -> evidence)

Hard gate

If any requested item has no evidence row, final status MUST be INCOMPLETE.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/captainphantasy/deerfloyd/conversation-analyzer/badge)](https://verified-skill.com/skills/captainphantasy/deerfloyd/conversation-analyzer)

Something wrong with this skill or its page? Tell us.