---
name: persistent-local-memory-for-coding-sessions
description: "Reads local project memory notes and documentation before coding tasks to surface architecture, conventions, and past decisions. Use when starting a terminal coding session that needs prior context."
license: CC-BY-4.0
compatibility: "Needs access to: Terminal, Notes, Docs."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/persistent-local-memory-for-coding-sessions/"
  kind: skill
  hermes:
    tags: ["coding", "developer-tools", "context", "terminal"]
    category: coding
    requires_toolsets: ["terminal", "file"]
---
# Persistent local memory for coding sessions

Track repository architecture, conventions, and past decisions across coding sessions

## When to use

Software development across terminal sessions often suffers from lost context when agents restart with empty contexts. This setup retains local records of architectural patterns, active tasks, code conventions, and recent debugging outcomes, allowing development sessions to resume immediately with full background awareness.

## Inputs

- `coding_task`: The terminal coding instruction or task the developer wants carried out.
- `project_memory_notes`: Local project memory notes covering architecture, conventions, active tasks, and past decisions.
- `project_documentation`: Existing project documentation to check for decisions, constraints, and conventions before changes.

## Steps

1. When you ask: Start terminal coding task (A developer asks in chat to start a terminal coding task.)
2. Query local project memory
3. Provide contextual plan

## Instructions

Read the local project memory notes and documentation before executing coding instructions. Check recent decisions, constraints, and conventions before proposing changes. Summarize new architectural decisions, unresolved bugs, and completed tasks at the end of each session. Always ask for user confirmation before modifying local memory files or overwriting existing documentation.

## Approvals

- Modifying local memory files requires user confirmation.
- Overwriting existing documentation requires user confirmation.

## Output

A contextual plan summarizing relevant architecture, conventions, constraints, and past decisions. (format: chat_message)

## Harness notes

- Claude Code: Save this file as ~/.claude/skills/persistent-local-memory-for-coding-sessions/SKILL.md (or .claude/skills/persistent-local-memory-for-coding-sessions/SKILL.md in the repo). Claude Code loads it when the task matches; run /persistent-local-memory-for-coding-sessions to start it directly.

## Source

Summarized in our own words from [Show HN: Recall – Local project memory for Claude Code](https://news.ycombinator.com/item?id=48622590) (Hacker News, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/persistent-local-memory-for-coding-sessions/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
