Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Commands

Every verb, its flags, and where to read more. Run mind <verb> --help for the same text in the terminal. For the vocabulary, see Core concepts.

verbdoes
meldregister a source repo and offer to install its items
unmelddrop a source and uninstall its items
learninstall items
forgetuninstall items
pruneuninstall items their sources no longer offer
recalllist what is installed, or one item’s details
probebrowse and search what sources offer
syncfetch sources
upgradebring installed items up to date
auto-updateupdate version-pinned sources without asking
curateapply what your curators declare
introspectreport drift and broken links
hooksrun or list hooks on demand
configview config and manage agent homes
link-projectadd a project’s agent home
absorbmove a hand-placed item into a source you own
dumpwrite your setup as a mind.toml
reviewvalidate a source or a policy file
init-sourcescaffold a source’s mind.toml
evolveupdate the mind binary
completions, manshell completions and the man page

Global flags

Accepted before or after any verb.

flageffect
--jsonone JSON document on stdout; see Scripts and CI
-y, --yesanswer every confirmation
--asciiplain ASCII output, no color or Unicode
-v, --verboseextra advisory output, such as unguarded-reference warnings
--no-progressno progress spinner on stderr (shown for slow steps when stderr is a terminal)
--max-metadata-size <SIZE>metadata size cap for this run; see Configuration
--hook-log[=DIR]save each hook’s output to a log file; see Hook results and logs
--no-hook-logsave no hook output logs this run, whatever the hook-log config key says
--hook-log-keep <all|failed>keep every log, or only failed hooks’ logs (turns logging on)

Selecting items and sources

Verbs take either a ref, which must match exactly one thing, or a filter, which may match several.

patternselects
reviewthe item named review
skill:reviewthe skill named review
owner/repo#reviewreview from one source
'*'every item
'skill:*'every skill
'owner/repo#*'every item of one source
'review*'items whose name starts with review

Quote globs so the shell does not expand them. A glob matches the installed (effective) name.

  • Refs error rather than guess: unmeld <name> must match one source, and a bare item name given to learn, forget, or upgrade that exists in two kinds (skill:greet and agent:greet) must be qualified.
  • Filters act on every match: sync [source], --source <filter> on upgrade, recall, and probe, hooks run <target>, any glob, and the owner/repo# part of an upgrade argument.
  • A source filter is an exact name, a trailing part (repo, owner/repo), or a glob over the full host/owner/repo identity.

With no match: sync and upgrade --source error, upgrade <item> reports up to date, recall/probe --source list nothing, and meld --learn errors with the source left melded.

meld

mind meld [REPO] [OPTIONS]

Register a source and offer to install its items. REPO defaults to . and may be owner/repo, an https:// or git@ URL, a local path, a file:// URL, or an item link. Melding a source you already have installs any missing items, or shows each item’s state. Alias add.

flageffect
--register-onlyregister without offering to install
--learn <NAME|GLOB>install only matching items (repeatable); see Choose what a source installs
--profile <NAME>enable an install profile in addition to default (repeatable or comma list); on a re-meld the profile flags replace the enabled profiles
--no-default-profileleave the default profile out
--all-profilesenable every declared profile
--pin <HEAD|REF|branch=NAME|tag=NAME|version=RANGE>set the version tracked ('version=*' tracks every tagged release); also re-pins a melded source; see Pin a source to a version
-N, --namespace <PREFIX>install items as <PREFIX>:<name>; a different namespace registers a separate instance; see Fix name collisions
-r, --recursiveoffer the items of every source a curator lists
-f, --forceoverwrite link targets mind did not create; on a re-meld, also re-offer every install hook
--overwriteoverwrite every link target mind did not create, without a prompt per conflict; no hook re-offer
--localinstall into the current project’s lobe only
--root <DIR>scan these directories instead of the source’s own roots (repeatable)
--add-root <DIR>scan these directories in addition to the source’s own discovery (repeatable)
--flat-skillsskills are directories at the root, with no skills/ container
--full-historyclone the whole git history, not just the checked-out commit; kept by every later sync
--home <DIR>meld the source, and the sources it curates, into this mind home instead of ~/.mind; on a melded source, move it there
--lobe <DIR>link the source’s items into this lobe in place of ~/.claude, outranking the source’s own lobe; on a melded source, move its links there; '' clears it
--install-hook <CMD>supply or replace the source’s install and update hooks
--kind <agent|rule|command>the kind of a file named by an item link
--auto-update[=off|compatible|breaking]let auto-update run update this source; alone, the level the source asks for (else compatible); see Auto-update
--accept-hooks[=EVENTS]run hooks without asking: all, or only the listed events (install,update,uninstall,build,items)

--auto-update also applies on a re-meld, so it changes or revokes the level of a source you already have; --full-history on a re-meld deepens the existing clone. --root, --add-root, --flat-skills, and --install-hook apply only at the meld that first registers a source; a re-meld notes them as ignored. Without a terminal and without --yes, meld registers the source and installs nothing.

mind meld owner/repo
mind meld owner/repo --learn review --yes
mind meld owner/repo --profile full --pin branch=stable
mind meld https://github.com/owner/repo --namespace acme
mind meld . --register-only

unmeld

mind unmeld <NAME> [OPTIONS]

Uninstall every item a source installed, then drop it. NAME must match one source unless it is a glob. Use the full identity for one instance: github.com/acme/skills@jk, github.com/acme/skills#skills/foo. Alias remove, rm. It always confirms first, defaulting to no; --yes skips the confirmation and is required without a terminal.

flageffect
--keep-itemsdrop the source, leave its items installed
-n, --dry-runpreview selected sources, items, and hooks without removing or running them
--uninstall-hook <CMD>supply or replace the source’s uninstall hooks
--accept-hooks[=EVENTS]run uninstall hooks without asking
mind unmeld acme/agents
mind unmeld acme/agents --keep-items
mind unmeld '*agents' --yes

See Remove items and sources.

learn

mind learn <ITEM> [OPTIONS]

Install items into every lobe. ITEM is a ref, a glob, a source name with --all or --profile, or an item link URL. Installing part of a source also installs the siblings it depends on, after showing the tree. Alias install.

flageffect
--allevery item of the named source
--profile <NAME>install and enable that profile of a melded source (repeatable or comma list); with no NAME, list the source’s profiles
--all-profilesinstall and enable every declared profile
-n, --dry-runshow what would install, change nothing
-f, --forceoverwrite a link target mind did not create
--overwritethe same as --force here; shared with meld
--localinstall into the current project’s lobe only
--pinfor an item link, freeze the URL’s branch at its current commit (takes no value)
--home <DIR>for an item link, the mind home to register it in, or move it to
--lobe <DIR>for an item link, the lobe to link it into in place of ~/.claude, as meld --lobe
--kind <agent|rule|command>the kind of a file named by an item link
--accept-hooks[=EVENTS]run an item’s install and build hooks without asking: all, or only the listed events

--no-default-profile is accepted for symmetry with meld and changes nothing. Installing an item by exact name marks it as asked for, so disabling a profile later keeps it.

mind learn review
mind learn 'skill:*'
mind learn owner/repo --all
mind learn owner/repo --profile full
mind learn https://github.com/owner/repo/tree/main/skills/foo

See Find and install items.

forget

mind forget [ITEM] [OPTIONS]

Uninstall items: the store copy and every link. Alias uninstall, unlearn.

flageffect
--profile <NAME>disable a profile of the source named by ITEM, forgetting items installed only for it
--unmanagedact on unmanaged lobe items only; with no ITEM, all of them
--droppedremove items their source no longer offers, or whose source is no longer melded; ITEM narrows them (the same as prune)
-f, --forceskip the confirmation when other items depend on the one removed
-n, --dry-runshow selected items, paths, dependents, and hooks without removing them; with --profile, show the profile disable plan
--accept-hooks[=EVENTS]run uninstall hooks without asking

A glob matching several items asks once; --yes skips that and the dependents question.

mind forget review
mind forget 'skill:*' --yes
mind forget 'owner/repo#review'                  # one item from a source
mind forget 'owner/repo#*' --yes                 # every item from a source
mind forget 'owner/repo#skill:*'                 # every skill from a source
mind forget 'local/projects/agents#review'       # one item from a local source
mind forget 'local/projects/agents#*' --yes      # every item from a local source
mind forget 'local/projects/agents#skill:*'      # every skill from a local source
mind forget owner/repo --profile full
mind forget --unmanaged
mind forget --dropped

A source goes before #; mind recall --sources lists the identities (a local path melds as local/<parent dir>/<dir>). To drop the source too, use unmeld.

prune

mind prune [SOURCE] [OPTIONS]

Remove every installed item that is no longer part of a melded source: its source no longer offers it (recall marks it “removed upstream”), or its source was unmelded with --keep-items. SOURCE is the filter sync takes (a name, a trailing suffix like owner/repo, or a glob) and limits the removal to items from matching sources, including an unmelded one. To narrow by item, use mind forget --dropped <item>.

It also removes profile leftovers: items installed only for a source’s profiles that its enabled profiles no longer include. An item you installed by name, and one another installed item depends on, is kept.

More than one item asks once; --yes skips that. A dropped item’s uninstall hooks went with it, so none run; an installed item that still requires a dropped one is left installed. A leftover’s uninstall hooks run after a prompt, or without one under --accept-hooks. --dry-run previews the removals, paths, dependents, and known hooks without removing items or running hooks.

mind prune
mind prune --yes
mind prune owner/repo                            # only one source's items
mind prune '*skills'                             # sources matching a glob

A source that declares [source] prune = true has upgrade do this for the items a new commit dropped and for its profile leftovers. See Remove the items you drop.

recall

mind recall [ITEM] [OPTIONS]

List each source with its items, marked installed, available, or out of date, followed by unmanaged items. With ITEM, show that item’s details. Alias list, status.

flageffect
--sourceslist sources instead, with their hooks and profiles
--profiles [SOURCE]list each source’s profiles (or one source’s): members, enabled, installed count, and the learn command to enable it
--kind <KIND>only items of this kind
--source <FILTER>only items from matching sources
--treeinstalled items as a dependency forest (scoped to ITEM if given)

--kind and --source apply to the item listing only.

probe

mind probe [QUERY] [OPTIONS]

Browse and search every melded source’s items. On a terminal it opens the terminal UI; with --no-tui, --json, or piped output it prints a listing. QUERY is a case-insensitive substring of names and descriptions. Alias search.

flageffect
--kind <KIND>only items of this kind
--source <FILTER>only items from matching sources
--no-tuiprint the listing instead of opening the UI

sync

mind sync [SOURCE] [OPTIONS]

Fetch every source, or those matching SOURCE, and refresh their catalogs. Installed items do not change. Alias update.

flageffect
--upgradethen run upgrade over the same sources (prefer plain upgrade, which syncs first)
--accept-hooks[=EVENTS]with --upgrade, run hooks without asking: all, or only the listed events

An unscoped sync also provisions managed policy sources and registers newly listed curated sources. sync exits 1 if any fetch failed.

upgrade

mind upgrade [ITEM|SOURCE] [OPTIONS]

Fetch the involved sources, report each installed item that changed, and apply on confirmation. ITEM is a filter over installed items. A value that matches no installed item but does match a melded source upgrades that source, as --source does. When it matches both, the item wins and a note names the --source spelling.

mind upgrade                       # everything
mind upgrade skill:review          # one item
mind upgrade owner/repo            # one source
flageffect
--source <filter>fetch and upgrade only the matching sources; combines with ITEM
--no-syncskip the fetch; compare against the clones on disk
-n, --dry-runpreview against current checkouts without fetching, running hooks, or changing installed items
--allow-breakingtake a version-pinned source’s breaking release (the next major) without a prompt; see Follow release versions
--accept-hooks[=EVENTS]run hooks without asking: all, or only the listed events

The preview also lists breaking releases it would leave unapplied, source moves a newly declared mind-home would make, and the dependencies and install hooks of new items. It does not predict content diffs or build output. Run mind sync first to preview a newer checkout; --allow-breaking cannot be combined with --dry-run. Like other read-only commands, a first run may create the mind home and lock file for concurrency control.

See Keep everything up to date.

auto-update

mind auto-update run [--if-stale DURATION] [--background]

Sync and upgrade every version-pinned source you granted auto-update (meld --auto-update), never prompting. A source whose update would run a hook is held for mind upgrade. If another mind holds the lock, the run exits 0 and does nothing.

flageffect
--if-stale <DURATION>skip unless the last run is older than this (30m, 12h, 1d)
--backgroundcheck --if-stale, then run detached and return at once

mind config auto-update on runs it when a Claude session starts. See Auto-update.

curate

mind curate [OPTIONS]

Apply what your curators declare: register newly listed sources, install declared items, re-pin, upgrade curated sources, and report dropped entries. Alias reconcile.

flageffect
--checkreport the plan, change nothing
--prunealso uninstall and drop sources a curator no longer lists
--no-syncplan against the clones on disk
--adopt <IDENTITY>hand an existing source to the curator that lists it
--accept-hooks[=EVENTS]run hooks without asking: all, or only the listed events

See Follow a curated collection.

introspect

mind introspect [--fix]

Report drift, broken links, and unsynced sources. --fix recreates missing links without changing versions. Alias doctor.

hooks

mind hooks run <TARGET> [OPTIONS]
mind hooks list <TARGET>
mind hooks history [TARGET] [FILTERS] [--limit N] [--show]

Run a source’s or item’s hooks outside the usual verbs, list them, or show recent hook results. TARGET is a source filter or a source#item ref.

flag (run)effect
--event <install|update|uninstall|build|items>which hooks (default install; build is for an item, items for a source)
--force, --rerunre-run hooks already recorded at the current commit
--accept-hooks[=EVENTS]run hooks without asking: all, or only the listed events
flag (history)effect
--failedonly hooks that failed
--outcome <LIST>only these outcomes (ok, failed, skipped, declined, aborted, interrupted)
--event <LIST>only these events (install, update, uninstall, build, items)
--since <WHEN>only results since a duration ago (2h, 7d) or a UTC date or time
--limit <N>only the newest N results
--showprint each result’s saved output

See Run setup with hooks and Hook results and logs.

config

mind config show
mind config lobes list
mind config lobes add [PATH] [--preset NAME] [--subdir REL] [--snapshot] [-f]
mind config lobes remove <PATH> [--snapshot]
mind config lobes detect [--yes]
mind config auto-update <on|off> [--every DURATION]

show prints the config file’s location and effective settings. lobes manages agent homes:

flageffect
--preset <NAME>gemini, codex, universal, devin, devin-cli, or windsurf (legacy)
--subdir <REL>a subdirectory under PATH (skills only)
--snapshotadd: write real-file copies, register nothing; remove: replace links with copies first
-f, --forceoverwrite a colliding file

detect reports which harnesses are installed and offers to add their global lobes: --yes adds without asking, a terminal is asked, and otherwise it only reports. --json prints the detected lobes and whether they were added. See Use more than one agent and Configuration and paths.

auto-update on adds a SessionStart hook to each Claude lobe’s settings.json that runs mind auto-update run --if-stale DURATION --background (default 1d); off removes it. See Auto-update.

mind link-project [DIR] [--preset NAME] [--subdir REL] [--snapshot] [-f]

Shorthand for config lobes add DIR --preset devin, with DIR defaulting to the current directory: a lobe for skills only that project should see. Devin does not need one to see your skills, since the global devin-cli lobe reaches every workspace. See Project lobes.

absorb

mind absorb <ITEM> [--to PATH] [-f]

Move one unmanaged item into a git repo you own, commit it, and install it as a managed item. --to sets the destination; --force overwrites a collision there. See Adopt items you placed by hand.

dump

mind dump [--output PATH] [--whole-sources] [--ranges]

Write a mind.toml that reproduces your sources, pins, and installed items. --whole-sources marks every source install = true. --ranges writes a version-pinned source’s range (pin-version) instead of its commit. See Back up and reproduce your setup.

review

mind review [TARGET] [-N PREFIX] [--fix]
mind review --policy <PATH>

Validate a source (a path, a melded source, or a repo to shallow-clone; default .) or a managed policy file. Exits 1 on a hard finding. See Validate before publishing.

init-source

mind init-source [PATH] [--template] [--marketplace] [--flat-skills] [-N NAME]

Scaffold a mind.toml and report the references between items. See Validate before publishing.

evolve

mind evolve [--check] [--to VERSION]

Update the mind binary to the latest release, or to VERSION (the only way to reach a prerelease). --check reports without changing anything. Alias self-update. See Install.

completions and man

mind completions <bash|elvish|fish|powershell|zsh>
mind man

Print a shell completion script or the roff man page.

Older spellings

These still work as hidden aliases:

oldcurrent
meld --link-onlymeld --register-only
unmeld --unlink-onlyunmeld --keep-items
--follow-branch B, --pin-tag T, --pin-ref C--pin branch=B, --pin tag=T, --pin C
--as PREFIX--namespace PREFIX
evolve --version Vevolve --to V