docs/command-reference.md

Command Reference

This page lists the user-facing commands a new Clanky user is likely to need. Most slash commands are Pi commands, Clanky extension commands, or skill commands registered inside the Pi TUI.

For deeper behavior of inherited Pi commands, use the upstream Pi command docs. This page focuses on the Clanky-specific command surface and how the Pi commands show up inside Clanky.

CLI

Run Clanky:

clanky
clanky --profile personal --home ~/.clanky --cwd .
clanky --message "Summarize this repository"

Options:

OptionMeaning
--profile <name>Active Clanky profile. Defaults to env CLANKY_PROFILE, active profile file, or default.
--home <dir>Clanky home dir. Defaults to env CLANKY_HOME or ~/.clanky.
--cwd <dir>Working directory for Pi tools, context files, and session grouping.
--message <text>Initial message sent when the TUI opens.

Discord operator CLI:

clanky discord guilds
clanky discord channels <guild-id-or-name> --since 24h
clanky discord messages <channel-id> --limit 50
clanky discord recent [guild-id-or-name] --since 24h
clanky discord send <channel-id> "message text" --file ./path.png
clanky discord emojis <guild-id-or-name>
clanky discord react <channel-id> <message-id> <emoji>

Log dive CLI:

clanky logs
clanky logs --profile personal --home ~/.clanky --session latest
clanky logs --json

Setup Slash Commands

CommandMeaning
/setupOpen the profile-local onboarding and connector setup wizard.
/setup statusShow profile paths and connector status.
/setup freshShow the fresh-user test command.
/profileShow Clanky profile paths and chat gateway ownership.
/effortShow main and subagent reasoning effort.
/effort main <level>Set main Clanky thinking level.
/effort subagents <level>Set active/default subagent thinking level.
/effort all <level>Set both.
/authList stored provider credentials in the active Clanky profile.
/auth remove <provider>Remove stored credentials for one provider.
/auth remove allRemove all stored provider credentials from the active profile.

Thinking levels: off, minimal, low, medium, high, xhigh.

Pi Slash Commands

These are inherited from Pi and work inside Clanky:

CommandMeaning
/login, /logoutManage Pi provider credentials.
/modelSelect model.
/scoped-modelsConfigure model cycling.
/settingsOpen Pi settings.
/resumePick a previous session.
/newStart a new session.
/name <name>Set session display name.
/sessionShow session file, ID, messages, tokens, and cost.
/treeNavigate the current session tree.
/forkCreate a new session from an earlier user message.
/cloneDuplicate the active branch into a new session.
/compact [prompt]Manually compact context.
/copyCopy the last assistant message.
/export [file]Export the session.
/shareShare session as a private gist-backed HTML page.
/reloadReload context files, skills, prompts, themes, and extensions.
/hotkeysShow all keyboard shortcuts.
/changelogShow Pi version history.
/quitQuit the TUI.

Auth Commands

CommandMeaning
/openai-loginStore an OpenAI API key in the active Clanky profile.
/openai-whoamiShow active OpenAI credential source.
/openai-logoutRemove the stored OpenAI credential.
/discord-loginConfigure Clanky's agent-owned Discord credential.
/discord-whoamiShow which Discord credential the next launch will use.
/discord-statusShow active Discord adapter chat and voice bridge counters.
/discord-logoutRemove the stored Discord credential.
/xai-loginStore an xAI API key in the active profile.
/xai-whoamiShow active xAI credential source.
/xai-logoutRemove the stored xAI credential.
/elevenlabs-loginStore an ElevenLabs API key in the active profile.
/elevenlabs-whoamiShow active ElevenLabs credential source.
/elevenlabs-logoutRemove the stored ElevenLabs credential.

/auth remove edits only the active profile auth.json. Environment variables and models.json request auth still override stored credentials where supported.

Discord Voice Commands

CommandMeaning
/discord-voiceShow status or open setup when unconfigured.
/discord-voice setupOpen voice setup UI.
/discord-voice statusShow voice settings and bridge state.
/discord-voice enableEnable voice access.
/discord-voice join <guild-id> <voice-channel-id>Pin and join a voice channel.
/discord-voice allow-server <guild-id> [...]Configure allowed voice servers.
/discord-voice allow-channel <voice-channel-id> [...]Configure allowed voice channels.
/discord-voice allow <voice-channel-id> [...]Alias for channel allowlist.
/discord-voice set auto-join on|offToggle startup auto-join for the pinned voice channel.
/discord-voice set realtime-provider xaiUse xAI Grok Voice as the realtime reasoning/tool agent.
/discord-voice set realtime-provider openaiUse OpenAI Realtime as the realtime reasoning/tool agent.
/discord-voice set xai-model <model-id>Override the xAI Grok Voice realtime model.
/discord-voice set xai-voice <voice-id>Override the xAI Grok Voice output voice.
/discord-voice set tts-provider elevenlabsUse ElevenLabs as the speech output provider instead of the selected realtime agent audio.
/discord-voice set elevenlabs-voice <voice-id>Store ElevenLabs voice id.
/discord-voice set elevenlabs-output-format pcm_24000Store ElevenLabs PCM output format.
/discord-voice set eagerness <0-100>Set how often Clanky chooses to speak in voice.
/discord-voice clearClear stored voice settings.
/discord-voice disableDisable voice access.
/voice-logs or /voice_logsOpen live Discord voice logs.
/voice-logs tailShow the recent voice log tail.
/voice-logs pathShow voice log path.
/voice-logs clearClear the voice log.

Memory Commands

CommandMeaning
/who_are_youShow Clanky's self memory.
/privacyShow the memory privacy policy.
/why_did_you_say_thatShow the latest memory packet used for a response.
/what_do_you_remember [query]Search memory.
/forget_meForget local user-scoped memories.
/forget_this_channel <channel-id>Forget memories scoped to a channel.
/memory view [query]View/search memory.
/memory remember <claim>Store an explicit memory claim.
/memory reflectQueue a daily reflection over enough recent transcript and propose durable memories.
/memory forget <id>Forget a memory atom.
/memory exportExport profile memory.
/memory onEnable local user memory.
/memory offDisable local user memory.
/memory_reflectAlias for /memory reflect.
/memory_exportExport profile memory.
/memory_offDisable local user memory.

Operations Commands

CommandMeaning
/skillsShow loaded Clanky skills.
/skill listList skills.
/skill add <name>Create a profile-local Clanky skill.
/skill:<name>Force-load a skill through Pi's skill command path.
/mcpShow configured external MCP servers and tool status.
/webShow web operator backend status.
/mediaShow media backend status.
/subagentsToggle the live subagent panel.
/subagents focusFocus panel keyboard selection.
/subagents chatOpen the selected subagent transcript.
/subagents modalOpen the subagent browser.
/subagents panelShow the panel.
/subagents hideHide the panel.
/subagents statusPrint subagent status once.
/subagents jsonPrint raw subagent status.

Model-Facing Tool Families

Users usually ask in natural language. The model can call these tools when they are available and credentials/policy allow it:

  • Memory: memory_remember, memory_search, memory_forget.
  • Web: web_search, web_backend_status.
  • Media: openai_image_generate, xai_image_generate, xai_video_generate, media_backend_status.
  • Discord text/media: discord_list_guilds, discord_list_channels, discord_read_messages, discord_recent_activity, discord_recent_attachments, discord_send_message, discord_list_emojis, discord_add_reaction.
  • Discord voice: discord_voice_status, discord_voice_join, discord_voice_leave.
  • Coordination: main_session_context, delegate_to_main_worker, subagent_status.
  • Work tracking: work_tracker_link for binding issues created or found through MCP, CLI, or tracker-specific skills to the current Clanky session.
  • MCP: mcp_list_tools, mcp_call.