Command reference

Command reference

Commands

CommandDescription
codemapPack the current directory.
codemap configCreate or update the global configuration file.
codemap mcpRun the MCP server over stdio.
codemap --helpShow help.
codemap --versionShow the version.

Options

OptionAliasValueDescription
--format-fmarkdown, xml, json, plainOutput format.
--output-opathOutput file.
--output-modefile, stdout, clipboardWhere output goes.
--stdoutflagWrite to stdout.
--clipboardflagCopy to the clipboard.
--include-ipatternsInclude patterns.
--exclude-epatternsExclude patterns.
--max-file-size-mbytesSkip larger files.
--token-budget-tnumberStop after this many tokens.
--split-outputbytesSplit output into numbered files.
--skills-sname or pathLoad a skill. Repeatable.
--instructionpathPrepend an instruction file.
--header-texttextAdd header text.
--truncate-base64 / --no-truncate-base64flagTruncate or keep base64 runs.
--summary / --no-summaryflagFile summary.
--tree / --no-treeflagDirectory structure.
--line-numbers / --no-line-numbersflagLine numbers.
--remove-comments / --no-remove-commentsflagRemove comments.
--remove-empty-lines / --no-remove-empty-linesflagRemove empty lines.
--security-check / --no-security-checkflagRun the security scan.
--include-diffs / --no-include-diffsflagInclude Git diffs.
--include-logs / --no-include-logsflagInclude Git logs.
--include-logs-countnumberNumber of log entries.
--remote-rrepo or URLPack a remote repository.
--remote-branch-bbranchBranch for --remote.
--watch-wflagRe-pack on change.