tribal forget
Finds and deletes memories from the current project’s knowledge base.
tribal forget [OPTIONS] [QUERY]Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
QUERY | Search query to find memories to delete |
Options
Section titled “Options”| Option | Description |
|---|---|
--id | Delete a specific memory by ID |
--all | Delete ALL memories (use with caution) |
--yes, -y | Skip confirmation prompt (for agent use) |
--json, -j | Output result as JSON |
Search and confirm (default)
Section titled “Search and confirm (default)”tribal forget "old redis fix"Searches for matching memories, shows them, and asks for confirmation before deleting.
Delete by ID
Section titled “Delete by ID”tribal forget --id mem-abc123 --yesDeletes a specific memory directly. Combine with --yes to skip confirmation.
Delete all
Section titled “Delete all”tribal forget --all --yesClears every memory for the current assistant. Use with caution.
Examples
Section titled “Examples”# Search-based deletion with confirmationtribal forget "old redis fix"
# Delete specific memory silentlytribal forget --id mem-abc123 --yes
# Clear everythingtribal forget --all --yes
# Pipe queryecho "outdated webpack tip" | tribal forget --yes