This repository has been archived on 2026-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
core-claude/commands/remember.md
Snider 0a89ac91d1 feat: initial Claude Code plugin for host-uk monorepo
- Skills for core CLI, PHP, and Go patterns
- PreToolUse hooks to block destructive commands and enforce core CLI
- PreCompact/SessionStart hooks for context preservation
- PostToolUse hooks for auto-formatting and debug warnings
- /core:remember command for manual context capture

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 02:36:33 +00:00

760 B

name description args
remember Save a fact or decision to context for persistence across compacts <fact to remember>

Remember Context

Save the provided fact to ~/.claude/sessions/context.json.

Usage

/core:remember Use Action pattern not Service
/core:remember User prefers UK English
/core:remember RFC: minimal state in pre-compact hook

Action

Run this command to save the fact:

~/.claude/plugins/cache/core/scripts/capture-context.sh "<fact>" "user"

Or if running from the plugin directory:

"${CLAUDE_PLUGIN_ROOT}/scripts/capture-context.sh" "<fact>" "user"

The fact will be:

  • Stored in context.json (max 20 items)
  • Included in pre-compact snapshots
  • Auto-cleared after 3 hours of inactivity