SuperAPIAI Directory

toldya

github.com · AI coding

toldya is a command-line tool for Claude Code that reads the messages users themselves sent in the local Claude Code history, identifies recurring instructions or corrections, and after user confirmation writes them into the CLAUDE.md / AGENTS.md rules file, then later tracks whether these rules have reduced repeated reminders. It sends no data, has no account, no telemetry, and no network calls, requires Node 18+, and has no dependencies.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose: toldya aims to solve the problem of users repeatedly giving the same requirements to AI coding assistants. It analyzes what you type in Claude Code, identifies the habitual instructions you repeatedly emphasize, and helps you solidify them into a rules file that the agent reads.

Main capabilities:

  • Reads the local Claude Code history (~/.claude/projects), analyzing only the messages users themselves sent, without reading AI replies, tool output, or user files.
  • Identifies recurring instructions, treating wording variations and typos as the same habit (for example, "Don't complicate it" and "dont complex this" count as the same item).
  • Long messages are treated as pasted content (such as briefs, logs) and skipped; questions and "I don't understand"-type messages are not treated as corrections and are also skipped.
  • A repetition only counts if it appears in at least two sessions; resumed sessions copy earlier messages into new files, but each message is still counted only once, in the session where it was typed.
  • Short "try again"/"check again"-type messages are counted separately, indicating the first attempt missed, but are not written as rules.
  • By default, asks about each repeated item one by one: y to add, n to skip, e to allow rewriting first. Rules are written under the ## Things I kept repeating heading, and nothing is written without confirmation.
  • Running it again a week later, each added rule shows how many times it was said before being added and how many times after.
  • Can be used as a Claude Code plugin, then ask Claude "what do I keep repeating?", and it will run toldya, show the list, and add only the items you select.
  • Use npx toldya --all --card to open a card in the browser, save it as a PNG, and share it via the Post on X or Share on LinkedIn buttons; the post text is already written for you. The card is drawn locally and does not leave your machine unless you click share.

Usage:

  • Run toldya directly; use the --dry or --add parameters to skip the one-by-one questions.
  • After installing as a plugin in Claude Code, ask Claude to trigger it.
  • Generate a share card: npx toldya --all --card.

Use cases:

  • Developers who frequently use Claude Code and find themselves repeatedly giving the same instructions.
  • AI coding users who want to solidify repetitive corrections into rules and reduce repeated communication.
  • Users who want to track whether repeated reminders decrease after rules are added.

Limitations:

  • Only reads the local Claude Code history; Claude Code retains about 30 days of history by default, so with a default installation you can only see about one month of data.
  • Codex history has not been tested on real files, so no promises are made.
  • Requires Node 18+, no dependencies.
  • Sends no data, has no account, no telemetry, and no network calls.
  • Licensed under MIT, copyright Sevenopt Solutions Private Limited, made by Singh Labs.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools