generating-skills-from-logs

Extract recurring workflow patterns from session and CLI logs to generate skill candidates.

3|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/shutootaki/skills --skill generating-skills-from-logs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generating-skills-from-logs
Source: https://github.com/shutootaki/skills/tree/main/generating-skills-from-logs
Command: npx skills add https://github.com/shutootaki/skills --skill generating-skills-from-logs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Claude Code の会話履歴と CLI コマンド実行履歴(セッションログ)を分析し、繰り返しワークフローを発見して Agent Skills を自動生成する。ユーザーが履歴分析、繰り返しタスクの発見、スキル自動生成を求めた場合に使用する。 "analyze my history", "find repetitive tasks", "create skills from logs", "include cli history", "analyze command history", "繰り返しタスクを探して", "履歴からスキルを作って", "コマンド履歴も見て", "CLI履歴を含めて", "最近の履歴を元にスキルを作成" などのリクエスト時に使用される。

Core Features & Use Cases

  • Analyze session history to extract WHAT/HOW/FLOW patterns and identify candidate skills
  • Auto-generate SKILL.md content from the discovered patterns
  • Filter analysis by scope (current project by default) and optionally include CLI history for richer signals
  • Respect privacy and safety guidelines to avoid exposing sensitive data
  • Optional CLI history mode if the user opts in, with commands masked and prompts sanitized

Quick Start

Obtain user consent, read ~/.claude/history.jsonl for the target project, extract patterns, and generate initial skill candidates.

Frequently Asked Questions about generating-skills-from-logs

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

FAQPage Schema
How do I generate agent skills from CLI history and session logs?

To generate agent skills from CLI history and session logs, you need to extract recurring workflow patterns from your logs and auto-generate a SKILL.md file. The tool analyzes scope-limited data to output prioritized skill candidates with example prompts.

What is pattern extraction from session logs used for?

Pattern extraction from session logs is used to identify repetitive tasks and discover automation opportunities in your workflow. By analyzing your command history, it helps auto-generate ready-to-use agent skills to streamline future project work.

How do I find repetitive tasks in my project history?

You can find repetitive tasks in your project history by analyzing scope-limited session logs for recurring WHAT, HOW, and FLOW patterns. The tool filters analysis by the current project by default to identify and prioritize actionable workflow candidates.

Does generating skills from command history compromise data privacy?

Generating skills from command history does not compromise data privacy because the tool enforces strict privacy safeguards. When optional CLI history mode is enabled, commands are masked and prompts are sanitized to avoid exposing sensitive data.

Can I include CLI command history when analyzing session logs for skill candidates?

Yes, you can include CLI command history when analyzing session logs for skill candidates by opting into the optional CLI history mode. This provides richer signals for pattern extraction while maintaining privacy safeguards through command masking and prompt sanitization.

What is the best way to turn workflow patterns into a SKILL.md file?

The best way to turn workflow patterns into a SKILL.md file is to analyze your session logs, extract recurring task patterns, and auto-generate the content. The tool outputs a prioritized list of skill candidates complete with example prompts and a creation plan.