Analyze therapy session transcripts or journal entries. Identifies cognitive patterns, emotional themes, and tracks progress over time. Automatically references recent analyses for context. Use for session analysis, journal reflection analysis, or pattern identification.
/plugin marketplace add tolgaio/mindwork/plugin install tolgaio-mindwork@tolgaio/mindworkThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Part of the mindwork suite. Analyzes transcripts and journal entries to identify patterns, themes, and track progress.
mindwork.yaml config file (optional but recommended)"Analyze my therapy session from transcriptions/2024-01-15-session.md"
"Analyze today's journal entry at journals/2024-01-18.md"
"Analyze transcriptions/session-005.md and save to analysis/session-005-analysis.md"
"Analyze all journal entries from this week"
"Analyze my last 3 therapy sessions and compare the themes"
When analyzing content, follow this structured approach:
Check for mindwork.yaml in these locations (in order):
./mindwork.yaml)~/.config/mindwork/config.yaml)~/.mindwork.yaml)Extract:
outputs.analysis - where to save analysis filespreferences.context_count - how many recent analyses to load (default: 5)Read the most recent analysis files from the output directory for context. This enables progress tracking across sessions.
Look for files matching *-analysis.md in the analysis folder, sorted by date/name descending.
Read the specified transcript or journal file completely.
Analyze the content using the frameworks below.
Create a structured markdown file following the output template.
Save to the configured analysis folder and provide a brief summary to the user.
When analyzing content, look for these cognitive patterns (often called "cognitive distortions" in CBT):
| Pattern | Description | Example |
|---|---|---|
| All-or-Nothing Thinking | Seeing things in black and white | "I'm a complete failure" |
| Overgeneralization | One event becomes a never-ending pattern | "This always happens to me" |
| Mental Filter | Focusing only on negatives | Dwelling on one criticism despite praise |
| Disqualifying the Positive | Rejecting positive experiences | "That doesn't count" |
| Mind Reading | Assuming you know what others think | "They must think I'm incompetent" |
| Fortune Telling | Predicting negative outcomes | "I know this will go wrong" |
| Catastrophizing | Expecting the worst-case scenario | "If I fail this, my life is over" |
| Emotional Reasoning | Feelings as evidence | "I feel stupid, so I must be stupid" |
| Should Statements | Rigid rules about how things should be | "I should be further along by now" |
| Labeling | Fixed negative labels on self/others | "I'm a loser" |
| Personalization | Taking excessive responsibility | "It's all my fault" |
| Magnification/Minimization | Blowing up negatives, shrinking positives | Obsessing over mistakes |
When context is available, note:
When analyzing therapy session transcripts, identify:
Use this structured format for analysis output:
# Analysis: {source_filename}
**Date**: {analysis_date}
**Source**: {source_path}
**Type**: {transcript|journal}
---
## Summary
{2-3 sentence overview of the content and its significance}
---
## Cognitive Patterns Observed
{For each pattern identified:}
### {Pattern Name}
- **Evidence**: "{quote or paraphrase from content}"
- **Context**: {situation in which this appeared}
- **Frequency**: {if recurring, note this}
---
## Emotional Themes
### Primary Emotions
- **{Emotion}**: {context and triggers}
### Triggers Identified
- {Trigger 1}: {description}
- {Trigger 2}: {description}
### Coping Strategies Noted
- {Strategy}: {how it was used, effectiveness}
---
## Key Insights
- {Insight 1}
- {Insight 2}
- {Insight 3}
---
## Progress Notes
{If previous analyses are available:}
### Compared to Previous Sessions
- {Notable change or pattern}
- {Theme that persists or evolved}
### Recurring Themes
- {Theme that appears across sessions}
### Growth Observed
- {Positive development noted}
---
## Suggested Focus Areas
{Areas that might benefit from attention in future sessions or reflection:}
1. {Area 1}: {why and potential approach}
2. {Area 2}: {why and potential approach}
---
## Therapist Techniques (if applicable)
{For therapy transcripts only:}
- **{Technique}**: {how it was applied, client response}
---
*Analysis generated by mindwork*
Save analysis files using this pattern:
{date}-{original-name}-analysis.md
Examples:
2024-01-15-session-001-analysis.md2024-01-18-morning-journal-analysis.mdAnalysis files contain sensitive personal information. Store them securely.
When loading previous analyses for context:
If only partial content is available or readable, note this in the analysis and work with what's available.