unforget
Writes project context and last-session resume into AI assistant instruction files so every assistant starts with full context
Open source Open in the app JSON README (API)
About
Writes project context and last-session resume into AI assistant instruction files so every assistant starts with full context
Details
- Kind
- Plugins
- Topic
- No topic detected
- Publisher
- tecnocriollo
- Origin
- gemini
- Category
- ferramentas
- Version
- 1.0.0
- Stars
- 1
- Last push
- 2026-05-06T18:43:44Z
- Repository state
- ativo
- Language
- JavaScript
- License
- MIT
- Added
- 2026-08-30 14:13:39
- Updated
- 2026-08-30 14:13:39
- Origin id
tecnocriollo/unforget
README
# unforget 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: 1. Reads every `.md` file under `docs/` 2. Distills the current conversation into a **last-session resume** 3. 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` | --- ## Installation ### Claude Code ```bash git clone https://github.com/tecnocriollo/unforget ~/.claude/skills/unforget ``` Then in any Claude Code session: ``` /unforget ``` ### OpenCode The plugin auto-installs via the npm installer after cloning, or manually: ```bash git clone https://github.com/tecnocriollo/unforget ~/.claude/skills/unforget mkdir -p ~/.opencode/plugins ln -sf ~/.claude/skills/unforget ~/.opencode/plugins/unforget ``` Restart OpenCode to discover the plugin. --- ## Usage 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. --- ## What gets written The skill only ever touches content between the `<!-- unforget -->` markers. Everything else in your instruction files is left untouched. ```markdown <!-- 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 --> ``` --- ## Updating ```bash cd ~/.claude/skills/unforget && git pull ``` ## License MIT