SiderMem
Back to Home

How Do I Pipe Terminal Output Into My Knowledge Base?

Pipe any shell output — git diffs, logs, command output, build results — directly into sidermem-cli with | sidermem create -t "title", and it becomes a searchable, cloud-synced memory in your SiderMem knowledge base.

Set up once

npm install -g sidermem-cli
sidermem login

Examples

Capture a code diff

git diff main | sidermem create -t "Feature Diff"

Archive recent commit history before switching branches

git log -n 5 --oneline | sidermem create -t "Branch Sync Context"

Save a build or test failure for later

npm test 2>&1 | sidermem create -t "Failing test run"

Reading it back

sidermem list --search "Branch Sync"
sidermem show <id>

Once synced, the same memory is also picked up by automatic entity extraction and folds into your knowledge base wiki — see how that works.

Safety notes

Piped output is captured as-is — review it for secrets, credentials, or private code before syncing, the same as you would before committing to a shared repository or pasting into a chat.

Related: CLI overview · Share memory between Codex and Claude Code

View on NPM