CLI Reference
memories tag
Bulk tag and untag operations on memories.
memories tag <subcommand> [options]Manage tags across memories in bulk. Tags are stored as comma-separated values and are used for filtering and organization.
Subcommands
memories tag add <tag>
Add a tag to matching memories.
| Option | Description |
|---|---|
--type <type> | Filter by memory type |
--scope <scope> | Filter by scope: global or project |
--dry-run | Preview without applying changes |
memories tag add "architecture" --type decision
memories tag add "legacy" --scope project --dry-runSkips memories that already have the tag.
memories tag remove <tag>
Remove a tag from matching memories.
| Option | Description |
|---|---|
--type <type> | Filter by memory type |
--scope <scope> | Filter by scope: global or project |
--dry-run | Preview without applying changes |
memories tag remove "deprecated" --type factmemories tag list
List all tags in use with their counts.
| Option | Description |
|---|---|
--type <type> | Filter by memory type |
--scope <scope> | Filter by scope: global or project |
memories tag list
memories tag list --type ruleTags are sorted by count (most used first).