prompt-library

prompt-library is a skill for Claude Code, Codex from davila7/claude-code-templates. It costs 57 tokens per session (1,751 once invoked), scanned A, original, MIT.

A collection of ready-to-use prompts for common coding, writing, analysis, and creative tasks. It includes role-based prompts, task templates, and examples for improving instructions to AI models.

In plain words
What is it for?
Use it to find prompts for code reviews, expert roles, task-specific work, and other repeated interactions with an AI assistant.
Why use it?
It reduces the time spent writing prompts from scratch and provides starting points when you are unsure how to ask an AI assistant for a particular result.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

About the project

Claude Code Templates is a command-line tool and catalogue for configuring Anthropic’s Claude Code with agents, commands, settings, hooks, integrations, skills, and project templates. Developers use it to browse and install reusable components for their coding workflows. The catalogue includes many of these Claude Code components.

davila7/claude-code-templates · 30,542 stars · on GitHub · aitmpl.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/davila7/claude-code-templates/prompt-library
Any agent
npx skills add davila7/claude-code-templates --skill prompt-library
Clone the repo
git clone --depth 1 https://github.com/davila7/claude-code-templates

Made for: Claude Code, Codex.

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 prompt-library

README.md
[![agentmods](https://agentmods.dev/badge/skills/davila7/claude-code-templates/prompt-library.svg)](https://agentmods.dev/skills/davila7/claude-code-templates/prompt-library)
Your own site
<a href="https://agentmods.dev/skills/davila7/claude-code-templates/prompt-library"><img src="https://agentmods.dev/badge/skills/davila7/claude-code-templates/prompt-library.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,751 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00057 $0.01751
Opus 5 $0.00028 $0.00875
Sonnet 5 $0.00011 $0.00350
Haiku 4.5 $0.00006 $0.00175

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

Security

Grade A, and why

prompt-library 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 2d 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.

cli-tool/components/skills/ai-research/prompt-library/SKILL.md · 323 lines

How it starts

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

📝 Prompt Library

A comprehensive collection of battle-tested prompts inspired by awesome-chatgpt-prompts and community best practices.

When to Use This Skill

Use this skill when the user:

  • Needs ready-to-use prompt templates
  • Wants role-based prompts (act as X)
  • Asks for prompt examples or inspiration
  • Needs task-specific prompt patterns
  • Wants to improve their prompting

Prompt Categories

🎭 Role-Based Prompts

Expert Developer
Act as an expert software developer with 15+ years of experience. You specialize in clean code, SOLID principles, and pragmatic architecture. When reviewing code:
1. Identify bugs and potential issues
2. Suggest performance improvements
3. Recommend better patterns
4. Explain your reasoning clearly
Always prioritize readability and maintainability over cleverness.
Code Reviewer
Act as a senior code reviewer. Your role is to:
1. Check for bugs, edge cases, and error handling
2. Evaluate code structure and organization
3. Assess naming conventions and readability
4. Identify potential security issues
5. Suggest improvements with specific examples

Format your review as:
🔴 Critical Issues (must fix)
🟡 Suggestions (should consider)
🟢 Praise (what's done well)
Technical Writer
Act as a technical documentation expert. Transform complex technical concepts into clear, accessible documentation. Follow these principles:
- Use simple language, avoid jargon
- Include practical examples
- Structure with clear headings
- Add code snippets where helpful
- Consider the reader's experience level
System Architect
Act as a senior system architect designing for scale. Consider:
- Scalability (horizontal and vertical)
- Reliability (fault tolerance, redundancy)
- Maintainability (modularity, clear boundaries)
- Performance (latency, throughput)
- Cost efficiency

Provide architecture decisions with trade-off analysis.

🛠️ Task-Specific Prompts

Read the full file on GitHub · 323 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. 2d ago First seen · 323 lines · 57 tokens per session scan A 4213f5a4aaf9

Subscribe to this mod's changes

prompt-library is a skill published in the GitHub repository davila7/claude-code-templates (30,542 stars, last pushed today), licensed MIT. It adds 57 tokens to every session and 1,751 once invoked, about $0.0003 per session on Opus 5. 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-09-03.

Related

Other skills, from other repositories

Prompting

Meta-prompting standard library for generating, optimizing, and composing prompts programmatically via Standards, Handlebars Templates, and Tools; output is always a prompt to use elsewhere, not final content. USE WHEN meta-prompting, template generation, prompt optimization, prompt engineering, write a prompt, create…

danielmiessler/LifeOS · 90 tokens

Fabric

Execute any of 240+ specialized prompt patterns natively across Extraction, Summarization, Analysis, Creation, Improvement, Security, Rating. Common: extractwisdom, createthreatmodel, analyzeclaims, improvewriting, reviewcode, mermaid, youtubesummary. CLI used only for YouTube transcript (-y) and URL fallback (-u).…

danielmiessler/LifeOS · 136 tokens

cost-aware-llm-pipeline

成本感知 LLM 管道,根据任务复杂度选择合适模型, 管理上下文预算,避免在长会话末尾做大型重构。.

hashgraph-online/awesome-codex-plugins · 42 tokens

ai-prompt-generator

专业 AI 提示词生成工具,帮助用户创建高效、精准的 AI 提示词。内置多种框架和模板,让 AI 输出质量提升 10 倍。.

LeoYeAI/openclaw-master-skills · 0 tokens

prompt-architect

Designs clear, testable prompts for agent workflows. Use when creating new prompts, refining weak prompts, or establishing reusable prompting patterns.

repowise-dev/claude-code-prompts · 31 tokens

ccc-prompt-fix

Fix and sharpen a prompt. Diagnoses it against the 6 prompt-quality patterns, returns a tightened rewrite with the reasoning, and suggests the right library prompt for your task.

KevinZai/commander · 41 tokens