Prompthistory banner
Yeachan-Heo Yeachan-Heo

Prompthistory

Testing community

Description

CLI tool to search, replay, test, and compare your AI coding assistant prompts. Supports OpenCode, Claude Code, OpenClaw, Codex, Gemini CLI, and more!

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

prompthistory

CLI tool to search, replay, test, and compare your AI coding assistant prompts

Supports **OpenCode**, **Claude Code**, **OpenClaw**, **Codex**, **Gemini CLI**, and more!

[![npm Version](https://img.shields.io/npm/v/%40junhoyeo%2Fprompthistory?color=0073FF&labelColor=black&style=flat-square&logo=npm)](https://www.npmjs.com/package/@junhoyeo/prompthistory) [![npm Downloads](https://img.shields.io/npm/dt/%40junhoyeo%2Fprompthistory?color=0073FF&labelColor=black&style=flat-square)](https://www.npmjs.com/package/@junhoyeo/prompthistory) [![GitHub Stars](https://img.shields.io/github/stars/junhoyeo/prompthistory?color=0073FF&labelColor=black&style=flat-square)](https://github.com/junhoyeo/prompthistory/stargazers) [![License](https://img.shields.io/badge/license-MIT-white?labelColor=black&style=flat-square)](https://github.com/junhoyeo/prompthistory/blob/main/LICENSE)

Features

  • ๐Ÿ” Fuzzy search through all your prompts
  • ๐Ÿ”„ Replay prompts with different providers (OpenAI, Anthropic) and models
  • ๐Ÿงช Test framework - create test cases with expected patterns, run and track results
  • ๐Ÿ“Š Compare responses - diff outputs from different models side-by-side
  • ๐Ÿ“ Filter by project - find prompts from specific projects
  • ๐Ÿ“… Date range filtering - search within time ranges
  • ๐ŸŽจ Beautiful output - formatted tables with colors
  • โšก Fast - native SQLite queries for instant results
  • ๐Ÿงน Smart filtering - automatically excludes slash commands, optional deduplication
  • ๐Ÿ“‹ Clipboard support - copy any prompt with --copy
  • ๐Ÿ–ฑ๏ธ Interactive mode - arrow key navigation with --interactive
  • ๐Ÿ“ค Export - save results as JSON, CSV, or plain text

Installation

# Using npm
npm install -g @junhoyeo/prompthistory

# Using pnpm
pnpm add -g @junhoyeo/prompthistory

# Using bunx (no install needed)
bunx @junhoyeo/prompthistory

Quick Start

# Interactive mode - browse rece