Prompt Storage — AI skill for Claude Code
pst — local-first personal prompt library CLI.
How to install Prompt Storage
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open quangdang46/prompt_storage and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Prompt Storage does
pst — local-first personal prompt library CLI. SQLite+FTS5, instant retrieval (pst code-review), variable templating, aliases, TUI picker, JSONL backup, and a one-command integration skill for AI coding agents. Fast (<30ms), offline, agent-native.
Alternatives in AI
- Hindsight — State-of-the-art long-term memory for AI agents by Vectorize 6.7k ★
- Jcodemunch MCP — Cut AI token costs 95%+ on code exploration 2.6k ★
- RAG Skill — A Skill dedicated to local knowledge base retrieval 712 ★
README
pst — Prompt STorage
   
**Your prompts, one command away.** `pst` is a local-first prompt library stored in SQLite with full-text search, variable templating, and a bridge that teaches AI coding agents how to use it. Type `pst code-review` and the prompt lands on stdout instantly — as natural as `cat`-ing a file.
curl -fsSL "https://raw.githubusercontent.com/quangdang46/prompt_storage/main/install.sh?$(date +%s)" \
| bash -s -- --easy-mode
🤖 Agent Quickstart (Robot Mode)
`pst` is designed agent-first: direct mode prints **raw prompt content on stdout** with zero decoration, so an AI coding agent can consume it without any flag.
# 1) Get a prompt by exact id (raw content on stdout)
pst code-review
# 2) Unique prefix resolves automatically (notice goes to stderr)
pst code
# 3) Search when you do not know the id
pst search "rust security review"
# 4) Suggest prompts for a task
pst suggest "review authentication code"
# 5) Render with variables filled
pst render code-review --LANGUAGE=Rust --CONTEXT=diff.txt
# 6) Machine-readable payload for any command
pst code-review --json
# 7) Teach your agents that pst exists (installs integration skill)
pst install
**Output contract** (frozen, tested):
| Case | stdout | stderr | exit |
|---|---|---|---|
| hit | raw content + \n |
silent | 0 |
--json |
stable JSON payload | — | 0 |
| fuzzy hit | raw content | resolved '' -> '' (fuzzy) |
0 |
| not found | empty | `{"error":"not_ |
Related Skills
Capy Cortex
Autonomous memory and learning system for AI coding agents. LLM-powered knowledge extraction, triple fusion re
Brain CLI
Persistent memory for AI agents and personal knowledge management. Single-file Python CLI: hybrid semantic + k
Awareness Local
Local-first AI agent memory — one command, works offline, no account needed. Give your Claude Code, Cursor, Wi
Awareness Market
Local-first AI agent memory — one command, works offline, no account needed. Give your Claude Code, Cursor, Wi
Memory Lancedb Pro
Production-grade long-term memory system (v1.1.0-beta.8) for OpenClaw AI agents. Provides persistent, intellig
Toktoken
TokToken is a fast, single-binary C codebase indexer for AI coding agents. Powered by universal-ctags and SQLi
Related Agents
Ahk Context
Use this agent when managing AutoHotkey v2 project context, state, and information retrieval. Specializes in v
Timps Backup Sentinel
Audit backup health: Time Machine last backup time, all local git repos with uncommitted/unpushed changes, lar
Python RAG Backend Engineer
Production-grade Python RAG backend engineer specializing in ChromaDB vector storage, sentence-transformers em