Docs
Install

CLI

Everything PAL does runs through pal cli: skills, hooks, the control room and you. Each command prints its own help with --help.

Running pal with no arguments starts the first installed agent, in this order: Claude Code, Codex, Cursor CLI, Copilot CLI, opencode, Antigravity CLI. Claude Code sessions print a summary on exit.

Every command, its arguments and its options: https://pal.konvert7.com/docs/cli

Environment:

Text
PAL_HOME          Override user state directory (default: ~/.pal or repo root)
PAL_PKG           Override package root
PAL_CLAUDE_DIR    Override Claude config dir (default: ~/.claude)
PAL_OPENCODE_DIR  Override opencode config dir (default: ~/.config/opencode)
PAL_CURSOR_DIR    Override Cursor config dir (default: ~/.cursor)
PAL_COPILOT_DIR   Override Copilot config dir (default: ~/.copilot)
PAL_CODEX_DIR     Override Codex config dir (default: ~/.codex)
PAL_GEMINI_DIR    Override Antigravity's Gemini dir (default: ~/.gemini)
PAL_AGENTS_DIR    Override agents dir (default: ~/.agents)
CommandWhat it does
initScaffold PAL home and install (default: every installed agent)
installRegister hooks and skills (default: every installed agent), then run the doctor
uninstallRemove hooks and skills (default: every agent)
updateUpdate PAL (git pull or bun add -g)
exportExport your state to a zip
importMerge your state from a zip (default: the newest export or backup)
statusShow PAL configuration
doctorFind what is wrong and how to fix it; exits 1 on any failure
migrateRun pending data migrations, or the one named
usageSummarize every agent's token usage and cost for today, 7 and 30 days
costWhat each month was paid against its API-equivalent cost, per agent
wrappedA year of your work in numbers, read from the event log
envThe OS and script languages PAL tells every agent about
reportAnonymous reports to the PAL repository about a bug in PAL itself
syncEnd-to-end encrypted sync of your memory between your machines
authWhen the active agent's login expires
patternsHow you work across projects, read from the event log
contentPAL's local content store (never exported)
eventsPAL's local event log
evidenceWhat PAL learns from: the turns the user typed, with their text
inferRun one inference call on the active agent's model; prompt on stdin
judgeAnswer typed questions with the System One model or the small tier; JSON request from a file or stdin
actorShow or rename this actor — who caused a record
machineShow or rename this machine — where a record was written
telosWhich TELOS topics are answered, in interview order
timezoneShow the configured timezone, or set it to an IANA name
telemetryThe daily anonymous heartbeat that counts PAL installs
settingsRead and change PAL's settings; each change is recorded
knowledgeQuery and manage the knowledge store
ledgerQuery the action ledger
ruleReview the rules PAL drafted from your corrections
correctionThe kinds of mistakes you corrected, and how often
compactionThe shadow rule that predicts an auto compaction
algorithm-runALGORITHM runs recorded in shadow mode
progressThe progress tree: what is active, parked, waiting, and where each piece stopped
timeboxStop work at a deadline and report what was found
unattendedWork without the user until a deadline: no questions, approved tasks only
minimumKeep working at least until a floor time, improving the weakest part each pass
schedulePrompts added at a time of day, for you or for one project
serverStart, stop and inspect the local control room
skillManage personal skills under ~/.pal/skills/
subagentManage personal subagents under ~/.pal/agents/
worktreeClean up this repo's git worktrees
algorithm-reflectLog algorithm performance after the LEARN phase
algorithm-synthesizeCluster algorithm reflections into candidate ALGORITHM.md changes
analyzePAL Learning Analysis — unified graduation + ratings report
interactionHow the user's turns went, and whether replies changed under each label
projectManage PAL project state (ISA.md backed)
synthesizeAggregate recent PAL activity into compact state
debugVerbose hook debug logging (persisted)
versionPrint the installed PAL version