session-to-templates

Community

Mine reusable prompt templates from AI sessions.

Authorcdrguru
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables developers to mine reusable prompt templates from Claude Code sessions, turning lengthy conversations into structured, reusable prompts to accelerate future work.

Core Features & Use Cases

  • Session-scoped extraction: scans Claude Code session files, identifies high-signal turns, and collects key exchanges.
  • Sampling strategy: uses head, tail, and key-turn selection to preserve problem-solution context while keeping prompts concise.
  • Template generation: leverages an LLM to distill prompts into a reusable template library for reuse in future tasks.
  • Use Case: create a prompt library for common coding tasks to speed up new projects and onboarding.

Quick Start

Run the batch tool to generate reusable templates from your Claude Code sessions.

Dependency Matrix

Required Modules

requestspython-dotenv

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: session-to-templates
Download link: https://github.com/cdrguru/portable-agent-kit/archive/main.zip#session-to-templates

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.