ai
ai related cheatsheet collection with 51 quick references covering common commands, flags and real usage for developers and SRE.
Open Interpreter CLI Cheatsheet - Terminal AI Coding Agent Full Reference
Full command reference for Open Interpreter, a terminal AI coding agent: install and launch, --local local models, -y auto-accept, --os OS control, --api_base custom endpoint, resume --last session restore and /model interactive commands, all matched to official docs.
GPT Engineer CLI Cheatsheet - gpte Code Generation Full Reference
Full command reference for GPT Engineer gpte and gpt-engineer CLI: create projects, improve code with -i, --model selection, --steps workflows, and --temperature, all matched to official docs.
Mentat CLI Cheatsheet - Terminal Multi-file AI Coding Agent Full Reference
Full command reference for Mentat CLI: pass files or dirs as context, --exclude to drop paths, --auto-context retrieval, --model switch, --mcp-server for tools, and /include interactive commands, all matched to official docs.
CrewAI CLI Cheatsheet - crewai Multi-agent Framework Full Reference
Full command reference for CrewAI crewai CLI: create crew, run, train, flow workflows, tool management, and install, all matched to official docs.
Phidata CLI Cheatsheet - phi Multi-agent Workspace Full Reference
Full command reference for Phidata phi CLI: init, auth, config, ws create/up/down workspace management, start/stop resource deploy, all matched to official docs.
Tabby CLI Cheatsheet - Self-hosted AI Coding Assistant Full Reference
Full command reference for Tabby tabby CLI: serve to start, --model/--device/--port flags, download models, scheduler to trigger indexing, and OpenAI-compatible API calls, all matched to official docs.
Open WebUI CLI Cheatsheet - open-webui Self-hosted AI Platform Full Reference
Full command reference for Open WebUI open-webui CLI: serve to start, --port and --host flags, DATA_DIR, pip install and update, Docker and K8s deploy, all matched to official docs.
gptme CLI Cheatsheet - Terminal AI Agent Full Reference
Full command reference for gptme CLI: start a chat, -m model, -t tools, -y auto-confirm, -n non-interactive, --output-format json, resume, and tools/chats/models subcommands, all matched to official docs.
Tabnine CLI Cheatsheet - Terminal AI Coding Assistant Full Reference
Full command reference for Tabnine CLI: tabnine to start, /help /model /clear /settings slash commands, -p non-interactive mode, TABNINE_TOKEN auth, and tabnine-opencode integration, all matched to official docs.
Hermes Agent CLI Cheatsheet - Nous Terminal Multi-Backend AI Agent
Command reference for Hermes Agent, Nous Research open-source, model-agnostic terminal AI agent: install, model & tool configuration, message gateway, and setup wizard, covering hermes model, hermes tools, hermes config set, and hermes gateway.
Kilo Code CLI Cheatsheet - Terminal Open-source Coding Agent
Command reference for Kilo Code CLI, the terminal AI coding agent sharing an engine with the IDE extensions: install, interactive & one-off tasks, and model integrations, covering kilo run, kilo --mode, kilo --auto, kilo auth, and kilo mcp.
Pi CLI Cheatsheet - earendil Terminal Multi-Model Coding Agent
Command reference for Pi, the earendil-works multi-model terminal coding agent: install, interactive sessions, headless mode & scripting, and session/model management, covering pi -c, pi -p, pi @file, /login, and /model.
Kimi Code CLI Cheatsheet - Moonshot Terminal AI Coding Agent
Command reference for Kimi Code CLI, Moonshot AI terminal AI coding agent wired to Kimi models: install, interactive & single instructions, and sessions & models, covering kimi -p, kimi -C, /login, /init, and /model.
Grok CLI Cheatsheet - xAI Grok Build Terminal Coding Agent
Command reference for Grok CLI, the xAI Grok Build terminal AI coding agent: install, interactive sessions, session management, headless mode, and scripting, covering grok -p, grok inspect, XAI_API_KEY, and /model.
Warp Agent CLI Cheatsheet - In-Terminal AI Coding Agent
Command reference for Warp Agent CLI, the AI coding agent built into the Warp terminal: install, core agent commands, MCP integration, and cloud agents, covering /agent, /model, /plan, /orchestrate, /mcp, and oz agent run.
Crush CLI Cheatsheet - Charmbracelet Terminal Multi-Model Coding Agent
Command reference for Crush, the Charmbracelet Rust single-binary terminal AI coding agent: install, sessions & modes, and configuration, covering crush --yolo, /model, and crush logs.
Antigravity CLI Cheatsheet - Google Terminal AI Coding Agent (agy)
Command reference for Antigravity CLI (Google terminal AI coding agent, command agy): install, sessions & planning, and tools & integrations, covering agy, /model, /planning, /mcp, and /permissions.
Plandex CLI Cheatsheet - Terminal Planning AI Coding Agent (pdx)
Command reference for Plandex, the terminal planning open-source AI coding agent (alias pdx): install, plan & load, and execute & iterate, covering plandex new, plandex load, plandex tell, and OPENROUTER_API_KEY.
Prompt Engineering General Techniques Cheatsheet - Role/Structure/Constraints/CoT
Model-agnostic prompt engineering techniques covering role anchoring, structured output, explicit constraints, Few-shot, Chain of Thought, self-verification, and common pitfalls, not tied to any specific tool.
RAG Prompt Cheatsheet - Context-grounded Answers & Hallucination Control
Retrieval-Augmented Generation (RAG) prompt patterns covering answer-only-from-context, cite sources, handle no-answer, fuse multi-passage evidence, and flag conflicts — emphasizing traceability and hallucination control.
AI Agent System Prompt Cheatsheet - Role & Tools
Autonomous-agent system-prompt patterns covering goal/role definition, tool declarations, step-by-step decision loops, guardrails & permissions, error handling, and reflection — emphasizing control and safety.
Text-to-Image Prompt Cheatsheet - Style Guide
Model-agnostic text-to-image (Midjourney/Stable Diffusion/SDXL) prompt structure covering subject, style & artists, composition & lens, light & material, negative prompts, and common params.
Code-generation Prompt Cheatsheet & Best Practice
Code-generation prompt patterns covering requirement & context handoff, language/framework/version constraints, I/O contracts, edge cases & tests, and acceptance criteria — emphasizing compilable, runnable output.
Amazon Q Developer CLI Cheatsheet - AWS Official AI Coding Agent Full Reference
Command reference for Amazon Q Developer CLI, AWS official terminal AI coding agent: install, login, chat, one-line queries, and Agent mode, covering brew install amazon-q, q chat, q one-line queries, and /q slash commands.
Sourcegraph Amp CLI Cheatsheet - Terminal AI Coding Agent Full Reference
Command reference for Sourcegraph Amp, the terminal AI coding agent: install, login, one-shot prompts, background execution, and thread management, covering @sourcegraph/amp, amp prompts, amp -x background tasks, and amp threads.
LiteLLM CLI Cheatsheet - Unified LLM Gateway & Proxy Server
Command reference for LiteLLM, unified OpenAI-compatible gateway for 100+ LLMs: proxy launch, provider-prefix routing, config-file mode, and self-test, covering litellm --model, litellm --config, and litellm --test.
vLLM Cheatsheet - High-Performance LLM Inference & Serving
Command reference for vLLM, the high-performance LLM inference & serving engine: install, OpenAI-compatible server launch, host/port/API-key configuration, and quantization, covering pip install vllm, vllm serve, and --host/--port/--api-key.
llamafile Cheatsheet - Single-file Local LLM Run & Inference
Command reference for llamafile, Mozilla single-file local LLM runner: download & run, OpenAI-compatible server, GGUF loading, GPU layers, and temperature, covering ./xxx.llamafile --server, --nobrowser, -m, --ngl, --temp.
Continue CLI (cn) Cheatsheet - Terminal Open-source Coding Agent
Command reference for Continue CLI (cn, open-source terminal coding agent sharing the engine with the VS Code/JetBrains extensions): install, interactive session, headless mode, login, and thread resume, covering cn, cn -p, cn login, and cn --resume.
DeepSeek Prompts Cheatsheet - R1 Reasoning & V3 Chat Writing Techniques
Prompt-writing reference for DeepSeek that distinguishes the reasoning model R1 (deepseek-reasoner) from the chat model V3 (deepseek-chat), covering R1 hard rules (no system prompt, instructions in user, no few-shot, temperature 0.6) and V3 system-lock, few-shot, and JSON/function calling.
Gemini Prompts Cheatsheet - Long-Context & Multimodal Prompt Engineering
Gemini prompt engineering reference covering structured delimiters (XML/Markdown tags), long-context anchoring, internal-thinking and date/grounding clauses, native multimodal (text/image/audio/video) input, and model selection (3.5 Flash / 3.1 Pro / 2.5 Pro 1M / 2.5 Flash).
Stable Diffusion & SDXL Prompts - Weights & LoRA
Stable Diffusion and SDXL prompt templates: six-segment structure, token weights, negative prompts, LoRA, ControlNet, CFG, steps, sampler, VRAM planning.
Kling AI Prompts Cheatsheet - Kling Video Camera Moves & Structure
Kling AI video-generation prompt reference covering camera moves (push-in/pull-out/pan/tilt/dolly/orbit/crane/tracking), the one-move-per-shot rule, the six-segment prompt structure, and API params (camera_control/aspect_ratio/duration/model).
Perplexity Prompts Cheatsheet - Research & Retrieval-Augmented Q&A Techniques
Perplexity prompt techniques covering "write questions not keywords", Focus modes (Web/Academic/Pro Search/Research/Reddit/YouTube/Writing/Math/Finance), date & source constraints, format constraints, chained follow-ups, and citations.
NotebookLM Prompts Cheatsheet - Source-Grounded Knowledge Base Q&A Techniques
NotebookLM prompt techniques covering source management (PDF/URL/transcript/spreadsheet), answer-only-from-uploaded-sources with inline citations, verification prompts (find contradictions/gaps/counterpoints), and Learning Guide & Studio (study guide/infographic/audio) generation.
OpenCode CLI Cheatsheet - Flags, Agents & Serve
OpenCode TUI agent reference: launch and resume, CLI flags, agent/auth/github/mcp subcommands, serve mode, and interactive slash commands.
Goose Agent Cheatsheet - Providers & Extensions
Goose terminal agent reference: install and auth, setup across 15+ LLM providers, MCP extensions, sessions and diagnostics via goose run/configure/doctor.
OpenHands CLI Cheatsheet - Autonomous Coding Agent
A cheat sheet for the OpenHands autonomous coding agent: launch tasks with -t, auto-approve with --yolo, resume with --resume, and manage MCP servers.
Cline Cheatsheet - VS Code AI Coding Extension
VS Code AI coding with Cline: run Cline: Ask or Cline: Refactor from the palette, reference context with @file and @folder, and switch Plan and Act modes.
Ollama Cheatsheet - run, pull, Modelfile & API
Ollama command reference: run and chat, pull/push, model management, Modelfile customization, serve on port 11434 and OpenAI-compatible API endpoints.
Qwen Code CLI - Install, Slash Commands & MCP
Qwen Code CLI reference: install, auth, launch, print mode, every slash command and MCP setup for Alibaba's open-source Qwen3-Max coding agent.
GitHub Copilot CLI Cheatsheet - gh copilot Full Reference
Command reference for GitHub Copilot CLI (gh CLI extension): explain commands, generate shell suggestions, aliases, and config, covering gh copilot explain/suggest/alias/config and @copilot.
Claude Code CLI Cheatsheet - Anthropic AI Coding Agent Full Reference
Full command reference for Claude Code, Anthropic terminal AI coding agent: install & auth, -p print mode and session resume, --permission-mode/--worktree, dev slash commands, MCP server management, and @ file references, all flags matching official docs.
Codex CLI Cheatsheet - Install, exec & Approvals
OpenAI Codex CLI reference: install and auth, interactive mode, codex exec, sessions, sandbox and approval modes, MCP setup and Codex Cloud.
Gemini CLI Cheatsheet - Google Terminal AI Agent Full Reference
Command reference for Gemini CLI, Google open-source (Apache 2.0) terminal AI agent: install & auth, run modes and global flags, session slash commands, MCP/extension management, and GEMINI.md project memory, with a 2M context.
Cursor IDE CLI - New Window (-n) & Agent Flags
Cursor IDE CLI: new window (cursor -n), reuse windows (-r), diff, extensions, remote dev and cursor-agent flags.
Aider Cheatsheet - Terminal AI Pair Programming
Terminal AI pair programming with Aider: add files with /add, switch to /architect, auto git-commit every edit, and lint changes via --lint-cmd.
ChatGPT Prompt Cheatsheet - Templates & Techniques
ChatGPT prompt templates by task: set a role, force JSON with a schema, review code, and use Few-shot examples or Chain of Thought.
Claude Prompts Cheatsheet - Templates & Long Docs
Claude prompt templates for long docs (200K), code analysis, system prompts, structured output and multi-turn methods.
Midjourney Prompts Cheatsheet - --ar, --v & --no
Midjourney prompt cheatsheet: parameters (--ar, --v, --q, --niji, --no), style keywords, camera and lighting modifiers, weight syntax and prompt skeletons.
ChatGPT Cheatsheet - Prompts, Models & API Reference
Prompt-design patterns and templates for ChatGPT: role assignment, task framing and step breakdown, output-format constraints, few-shot examples and chain-of-thought steering — with common office, coding and writing scenarios. For turning vague asks into consistent, controllable model output.