Command-line reference
NetCodex also has a command line for scripts and power users. The desktop app does not need it. Install it with pipx or uv, then run netcodex --help.
Generated from the definitions of netcodex 0.12.0.
Install the command line
Global options
--version/-VFlagShow the installed version and exit.
--langTEXTLanguage of the help and of the exports: es or en.
Export and read
- netcodex exportExport conversations: one folder per conversation plus an index.md.
- netcodex viewRead a conversation in the terminal, in readable or original view (paged).
- netcodex handoffContinue a conversation in another agent: context pack, launch its CLI, or import (experimental).
- netcodex templatesList the available export templates.
- netcodex watchPoll the local stores and incrementally export new or changed conversations.
- netcodex conversation inspectDescribe one native session as JSON: agent, title, project, messages, roles, tools, attachments and storage.
- netcodex conversation validateValidate a native session file in disposable storage; never changes the file or a live profile.
- netcodex conversation transferCopy a conversation into another agent, like Continue in… in the desktop app, and print the result as JSON.
Explore your chats
- netcodex scanList supported local conversation sessions without printing transcript bodies.
- netcodex analyzeAnalyze local conversation sources without printing transcript bodies.
- netcodex whereWhere are my chats? Storage folder of every supported tool, and what exists on this machine.
- netcodex sourcesList registered sources, whether their local store exists, and where they are read from.
- netcodex statsStatistics about your conversations (per tool, per month, projects). No content.
- netcodex searchSearch your conversations for text (local search: nothing leaves your computer).
Settings and diagnostics
- netcodex validateValidate generated export metadata files.
- netcodex doctorCheck that everything works: WebView2, a browser for PDF, Quarkdown, chat access, permissions.
- netcodex config getShow the settings (or one value).
- netcodex config setChange one setting.
- netcodex config pathShow where the settings file is.
- netcodex accounts listList the accounts found on this computer and the ones added by hand. Read-only; saves nothing.
- netcodex accounts scanLook for accounts again, read their identity (e-mail, plan; never tokens) and save it to accounts.json.
- netcodex accounts addAdd an account folder by hand (for example ~/.claude-work). Never creates or changes the folder.
- netcodex accounts renameGive an account a name (shown in the app and in the terminal).
- netcodex accounts hideHide an account: its chats are no longer listed. --show lists it again.
App
- netcodex openOpen a folder: exports, config, or the chat folder of a tool.
- netcodex desktopOpen the NetCodex desktop app.
- netcodex mcpMCP server (stdio) so Claude Code, Codex and other agents can query your local chats. The agent starts it, not you.
- netcodex skill installCopy the skill to ~/.claude/skills/netcodex and ~/.agents/skills/netcodex (Codex). Never overwrites without --force.