A skill for AI coding assistants that writes compact project context into each assistant's instruction file — so every assistant starts a session already knowing the project and what happened last time.
On each run it:
- Reads every
.mdfile underdocs/ - Distills the current conversation into a last-session resume
- Writes both into the
<!-- unforget -->block in each instruction file
Target files updated:
| Assistant | File |
|---|---|
| Claude Code | CLAUDE.md |
| GitHub Copilot | .github/copilot-instructions.md |
| Gemini CLI | GEMINI.md |
| Codex / OpenAI | AGENTS.md |
| OpenCode | ~/.opencode/plugins/unforget/unforget/SKILL.md |
git clone https://github.com/tecnocriollo/unforget ~/.claude/skills/unforgetThen in any Claude Code session:
/unforget
The plugin auto-installs via the npm installer after cloning, or manually:
git clone https://github.com/tecnocriollo/unforget ~/.claude/skills/unforget
mkdir -p ~/.opencode/plugins
ln -sf ~/.claude/skills/unforget ~/.opencode/plugins/unforgetRestart OpenCode to discover the plugin.
In any project, run:
/unforget
The skill synthesizes your docs/ and the current session into all four instruction files. If docs/ doesn't exist yet, it still writes the last-session resume.
The skill only ever touches content between the <!-- unforget --> markers. Everything else in your instruction files is left untouched.
<!-- unforget: auto-generated — do not edit this block manually -->
## Project Context
**Project:** my-app — one-line purpose
**Stack:** TypeScript, Next.js, PostgreSQL
**Key rules:**
- Use `pnpm` for all package management
- All API routes live under `src/app/api/`
**Commands:**
- `pnpm dev` — start dev server
- `pnpm test` — run tests
- `pnpm build` — production build
## Last Session
_2026-04-14 — Refactored auth middleware_
- Moved session token storage to comply with new legal requirements
- Modified `src/middleware/auth.ts` — uses httpOnly cookies instead of localStorage
- Next: update integration tests to cover the new cookie flow
## Docs
Full documentation lives in `docs/`. Key files:
- `docs/architecture.md` — system design and key decisions
<!-- /unforget -->cd ~/.claude/skills/unforget && git pullMIT