Registry01–16

All 152 plates

Every guide, numbered by topic. Type to filter titles and descriptions; press / for the site-wide search.


  1. 01 Install & set up 7 plates

  2. 01.01 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. Install & set up3 min
  3. 01.02 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. Install & set up3 min
  4. 01.03 -bash: claude: command not found? 4 Fixes That Work claude: command not found means the install directory is not on your PATH. Four fixes: new terminal, PATH entry, duplicate install, npm repair. Install & set up3 min
  5. 01.04 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. Install & set up3 min
  6. 01.05 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. Install & set up3 min
  7. 01.06 Run Claude Code on Windows with WSL Enable WSL with wsl --install, run the Linux installer for Claude Code inside Ubuntu, fix the PATH, and keep projects on the Linux filesystem. Install & set up3 min
  8. 01.07 Use Claude Code in JetBrains IDEs Install the Claude Code [Beta] plugin from the JetBrains Marketplace, run claude in the IDE terminal, and connect external sessions with /ide. Install & set up3 min
  9. 02 First steps 4 plates

  10. 02.01 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. First steps3 min
  11. 02.02 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. First steps3 min
  12. 02.03 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. First steps3 min
  13. 02.04 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. First steps3 min
  14. 03 Claude Code commands 14 plates

  15. 03.01 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. Claude Code commands4 min
  16. 03.02 Create a Custom Slash Command in Claude Code Drop a Markdown file in .claude/commands/ and the filename becomes the command. $0 is the first positional argument, and skills are now preferred. Claude Code commands3 min
  17. 03.03 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. Claude Code commands4 min
  18. 03.04 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. Claude Code commands3 min
  19. 03.05 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. Claude Code commands3 min
  20. 03.06 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. Claude Code commands3 min
  21. 03.07 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. Claude Code commands4 min
  22. 03.08 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. Claude Code commands3 min
  23. 03.09 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. Claude Code commands4 min
  24. 03.10 Claude Code usage limits and how to track them What session, weekly, and per-model limits mean on Pro and Max, how /usage shows your plan usage, and what to do when you hit a limit. Claude Code commands3 min
  25. 03.11 Pick the right Claude model in Claude Code Switch between Opus, Sonnet, and Haiku with /model, set a default, and match the model to the job without guessing at prices or benchmarks. Claude Code commands3 min
  26. 03.12 Claude Code memory: the CLAUDE.md hierarchy and /memory Claude Code concatenates CLAUDE.md from managed policy, your home dir, the project, then CLAUDE.local.md. Inspect it with /memory and @path imports. Claude Code commands3 min
  27. 03.13 Change how Claude Code responds with output styles List, switch, and build output styles in Claude Code with /output-style, and see how a style differs from CLAUDE.md and the system prompt. Claude Code commands3 min
  28. 03.14 Fix Claude Code usage/rate limit reached Hit a usage or rate limit in Claude Code? What the session, weekly, and per-model limits mean, and the fastest ways to get working again. Claude Code commands3 min
  29. 04 Workflows 7 plates

  30. 04.01 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. Workflows4 min
  31. 04.02 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. Workflows3 min
  32. 04.03 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 fixes you accept. Workflows3 min
  33. 04.04 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. Workflows4 min
  34. 04.05 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. Workflows4 min
  35. 04.06 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. Workflows3 min
  36. 04.07 Run Claude Code in a Docker devcontainer Add Anthropic's official dev container feature to .devcontainer/devcontainer.json, rebuild, and run claude inside an isolated, reproducible container. Workflows3 min
  37. 05 MCP 9 plates

  38. 05.01 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. MCP3 min
  39. 05.02 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. MCP3 min
  40. 05.03 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. MCP4 min
  41. 05.04 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, a scope trick. MCP3 min
  42. 05.05 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. MCP4 min
  43. 05.06 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. MCP4 min
  44. 05.07 MCP Server Not Working in Claude Code? claude mcp list says Failed to connect or Pending approval? Five checks find the cause: scope, approval, the -- separator, env vars and timeouts. MCP3 min
  45. 05.08 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. MCP3 min
  46. 05.09 Connect the guides-ai MCP Server to Your Agent Add the guides-ai MCP server to Claude Code, Cursor, or any agent with one URL. No install, no token. Then search the whole guide library from chat. MCP3 min
  47. 06 Claude 2 plates

  48. 06.01 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. Claude3 min
  49. 06.02 How to Use Claude Artifacts Artifacts open code, docs and diagrams in a side panel. Turn on Code execution and file creation in Settings, iterate in place, then publish a link. Claude3 min
  50. 07 ChatGPT 6 plates

  51. 07.01 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. ChatGPT3 min
  52. 07.02 How to Set ChatGPT Custom Instructions Custom instructions moved to Settings then Personalization and are now one field, not two boxes. They apply immediately to all chats, on every plan. ChatGPT3 min
  53. 07.03 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. ChatGPT3 min
  54. 07.04 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; sharing is free. ChatGPT3 min
  55. 07.05 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. ChatGPT3 min
  56. 07.06 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. ChatGPT3 min
  57. 08 Cursor 4 plates

  58. 08.01 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. Cursor3 min
  59. 08.02 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. Cursor3 min
  60. 08.03 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. Cursor3 min
  61. 08.04 Run Cursor Background (Cloud) Agents Cursor renamed Background Agents to Cloud Agents. Run async agents in a cloud VM on your repo, review their PRs, and learn the privacy limits. Cursor3 min
  62. 09 Local LLMs 19 plates

  63. 09.01 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. Local LLMs3 min
  64. 09.02 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 scripts. Local LLMs3 min
  65. 09.03 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. Local LLMs3 min
  66. 09.04 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. Local LLMs3 min
  67. 09.05 Run a Local LLM with LM Studio (No Terminal) LM Studio downloads and runs GGUF models in a desktop app, then serves them at http://localhost:1234/v1 for any OpenAI-compatible client. No terminal. Local LLMs3 min
  68. 09.06 llama.cpp Quickstart: Run a GGUF Model Install llama.cpp, pull a GGUF from Hugging Face with llama cli -hf, chat in the terminal, then serve an OpenAI-compatible API on localhost:9931. Local LLMs4 min
  69. 09.07 How Much RAM or VRAM a Local LLM Needs (1B to 70B) Real GGUF file sizes at Q4/Q8 for 1B to 70B models, the rule of thumb behind them, and what fits in 8, 16, 24 or 64 GB. Pick a model that runs. Local LLMs3 min
  70. 09.08 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. Local LLMs3 min
  71. 09.09 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. Local LLMs3 min
  72. 09.10 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. Local LLMs3 min
  73. 09.11 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. Local LLMs3 min
  74. 09.12 Run LLMs Fast on Apple Silicon with MLX MLX is Apple's framework for M-series Macs. Install mlx-lm, generate from a Hugging Face model, and serve an OpenAI-style API with mlx_lm.server. Local LLMs3 min
  75. 09.13 Fix Ollama Not Using Your GPU Ollama ran on CPU instead of your GPU. Confirm it with ollama ps, then fix the driver, Docker and WSL passthrough, or a model too big for VRAM. Local LLMs3 min
  76. 09.14 Call any local model with the OpenAI-compatible API Ollama, LM Studio, llama.cpp and vLLM all expose an OpenAI-compatible /v1 API. List models, run a chat completion, and stream from one SDK. Local LLMs3 min
  77. 09.15 Fix CUDA out of memory when running a model locally torch.OutOfMemoryError: CUDA out of memory means the GPU is full. Lower the batch size, use float16 or 4-bit, offload to CPU, or clear the cache. Local LLMs3 min
  78. 09.16 Fix Ollama model not found or pull failed ollama run says model not found? Pull the exact model:tag first, fix a wrong or case-sensitive tag, or run a GGUF straight from Hugging Face. Local LLMs3 min
  79. 09.17 Fix Ollama out of memory or model too large Ollama ran out of memory or the model is too large. Check the split with ollama ps, then cut the model, the quant, or the context window. Local LLMs3 min
  80. 09.18 Fix pip install torch (CPU-only or CUDA mismatch) Plain pip install torch gives a CPU-only build on Windows. Install from the PyTorch index URL that matches your CUDA, then verify the GPU. Local LLMs3 min
  81. 09.19 Use a Local Model in Cursor or Claude Code Point Cursor's chat at a local OpenAI-compatible model, and see why Claude Code cannot use a non-Claude or local model as its backend. Local LLMs3 min
  82. 10 Prompting 9 plates

  83. 10.01 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. Prompting3 min
  84. 10.02 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, then test by breaking it. Prompting3 min
  85. 10.03 How to Reduce AI Hallucinations With Prompts Ground answers in pasted source text, allow "not stated", demand a quote per claim, and lower temperature: the habits that cut invented facts. Prompting4 min
  86. 10.04 How to Chain Prompts to Solve a Big Task Prompt chaining splits a task into separate API calls you can inspect (draft, review, refine), and when a modern model handles it in one call. Prompting3 min
  87. 10.05 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 beats pasting the file. Prompting3 min
  88. 10.06 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. Prompting4 min
  89. 10.07 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. Prompting4 min
  90. 10.08 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. Prompting4 min
  91. 10.09 Generate Embeddings Locally with EmbeddingGemma Install sentence-transformers, load EmbeddingGemma 2, encode queries and documents with its prefixes, score cosine similarity, and feed a vector DB. Prompting3 min
  92. 11 Choosing tools 7 plates

  93. 11.01 Which AI Model Should You Use? Pick an AI model by job: coding, images, very long inputs, or private local inference. Current tiers, with the context-window myth corrected. Choosing tools3 min
  94. 11.02 Claude vs ChatGPT for Coding: Which to Use A practical split for real coding work, plus the deciding fact most comparisons skip: Claude Code needs a paid plan, ChatGPT answers on free. Choosing tools3 min
  95. 11.03 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. Choosing tools3 min
  96. 11.04 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 an eval. Choosing tools3 min
  97. 11.05 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. Choosing tools3 min
  98. 11.06 Ollama vs LM Studio: Which Local LLM Runner Ollama is a scriptable CLI and daemon; LM Studio is a desktop app with a model browser. Both run GGUF locally, so pick by workflow, not quality. Choosing tools3 min
  99. 11.07 Which Local LLM Should You Run? Choose a local LLM by what fits your RAM and VRAM first, then by task, with starter picks for 8GB, 16GB, and 24GB machines. Choosing tools3 min
  100. 12 AI media 14 plates

  101. 12.01 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. AI media3 min
  102. 12.02 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. AI media3 min
  103. 12.03 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. AI media3 min
  104. 12.04 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. AI media4 min
  105. 12.05 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. AI media4 min
  106. 12.06 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. AI media4 min
  107. 12.07 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. AI media3 min
  108. 12.08 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. AI media4 min
  109. 12.09 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. AI media3 min
  110. 12.10 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. AI media3 min
  111. 12.11 Clone a Voice Locally with Chatterbox TTS Use ResembleAI Chatterbox (MIT) to clone a voice from a short reference clip in a few lines of Python, with the consent caveat up front. AI media3 min
  112. 12.12 Describe and Query Images with a Local VLM Load Qwen3-VL-8B-Instruct with transformers, pass an image plus a question, and get captions, chart reads and answers on your own GPU. AI media3 min
  113. 12.13 Generate Video Locally with LTX (diffusers) Run Lightricks LTX-Video on your own GPU with a short diffusers script: LTXPipeline, text-to-video, frames and steps, plus the ComfyUI route. AI media3 min
  114. 12.14 Extract Text from PDFs and Images with Local OCR Install indra-ocr, run a CPU-only OCR model on an image, pull Markdown from a multi-page PDF, batch files, and find where the weights cache. AI media3 min
  115. 13 Everyday tasks 4 plates

  116. 13.01 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. Everyday tasks3 min
  117. 13.02 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. Everyday tasks3 min
  118. 13.03 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. Everyday tasks3 min
  119. 13.04 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. Everyday tasks3 min
  120. 14 Other coding agents 11 plates

  121. 14.01 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. Other coding agents3 min
  122. 14.02 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. Other coding agents3 min
  123. 14.03 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. Other coding agents3 min
  124. 14.04 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. Other coding agents3 min
  125. 14.05 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. Other coding agents4 min
  126. 14.06 AGENTS.md: one instructions file for every coding agent AGENTS.md is the cross-agent conventions file. Where to put it, what to write, which tools read it, and how Claude Code loads it next to CLAUDE.md. Other coding agents3 min
  127. 14.07 OpenCode: First Session with the Coding Agent Install the OpenCode CLI, connect a cloud or local Ollama model, open a project, give the agent a task, and compare it to Claude Code and Cursor. Other coding agents3 min
  128. 14.08 Add MCP servers to Codex CLI Enable MCP servers in OpenAI Codex CLI: config.toml location, the exact mcp_servers TOML shape, a worked example, and how to confirm it loaded. Other coding agents3 min
  129. 14.09 AI coding agents compared: Claude Code, Codex, Cursor Compare Claude Code, Codex CLI, Copilot CLI, Cursor, OpenCode and Windsurf: terminal vs IDE, provider lock-in, MCP, open source and cost. Other coding agents3 min
  130. 14.10 Getting started with Devin (Cognition) Access Devin by Cognition: the cloud web app, Devin Desktop IDE (formerly Windsurf), CLI and Slack, plus how it differs from terminal agents. Other coding agents3 min
  131. 14.11 Authenticate GitHub Copilot CLI (login and GITHUB_TOKEN) Log in to GitHub Copilot CLI with /login, check your Copilot subscription, and set GITHUB_TOKEN for CI with the Copilot Requests permission. Other coding agents3 min
  132. 15 Building with the API 23 plates

  133. 15.01 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. Building with the API3 min
  134. 15.02 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. Building with the API4 min
  135. 15.03 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. Building with the API3 min
  136. 15.04 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. Building with the API3 min
  137. 15.05 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. Building with the API3 min
  138. 15.06 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. Building with the API3 min
  139. 15.07 OpenAI Structured Outputs: JSON Schema Constrain Responses API output with text.format json_schema, parse it straight into Pydantic or Zod, and reuse strict schemas for function calling. Building with the API4 min
  140. 15.08 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. Building with the API4 min
  141. 15.09 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. Building with the API4 min
  142. 15.10 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. Building with the API4 min
  143. 15.11 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. Building with the API4 min
  144. 15.12 Claude API Thinking and Effort Turn on adaptive thinking, read thinking blocks, set depth with output_config.effort (low to max), stream deltas, and know what budget_tokens does. Building with the API4 min
  145. 15.13 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. Building with the API4 min
  146. 15.14 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. Building with the API3 min
  147. 15.15 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. Building with the API2 min
  148. 15.16 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. Building with the API3 min
  149. 15.17 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. Building with the API3 min
  150. 15.18 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. Building with the API4 min
  151. 15.19 Upload and reuse files with the Claude Files API Upload a PDF once with the Claude Files API, reference it by file_id across requests in Python, then list and delete it. Building with the API3 min
  152. 15.20 Count tokens and estimate API cost before you send Count tokens locally with tiktoken or Anthropic's count_tokens endpoint, then estimate cost from each provider's published per-token prices. Building with the API3 min
  153. 15.21 Use Gemini API File Search (managed RAG) Create a managed File Search store with the google-genai SDK, import a file, query it with the file_search tool, and read citations. Building with the API3 min
  154. 15.22 Get structured JSON output from the Gemini API Make the Gemini API return JSON that matches a Pydantic schema with the google-genai SDK, then parse it into a typed object. Building with the API3 min
  155. 15.23 Call functions (tools) with the OpenAI API Give the model your own functions with the OpenAI Responses API: define a tool, run the call it returns, and send the result back in a loop. Building with the API3 min
  156. 16 Hugging Face 12 plates

  157. 16.01 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. Hugging Face3 min
  158. 16.02 How to Find the Right Model on Hugging Face Filter the Models page by task, library, language, license and size, read the sort signals and the model card, pick a file, and search from the API. Hugging Face3 min
  159. 16.03 Where the hf CLI downloads models and how to move it Find the hf CLI cache path on Windows, macOS and Linux, inspect it with hf cache ls, move it with HF_HOME, and prune old models. Hugging Face3 min
  160. 16.04 Access gated models (Llama, FLUX) and fix 401 errors Accept the model licence, create a read or fine-grained token, log in with hf auth login, set HF_TOKEN for CI, and fix 401/403 errors. Hugging Face3 min
  161. 16.05 Run any GGUF from Hugging Face with Ollama or llama.cpp Pick a GGUF quant in the Files tab, then run it with ollama run hf.co/user/repo or llama-cli -hf user/repo:QUANT. Hugging Face3 min
  162. 16.06 Transformers pipeline(): Run a Hugging Face Model Locally Install PyTorch and transformers, chat with a small instruct model via pipeline(), set device_map, dtype and max_new_tokens, then classify an image. Hugging Face3 min
  163. 16.07 Hugging Face Inference Providers: First API Request One HF token, one endpoint: call an open model with InferenceClient, the OpenAI SDK or curl, pick a provider, and see how billing works. Hugging Face3 min
  164. 16.08 Load, Stream and Filter a Hugging Face Dataset in Python Load a Hub dataset split, inspect its features, stream one too big to download, filter and batch-map it, then save it as Parquet or JSONL. Hugging Face3 min
  165. 16.09 Upload a Model or Dataset with the hf CLI Log in, create a repo with hf repos create, push files with hf upload and include/exclude, write a minimal README card, and do the same from Python. Hugging Face3 min
  166. 16.10 Deploy a Gradio App to Hugging Face Spaces Write a minimal Gradio app.py, add requirements.txt and a Space README, create the Space, push with the hf CLI, set secrets, and read the build logs. Hugging Face3 min
  167. 16.11 Connect the Hugging Face MCP Server to Claude Code or Cursor Add https://huggingface.co/mcp with a read token so your agent searches models, datasets, papers and docs from the chat, and uses MCP Spaces as tools. Hugging Face3 min
  168. 16.12 Fix stuck or incomplete Hugging Face downloads Resume a stuck hf download, clear broken .incomplete partials with hf cache prune, and speed transfers with hf_xet when disk space allows. Hugging Face3 min

End of registry 152 plates · 16 topics Browse by topic

↑↓ move↵ openalt+↵ copy first command

Keyboard

⌘/ctrl+K or /
Search all guides
alt+↵
In search: copy the guide's first command
j / k
Move through a list of guides
c
On a guide: copy its first command
t
Toggle light / dark
?
This list