extract-prompts

Extract and categorize prompts from Claude Code logs into Obsidian.

2|Updated Apr 28, 2025
One-click install
npx skills add https://github.com/gunubin/dotfiles --skill extract-prompts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: extract-prompts
Source: https://github.com/gunubin/dotfiles/tree/main/claude/.claude/skills/extract-prompts
Command: npx skills add https://github.com/gunubin/dotfiles --skill extract-prompts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of identifying and saving valuable insights, such as problems, emotions, and requests, from Claude Code prompts into Obsidian.

Core Features & Use Cases

  • Prompt Analysis: Automatically filters and analyzes prompts to identify key information.
  • Insight Extraction: Distinguishes between problems, emotions, requests, and questions.
  • Automated Saving: Saves extracted insights into a structured format within Obsidian.
  • Use Case: After a coding session, this Skill can process your interaction logs to highlight areas where you struggled, what you wished for, or what questions you had, making it easier to review and learn from your sessions.

Quick Start

Run the extract-prompts script to process Claude Code logs and save insights to Obsidian.

Frequently Asked Questions about extract-prompts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract insights from Claude Code logs?

Extracting insights from Claude Code logs involves using a bash script to parse conversational data and AI analysis to identify actionable user input, filtering out noise like commands and tool results. It categorizes findings into issues, emotions, requests, and questions for review.

Can I save Claude prompt insights directly to Obsidian?

Yes, you can save Claude prompt insights directly to Obsidian. The Skill processes your interaction logs and automatically saves the extracted and categorized insights into a structured format within your Obsidian workspace for later review.

How does automated prompt analysis filter out command noise?

Automated prompt analysis filters out command noise by distinguishing between actionable user input and irrelevant log data. It specifically removes short prompts, commands, and tool results, focusing only on conversational text that contains meaningful insights.

Do I need bash scripting to analyze Claude Code interaction logs?

Yes, bash scripting is required to analyze Claude Code interaction logs with this Skill. The extraction process relies on bash scripts to process the raw logs and AI-driven analysis to parse and structure the conversational data for Obsidian storage.

What type of conversational data is categorized during prompt extraction?

During prompt extraction, the conversational data categorized includes issues, emotions, requests, and questions. The AI-driven analysis identifies these specific insights from user input to highlight areas where you struggled or what you wished for during a session.