bullshitai.dev

v0.1.0 · MIT

Memory Vault CLI

Like Obsidian CLI, but without Obsidian.

mem searches your Markdown notes, follows links between them, and tells you which file and line to read. The files are the record. There’s no index, database, or service to run.

Go CLI · tested on Linux x86-64

Search a sample vault 15 notes
decisions/deploy.md:7 [[decisions/rollback.md]]decisions/deploy.md:8 [[decisions/staging.md]]decisions/rollback.md:3 [[guides/recovery.md]]decisions/rollback.md:4 [[decisions/signoff.md]]decisions/signoff.md:2 [[decisions/deploy.md]]decisions/smoke.md:2 [[decisions/deploy.md]]decisions/staging.md:2 [[decisions/smoke.md]]guides/alerts.md:2 [[guides/on-call.md]]guides/escalation.md:2 [[guides/on-call.md]]guides/escalation.md:3 [[guides/recovery.md]]guides/on-call.md:6 [[decisions/deploy.md]]guides/on-call.md:8 [[guides/runbook.md]]guides/recovery.md:3 ](../decisions/deploy.md)guides/recovery.md:4 [[guides/runbook.md]]guides/runbook.md:2 [[guides/escalation.md]]notes/changelog.md:2 [[notes/release.md]]notes/feedback.md:2 [[notes/review.md]]notes/release.md:4 [[notes/review.md]]notes/release.md:5 [[decisions/deploy.md]]notes/timeline.md:2 [[notes/release.md]]notes/timeline.md:3 [[guides/recovery.md]]Deploydecisions/deploy.mdRollbackdecisions/rollback.mddecisions/signoff.mddecisions/smoke.mddecisions/staging.mdguides/alerts.mdguides/escalation.mdOn-callguides/on-call.mdRecoveryguides/recovery.mdguides/runbook.mdnotes/changelog.mdnotes/feedback.mdRelease notesnotes/release.mdnotes/review.mdnotes/timeline.md

mem search --vault ./demo-vault -e 'release checklist'

2 example matches

  1. decisions/deploy.md:6Run the release checklist before merging.
  2. notes/release.md:2The release checklist also covers the changelog.

Browser demo with made-up Markdown notes. Searches stay on this page.

03 · query

Ask for notes with a property

Put a property like status: current in a note’s YAML frontmatter, then filter by exact value. --select returns the keys you need. --sort orders by the property’s text, with missing values last.

mem query --vault ./demo-vault --where status=current --select status --sort status
# decisions/deploy.md has status: current

Queries handle text and lists of scalars. Unsupported values, such as nested mappings, are reported through skipped when requested. This is a JSON query over Markdown frontmatter. Obsidian Bases files, views and formulas are outside its scope.

04 · move

Review link edits before a move

Run mv to see the move plan, including which links would change. The first run writes nothing. For example, renaming this note would update the wiki link in the on-call guide and the relative Markdown link in the recovery guide.

mem mv --vault ./demo-vault --from decisions/deploy.md --to decisions/shipping.md
# Review edits, refusals and the input_digest.

Applying a plan requires --apply, the reviewed digest with --expect, and a new recovery directory outside the vault. Close editors and pause sync before applying. The move writes several files and should have exclusive access to the vault.

05 · scope

Scope

mem works directly on regular Markdown files. The core commands return JSON, and the Markdown stays the source of truth. You can use it from a shell or give the JSON to an agent.

The commands are specific to mem. The project is independent of Obsidian and Hermes. The graph follows supported local wiki and inline Markdown links and ignores external URLs. See the format limits before moving notes.

Release
v0.1.0 on GitHub, MIT. Download the source and build locally.
Platforms
Tested on Linux x86-64. macOS is untested and Windows is unsupported.

06 · setup

Run it yourself

You need Go 1.26 or later to build, rg for default search and fzf for find and pick. Try it on the made-up notes the repository ships in testdata/vault before pointing it at your own.

Ask your agent

Prompt
Set up mem v0.1.0, the Memory Vault CLI, for me.
Source of truth: https://github.com/dmmeteo/mem-cli/blob/v0.1.0/README.md
Read the README first and follow its documented install and quickstart. Build from the pinned v0.1.0 source if go install fails.
Check that Go 1.26+, rg and fzf are available; ask before installing anything.
Run the quickstart on the repository's testdata/vault only. Don't point it at my real notes until I say so, and never run mv --apply without showing me the plan first.
Never ask for tokens or secrets in chat. Report what worked and what did not.

Install manually

Build from the pinned source:

git clone --branch v0.1.0 https://github.com/dmmeteo/mem-cli
cd mem-cli
go build -o mem ./cmd/mem

Or, when the Go module proxy has it:

go install github.com/dmmeteo/mem-cli/cmd/mem@v0.1.0

Then run a search on the bundled sample notes from the repository root:

./mem search --vault testdata/vault -e risks -e "pilot finished" --compact

Quickstart · Requirements · Release notes