AI Prompt Commands Cheat Sheet: Claude Code, Cursor, Codex, Midjourney

332 entries · 23 tools · static page, updated 2026-08-23

The first fifteen commands or parameters from every platform in the AI prompts reference, on one static page. The prompts reference catalogs the operation layer of AI tools: slash commands, @-mentions, image and video generation parameters, API fields and configuration keys. Each entry is a literal, typeable token taken from the vendor's official documentation, never a prompt-writing tip.

Fifteen rows is enough to show the shape of each tool's command surface (which ones use slash commands, which use CLI flags, which expose parameters only through an API) without turning this page into the full 776-row database. The per-tool links go to the complete tables, each with source links, category notes and hand-written recipes where we have them.

Claude Code — first 15 of 111, full reference

Command / SyntaxWhat it doesNotes
/add-dir <path>Add a working directory for file access during the current sessionType a partial path to see matching directory suggestions; press Tab to accept one. Most .claude/ configuration is not discovered from the added directory.
/advisor model|offEnable or disable the advisor tool, which consults a second model for guidance at key moments during a taskAccepts fable, opus, sonnet, or a full model ID. fable requires Fable 5 access.
/agentsAs of v2.1.198, running /agents prints a reminder to ask Claude to create or manage subagents, or to edit .claude/agents/ or...On v2.1.197 and earlier, opens an interactive interface for creating and managing subagent configurations
/autocompact auto|<tokens>Set the auto-compact window: how full the context window gets before Claude Code compacts automaticallyPass a size such as 500k, or auto to return to the window tuned for your model. Claude Code saves the value to user settings and applies it to the current session.
/autofix-pr promptSpawn a Claude Code on the web session that watches the current branch's PR and pushes fixes when CI fails or reviewers leave commentsDetects the open PR from your checked-out branch with gh pr view; to watch a different PR, check out its branch first. By default the cloud session is told to fix every CI failure and review...
/background promptDetach the current session to run as a background agent and free this terminalPass a prompt to send one more instruction before detaching. Monitor the session with claude agents.
/batch <instruction>Skill. Orchestrate large-scale changes across a codebase in parallelResearches the codebase, decomposes the work into 5 to 30 independent units, and presents a plan. Once approved, spawns one background subagent per unit in an isolated git worktree.
/branch nameCreate a branch of the current conversation at this point, so you can try a different direction without losing the conversation as it standsSwitches you into the branch and preserves the original, which you can return to with /resume. To run a copy as a separate background session instead of switching into it, use /fork; to hand a...
/btw questionAsk a side question about the current session without adding to the conversationIf you run /btw without a question, Claude Code shows your most recent side question so you can browse earlier answers; if you haven't asked one yet, Claude Code prints a usage line. Before...
/bug reportReport a bug or share your conversationYou choose how much session history to include and confirm on a consent screen before anything is sent. When you're signed in to Anthropic on a first-party connection, the report goes to...
/cd <path>Move this session to a new working directory, keeping the conversation and its prompt cacheType a partial path to see matching directory suggestions; press Tab to accept one. Claude Code prompts you to trust the workspace if you haven't worked in it before, and --resume finds the moved...
/chromeConfigure Claude in Chrome settingsType the command in the Claude Code prompt.
/claude-api migrate|managed-agents-onboard|prompt-auditSkill. Load Claude API and Managed Agents reference material for your project's languageAlso activates automatically when your code imports anthropic or @anthropic-ai/sdk. Run migrate to upgrade existing Claude API code to a newer model, managed-agents-onboard for a walkthrough that...
/clear nameStart a new conversation with empty contextPass a name to label the previous conversation in the /resume picker. To free up context while continuing the same conversation, use /compact instead.
/code-review low|medium|high|xhigh|max|ultra --fix --comment pr#|branch|pathSkill. Review the current diff, or a PR number, branch, or path you pass, for correctness bugs and cleanup opportunitiesPass --fix to apply findings, --comment to post them as inline GitHub PR comments, or ultra to run a deep cloud review. With ultra on a github.com PR target, --post preselects posting the finished...

Cursor — first 15 of 37, full reference

Command / SyntaxWhat it doesNotes
/model [filter]Select a model. Press Tab to editType it at the start of the cursor-agent CLI prompt.
/run-everything [on|off|status]Toggle Run Everything or show its statusAlso: /auto-run. Type it at the start of the cursor-agent CLI prompt.
/plan [prompt]Switch to Plan mode, show the current plan, or submit a prompt in Plan modeType it at the start of the cursor-agent CLI prompt.
/askToggle Ask mode for read-only questionsType it at the start of the cursor-agent CLI prompt.
/debug [prompt]Toggle Debug mode or submit a prompt in Debug modeType it at the start of the cursor-agent CLI prompt.
/goal [objective]Give the agent a long-lived objective to work towards until it's fully complete. Rolling outType it at the start of the cursor-agent CLI prompt.
/logsShow the debug log path and copy it to the clipboardType it at the start of the cursor-agent CLI prompt.
/updateUpdate Cursor Agent to the latest versionType it at the start of the cursor-agent CLI prompt.
/max-modeToggle Max Mode on legacy request-based plansType it at the start of the cursor-agent CLI prompt.
/rename <name>Rename the current chat sessionType it at the start of the cursor-agent CLI prompt.
/clearStart a new chat sessionAlso: /new, /new-chat, /newchat. Type it at the start of the cursor-agent CLI prompt.
/resumeOpen recent chats and resume oneType it at the start of the cursor-agent CLI prompt.
/forkFork the current chat into a new sessionType it at the start of the cursor-agent CLI prompt.
/summarizeSummarize the conversation to reduce contextAlso: /compress. Type it at the start of the cursor-agent CLI prompt.
/rewindJump back to a previous messageType it at the start of the cursor-agent CLI prompt.

GitHub Copilot — first 15 of 31, full reference

Command / SyntaxWhat it doesNotes
/clearStart a new chat sessionClears the current Copilot Chat conversation in VS Code.
/explainExplain how the code in your active editor worksSelect code first for a focused explanation.
/fixPropose a fix for problems in the selected codeHighlight the broken code, then run the command.
/fixTestFailureFind and fix a failing testCopilot locates the failing test and proposes a repair.
/helpQuick reference and basics of using GitHub CopilotLists available commands and usage basics.
/newCreate a new projectScaffolds a new workspace from your description.
/testsGenerate unit tests for the selected codeSelect a function or class before running.
#blockInclude the current block of code in the promptType # in the chat box, then the variable name.
#classInclude the current class in the promptScopes the context to the enclosing class.
#commentInclude the current comment in the promptUseful when iterating on a doc comment.
#fileInclude the current file's content in the promptAttaches the whole active file as context.
#functionInclude the current function or method in the promptScopes the context to the enclosing function.
#lineInclude the current line of code in the promptNarrowest context scope available.
#pathInclude the file path in the promptPasses the location, not the contents.
#projectInclude the project context in the promptBroadest scope; slower but most informed.

OpenAI Codex CLI — first 15 of 58, full reference

Command / SyntaxWhat it doesNotes
/permissionsRelax or tighten approval requirements mid-session, such as switching between Auto and ReadRelax or tighten approval requirements mid-session, such as switching between Auto and Read.
/idePull editor context into the next prompt without re-explaining what's open in your IDEPull editor context into the next prompt without re-explaining what's open in your IDE.
/keymapInspect and persist custom shortcut bindings in config.tomlInspect and persist custom shortcut bindings in config.toml.
/vimSwitch between Vim normal/insert behavior and the default composer editing modeSwitch between Vim normal/insert behavior and the default composer editing mode.
/setup-default-sandboxReplace the degraded Windows sandbox after Codex offers the elevated setupReplace the degraded Windows sandbox after Codex offers the elevated setup.
/sandbox-add-read-dirUnblock commands that need to read an absolute directory path outside the current readableUnblock commands that need to read an absolute directory path outside the current readable.
/agent, /subagentsInspect or continue work in a spawned subagent threadInspect or continue work in a spawned subagent thread.
/appsAttach an app as $app-slug before asking Codex to use itAttach an app as $app-slug before asking Codex to use it.
/pluginsInspect plugin tools, install suggested plugins, or manage plugin availabilityInspect plugin tools, install suggested plugins, or manage plugin availability.
/hooksInspect configured hooks, trust new or changed hooks, or disable non-managed hooks before theyInspect configured hooks, trust new or changed hooks, or disable non-managed hooks before they.
/clearReset the visible UI and chat context together when you want a fresh startReset the visible UI and chat context together when you want a fresh start.
/renameGive a saved session a recognizable name without leaving the TUIGive a saved session a recognizable name without leaving the TUI.
/archiveRemove the current session from active session lists without deleting its transcriptRemove the current session from active session lists without deleting its transcript.
/deleteRemove the transcript and descendant sessions when archiving isn't enoughRemove the transcript and descendant sessions when archiving isn't enough.
/compactUse after long runs so Codex retains key points without blowing the context windowUse after long runs so Codex retains key points without blowing the context window.

Aider — first 15 of 43, full reference

Command / SyntaxWhat it doesNotes
/addAdd files to the chat so aider can edit them or review them in detailAdd files to the chat so aider can edit them or review them in detail
/architectEnter architect/editor mode using 2 different models. If no prompt provided, switchesEnter architect/editor mode using 2 different models. If no prompt provided, switches to architect/editor mode.
/askAsk questions about the code base without editing any files. If no prompt provided, switchesAsk questions about the code base without editing any files. If no prompt provided, switches to ask mode.
/chat-modeSwitch to a new chat modeSwitch to a new chat mode
/clearClear the chat historyClear the chat history
/codeAsk for changes to your code. If no prompt provided, switches to code modeAsk for changes to your code. If no prompt provided, switches to code mode.
/commitCommit edits to the repo made outside the chat (commit message optional)Commit edits to the repo made outside the chat (commit message optional)
/contextEnter context mode to see surrounding code context. If no prompt provided, switches to contextEnter context mode to see surrounding code context. If no prompt provided, switches to context mode.
/copyCopy the last assistant message to the clipboardCopy the last assistant message to the clipboard
/copy-contextCopy the current chat context as markdown, suitable to paste into a web UICopy the current chat context as markdown, suitable to paste into a web UI
/diffDisplay the diff of changes since the last messageDisplay the diff of changes since the last message
/dropRemove files from the chat session to free up context spaceRemove files from the chat session to free up context space
/editAlias for /editor: Open an editor to write a promptAlias for /editor: Open an editor to write a prompt
/editorOpen an editor to write a promptOpen an editor to write a prompt
/editor-modelSwitch the Editor Model to a new LLMSwitch the Editor Model to a new LLM

Midjourney — first 15 of 38, full reference

Command / SyntaxWhat it doesNotes
/imagineGenerate imageGenerate an image from a text prompt.
/describeDescribe imageDescribe an uploaded image in text.
/blendBlend imagesBlend 2-5 images together.
/settingsSettingsConfigure model version, quality, etc.
/infoAccount infoCheck subscription and usage.
U1~U4UpscaleUpscale the selected image.
V1~V4Create variationGenerate a variation of the selected image.
--ar <w:h>Aspect Ratio: change the image shape from the default squareAlso: --aspect. Example: --ar 2:3. Place after the prompt text.
--chaos <0-100>Vary the results more between grid imagesAlso: --c. Higher values give more unexpected compositions.
--oref <url>Omni Reference: use a person's likeness or an object's formReplaces Character Reference in V7.
--no <object>Tell Midjourney what you do not want in the imageExample: --no plants removes plants from results.
--profilePersonalization: apply your personalized profile or moodboard styleAlso: --p.
--quality <value>Control detail level and processing timeAlso: --q.
--repeat <n>Generate multiple image sets from a single promptAlso: --r. Subscription tier limits apply.
--seed <number>Fix the starting noise for testing and experimentingSame seed and prompt reproduce similar results.

Stable Diffusion (A1111) — first 15 of 36, full reference

Command / SyntaxWhat it doesNotes
(word)Increase attention to word by a factor of 1.1Wrap any prompt token in parentheses.
((word))Increase attention by 1.21 (1.1 x 1.1)Stack parentheses to multiply the effect.
[word]Decrease attention to word by a factor of 1.1Square brackets reduce emphasis; no numeric weight allowed.
(word:1.5)Set an explicit attention weight on wordWeights work with () only. Default weight is 1.1.
(word:0.25)Decrease attention by an explicit factorValues below 1 reduce influence (0.25 = quarter strength).
\(word\)Use literal parentheses characters in the promptEscape with backslashes: anime_\(character\).
BREAKFill the current 75-token chunk with padding and start a new chunkMust be uppercase. Controls how long prompts are split.
[from:to:when]Prompt editing: swap from one text to another mid-samplingwhen is a step number or a 0.0-1.0 fraction of steps.
[to:when]Add text to the prompt after a fixed number of stepsAdds the to text once step when is reached.
[from::when]Remove text from the prompt after a fixed number of stepsDrops the from text once step when is reached.
[cow|horse]Alternating words: swap tokens every other sampling stepStep 1 uses cow, step 2 horse, and so on.
prompt1 AND prompt2Composable diffusion: combine multiple promptsAND must be uppercase. Supports weights: a cat :1.2 AND a dog.
<lora:filename:multiplier>Apply a LoRA at the given strengthFilename without extension; multiplier usually 0-1. Not allowed in the negative prompt.
<hypernet:filename:multiplier>Apply a Hypernetwork at the given strengthSame syntax family as LoRA extra networks.
embedding-filenameTrigger a Textual Inversion embedding by its filenamePlace the embedding's filename anywhere in the prompt.

Suno AI — 6 entries, full reference

Command / SyntaxWhat it doesNotes
[Verse]Verse sectionSpecify a verse section in the song.
[Chorus]Chorus sectionSpecify a chorus section.
[Bridge]Bridge sectionSpecify a bridge section.
[Outro]OutroSpecify the outro section.
Genre tagsSet genreTag genres like pop, rock, jazz, hip-hop.
BPMSet tempoSpecify the song BPM (tempo).

LM Studio — first 15 of 24, full reference

Command / SyntaxWhat it doesNotes
TemperatureCreativity (0-1)Higher = more creative, lower = more deterministic.
Context LengthToken windowMax tokens for input + output combined.
Top PNucleus samplingProbability mass threshold for token selection.
Repeat PenaltyAvoid repetitionPenalise recently used tokens to reduce repetition.
GPU LayersGPU offloadNumber of model layers to offload to GPU.
/v1/chat/completionsOpenAI-compatible chat endpoint served by LM StudioPOST against the local server started with lms server start.
/v1/completionsOpenAI-compatible text completion endpointPOST; legacy completion style rather than chat messages.
/v1/embeddingsOpenAI-compatible embeddings endpointPOST; returns vectors for the loaded embedding model.
/v1/responsesOpenAI-compatible responses endpointPOST; newer response-style API surface.
/v1/modelsList models currently available to the local serverGET; mirrors the OpenAI models listing shape.
temperatureInference parameter: sampling randomnessSet per request in the config object, e.g. { "temperature": 0.6 }.
maxTokensInference parameter: maximum tokens to generateSet per request alongside temperature in the prediction config.
topPInference parameter: nucleus sampling cutoffSet per request in the prediction config.
structuredInference parameter that enforces a schema on the outputPass a schema so the model must emit conforming JSON.
lms server startStart the local LM Studio serverServes the OpenAI-compatible endpoints listed above.

DeepSeek — first 15 of 22, full reference

Command / SyntaxWhat it doesNotes
modelThe model used for the chat completionThis fingerprint represents the backend configuration that the model runs with.
messagesA list of messages comprising the conversation so farJSON body field of POST /chat/completions.
temperatureWhat sampling temperature to use, between 0 and 2Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
top_pAn alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the...So 0.1 means only the tokens comprising the top 10% probability mass are consid
max_tokensThe maximum number of tokens that can be generated in the chat completionThe total length of input tokens and generated tokens is limited by the model's context length.
frequency_penaltyThis parameter is no longer supportedIt will not take effect if you pass it to the API.
presence_penaltyThis parameter is no longer supportedIt will not take effect if you pass it to the API.
stopUp to 16 sequences where the API will stop generating further tokensJSON body field of POST /chat/completions.
streamIf set, partial message deltas will be sentTokens will be sent as data-only server-sent events (SSE) as they become available, with the stream terminated by a
stream_optionsOptions for streaming responseOnly set this when you set If set, an additional chunk will be streamed before the field on this chunk shows the token usage statistics for the...
response_formatAn object specifying the format that the model must outputSetting to { "type": "json_object" } enables JSON Output, which guarantees the message the model generates is valid JSON.
toolsA list of tools the model may callCurrently, only functions are supported as a tool.
tool_choiceControls which (if any) tool is called by the modelmeans the model will not call any tool and instead generates a message.
logprobsWhether to return log probabilities of the output tokens or notIf true, returns the log probabilities of each output token returned in the
top_logprobsAn integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with...JSON body field of POST /chat/completions.

GLM (Z.ai) — first 15 of 23, full reference

Command / SyntaxWhat it doesNotes
modelThe model code to be calledGLM-5.3, GLM-5.2, GLM-5.1, GLM-5-Turbo are the latest flagship model series, foundational models specifically designed for agent applications.
messagesThe current conversation message list as the model’s prompt input, provided in JSON array format, e.g.,`{“role”:...Possible message types include system messages, user messages, assistant mess
do_sampleWhen do_sample is true, sampling strategy is enabled; when do_sample is false, sampling strategy parameters such as...Default value is `true`.
streamThis parameter should be set to false or omitted when using synchronous callIt indicates that the model returns all content at once after generating all content.
reasoning_effortControls the model's reasoning effort level, takes effect when `thinking` is enabledDefault is `max`, supported by `GLM-5.2` and above.
temperatureSampling temperature, controls the randomness of the output, must be a positive number within the range: `[0.0, 1.0]`The GLM-5.3, GLM-5.2, GLM-5.1, GLM-5, GLM-4.7, GLM-4.6 series default value is `1.0`, GLM-4.5 series
top_pAnother method of temperature sampling, value range is: `[0.01, 1.0]`The GLM-5.3, GLM-5.2, GLM-5.1, GLM-5, GLM-4.7, GLM-4.6, GLM-4.5 series default value is `0.95`, GLM-4-32B-0414-128K default value is `0.9`.
max_tokensThe maximum number of tokens for model output, the GLM-5.3, GLM-5.2, GLM-5.1, GLM-5, GLM-4.7, GLM-4.6 series...JSON body field (integer) of POST /paas/v4/chat/completions.
tool_streamWhether to enable streaming response for Function CallsDefault value is false.
toolsA list of tools the model may callCurrently, only functions are supported as a tool.
tool_choiceControls how the model selects a toolJSON body field (field) of POST /paas/v4/chat/completions.
stopStop word listGeneration stops when the model encounters any specified string.
response_formatSpecifies the response format of the modelDefaults to text.
request_idPassed by the user side, needs to be unique; used to distinguish each request, 6–64 charactersIf not provided by the user side, the platform will generate one by default.
user_idUnique ID for the end user, 6–128 charactersAvoid using sensitive information.

Kimi (Moonshot AI) — first 15 of 22, full reference

Command / SyntaxWhat it doesNotes
modelModel ID to call; kimi-k3 is the defaultSet to a model ID from the Models & Modes table below.
messagesThe conversation message list; supports dynamic tool messagesA {"role": "system", "tools": [...]} message can be inserted at any position.
max_completion_tokensMaximum tokens to generateKimi K3 defaults to 131072 and can be set up to 1048576. Replaces the deprecated max_tokens.
max_tokensDeprecated token limit fieldUse max_completion_tokens instead.
response_formatControls the output format; {"type": "json_object"} enables JSON modeDefault is {"type": "text"}. In JSON mode you must also guide the model to output JSON in the prompt.
stopStop words that halt generation on a full matchUp to 5 strings, each at most 32 bytes; matched words are not output.
streamReturn the response as a streamBoolean, default false.
stream_optionsOptions for streaming responsesObject with child attributes for stream behavior.
toolsA list of tools the model may callStandard function-tool definitions.
tool_choiceControls whether and how the model calls toolsauto (default), none, required, or an object forcing a specific function.
logprobsReturn log probabilities of the output tokensBoolean, default false; values arrive in the logprobs field of the response.
top_logprobsNumber of most likely tokens to return per positionInteger 0-20; requires logprobs: true.
predictionPredicted Output configuration to speed up largely-known responsesUseful when regenerating a file with only minor changes.
prompt_cache_keyCache key to raise cache hit rates across similar requestsFor coding agents, typically a session or task ID; reuse it when a session resumes.
safety_identifierStable per-user identifier for abuse detectionHash the username or email rather than sending it raw.

Kling AI — first 15 of 24, full reference

Command / SyntaxWhat it doesNotes
contentsReference input collection: prompts, images, ElementsArray of typed inputs forming the generation request.
"type": "prompt"Prompt input identifier inside contentsCarries the text field with positive and negative descriptions.
"type": "first_frame"First-frame image input identifierAnchors the opening frame of the generated video.
"type": "last_frame"Last-frame image input identifierAnchors the closing frame of the generated video.
"type": "element"Element input identifierReferences a reusable Element in the generation.
"type": "image"Appearance reference image (Motion Control)Generated characters follow the reference image; proportions should match the motion video.
"type": "video"Motion reference video identifier (Motion Control)Drives character motion from a reference clip.
textPrompt text content, positive and negative descriptionsString field inside a prompt-type content item; can add elements and motion effects.
settingsOutput configuration object: resolution, duration, and related fieldsContainer for generation output parameters.
multi_shotWhether to generate multi-shot videoBoolean; when false, multi-shot prompts will not produce multi-shot output.
audioAudio generation switch for the videoValues: native (audio matching the visuals) or off (silent).
resolutionResolution of the generated videoSet inside the settings object.
optionsGeneral configuration: callback address, watermark, and similarContainer object alongside contents and settings.
callback_urlCallback URL for task result notificationsServer sends a notification on task status change; see the Callback Protocol.
external_task_idCustom task ID, unique within the accountDoes not overwrite the system task ID; usable for status queries.

Vidu — first 15 of 24, full reference

Command / SyntaxWhat it doesNotes
modelModel nameAccepted values:viduq3-turbo, viduq3-pro , viduq2 , viduq1 -viduq3-turbo: Compared to viduq3-pro, the generation speed is faster -viduq3-pro: Supports audio-visual synchronization,... Required.
styleThe style of output videoDefaults to general, Accepted values: general anime - general : General style. Allows style control through prompts - anime: Anime style. Optimized for anime aesthetics, with better...
promptText prompt A textual description for video generation, with a maximum length of 5000 charactersRequired.
durationVideo durationDefault values vary by model: - viduq3-pro,viduq3-turbo: default 5s, available: 1 - 16 - viduq2: default 5s, available: 1 - 10 - viduq1: default 5s, available: 5
seedRandom seed -Defaults to a random seed number - Manually set values will override the default random seed
aspect_ratioThe aspect ratio of the output videoDefaults to 16:9, accepted: 16:9 9:163:4 4:3 1:1 Note:3:4& 4:3only support q2 & q3 model
resolutionResolutionDefault values vary by model & duration: - viduq3-pro , viduq3-turbo (1-16s): default 720p, available: 540p, 720p, 1080p - viduq2 (1-10s): default 720p, available: 540p 720p 1080p -...
movement_amplitudeThe movement amplitude of objects in the frameDefaults to auto, accepted value: auto small medium large This parameter does not take effect when using the q2 & q3 model
imagesAn image to be used as the start frame of the generated video For fields that accept images: - Only accepts 1 image -...- Supported formats: png, jpeg, jpg, webp - The aspect ratio of the images must be less than 1:4 or 4:1 - All images are limited to 50MB - The post body of the HTTP request should not... Required.
voice_idVoice ID, The Q3 series model is not effective Used to determine the voice character in the videoThe system will automatically recommend a suitable voice, and optional values can be found in the Voice List. You can also use the Voice Cloning API to clone any voice. The voice_id...
is_recWhether to use the recommended prompt- true: Yes, the system will automatically generate and apply a recommended prompt to create the video. The number of recommended prompts = 1. - false: No, the video will be generated...
auto_subjectsOptional | Whether to use the intelligent entity library capability, default is false, optional values are true and false...- false: Do not use the intelligent agent library capability.
subjectsRequired | When using the q3, q2, q1, and 2.0 models, only the main body of the image and text can be used - The maximum...JSON body field of the Vidu generation endpoints.
videosOptional | The video URL corresponding to the subjectAll subjects share a 13s duration (each image subject = 1s). Must provide either this or images. - Note 1: This parameter is only supported by the viduq2-pro model. - Note 2: When using...
bgmWhether to add background music to the generated video.(q3 model not available) Default: falseAcceptable values: true, false. When true, the system will automatically add a suitable BGM. BGM has no time limit and the system automatically adapts. BGM does not take effect when the...

MiniMax (Hailuo) — first 15 of 24, full reference

Command / SyntaxWhat it doesNotes
modelModel nameCurrently available: MiniMax-H3.
contentArray of multimodal input describing the information used to generate the videoEach element is distinguished by type (text / image_url / video_url / audio_url) and can be labeled with a role. Every request must include one non-empty text item (the prompt is...
resolutionVideo resolutionCurrently available: 768P, 2K.
durationDuration of the generated video in secondsRequired, integer. Available values: 4-15.
ratioAspect ratio of the generated videoDefaults to adaptive (the most suitable ratio is chosen automatically based on the input; the actual ratio can be read from the ratio field of the query endpoint). Available values:...
callback_urlCallback URL for task status changesOnce configured, the MiniMax server first sends a verification request containing a challenge field (you must return the challenge unchanged within 3 seconds to complete verification);...
"type": "text"Text prompt content item; every scenario must include oneInside the content array, with the prompt in the text field.
"type": "image_url"Image input content itemSupplies a reference or first-frame image to the generation.
"type": "video_url"Video input content itemSupplies a reference video to the generation.
"type": "audio_url"Audio input content itemSupplies reference audio to the generation.
rolePosition or purpose of a content itemConditionally required depending on the content type.
MiniMax-H3Current video generation model ID (Hailuo 03)Set as the model field value.
modelModel IDJSON body field of the OpenAI-compatible chat endpoint.
service_tierService tier for request admissionSupported values are standard and priority. If omitted, the request uses the standard tier. The priority price is 1.5 times the standard price and ensures priority admission so the...
messagesA list of messages containing the conversation historySupports text, image, video, and tool call content.

PixVerse — first 15 of 26, full reference

Command / SyntaxWhat it doesNotes
aspect_ratioAspect ratioother models : 16:9, 4:3, 1:1, 3:4, 9:16 v6/c1 models : 16:9, 4:3, 1:1, 3:4, 9:16, 2:3, 3:2, 21:9
durationVideo durationv.3.5/v4/v4.5 : 5/8 (v3.5 1080p cannot use 8) v5 : 5/8 v5.5/v5.6 : 5/8/10 (1080p cannot use 10) v6/c1 : 1~15
modelModel version (now supportsv3.5/v4/v4.5/v5/v5.5/v5.6/v6/c1
promptPrompt <= 5000 charactersJSON body field of the PixVerse video generation endpoints.
qualityVideo quality ("360p", "540p", "720p", "1080p")JSON body field of the PixVerse video generation endpoints.
seedRandom seed,range: 0 - 2147483647
generate_multi_clip_switchSupported inv5.5/v6 models. Single or multi-clip switch. controls single-clip and multi-clip generation modes. true: Multi-clip , false: Single-clip. default value : false
generate_audio_switchSupported inv5.5/v5.6/v6/c1 models. Audio switch. Controls whether the video has audio. true: Audio on , false: Audio off . default value : false
sound_effect_switchSupported inv5 models and below.
sound_effect_contentSupported inv5 models and below. Activated when sound_effect_switch=true, Describe the sound effect you want. Leave blank for auto generation.
lip_sync_tts_switchSupported inv5 models and below. Set to true if you want to enable this feature. Default is false.
lip_sync_tts_contentSupported inv5 models and below. ~140 (UTF-8) characters
lip_sync_tts_speaker_idSupported inv5 models and below. id from Get speech tts list
img_idImage ID from Upload image APIsingle image or single-image templates
img_idsimg_ids is only for multi-image templatesex) "img_ids ":[0,0]

Manus — first 15 of 27, full reference

Command / SyntaxWhat it doesNotes
project_idProject ID to associate this task withThe project's instruction will be automatically applied. Use project.list to get available project IDs.
localeLocale for the task output language (e.g., "en", "zh-CN", "ja")Defaults to the user's account locale setting.
interactive_modeWhen enabled, the agent may pause and ask follow-up questions if the input is insufficientWhen disabled (default), the agent proceeds with best-effort execution without asking.
hide_in_task_listWhen true, the task will not appear in the Manus webapp task listThe task is still accessible via the task_url in the response. Useful for automated/background tasks.
share_visibilityControls who can view the task"private" (default) — only the task creator can view. "team" — all team members can view. "public" — anyone with the share_url can view without authentication.
agent_profileAgent profile to use for the task"manus-1.6" (default) — standard capability. "manus-1.6-lite" — lightweight, faster responses. "manus-1.6-max" — maximum capability. Free personal accounts are downgraded to...
titleCustom title for the taskIf not provided, a title will be auto-generated based on the input message.
structured_output_schemaJSON Schema for structured output extractionWhen provided, the agent runs normally, then a post-processing step extracts a result conforming to your schema. The schema must follow the Structured Output subset of JSON Schema: all...
message.contentString (plain text) or array of ContentPart objectsUser text is limited to approximately 5,000 estimated tokens per request; the exact character count varies by language and content. For an array, the limit applies to the combined text...
message.connectorsList of connector IDs to enable for this taskResolution order when omitted: 1) if the task belongs to a project, the project's default connectors are used; 2) otherwise, the user's default enabled connectors are used. Use...
message.enable_skillsSkill IDs to enable for this taskIf empty or omitted, loads the skills the user has enabled in their account settings. Use skill.list to retrieve available skill IDs.
message.force_skillsSkill IDs the agent must invoke during this taskForced skills are automatically available even if not listed in enable_skills.
message.task_referencesTask IDs of existing tasks to reference from this messageThe agent can then browse the conversation and files of those tasks on demand. Each entry must be a bare 22-character alphanumeric task ID — a full task URL, or a shortcut value such as...
"type": "text"Must be "text"Field of a ContentPart item inside message.content.
textThe text content of the messageAcross a ContentPart array, all text parts must contain no more than approximately 5,000 estimated tokens in total.

Qwen (Alibaba Model Studio) — first 15 of 29, full reference

Command / SyntaxWhat it doesNotes
modelModel to callSupported families: Qwen LLM (commercial and open source), Qwen-VL, Qwen-Coder, Qwen-Omni, Qwen-Math, plus DeepSeek, Kimi, GLM and MiniMax. Required.
messagesConversation context passed to the model, in conversational orderRequired. System message, if present, must come first.
temperatureSampling temperature controlling output diversityValue range [0, 2). Set either temperature or top_p, not both.
top_pNucleus sampling probability thresholdValue range (0, 1.0]. Set either temperature or top_p, not both.
top_kNumber of candidate tokens sampled during generationLarger is more random. null or a value above 100 disables the top_k strategy.
repetition_penaltyPenalty for consecutive repeated sequences1.0 means no penalty; raise it to reduce repetition. No strict upper bound.
presence_penaltyControls content repetition across the generated textValue range [-2.0, 2.0]. Positive reduces repetition, negative increases it.
max_completion_tokensMaximum output length, including chain-of-thought and answerGeneration stops early with finish_reason length if exceeded.
enable_thinkingSwitch thinking mode on for mixed-thinking modelsApplies to Qwen3 family, Qwen3-Omni-Flash and Qwen3-VL models.
thinking_budgetMaximum tokens allowed for the thinking processApplies to Qwen3 family, GLM and Kimi models; kimi-k3 does not support it.
reasoning_effortInference intensity levelValid values vary by model; DeepSeek-V4 and GLM default to high, with max available.
seedRandom seed for reproducible resultsSame seed and unchanged parameters return the same result as far as possible.
toolsArray of tool objects the model may call in function callingIf set and the model decides to call a tool, tool info is returned in the response.
stream_optionsConfiguration for streaming outputTakes effect only when stream is true; include_usage adds token usage to the last chunk.
audioVoice and format of the output audioQwen-Omni models only, and requires modalities set to ["text","audio"].

Tencent Hunyuan — first 15 of 22, full reference

Command / SyntaxWhat it doesNotes
ModelModel name to callRequired. Example: hunyuan-turbos-latest. Billing differs by model.
Messages.NChat context array, ordered oldest to newestRequired. Up to 40 entries. Role values: system, user, assistant, tool. System, if present, must be first; user and assistant alternate.
StreamStreaming response switchDefaults to false. When true, results arrive incrementally over SSE in Choices[n].Delta.
StreamModerationContent moderation switch for streaming outputBoolean.
TemperatureSampling temperature controlling output randomnessFloat. Set either Temperature or TopP, not both.
TopPNucleus sampling probability thresholdFloat. Set either Temperature or TopP, not both.
SeedRandom seed for reproducible outputNon-zero positive integer up to 10000. Not recommended unless needed; unsuitable values degrade quality.
Stop.NCustom stop strings that end generationArray of strings.
Tools.NList of callable tools for function callingEffective only on hunyuan-turbos, hunyuan-t1 and hunyuan-functioncall models.
ToolChoiceTool usage modeValues: none, auto, custom. Defaults to auto. Effective on hunyuan-turbo and hunyuan-functioncall models.
EnableThinkingChain-of-thought reasoning switchEnabled by default. Currently effective only on the hunyuan-a13b model.
EnableEnhancementCapability enhancement switch, such as searchBoolean.
ForceSearchEnhancementForce search enhancement onBoolean.
EnableSpeedSearchTurn on the fast search variantDefaults to false. When on and search is triggered, streaming returns the first token sooner.
SearchInfoReturn SearchInfo in the response when search is triggeredDefaults to false.

OpenClaw — first 15 of 66, full reference

Command / SyntaxWhat it doesNotes
/new [model]Archive the current session and start a fresh oneType in any connected chat channel or the Control UI.
/reset [soft [message]]Reset the current session in placesoft keeps the transcript, drops reused CLI backend session ids, and reruns startup
/name <title>Name or rename the current sessionOmit the title to see the current name and a suggestion
/compact [instructions]Compact the session contextSee Compaction
/stopAbort the current runType in any connected chat channel or the Control UI.
/session idle <duration|off>Manage thread-binding idle expiryType in any connected chat channel or the Control UI.
/session max-age <duration|off>Manage thread-binding max-age expiryType in any connected chat channel or the Control UI.
/export-session [path]Owner-onlyExport the current session to HTML inside the workspace. Alias: /export
/export-trajectory [path]Export a JSONL trajectory bundle for the current sessionAlias: /trajectory
/think <level|default>Set the thinking level or clear the session overrideAliases: /thinking, /t
/verbose on|off|fullToggle verbose outputAlias: /v
/trace on|offToggle plugin trace output for the current sessionType in any connected chat channel or the Control UI.
/fast [status|auto|on|off|default]Show, set, or clear fast modeType in any connected chat channel or the Control UI.
/reasoning [on|off|stream]Toggle reasoning visibilityAlias: /reason
/elevated [on|off|ask|full]Toggle elevated modeAlias: /elev

Nous Hermes — first 15 of 42, full reference

Command / SyntaxWhat it doesNotes
<|start_header_id|>role<|end_header_id|>Llama 3.1 chat header tokens used by Hermes 4 405BRoles: system, user, assistant. Each turn ends with <|eot_id|>. Smaller Hermes 4 models use ChatML instead.
<|eot_id|>End-of-turn token in the 405B prompt formatCloses each header-delimited message.
thinking=TrueChat template flag that activates reasoning modePass to the tokenizer chat template; alternatively use the deep-thinking system prompt from the model card.
<think> </think>Tags enclosing the model's internal reasoningEmitted when reasoning mode is active; strip them to get the final answer only.
You are a deep thinking AI...Official reasoning-mode system promptFull text on the model card. Additional system instructions before or after it adjust thinking effort, style, and format.
<tools> </tools>System-prompt tags wrapping the JSON tool signaturesFunction definitions go inside these tags in the system message.
<tool_call> </tool_call>Tags the model emits around a JSON function callParse the JSON inside to execute the call.
<tool_response> </tool_response>Tags wrapping the tool result you feed backReturn the function output inside these tags in a tool role message.
/new [name]Start a new session (fresh session ID + history)Alias: /reset. Optional [name] sets the initial session title — e.g.
/clearClear screen and start a new sessionType in the Hermes CLI/TUI or a connected messaging channel.
/historyShow conversation history (respectsType in the Hermes CLI/TUI or a connected messaging channel.
/saveSave the current conversationType in the Hermes CLI/TUI or a connected messaging channel.
/promptCompose your next prompt in $EDITOR (markdown) instead of the inline input — useful for long, multi-line, or...Alias: /compose.
/retryRetry the last message (resend to agent)Type in the Hermes CLI/TUI or a connected messaging channel.
/undoRemove the last user/assistant exchangeType in the Hermes CLI/TUI or a connected messaging channel.

MCP (Model Context Protocol) — first 15 of 30, full reference

Command / SyntaxWhat it doesNotes
claude mcp add <name> ...Register an MCP server with Claude CodeLocal stdio by default; --transport http or sse for remote servers, with -- separating the launch command for stdio.
claude mcp add-json <name> '{...}'Register a server from a JSON definitionPaste the same JSON shape used in .mcp.json.
claude mcp listList all configured serversShows every server visible in the current scope hierarchy.
claude mcp get <name>Show details for one serverIncludes transport, scope, and status.
claude mcp remove <name>Remove a configured serverTakes the server name shown by claude mcp list.
claude mcp login <name> / logout <name>Authenticate or sign out of a remote server from the command lineOAuth flow runs in the browser unless --no-browser is set.
claude mcp reset-project-choicesReset approval choices for project-scoped .mcp.json serversClaude prompts again before using project-scoped servers.
claude mcp serveRun Claude Code itself as a stdio MCP serverPrints nothing on start; other applications connect to it as a server.
mcpServersTop-level object in .mcp.json holding all server definitionsEach key is a server name mapping to its config object.
command / argsLaunch command and arguments for a local stdio serverExample: "command": "npx", "args": ["-y", "@modelcontextprotocol/server-github"].
envEnvironment variables passed to a stdio serverObject of KEY: value pairs; supports expansion like ${VAR} and ${VAR:-default}.
type / urlTransport type and endpoint for a remote server"type": "http" or "sse" with the server URL.
headersCustom HTTP headers sent to a remote serverUsed for API keys or bearer tokens on http/sse transports.
${VAR} / ${VAR:-default}Environment variable expansion inside .mcp.jsonExpands in command, args, env, url, and headers; the :- form supplies a default.
.mcp.jsonProject-scope server file committed at the repository rootClaude prompts for approval before using servers from it; reset with claude mcp reset-project-choices.

Agent Instruction Files — 11 entries, full reference

Command / SyntaxWhat it doesNotes
AGENTS.mdOpen cross-tool instruction file: a README for agentsRead by Codex, Cursor, Gemini CLI, Aider, Zed, Warp, Devin, Copilot coding agent, Factory, Jules, opencode, Windsurf and more. Plain Markdown, no required fields.
AGENTS.md (nested)Per-package instruction files in a monorepoAgents read the nearest AGENTS.md up the directory tree; the closest one takes precedence, so each subproject can ship its own.
CLAUDE.mdClaude Code project memory fileLoaded at session start from the project root and parent directories; edit in-session with the /memory command documented on our Claude Code page.
~/.claude/CLAUDE.mdUser-level Claude Code memoryApplies across all your projects; project files add to it.
.cursor/rules/*.mdcCursor project rules (current format)Rule files with metadata controlling when each rule applies.
.cursorrulesCursor legacy single-file rulesStill read for backwards compatibility; new projects should use .cursor/rules/.
.github/copilot-instructions.mdGitHub Copilot repository-wide custom instructionsApplies to Copilot Chat and the coding agent for that repository.
*.instructions.mdCopilot scoped instruction filesPer-path instructions with applyTo front matter, alongside the repository-wide file.
GEMINI.mdGemini CLI context fileProject instructions for Gemini CLI; it also reads AGENTS.md.
CONVENTIONS.mdAider coding conventions fileLoaded with --read or listed in .aider.conf.yml so it is marked read-only for the LLM.
ln -s AGENTS.md CLAUDE.mdSymlink pattern: keep one instruction source for tools with their own filenameA single AGENTS.md stays canonical while filename-specific tools follow the link.

Rows on this page are identical to the per-tool reference pages; the per-tool pages carry source links and category notes. Other bundles: CLI Essentials · AI Coding Tools · Cloud & DevOps · Design Tools · Office & Productivity · all bundles.