hindsight-memory

hindsight-memory is a skill for Claude Code from stark-ai-de/agent-skills. It costs 57 tokens per session (1,850 once invoked), scanned A, original, Apache-2.0.

A workflow for setting up, checking, enabling, or using Hindsight, a project-scoped memory service. It supports explicitly approved storage, recall, and reflection for a local project.

In plain words
What is it for?
Use it to prepare the local service, diagnose its configuration, enable approved project memory, or retain and recall information from it.
Why use it?
It keeps project memory controlled and authorized instead of automatically collecting repository or conversation data.

Skill for Claude Code

Written for Claude Code: SessionEnd hook event. Also seen: mentions Codex.

Good fit Use it to prepare the local service, diagnose its configuration, enable approved project memory, or retain and recall information from it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stark-ai-de/agent-skills/hindsight-memory
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add stark-ai-de/agent-skills --skill hindsight-memory
Clone the repo
git clone --depth 1 https://github.com/stark-ai-de/agent-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hindsight-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/stark-ai-de/agent-skills/hindsight-memory/github.svg)](https://agentmods.dev/skills/stark-ai-de/agent-skills/hindsight-memory)
Your own site
<a href="https://agentmods.dev/skills/stark-ai-de/agent-skills/hindsight-memory"><img src="https://agentmods.dev/badge/skills/stark-ai-de/agent-skills/hindsight-memory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hindsight-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/stark-ai-de/agent-skills/hindsight-memory"><img src="https://agentmods.dev/badge/skills/stark-ai-de/agent-skills/hindsight-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,850 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.01850
Opus 5.5 $0.00023 $0.00740
Sonnet 5.5 $0.00011 $0.00370
Haiku 4.5 $0.00006 $0.00185

Measured 11d ago against content hash df557b8f76de, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hindsight-memory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 14 executable files (diagnostics/bank_aliases.py, diagnostics/workspace_status.py, scripts/activate.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

incubator/skills/engineering-workflows/hindsight-memory/SKILL.md · 160 lines

How it starts

The opening of the file, as written. The whole thing — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hindsight Memory

Goal

  • Use Hindsight independently for approved project memory.
  • Reuse an accepted workspace scope for normal in-scope repositories; do not repeat enrollment interviews.
  • Greppy may display its readiness, but is not a runtime requirement.
  • This candidate remains in the incubator until fresh-install and fresh-client qualification are recorded.

When to use

  • Use for explicit local project-memory setup, diagnosis, enablement, retention, recall or reflection through Hindsight.

When not to use

  • Do not use for global memory cleanup, arbitrary transcript uploads, document synchronization owned by Karakeep, or implicit memory enablement during search setup.

Workflow selection

Workflow Outcome
setup Inspect/adopt the owner and prepare a pinned local service and client connection
doctor Read configuration, running image/route and qualification without repairs or model calls
enable Enable an approved project or workspace after qualification, or disable future intake
use Perform explicitly authorized retention, recall or reflection in the selected bank
  • For clear authorized intent, announce the route and proceed.
  • For a bare invocation or options request, show all four.
  • Options alone authorize no action.

Inputs to inspect

  • Inspect host/platform, existing service and package owners, endpoint, exact project and session roots, model route, current account/credentials and client tools.
  • Read the setup and qualification guide.
  • Never create a second service/account to work around a connection failure.
  • Private configuration, transcripts and runtime state stay outside source repositories and the Nix store.

Workflow

setup

  1. Reuse a deployed Hindsight instance when its owner, immutable image and privacy contract match. Otherwise prepare the pinned Compose template through the host owner. Review storage, ports, credentials and model processing before activation.
  2. Initialize private model settings with scripts/initialize.py. Select the namespace and provider explicitly. New setups default to BGE-M3 embeddings; preserve an existing qualified embedding model. HTTPS is required for an external gateway unless its exact HTTP route was explicitly accepted.
  3. Resolve assets/workspace.example.json for accepted roots and sparse exclusions, or retain an existing assets/project.example.json policy. Store it privately with mode 0600. Record content/provider scope; search discovery or installation alone does not authorize intake.
  4. Qualify synthetic retain/readback, project isolation, private raw-text behavior and embedding dimensions. Compare declared and actually running model routes. Use enable only after those checks pass; verify a fresh client connection.

Read the full file on GitHub · 160 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago Changed · +3 lines df557b8f76de
  2. 12d ago Changed · +3 lines 25a9b2c30820
  3. 13d ago Changed · +12 lines · +5 tokens per session 9fdfa407c270
  4. 15d ago First seen · 142 lines · 52 tokens per session scan A 66e8b2831851

Subscribe to this mod's changes

hindsight-memory is a skill published in the GitHub repository stark-ai-de/agent-skills (8 stars, last pushed 2d ago), licensed Apache-2.0. It adds 57 tokens to every session and 1,850 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-15.

Related

hindsight-memory compared with skills from other repositories

hindsight-memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hindsight-memorystark-ai-de/agent-skillsSkill82d agoApache-2.0A57Claude Code
factory-inittikalk/adlc-team-skillsSkill147todayMITA38Claude Code
team-leveluptikalk/adlc-team-skillsSkill147todayMITA57Claude Code
change-publishtikalk/adlc-team-skillsSkill147todayMITA42Claude Code
change-boottikalk/adlc-team-skillsSkill147todayMITA113Claude Code, Codex
decision-memorymbeacom/adrkitSkill262d agoApache-2.0A71Claude Code
entity-trackerfelipelobomotta-blip/book-genesis-v4Skill1142mo agoMITA80Claude Code, Codex