prompt-library-builder

prompt-library-builder is a cursor rule for Cursor from mohitagw15856/pm-claude-skills. It costs 119 tokens per session (1,103 once invoked), scanned A, original, MIT.

A system for collecting repeated AI requests as reusable prompt templates. A prompt is the instruction you give an AI; templates let you fill in changing details instead of rewriting it.

In plain words
What is it for?
Use it to identify repeated tasks, create parameterized prompts, organize them, and set up a place and process for maintaining them.
Why use it?
It saves time and makes recurring requests more consistent and easier to improve.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it to identify repeated tasks, create parameterized prompts, organize them, and set up a place and process for maintaining them.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/mohitagw15856/pm-claude-skills/prompt-library-builder
About the project

PM Skills is a collection of plain-Markdown instructions that teach AI assistants structured methods for handling professional, personal, and life-admin tasks. People use it with Claude, ChatGPT, Gemini, Cursor, Codex, and other supported agents for work such as writing product requirements, reviewing documents, or planning difficult situations.

mohitagw15856/pm-claude-skills · 1,352 stars · on GitHub · mohitagw15856.github.io

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.

Clone the repo
git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills

Made for: Cursor.

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-builder

README.md
[![agentmods](https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/prompt-library-builder/github.svg)](https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/prompt-library-builder)
Your own site
<a href="https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/prompt-library-builder"><img src="https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/prompt-library-builder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prompt-library-builder

Your own site · 80×15
<a href="https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/prompt-library-builder"><img src="https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/prompt-library-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,103 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00119 $0.01103
Opus 5 $0.00060 $0.00551
Sonnet 5 $0.00024 $0.00221
Haiku 4.5 $0.00012 $0.00110

Measured 7d ago against content hash 6351c6d8cffe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

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

exports/cursor/pm-ai-native/prompt-library-builder/prompt-library-builder.mdc · 72 lines

How it starts

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

Prompt-Library Builder

If you use AI regularly, you retype variations of the same requests constantly — the email rewriter, the meeting summarizer, the code explainer. A prompt library captures your best versions once, parameterized and organized, so you invoke them instead of reinventing them. This builds yours: identifies your recurring tasks, turns them into reusable templates, and sets up a system to store and improve them — a toolkit that gets more valuable every time you add to it.

What This Skill Produces

  • Your recurring tasks, captured — the AI requests you make repeatedly, identified and listed
  • Reusable prompt templates — each turned into a clean, parameterized template (clear role, the inputs to fill in, and the desired output format) instead of a one-off
  • An organization scheme — a simple way to categorize and find prompts (by task, by domain, by frequency)
  • The reusability principles — what makes a prompt reusable and reliable (specific role, explicit inputs, defined output, examples where helpful)
  • A storage & improvement system — where to keep them (a doc, snippets, a tool) and how to refine each as you use it
  • A starter set — a few of your most-used prompts, templated and ready

Required Inputs

Ask for these if not provided:

  • Your recurring AI tasks — the things you ask AI to do often (or a prompt to help surface them)
  • A few examples — prompts you've written that worked, to templatize
  • Your tools — where you'll store/use them (a notes app, snippet manager, the AI tool itself)
  • Your domains — work, personal, coding, writing (for organizing)

Framework: Capture, Templatize, Organize

  1. Find the repeats. Identify the requests you make again and again — these are the highest-value candidates to templatize.
  2. Templatize for reuse. Turn each into a clean template: a clear role/instruction, the variable inputs to fill in [like this], and the output format you want — so it works every time with just the specifics swapped.
  3. Add what makes it reliable. Specific instructions, an output format, and an example or two where the task is fuzzy — the difference between a prompt that mostly works and one that always does.
  4. Organize for retrieval. A simple scheme (by task type or domain) so you can actually find the right prompt when you need it — a library you can't search is a graveyard.
  5. Store where you'll use it. Match storage to your workflow (a snippet tool, a doc, saved prompts) so invoking one is faster than rewriting.
  6. Improve continuously. Refine each template as you notice what's missing — and add new ones as new repeats emerge. The library compounds.

Read the full file on GitHub · 72 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. 7d ago First seen · 72 lines · 119 tokens per session scan A 6351c6d8cffe

Subscribe to this mod's changes

prompt-library-builder is a cursor rule published in the GitHub repository mohitagw15856/pm-claude-skills (1,352 stars, last pushed 3d ago), licensed MIT. It adds 119 tokens to every session and 1,103 once invoked, about $0.0006 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.