claudecode-writer: Command for Claude Code

.claude/commands/extract-themes.md

extract-themes is a command for Claude Code from WomenDefiningAI/claudecode-writer. It costs 0 tokens per session (489 once invoked), scanned A, original, MIT.

A command for reading notes in a rawnotes folder and grouping them into recurring themes, connected ideas, and possible content topics. It also identifies the writer’s viewpoint and missing information.

In plain words
What is it for?
Use it to review a collection of notes, find three to five main themes, connect related thoughts, and identify promising article or content opportunities.
Why use it?
Scattered notes can contain useful ideas without a clear structure or indication of which ones are ready to develop. The command turns that material into organised content briefs.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is WomenDefiningAI/claudecode-writer's own configuration. It tells Claude Code how to work on claudecode-writer itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claudecode-writer configures →

Reuse

Borrowing it

Nothing to install: this file belongs to WomenDefiningAI/claudecode-writer. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/WomenDefiningAI/claudecode-writer/main/.claude/commands/extract-themes.md
Clone the repo
git clone --depth 1 https://github.com/WomenDefiningAI/claudecode-writer

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for extract-themes

README.md
[![agentmods](https://agentmods.dev/badge/commands/womendefiningai/claudecode-writer/extract-themes.svg)](https://agentmods.dev/commands/womendefiningai/claudecode-writer/extract-themes)
Your own site
<a href="https://agentmods.dev/commands/womendefiningai/claudecode-writer/extract-themes"><img src="https://agentmods.dev/badge/commands/womendefiningai/claudecode-writer/extract-themes.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 489 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00489
Opus 5 $0.00000 $0.00244
Sonnet 5 $0.00000 $0.00098
Haiku 4.5 $0.00000 $0.00049

Measured 7d ago against content hash 02bb3705859d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

extract-themes scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/extract-themes.md · 48 lines

How it starts

The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Extract Themes Command

Use this command to analyze raw notes and identify coherent themes, patterns, and content opportunities.

Usage

/extract-themes

What This Command Does

  1. Analyzes all files in the /rawnotes folder
  2. Identifies recurring themes and patterns across notes
  3. Connects disparate ideas into coherent narratives
  4. Surfaces the user's unique perspective and voice
  5. Creates structured content briefs ready for development

Process

  • Note Discovery: Scan all files in /rawnotes for content and context
  • Pattern Recognition: Identify recurring topics, themes, and interests
  • Connection Mapping: Link related ideas across different notes and timeframes
  • Voice Analysis: Extract the user's distinctive perspective and angle on topics
  • Narrative Threading: Weave scattered thoughts into coherent storylines
  • Gap Identification: Find missing pieces needed to complete ideas
  • Opportunity Spotting: Identify which themes are ready for full development

Output

Provides a structured theme analysis with:

  • Core Themes: 3-5 main patterns identified across all notes
  • Unique Angles: Your distinctive perspective on each theme
  • Content Opportunities: Which themes are ready for article development
  • Supporting Evidence: Quotes and insights from your raw notes
  • Missing Pieces: What additional research or development each theme needs
  • Platform Potential: How each theme could work across LinkedIn, newsletter, social
  • Next Actions: Clear steps to develop themes into full content

Integration Points

The output is designed to feed directly into:

  • LinkedIn Repurposing: Use linkedin-repurposer agent on developed themes
  • Research Command: Feed theme briefs into /research for deeper development
  • Writing Workflow: Use themes as starting points for /write command

File Management

After completing the analysis, automatically save results to:

  • File Location: research/theme-analysis-[YYYY-MM-DD].md
  • File Format: Markdown with clear theme sections and actionable next steps
  • Cross-Reference: Include links back to original raw note files

Read the full file on GitHub · 48 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 48 lines · 0 tokens per session scan A 02bb3705859d

Subscribe to this mod's changes

extract-themes is a command published in the GitHub repository WomenDefiningAI/claudecode-writer (220 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 489 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.