Short. Copy-paste. No video.
Do the thing in 60 seconds.
Step-by-step guides for Claude Code, AI agents, MCP and dev tools — written for people who'd rather copy a command than read the docs.
105 guides
- Other coding agents How to Start Using Aider Install Aider, point it at Claude or GPT with an API key, make your first edit, and control its git auto-commits. Copy-paste. 3 min read →
- MCP How to Build an MCP Server in Python Write a one-tool MCP server named word_count with the official Python SDK, run it over stdio, and call it from Claude Code with claude mcp add. Copy-paste. 4 min read →
- MCP How to Build an MCP Server in TypeScript Write a one-tool MCP server with the official TypeScript SDK, serve it over stdio, and call it from Claude Code. Copy-paste. 4 min read →
- Everyday tasks How to Analyze a CSV with ChatGPT Data Analysis Upload a spreadsheet, get it cleaned, charted, and summarized — plus the limits worth knowing before you trust the numbers. 3 min read →
- Building with the API Claude Agent SDK for Python: Your First Agent Install claude-agent-sdk, run an agent that reads and edits real files, control which tools it may use, and read the final result. 4 min read →
- Building with the API Claude Agent SDK for TypeScript: Your First Agent Install @anthropic-ai/claude-agent-sdk, stream an agent that edits real files, gate its tools, and read the final result message. 4 min read →
- Building with the API Claude Message Batches API: Bulk Jobs at Half Price Create a batch of Messages requests, poll processing_status, stream results by custom_id — and pay 50% less than synchronous calls. 3 min read →
- Building with the API Your First Claude API Request: curl, Python, Node Get a key, set ANTHROPIC_API_KEY, and make a working Messages API call in curl, Python, and Node — then read the response properly. 3 min read →
- Building with the API Send a PDF to the Claude API (With Page Citations) The document content block in Python, the page and size limits from the docs, citations that point at a page — and when to pre-extract text instead. 4 min read →
- Building with the API Prompt Caching in the Claude API with cache_control Cache a long system prompt or document with cache_control, confirm hits in the usage fields, and know when the 1.25x write cost pays for itself. 3 min read →
- Building with the API Get Reliable JSON Out of the Claude API Constrain replies with output_config.format, or use messages.parse with Pydantic and Zod, so the Claude API returns JSON that always validates. 3 min read →
- Building with the API Claude API Thinking and Effort Turn adaptive thinking on, read the thinking blocks, dial depth with output_config.effort (low → max), stream deltas, and know what budget_tokens means. 4 min read →
- Building with the API Claude API Tool Use Define a tool with a JSON schema, catch the tool_use block, run your function, and send back a tool_result — in a minimal Python loop. 4 min read →
- Building with the API Send an Image to the Claude API (base64, URL, Files) The image content block in Python and curl, the format and size limits from the docs, and a screenshot-to-CSV extraction that doesn't invent numbers. 4 min read →
- Workflows How to Set Up the Claude Code GitHub Action Install the Claude GitHub App, add one secret, and drop in a workflow so @claude answers in your issues and PRs. Copy-paste. 4 min read →
- Workflows How to Run Claude Code Headless in a Script or CI Run Claude Code non-interactively with claude -p, get JSON back, pre-approve tools, and wire it into a CI job. Copy-paste. 4 min read →
- MCP MCP Server Not Working in Claude Code? claude mcp list shows Failed to connect or Pending approval — the five checks that find the cause: scope, approval, the -- separator, env vars, timeouts. 3 min read →
- Workflows Run Parallel Claude Code Sessions with Git Worktrees Start a second Claude Code session in its own git worktree with `claude --worktree`, keep .env files in it, and clean up when you're done. Copy-paste. 3 min read →
- MCP Connect a Remote MCP Server to Claude Code over HTTP Add a hosted MCP server with claude mcp add --transport http, authenticate with OAuth or a header, and pick the right scope for your team. 3 min read →
- Claude Code commands Claude Code settings.json: Which File, Which Key The four settings files Claude Code reads, which one wins when they disagree, and the handful of keys worth setting on day one. 3 min read →
- Claude Code commands Claude Code Skills and Plugins Skills are folders with a SKILL.md. Plugins bundle skills, agents and hooks for sharing. Install one from a marketplace, then write your own. 4 min read →
- Other coding agents How to Get Started with OpenAI Codex CLI Install Codex CLI with npm or Homebrew, sign in with ChatGPT, run your first task in a repo, and use /permissions to set what it can do. Copy-paste. 3 min read →
- AI images How to Install ComfyUI and Run Your First Workflow Install ComfyUI the reliable way, put a checkpoint in the right folder, load the default text-to-image graph, and generate an image. 4 min read →
- Cursor Add an MCP Server to Cursor (.cursor/mcp.json) Configure a local or remote MCP server in Cursor, global or per project, keep the API key out of git, and verify it with a real tool call. 3 min read →
- Cursor How to Write a Cursor Project Rule (.cursor/rules) Cursor project rules are .mdc files with frontmatter. Learn the four rule types, which frontmatter produces each, and copy a working example. 3 min read →
- Building with the API Embeddings Explained, With Code What an embedding vector actually is, how to compute two and compare them in Python, and which model and dimension to pick. 3 min read →
- Prompting Prompt Evals with promptfoo: One YAML, One Matrix Install promptfoo, write a config with two prompts, three test cases and real assertions, run it, and read the pass/fail grid. 4 min read →
- ChatGPT How to Get Working Excel Formulas from ChatGPT Describe the sheet so ChatGPT can answer, ask for the formula plus a breakdown, verify it on real rows, and fix the four things that go wrong. 3 min read →
- Choosing tools Fine-Tuning vs RAG vs Prompting: How to Choose A decision table plus rules of thumb — which one fixes your problem, and what each costs in money, latency and maintenance. 3 min read →
- Building with the API Your First Gemini API Request Get a Gemini API key from AI Studio, set GEMINI_API_KEY, install the google-genai SDK, and make a working request with the Interactions API. Copy-paste. 2 min read →
- Other coding agents Gemini CLI: Add MCP Servers and Install Extensions Wire an MCP server into Gemini CLI's settings.json or add it with one command, check it with /mcp, and install a packaged extension. 4 min read →
- AI images How to Generate Images Locally with FLUX (Python) Run FLUX.1-schnell locally on your GPU with a short Python diffusers script — accept the Hugging Face license and offload for low VRAM. 4 min read →
- AI images How to Generate a Short AI Video Locally (Wan 2.2) The honest local text-to-video path: Wan 2.2 TI2V-5B in ComfyUI — three model files, real VRAM numbers, and a five-second clip. 4 min read →
- Other coding agents How to Use GitHub Copilot CLI in Your Terminal Install GitHub Copilot CLI, log in, ask it for a command or a code change, and control what it's allowed to run. Copy-paste. 3 min read →
- Local LLMs Download Models from Hugging Face with the hf CLI Install the hf CLI, log in, download one GGUF instead of a whole repo with --include, put files where you want with --local-dir, and clean the cache. 3 min read →
- Local LLMs llama.cpp Quickstart: Run a GGUF Model Install llama.cpp, pull a GGUF straight from Hugging Face with llama cli -hf, chat in the terminal, then serve an OpenAI-compatible API on localhost:8080. 4 min read →
- Prompting LLM-as-Judge Evals: Rubric and Verdict Grade model outputs with a judge model: a copy-paste rubric prompt, a structured verdict, a Python scoring loop, and the biases that fake good scores. 4 min read →
- Local LLMs How Much RAM or VRAM a Local LLM Needs (1B to 70B) Real GGUF file sizes at Q4/Q8 for 1B–70B models, the rule of thumb behind them, and what fits in 8, 16, 24 or 64 GB. Pick a model that actually runs. 3 min read →
- Local LLMs How to Run Ollama in Docker with an NVIDIA GPU NVIDIA Container Toolkit setup, the official docker run command, pulling a model, keeping models in a volume, and AMD or CPU fallbacks. 3 min read →
- Local LLMs How to Run Open WebUI with Ollama (Docker) Give your local Ollama models a ChatGPT-style web interface with one Docker command — first login, model picker, and fixes. 3 min read →
- Building with the API Your First OpenAI API Request (Responses API) Create a key, set OPENAI_API_KEY, and make a working Responses API call in curl, Python, and Node — the API OpenAI recommends for new projects. 3 min read →
- Building with the API Generate Images with the OpenAI API (gpt-image) Two ways to make an image with the OpenAI API — the Images endpoint and the image_generation tool — save the PNG, set size, quality and format. 3 min read →
- Building with the API OpenAI Structured Outputs: JSON Schema Constrain Responses API output with text.format json_schema, parse straight into Pydantic or Zod, and use the same strict schemas for function calling. 4 min read →
- Building with the API RAG Without a Vector Database: OpenAI File Search Upload files to an OpenAI vector store, attach the file_search tool to a Responses API call, and get cited answers — no embeddings code, no database. 3 min read →
- Prompting Prompt Injection Defense for Tool-Using Agents Six defenses that actually reduce blast radius — privilege separation, allowlists, fenced tool results, approval gates, output filtering, and tests. 4 min read →
- Building with the API A Minimal RAG in Python: Folder In, Cited Answer Out Chunk a folder of Markdown, embed it with Voyage, retrieve top-k with a numpy dot product, and answer with Claude citing the chunks it used. 4 min read →
- Local LLMs How to Run a Local LLM with Ollama on macOS/Linux Install Ollama with one command, pull gemma3:4b, chat offline in the terminal, and keep the daemon running as a background service on port 11434. 3 min read →
- Building with the API Stream LLM Responses: Claude and OpenAI Print tokens as they arrive from the Claude and OpenAI APIs — Python and JavaScript, plus the raw SSE events and how to detect the end. 4 min read →
- Everyday tasks How to Summarize a PDF Locally with Ollama Extract PDF text with pypdf, chunk it, summarize each chunk through the local Ollama API, and merge — about 30 lines, nothing uploaded. 3 min read →
- Everyday tasks How to Summarize a YouTube Video with AI Pull the transcript with yt-dlp --convert-subs srt, then hand the .srt file to Claude or ChatGPT with a prompt that gives you timestamps, not mush. 3 min read →
- Everyday tasks How to Generate Speech Locally with Piper TTS Turn a text file into a WAV on your own machine — install Piper, download a voice, and choose between quality tiers and languages. 3 min read →
- Everyday tasks How to Translate an SRT Subtitle File with AI Translate subtitles without breaking timestamps — a copy-paste Python script, the prompt that keeps line counts, and the checks that catch drift. 4 min read →
- AI images How to Upscale Images Locally with Real-ESRGAN Enlarge photos and anime art 4x on your own machine with the standalone Real-ESRGAN binary — one command, no Python, and batch folders. 3 min read →
- Local LLMs How to Serve a Model with vLLM Install vLLM, start a server with vllm serve on localhost:8000, and call it with the OpenAI Python SDK. Needs a Linux box with an NVIDIA GPU. 3 min read →
- Everyday tasks How to Transcribe Audio Locally with Whisper Install OpenAI Whisper and ffmpeg, run whisper file.mp3 --model turbo, and get SRT and TXT subtitle files with timestamps out on your own machine. 3 min read →
- Other coding agents How to Start with Windsurf (Now Devin Desktop) Windsurf is now Devin Desktop. Install it, open a project, run a first agent task, and find where your rules live. Copy-paste. 3 min read →
- Workflows Give an AI Coding Agent the Right Context CLAUDE.md, AGENTS.md and .cursor/rules: four habits that fix most bad AI code — a rules file, @file references, one example, a clean context. 3 min read →
- AI images How to Inpaint: Edit One Part of an Image Inpainting masks a region and regenerates only that: Midjourney Vary (Region), Firefly Generative Fill, ChatGPT, or Stable Diffusion locally. 3 min read →
- ChatGPT How to Use ChatGPT Projects ChatGPT Projects group chats around shared files and instructions. Free plans get 5 files per project, Plus 25, Pro and Business 40 — and sharing is free. 3 min read →
- ChatGPT How to Use ChatGPT Voice Mode ChatGPT voice now runs inside the chat, not a separate blue-orb screen. Tap the Voice icon on web, hold the mic on mobile, and when to skip it. 3 min read →
- Local LLMs Choose a GGUF Quantization: Q4 vs Q5 vs Q8 Q4_K_M is the default pick for local LLMs. Real bits-per-weight for each GGUF level, why Q8_0 is a legacy format, and how to match one to your RAM. 3 min read →
- Claude How to Use Claude Artifacts Artifacts open code, docs and diagrams in a side panel. Turn on Code execution and file creation in Settings, then iterate in place and publish a link. 3 min read →
- Claude Code commands Control What Claude Code Can Do: Permissions Claude Code now starts in auto mode on Pro, Max and Team plans. Shift+Tab to switch, and write allow/deny rules that actually match the command. 4 min read →
- Workflows How to Review a Pull Request with Claude Code Run /code-review (alias /review) on a diff, or check out a PR with gh. Ask for correctness over style, then have Claude apply only the fixes you accept. 3 min read →
- First steps Getting Started with Gemini CLI Install Gemini CLI with npm, npx or Homebrew, sign in with Google for 60 requests a minute free, and run your first prompt inside a project. 3 min read →
- MCP MCP in Claude Code vs Claude Desktop claude mcp add registers a server from the terminal; Claude Desktop edits a JSON config from Settings. Same protocol, two setup flows and one scope trick. 3 min read →
- Choosing tools OpenAI API vs Claude API: Which to Build On OpenAI and Claude API compared on price per million tokens, 1M-token context, tool use and long-context surcharges — plus how to decide with your own eval. 3 min read →
- Prompting How to Chain Prompts to Solve a Big Task Prompt chaining splits a task into separate API calls you can inspect — the draft, review, refine loop — and when a modern model handles it in one call. 3 min read →
- Prompting RAG Explained Simply (and When You Need It) RAG retrieves relevant chunks, then generates. With 1M-token context windows and hosted file_search tools, here is when it still beats pasting the file. 3 min read →
- Local LLMs Run a Local LLM with LM Studio (No Terminal) LM Studio downloads and runs GGUF models from a desktop app, then serves them at http://localhost:1234/v1 for any OpenAI-compatible client. No terminal. 3 min read →
- MCP The Best MCP Servers to Start With Seven MCP reference servers are still maintained — filesystem, fetch, git, memory, time. GitHub, Postgres, Slack and Puppeteer were archived. 4 min read →
- ChatGPT How to Build a Custom GPT (No Code) Custom GPT creation now needs a Business, Enterprise or Edu workspace. Use the Configure tab for instructions, up to 20 knowledge files, and actions. 3 min read →
- Local LLMs Call Your Local Ollama Model from curl & Python Ollama serves a local API on port 11434. Call /api/chat with curl or Python, or point any OpenAI client at http://localhost:11434/v1/ instead. 3 min read →
- First steps Claude Code Keyboard Shortcuts & Terminal Basics The keys that make Claude Code fast: @ for files, ! for shell, Esc to interrupt, Esc Esc to rewind, Shift+Tab for modes, Ctrl+B to background. 3 min read →
- Claude Code commands How to Track and Cut Claude Code Token Usage Run /usage to see session tokens, cost and plan limits — /cost is now just an alias. Then cut waste with /clear, subagents and the right model. 3 min read →
- Choosing tools Claude Code vs Cursor: Which One to Use Claude Code is a terminal agent; Cursor is an agent-first editor. Where each one wins, and why the Claude Code extension installs into Cursor too. 3 min read →
- Prompting How to Reduce AI Hallucinations With Prompts Ground the answer in pasted source text, allow "not stated", demand a quote per claim, and lower temperature — the prompt habits that cut invented facts. 4 min read →
- Install & set up How to Update Claude Code (and Unstick It) claude update applies the newest Claude Code now, claude doctor says why one stalled, and package-manager installs need upgrading by hand. Copy-paste. 3 min read →
- ChatGPT How to Set ChatGPT Custom Instructions Custom instructions moved to Settings then Personalization, and it is now one field, not two boxes. They apply immediately to all chats, on every plan. 3 min read →
- Claude Code commands Manage Context in Claude Code: /clear, /compact Use /clear between tasks, /compact within one, /context to see what fills the window, and claude -c to resume. Keeps long sessions fast and cheap. 3 min read →
- Install & set up How to Use Claude Code in VS Code Install the Claude Code extension from the VS Code Marketplace for a native panel with inline diffs and rewind — it no longer auto-installs itself. 3 min read →
- Local LLMs Ollama Modelfile: a Custom Model With a System Prompt An Ollama Modelfile bakes FROM, SYSTEM and PARAMETER into a named local model with ollama create, so behaviour travels with the model, not your scripts. 3 min read →
- Prompting How to Write a System Prompt That Steers a Model System prompt structure: role, rules with reasons, exact output format, tagged examples. Set it in the API system parameter and test it by breaking it. 3 min read →
- Everyday tasks Clean Up Messy Spreadsheet Data with ChatGPT Upload the CSV to ChatGPT data analysis, describe the mess once, and get back a cleaned file plus a repeatable formula or script. Limits and traps. 3 min read →
- ChatGPT ChatGPT PDF Summary: Summarize Long Files in 3 Steps Attach the PDF in ChatGPT, ask for a shape instead of a summary, then drill in. The 512 MB and 2M-token caps, and what to do with a scanned file. 3 min read →
- Claude Code commands How to Configure Hooks in Claude Code Hooks run a shell command on Claude Code events. Note $CLAUDE_FILE_PATHS no longer exists — read the file path from the JSON on stdin instead. 4 min read →
- First steps How to Use Plan Mode in Claude Code (and When) Plan mode makes Claude Code research and propose before editing. Enter it with Shift+Tab or /plan, review the plan, then approve — or keep planning. 3 min read →
- Claude Code commands How to Use Subagents in Claude Code A subagent is a separate Claude with its own context window. Write one as a Markdown file in .claude/agents/ — note /agents is no longer a wizard. 3 min read →
- Workflows Let Claude Code Work on a Whole Repo Safely Branch, plan, deny the destructive commands, review in small chunks. Auto mode now starts on by default, so don't assume Claude will stop and ask. 4 min read →
- Claude How to Use Claude Projects Claude Projects keep files and instructions across chats. Free accounts get up to 5 projects; paid plans add RAG that expands knowledge up to 10x. 3 min read →
- Choosing tools Claude vs ChatGPT for Coding: Which to Use A practical split for real coding work — and the deciding fact most comparisons skip: Claude Code needs a paid plan, ChatGPT answers questions on free. 3 min read →
- MCP Connect Claude Code to GitHub with MCP Add GitHub's hosted MCP server at api.githubcopilot.com with a bearer token — the old @modelcontextprotocol/server-github package has been archived. 3 min read →
- Claude Code commands Create a Custom Slash Command in Claude Code Drop a Markdown file in .claude/commands/ and the filename becomes the command. Note $0 is the first positional argument, and skills are now preferred. 3 min read →
- Claude Code commands How to Set Up a CLAUDE.md That Actually Helps Run /init, keep CLAUDE.md under 200 lines, and confirm it loaded with /context. Plus .claude/rules for path-scoped instructions and @path imports. 4 min read →
- Cursor How to Use Cursor: A 10-Minute First-Edit Tutorial Cursor in ten minutes: Tab completions, Cmd/Ctrl K inline edits, the Agent sidepane on Cmd/Ctrl I, and how to review or undo what Agent wrote. 3 min read →
- First steps Your First Claude Code Session in 5 Minutes Run claude inside your project, give it one clear task, and check the permission mode first — auto mode may edit files without asking on paid plans. 3 min read →
- Install & set up -bash: claude: command not found — 4 Fixes That Work claude: command not found means the install directory is not on your PATH. Four fixes: a new terminal, the PATH entry, a duplicate install, npm repair. 3 min read →
- Install & set up How to Install Claude Code on macOS & Linux Install Claude Code with the curl script or Homebrew in under a minute. The npm route now needs Node.js 22+, and a paid Claude plan is required. 3 min read →
- Install & set up Install Claude Code on Windows: Download, Setup, Run irm https://claude.ai/install.ps1 | iex installs Claude Code on Windows 10 1809+. WinGet and npm alternatives, Git Bash setup, and the first login. 3 min read →
- MCP How to Install an MCP Server in Claude Code Add an MCP server with claude mcp add: -- for local commands, --transport http for hosted ones, --scope to choose who gets it, then /mcp to confirm. 3 min read →
- AI images Midjourney Prompts That Actually Work Midjourney prompt structure: subject, style, details, then parameters last. --raw has replaced --style raw, and --ar still sets the aspect ratio. 3 min read →
- Choosing tools Which AI Model Should You Use? Pick an AI model by job — coding, images, very long inputs, or private local inference — with the current tiers and the context-window myth corrected. 3 min read →
- AI images Remove an Image Background With AI (Free) rembg cuts a subject to a transparent PNG from the command line — one file or a whole folder, offline, full resolution, no watermark and no upload. 3 min read →
- Local LLMs How to Run Ollama on Windows (Install, GPU, Models) Install Ollama on Windows 10 22H2+, run your first model with ollama run, check it landed on the GPU, and move the model store off your C: drive. 3 min read →
- Prompting How to Write Better AI Prompts (A Framework) A prompt framework that still holds: role, task, context, format — plus the long-input ordering rule Anthropic measures at up to 30% better answers. 3 min read →
Docs are long. Videos are slow. You just want the command.
AI tools move fast and their docs rarely keep up. Each guide here is a focused, copy-paste answer to one real question, tested before it ships — so you get a working result in a couple of minutes.
FAQ
Are these AI guides free?
Yes. Every guide on guides-ai.pages.dev is free to read, with no account, paywall, or sign-up.
Do I need to know how to code?
No. Each guide gives you the exact command or steps to copy and paste, with a short explanation of what it does.
Which AI tools do you cover?
Claude Code, ChatGPT, Claude Projects, Cursor, MCP, local models with Ollama, and AI image tools — plus prompting and model choice.
Are the commands tested?
Yes. We run every command before publishing and note the platform it was tested on.