Skip to main content

Command overview

Run engram -h for the compact command surface. Run engram help <topic> or engram -h <topic> for command-specific examples and use cases.

Command map​

NeedCommand
Load task memoryengram load "<task>"
Load compact task memoryengram load "<task>"
Print AI-agent usage guideengram llm
Preview routed memory filesengram load --dry-run "<task>"
Load with a token capengram load --budget-tokens 800 "<task>"
Print every packed bodyengram load --disclosure full "<task>"
Fetch cards by idengram load --id <id>,<id>
Search memoryengram search "<topic>"
Save one memoryengram save [rule|workflow|knowledge] "<text>"
Save several session memoriesengram save-session or engram ss
Mine recent accessible chatsengram save-session --query-level 3
Force-save session candidatesengram ss -f
Mine and force-save recent chatsengram ss -f last 50 sessions
Capture raw noteengram observe --file session.md
Convert existing docs/guidanceengram take-control --all
Preview source takeoverengram take-control --plan
Digest code or configengram take-control --kind code --objective "<text>"
Refresh stale code-derived memoryengram take-control --refresh
Check source freshnessengram verify --sources
Keep a working memoryengram promote <id>
Prune expired working memoryengram working prune [--dry-run]
See fetch and inject countsengram stats --usage
Restructure existing memory folderengram metacognize --workspace|--global|--all
Resolve conflicts and metacognizeengram resolve-conflicts --metacognize
Inspect graph routingengram graph "<topic>"
Check hashesengram verify
Find malformed memory filesengram repair
Archive wrong memoryengram archive --reason "<why>" <id-or-file>
Tune rule strengthengram set-rule-variant strict|balanced|light|off
Set default save targetengram set-save-target workspace|global|both|status
Set compact load limitengram set-load-limit 1..32|status|reset
Set automatic hook readsengram set-read startup|auto|always|manual|off|status
Set hook proof visibilityengram set-proof off|compact|status
Install agent hooksengram link codex|claude|gemini|opencode|cursor|windsurf
Manage global profilesengram profile status|list|create|use|merge
Clone workspace/global memoryengram clone-memory workspace global [--metacognize]

Command discovery​

engram help save-session
engram help set-role
engram -h set-rule-variant

All commands listed in help include short aliases. Aliases route to the same CLI behavior and approval gates as their canonical commands.

Shell completion​

engram completion bash
engram completion zsh
engram completion powershell

Next steps​

Git author identity​

Engram can store a global author and an optional workspace override. Resolution is workspace, global, then read-only Git fallback. Settings affect future memories only; a workspace override never changes global Git configuration. Use explicit plan and confirmation for global Git sync or legacy-memory migration.

engram author show
engram author set --name "Jane Doe" --email "jane@example.com"
engram author unset --scope workspace
engram author sync-git-global --plan
engram author sync-git-global --confirm
engram author migrate-memories --plan
engram author migrate-memories --confirm

Read the complete Git author settings guide.