CLI Reference
This page reflects the current top-level command surface in apps/flint-cli/src/index.ts. It is organized as a reader-facing map of the CLI rather than a raw dump of every flag.
How to Read the CLI
Flint's commands fall into a few broad jobs:
- create and register workspaces
- declare and sync the environment
- manage external dependencies and active repos
- run or coordinate agents
- publish workspace knowledge
- automate the workspace
If you are new to Flint, the most important starting commands are still:
flint init
flint sync
flint shard list
flint whoamiWorkspace Lifecycle
flint init
Create a new Flint workspace.
Important options:
--preset <name>--from-git <url>--path <dir>
flint list
List registered Flints from the local registry.
Important flags:
--json--full-path--status--group--tag <tag>--search <query>
flint sync
Reconcile the current workspace against flint.toml. This is the command that makes a declared Flint environment locally usable by installing shards, reconciling sources, checking references, and aligning supporting files.
flint repair
Repair common structural issues in the current workspace.
flint migrate
Run pending workspace migrations. Supports --dry-run.
flint delete
Delete a registered Flint and its directory. Treat this as destructive.
flint update
Check for or install the latest @nuucognition/flint-cli.
Registry and Identity
flint register
Register an existing Flint in the local registry.
flint unregister
Remove a Flint from the registry without deleting its files.
flint registry
Inspect and work with the registry directly.
flint iam
Set the current person identity for the active Flint.
flint whoami
Show the current workspace identity.
Environment Modules
flint shard
Manage the shard layer, which is the main way a Flint gains cognitive programs.
Common subcommands:
install,uninstall,list,update,pullcheck,heal,infocreate,dev,edit,freezeadd,remove,reinstallpin,unpin,versionspublish,unpublish,published,releasegit,gitinit,push,registerscripts
flint source
Manage external source material copied into the workspace.
Subcommand groups:
repomeshexport
repo supports:
addremoveupdatelist
meshexport supports:
addremovelist
flint workspace
Manage active repositories inside Workspace/Repos/.
Subcommands:
createremoveupdatelist
flint reference
Manage named references to external codebases and other Flints.
Subcommands:
codebaseflintremovelist
flint fulfill
Fulfill a declared codebase reference with a local path.
Current supported resource type:
codebase
flint resolve
Resolve a fulfilled resource to its local path.
Current supported types:
codebaseflintsource
flint export
Manage buildable Mesh exports.
Subcommands:
listscanaddremovebuild
flint send
Send a bundle of files to another registered Flint's inbox.
Agents and Coding Tools
flint code
Launch interactive coding agents in the current Flint.
Subcommands:
claudecodexgemini
These commands integrate the coding tool with Flint's session export and workspace context model.
flint agent
Manage headless agent sessions.
Subcommands:
claude— launch a headless Claude Code sessionlist— list all sessionswatch— stream live session transcriptsession— inspect or manage a specific sessioninterface— agent I/O interface
session supports actions:
titleregisterstatuskillrespondreturnartifact
interface supports:
setgetask— blocks and waits for responserequest— posts deferred question and exits
flint export-session
Export a Claude Code session transcript from the current Flint.
flint export-codex-session
Export a Codex session transcript from the current Flint.
flint lattice
Manage lattice connections and execute lattice functions.
Subcommands:
listrunconnectdisconnectpinunpinsync
flint server
Manage the local Flint server.
Subcommands:
startstatusstop
flint runtime
Manage runtimes through the local server.
Subcommands:
startstoplist
This command group is dev-gated in the current CLI.
Utilities
flint git
Git passthrough plus Flint-specific helpers.
Special subcommands:
initsyncpublish
If the first argument is not one of those helpers, Flint passes the rest through to git.
flint tinderbox
Orchestrate operations across multiple Flints in a Tinderbox.
Subcommands:
sync— materialize, register, and wire the declared Tinderbox- git-backed declarations are owned/materialized;
registry:Namedeclarations are references git sync— run git sync across all child Flintswhoami <name>— set identity across all child Flintsstatus— show present/registered/connection state per declared Flintcheck— detect drift betweentinderbox.tomland realityheal— auto-fix drift and re-run reconciliation
All flint tinderbox subcommands use walk-up discovery to find tinderbox.toml, so they can be run from the Tinderbox root or from inside a child Flint.
flint move
Move a Flint by name or path and update the global registry entry afterward.
flint open
Open a registered Flint in the configured app flow.
flint obsidian
Manage the shared .obsidian template clone.
Public subcommands:
updatereset
flint config
Manage global Flint configuration.
Subcommands:
opengetset
flint helper
Small workflow helpers. The most common current one is:
flint helper type newnumber <Type>flint features
List and manage feature flags through the shared CLI-core feature system.
flint login and flint logout
Authentication helpers supplied through the shared CLI core.
Practical Advice
For everyday work, think in terms of a few dependable loops:
initto create the environmentsyncto materialize declared capabilities and dependenciesagentorcodeto run the workexportto publish results
That sequence matches Flint's actual shape as a workspace where agents execute cognitive programs and leave durable artifacts behind.