prompt-library

Extract effective prompts from sessions and save them to a reusable catalog.

4|2|Updated Jan 27, 2026
Ready to run
npx skills add https://github.com/Arete-Consortium/ai-skills --skill prompt-library-arete-consortium
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: prompt-library
Source: https://github.com/Arete-Consortium/ai-skills/tree/main/personas/claude-code/prompt-library
Command: npx skills add https://github.com/Arete-Consortium/ai-skills --skill prompt-library-arete-consortium

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Effective prompts discovered during work sessions are often lost, forcing you to reinvent prompt patterns that already worked. This Skill captures successful prompts, generalizes them into reusable templates, and appends them to a structured catalog file. ## Core Features & Use Cases - Session Scanning: Identifies prompts that achieved the desired outcome, used clever techniques, or demonstrated good prompt engineering. - Categorization & Templating: Classifies prompts into CODE, REVIEW, DOCS, TEST, DEPLOY, DESIGN, DATA, or META categories and generalizes specifics into {{placeholders}}. - Format Drift Guard: Runs a grep check on the target PROMPTS.md before writing to confirm the P-YYYYMMDD-### catalog format, preventing writes into the wrong file. - Use Case: After a productive debugging session, invoke the skill to extract the constraint-specification prompt that worked, templatize it, and append it as a P-ID entry in your DecisionLog prompt catalog. ## Quick Start Ask Claude to run the prompt-library skill to extract and save the effective prompts from this session.

Frequently Asked Questions about prompt-library

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

FAQPage Schema
How do I save effective prompts from a Claude session?▼

Invoke the prompt-library skill with /prompt-library or /prompts. It scans the session for prompts that achieved the desired outcome, categorizes them, generalizes specifics into placeholders, and appends them to your PROMPTS.md catalog.

What prompt categories does the prompt library support?▼

The skill classifies prompts into eight categories: CODE, REVIEW, DOCS, TEST, DEPLOY, DESIGN, DATA, and META. Each saved entry records its category, context, templated prompt text, and why it works.

Where does the prompt library save extracted prompts?▼

Entries are appended to ~/projects/DecisionLog/PROMPTS.md using the P-YYYYMMDD-### catalog format. A separate hand-maintained templates file at ~/projects/notes/PROMPTS.md is explicitly not a write target.

Why does the prompt library check the file format before writing?▼

The skill runs a grep check for existing P-YYYYMMDD-### entries to detect format drift. If the target file uses a different structure, it stops and asks the user rather than corrupting the wrong file.

What prompts should not be saved to a prompt library?▼

Skip simple one-off requests, prompts that needed multiple corrections, and context-heavy prompts that will not generalize. Good candidates are first-try successes, novel approaches, and reusable multi-step workflows.