Log
What's new
Every plate in the order it was added, newest first. Dates are publish dates; an entry shows an updated date only when a guide was actually revised.
105 plates · 1 month · oldest Sept 2026
Sept 2026
105 plates- 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. 06 Sept 2026 Building with the API 4 min
- 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. 06 Sept 2026 Building with the API 3 min
- 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. 06 Sept 2026 Building with the API 3 min
- 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. Copy-paste. 06 Sept 2026 Building with the API 2 min
- 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. 06 Sept 2026 Building with the API 3 min
- 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. 06 Sept 2026 Building with the API 4 min
- 15.12 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. 06 Sept 2026 Building with the API 4 min
- 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. 06 Sept 2026 Building with the API 4 min
- 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. 06 Sept 2026 Building with the API 4 min
- 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. 06 Sept 2026 Building with the API 4 min
- 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. 06 Sept 2026 Building with the API 4 min
- 15.07 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. 06 Sept 2026 Building with the API 4 min
- 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. 06 Sept 2026 Building with the API 3 min
- 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. 06 Sept 2026 Building with the API 3 min
- 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. 06 Sept 2026 Building with the API 3 min
- 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. 06 Sept 2026 Building with the API 3 min
- 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. 06 Sept 2026 Building with the API 4 min
- 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. 06 Sept 2026 Building with the API 3 min
- 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. 06 Sept 2026 Other coding agents 4 min
- 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. 06 Sept 2026 Other coding agents 3 min
- 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. 06 Sept 2026 Other coding agents 3 min
- 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. 06 Sept 2026 Other coding agents 3 min
- 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. 06 Sept 2026 Other coding agents 3 min
- 13.07 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. 06 Sept 2026 Everyday tasks 3 min
- 13.06 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. 06 Sept 2026 Everyday tasks 4 min
- 13.05 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. 06 Sept 2026 Everyday tasks 3 min
- 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. 06 Sept 2026 Everyday tasks 3 min
- 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. 06 Sept 2026 Everyday tasks 3 min
- 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. 06 Sept 2026 Everyday tasks 3 min
- 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. 06 Sept 2026 Everyday tasks 3 min
- 12.07 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. 06 Sept 2026 AI images 3 min
- 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. 06 Sept 2026 AI images 4 min
- 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. 06 Sept 2026 AI images 4 min
- 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. 06 Sept 2026 AI images 4 min
- 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. 06 Sept 2026 AI images 3 min
- 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. 06 Sept 2026 AI images 3 min
- 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. 06 Sept 2026 AI images 3 min
- 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. 06 Sept 2026 Choosing tools 3 min
- 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 your own eval. 06 Sept 2026 Choosing tools 3 min
- 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. 06 Sept 2026 Choosing tools 3 min
- 11.02 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. 06 Sept 2026 Choosing tools 3 min
- 11.01 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. 06 Sept 2026 Choosing tools 3 min
- 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. 06 Sept 2026 Prompting 4 min
- 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. 06 Sept 2026 Prompting 4 min
- 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. 06 Sept 2026 Prompting 4 min
- 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 still beats pasting the file. 06 Sept 2026 Prompting 3 min
- 10.04 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. 06 Sept 2026 Prompting 3 min
- 10.03 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. 06 Sept 2026 Prompting 4 min
- 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 and test it by breaking it. 06 Sept 2026 Prompting 3 min
- 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. 06 Sept 2026 Prompting 3 min
- 09.12 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. 06 Sept 2026 Local LLMs 3 min
- 09.11 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. 06 Sept 2026 Local LLMs 3 min
- 09.10 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. 06 Sept 2026 Local LLMs 3 min
- 09.09 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. 06 Sept 2026 Local LLMs 3 min
- 09.08 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. 06 Sept 2026 Local LLMs 3 min
- 09.07 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. 06 Sept 2026 Local LLMs 4 min
- 09.06 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. 06 Sept 2026 Local LLMs 3 min
- 09.05 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. 06 Sept 2026 Local LLMs 3 min
- 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. 06 Sept 2026 Local LLMs 3 min
- 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. 06 Sept 2026 Local LLMs 3 min
- 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 your scripts. 06 Sept 2026 Local LLMs 3 min
- 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. 06 Sept 2026 Local LLMs 3 min
- 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. 06 Sept 2026 Cursor 3 min
- 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. 06 Sept 2026 Cursor 3 min
- 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. 06 Sept 2026 Cursor 3 min
- 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. 06 Sept 2026 ChatGPT 3 min
- 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. 06 Sept 2026 ChatGPT 3 min
- 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 — and sharing is free. 06 Sept 2026 ChatGPT 3 min
- 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. 06 Sept 2026 ChatGPT 3 min
- 07.02 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. 06 Sept 2026 ChatGPT 3 min
- 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. 06 Sept 2026 ChatGPT 3 min
- 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, then iterate in place and publish a link. 06 Sept 2026 Claude 3 min
- 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. 06 Sept 2026 Claude 3 min
- 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. 06 Sept 2026 MCP 3 min
- 05.07 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. 06 Sept 2026 MCP 3 min
- 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. 06 Sept 2026 MCP 4 min
- 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. Copy-paste. 06 Sept 2026 MCP 4 min
- 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 and one scope trick. 06 Sept 2026 MCP 3 min
- 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. 06 Sept 2026 MCP 4 min
- 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. 06 Sept 2026 MCP 3 min
- 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. 06 Sept 2026 MCP 3 min
- 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. 06 Sept 2026 Workflows 3 min
- 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. 06 Sept 2026 Workflows 4 min
- 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. 06 Sept 2026 Workflows 4 min
- 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 the fixes you accept. 06 Sept 2026 Workflows 3 min
- 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. 06 Sept 2026 Workflows 3 min
- 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. 06 Sept 2026 Workflows 4 min
- 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. 06 Sept 2026 Claude Code commands 4 min
- 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. 06 Sept 2026 Claude Code commands 3 min
- 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. 06 Sept 2026 Claude Code commands 4 min
- 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. 06 Sept 2026 Claude Code commands 3 min
- 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. 06 Sept 2026 Claude Code commands 3 min
- 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. 06 Sept 2026 Claude Code commands 3 min
- 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. 06 Sept 2026 Claude Code commands 4 min
- 03.02 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. 06 Sept 2026 Claude Code commands 3 min
- 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. 06 Sept 2026 Claude Code commands 4 min
- 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. 06 Sept 2026 First steps 3 min
- 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. 06 Sept 2026 First steps 3 min
- 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. 06 Sept 2026 First steps 3 min
- 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. 06 Sept 2026 First steps 3 min
- 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. 06 Sept 2026 Install & set up 3 min
- 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. 06 Sept 2026 Install & set up 3 min
- 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: a new terminal, the PATH entry, a duplicate install, npm repair. 06 Sept 2026 Install & set up 3 min
- 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. 06 Sept 2026 Install & set up 3 min
- 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. 06 Sept 2026 Install & set up 3 min