Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
broomva avatar

Prompt Library

  • 6 installs
  • Updated March 18, 2026
  • broomva/prompt-library

prompt-library is a Claude Code skill that manages and retrieves reusable, versioned prompts from a prompt repository via a JSON API, supporting pull, push, update, and delete.

About

prompt-library is a skill for managing and retrieving reusable, versioned prompts from broomva.tech or any compatible prompt repository. It pulls prompts by slug, category, or tag, supports variable substitution, and can push, update, or soft-delete prompts remotely through an authenticated JSON API. A developer uses it to fetch a reusable system prompt for a task or to save a prompt for later reuse. The default endpoint is https://broomva.tech/api/prompts and the endpoint is configurable.

  • Pull, push, and update reusable prompts by slug, category, or tag via a JSON API
  • Supports remote push/update/delete with OAuth session-token auth
  • Configurable --endpoint so any compatible prompt repository can be targeted

Prompt Library by the numbers

  • 6 all-time installs (skills.sh)
  • Ranked #12,756 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Jul 8, 2026 (Skillselion catalog sync)
At a glance

prompt-library capabilities & compatibility

Free to read public prompts; remote writes require an OAuth session token from broomva.tech.

Capabilities
prompt management · prompt retrieval · prompt versioning
Works with
github · vercel
Use cases
orchestration · documentation
Pricing
Bring your own API key
From the docs

What prompt-library says it does

Manage and retrieve reusable prompts from broomva.tech or any compatible prompt repository.
SKILL.md
All commands accept `--endpoint URL` to target a different prompt repository.
SKILL.md
The token is your OAuth session token — it's user-scoped and auto-expires. No static API keys needed.
SKILL.md
npx skills add https://github.com/broomva/prompt-library --skill prompt-library

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs6
Last updatedMarch 18, 2026
Repositorybroomva/prompt-library

What it does

Pull, save, and update reusable versioned prompts and agent directives from a prompt repository via a JSON API.

Who is it for?

Fetching, saving, and versioning reusable system prompts and agent directives across projects.

Skip if: Ad-hoc one-off prompts with no reuse value or repositories without the standard prompt API contract.

When should I use this skill?

A user asks for a named prompt or system instruction, or wants to save a prompt for reuse.

What you get

Prompts are pulled, pushed, and versioned through a single JSON API from any compatible repository.

  • Retrieved prompts
  • Prompt MDX files
  • Synced prompt records

By the numbers

  • 7 documented commands
  • 6 API endpoints
  • 5 prompt categories

Files

SKILL.mdMarkdownGitHub ↗

Prompt Library

Manage versioned, parameterized prompts stored in a database and distributed via a JSON API.

Quick Start

Pull a prompt

python3 scripts/prompt-sync.py pull code-review-agent

List available prompts

python3 scripts/prompt-sync.py list

Pull with variable substitution

python3 scripts/prompt-sync.py pull code-review-agent --var language=python --var strictness=strict

Push a prompt remotely (over the air)

python3 scripts/prompt-sync.py remote-push \
  --title "My Prompt" \
  --category system-prompts \
  --body "You are a helpful assistant..." \
  --tags "tag1,tag2" \
  --token "$BROOMVA_API_TOKEN"

Commands

Read Commands

CommandDescription
listList all prompts (supports --category, --tag, --model filters)
pull <slug>Fetch a prompt by slug, print raw content

Local Write Commands

CommandDescription
pushWrite a new prompt MDX file to local content/prompts/
update <slug>Update an existing local prompt, optionally bump version

Remote Write Commands (API-based)

CommandDescription
remote-pushCreate a prompt via the remote API (requires auth token)
remote-update <slug>Update a prompt remotely (owner or admin only)
remote-delete <slug>Soft-delete a prompt remotely (owner or admin only)

All commands accept --endpoint URL to target a different prompt repository. Default: https://broomva.tech/api/prompts.

Authentication

Remote commands require an API token. Get yours by:

1. Log in at broomva.tech via OAuth (Google/GitHub) 2. Visit https://broomva.tech/api/auth/api-token to get your session token 3. Set it: export BROOMVA_API_TOKEN="your-token-here"

Or pass --token directly to any remote command.

The token is your OAuth session token — it's user-scoped and auto-expires. No static API keys needed.

Admin Features

For the admin user (carlosdavidescobar@gmail.com), remote pushes and updates also:

  • Commit the prompt as an MDX file to the GitHub repo
  • Trigger a Vercel redeploy automatically

Prompt Schema

See references/prompt-schema.md for the full frontmatter specification.

Key fields:

  • category: system-prompts, agent-instructions, templates, chains, evaluators
  • version: Semver string for tracking prompt evolution
  • variables: Declared template variables with {{name}} syntax and defaults
  • model: Target model (optional)
  • tags: Searchable tag array

Category Taxonomy

See references/categories.md for the full taxonomy.

API Endpoints

MethodEndpointAuthDescription
GET/api/promptsPublicList prompts (DB + MDX fallback)
POST/api/promptsRequiredCreate a new prompt
GET/api/prompts/[slug]PublicGet prompt by slug
PUT/api/prompts/[slug]Owner/AdminUpdate a prompt
DELETE/api/prompts/[slug]Owner/AdminSoft-delete a prompt
GET/api/auth/api-tokenSessionGet your bearer token

For Other Repositories

Anyone can host their own prompt library:

1. Create a database table for prompts (or use content/prompts/ with .mdx files) 2. Add the API routes: GET /api/prompts, GET /api/prompts/[slug], POST /api/prompts 3. Use --endpoint https://your-site.com/api/prompts with the sync script

The schema and API contract are the standard. The endpoint is configurable.

Related skills

FAQ

How do I authenticate for remote writes?

Remote commands require an OAuth session token from broomva.tech (via /api/auth/api-token), passed as BROOMVA_API_TOKEN or --token; no static API keys are needed.

Can I use my own prompt repository?

Yes. Every command accepts --endpoint URL, and any site implementing the standard GET/POST prompt API routes works.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.