adityaarunsinghal

Human Hindsight — Development skill for Claude Code

Development community

Mine your coding-agent session history (Claude Code, Codex, kiro-cli) into a oneshot prompt library and CLAUDE.md/AGENTS.md preferences.

How to install Human Hindsight

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

What Human Hindsight does

Mine your coding-agent session history (Claude Code, Codex, kiro-cli) into a oneshot prompt library and CLAUDE.md/AGENTS.md preferences. The prompt you'd write if you knew then what you know now.

Alternatives in Development

  • Project Memory: AgentSys — Cross-tool compatible: Works across all 5 platforms - Claude Code, OpenCode, Codex CLI, Cursor, and Kiro 622 ★
  • AgentHandover — What if OpenClaw, Claude Code, Codex etc. knew how to do your work without you saying it 600 ★
  • KiroGate — OpenAI & Anthropic 兼容的 Kiro IDE API 代理网关,支持 Claude Code CLI 393 ★

README

Human Hindsight

**The prompt you'd write if you knew then what you know now.**

[![npm](https://img.shields.io/npm/v/human-hindsight?color=cb3837&logo=npm)](https://www.npmjs.com/package/human-hindsight) [![CI](https://github.com/adityaarunsinghal/human-hindsight/actions/workflows/ci.yml/badge.svg)](https://github.com/adityaarunsinghal/human-hindsight/actions/workflows/ci.yml) [![node](https://img.shields.io/node/v/human-hindsight?logo=node.js&color=339933)](https://nodejs.org) [![license](https://img.shields.io/github/license/adityaarunsinghal/human-hindsight?color=blue)](LICENSE) [![local-first](https://img.shields.io/badge/data-local--only-brightgreen)](#privacy--trust)

Human Hindsight local prompt library

npx human-hindsight

Human Hindsight mines your coding-agent session history (Claude Code, Codex, kiro-cli) into two things you can use tomorrow morning:

  1. A oneshot prompt library. For each real task you've done, the realistic ideal first prompt: everything you knew and wanted at t=0 but didn't say, written in your own voice.
  2. A distilled preference set. The things you keep re-telling your agent ("diagnose before acting", "pin the versions", "be terse"), surfaced as a paste-ready CLAUDE.md or AGENTS.md block so every future session starts aligned.

Previously published as **cc-hindsight**. The `cc-hindsight` npm package is now a deprecated compatibility command that forwards to the matching Human Hindsight release. Existing libraries, edits, ratings, and checkpoints remain usable.

Upgrading from cc-hindsight

npx human-hindsight@latest gui
# Or install the new command globally:
npm install -g human-hindsight

No data move or re-distillation is required. Data-directory precedence is: `--home` → `HUMAN_HINDSIGHT_HOME` → legacy `CC_HINDSIGHT_HOME`