/ccmem-remember
Create a new memory to remember user preferences, patterns, or workflows.
Usage
code
/ccmem-remember <natural language description> /ccmem-remember --type <type> --title "<title>" [options]
Arguments
The command accepts either natural language or structured flags:
Natural language: Parse the input to extract type, title, and description.
code
/ccmem-remember prefer pnpm over npm /ccmem-remember always run tests before committing
Structured flags:
- •
--type <type>— preference, pattern, workflow, correction (default: preference) - •
--title "<title>"— memory title - •
--description "<desc>"— detailed description - •
--confidence <0.0-1.0>— initial confidence (default: 0.7) - •
--project— scope to current project only - •
--tag <tag>— add a tag (can repeat)
Execution Steps
- •Parse the input (natural language or flags)
- •For natural language, infer:
- •Type: "prefer" → preference, "always/never" → pattern, "workflow" → workflow
- •Title: Extract the core preference/pattern
- •Description: The full input
- •Run
ccmem createto create the memory interactively, providing the parsed values - •Display the created memory with its ID and confidence
- •Suggest: "Use
/ccmem-reinforce <id>if this works well for you"
Examples
Natural language:
code
User: /ccmem-remember prefer rg over grep for searching → Creates preference memory: "Prefer rg over grep for searching" ID: 2026-02-03T14-30-00-prefer-rg-over-grep Confidence: 0.7
With flags:
code
User: /ccmem-remember --type workflow --title "Test before commit" --project → Creates project-scoped workflow memory
CLI Command
bash
ccmem create
Runs interactively; provide parsed values when prompted.