← All projects
Project record1 mention
Originally shared on Hacker News

cli-faq-shortcuts

A small Python script that reads your local Claude Code, Codex and Cursor history and turns the prompts you keep retyping into slash commands.

Last shared
01 / The problem

What it addresses

The submitter kept typing the same requests to Claude Code/Codex every day, worded a little differently each time.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. cli-faq-shortcuts

    A small Python script that reads your local Claude Code, Codex and Cursor history and turns the prompts you keep retyping into slash commands.

    Problem: The submitter kept typing the same requests to Claude Code/Codex every day, worded a little differently each time.

    Posted by @kishoremorol · Original source ↗

    Story title · @kishoremorol · · Source ↗

    Show HN: Turn the prompts you keep retyping into slash commands

    Submitted URL · @kishoremorol · · Source ↗

    https://github.com/kishormorol/cli-faq-shortcuts

    Source text · @kishoremorol · · Source ↗

    This small Python script reads your local Claude Code, Codex and Cursor history for any project you want.

    Source text · @kishoremorol · · Source ↗

    I developed this because I kept typing the same requests to Claude Code/codex every day, worded a little differently each time ("did you send this email?", "how many request you got so far?").

    Source text · @kishoremorol · · Source ↗

    One of my projects has no exact sentence repeated more than 14 times, but the top ask, grouped by intent, had been typed 230 times.

    Source text · @kishoremorol · · Source ↗

    It only reads history still on your machine, and matching is per directory.