agent/claude/code/commands/remember.md
Snider 9942ab8081 refactor: restructure as plugin monorepo
Reorganise as a marketplace with multiple focused plugins:
- claude/code: Core development (hooks, scripts, data collection)
- claude/review: Code review automation
- claude/verify: Work verification
- claude/qa: Quality assurance loops
- claude/ci: CI/CD integration

Structure:
- .claude-plugin/marketplace.json lists all plugins
- Each plugin has its own .claude-plugin/plugin.json
- Commands namespaced: /code:*, /review:*, /qa:*, etc.

Install individual plugins or all via marketplace:
  claude plugin add host-uk/core-agent
  claude plugin add host-uk/core-agent/claude/code

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 19:44:26 +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