Skip to content

tribal forget

Finds and deletes memories from the current project’s knowledge base.

Terminal window
tribal forget [OPTIONS] [QUERY]
ArgumentDescription
QUERYSearch query to find memories to delete
OptionDescription
--idDelete a specific memory by ID
--allDelete ALL memories (use with caution)
--yes, -ySkip confirmation prompt (for agent use)
--json, -jOutput result as JSON
Terminal window
tribal forget "old redis fix"

Searches for matching memories, shows them, and asks for confirmation before deleting.

Terminal window
tribal forget --id mem-abc123 --yes

Deletes a specific memory directly. Combine with --yes to skip confirmation.

Terminal window
tribal forget --all --yes

Clears every memory for the current assistant. Use with caution.

Terminal window
# Search-based deletion with confirmation
tribal forget "old redis fix"
# Delete specific memory silently
tribal forget --id mem-abc123 --yes
# Clear everything
tribal forget --all --yes
# Pipe query
echo "outdated webpack tip" | tribal forget --yes