Capiva Blog
Articles and tutorials by Capiva on the work we do every day: building the harness around AI agents, configuring Claude Code, getting a company cited by ChatGPT and other AI assistants, and structuring AI adoption inside a company.
30 articles, newest first within each topic.
AI harness, Claude Code and AI agents
- Claude Code errors on Windows: 'claude' is not recognized, PATH and WinGet
How to fix Claude Code errors on Windows: 'claude' is not recognized, PATH, fsSL, irm, &&, claude.exe missing after an update, and WinGet.
Published on
- How to install Claude Code on macOS and Linux: native installer, Homebrew, apt and PATH
How to install Claude Code on macOS and Linux: the native curl installer, Homebrew, apt, dnf, Alpine and npm, PATH, login and fixes for the most common install errors.
Published on
- Claude Code subagents: how to create and when to use them
How to create Claude Code subagents: a .claude/agents file, frontmatter, tools, model, validation, how to call them and when to delegate.
Published on
- MCP vs API vs Skills vs CLI: when to use each one
MCP vs API vs Skills vs CLI in Claude Code: the same task three ways, where a Skill fits and a table of when to use each. Tested.
Published on
- How to configure MCP in Claude Code: claude mcp add, .mcp.json and scopes
How to configure MCP in Claude Code: claude mcp add for HTTP and stdio, local, project and user scopes, .mcp.json with variables and approval. Tested commands.
Published on
- How to save tokens in Claude Code: /context, /compact, subagents and cache
How to save tokens in Claude Code: measure with /context, /clear vs /compact, what breaks the prompt cache, a lean CLAUDE.md, MCP and subagents. With sources.
Published on
- How to Install Claude Code on Windows: PowerShell, CMD, WinGet or WSL
How to install Claude Code on Windows with PowerShell, CMD, WinGet or WSL, and how to fix the most common errors.
Published on
- How to build an MCP server in Python: official SDK, pytest tests and running it in Claude Code
How to create an MCP server in Python with the official SDK: define tools, test them with pytest and run the server from Claude Code, step by step.
Published on
- Claude Code Hooks: How to Configure Them, With 3 Ready Examples (PreToolUse, PostToolUse and Stop)
How to configure Claude Code hooks, with three tested examples: a PreToolUse guard, a PostToolUse sensor and a Stop gate.
Published on
- How to Create a Skill in Claude Code: SKILL.md Step by Step
How to create a Claude Code skill: SKILL.md step by step, with a script and arguments.
Published on
- CLAUDE.md: What It Is and How to Write One the Agent Follows
What CLAUDE.md is, how to write one the agent follows, its ideal size, and CLAUDE.md vs AGENTS.md.
Published on
- Guardrails and Evals for AI Agents: What They Are and How to Know the Agent Got It Right
What guardrails and evals for AI agents are, and how to check an agent works before production.
Published on
- Harness, Context Engineering, and RAG: What's the Difference and How They Fit
Context engineering is one layer of the harness, not a synonym, and RAG is one technique inside context engineering. Understand the containment: RAG inside context engineering, inside the harness.
Published on
- Claude Code: complete guide to harness, MCP and hooks
Map of Claude Code as a harness. Summarizes and links the published how-tos: Windows, CLAUDE.md, hooks, skills, MCP, subagents, MCP versus API, and tokens.
Published on
- How to build an AI harness in Python (step by step)
A Python walkthrough: an error-to-rule loop, a guardrail that blocks the action, and a pass/fail eval. The example runs with a fake model, with no benchmark score.
Published on
- What Is Harness Engineering? The Discipline That Decides If an Agent Works in Production
Harness engineering is the discipline of designing everything around the model (rules, tools, memory, and verification) so an agent works in production. Named by Mitchell Hashimoto in 2026.
Published on
- AI Harness Benchmark: Why the Same Model Scores Differently
In agent benchmarks, the harness moves the score as much as the model. There are two senses: agent harness (the scaffold, which must be disclosed) and eval harness (the runner, which must be held constant).
Published on
- What is an AI Harness? Definition, components, and why it matters more than the model
An AI harness is the infrastructure around an LLM (tools, rules, memory and quality gates) that turns it into a reliable agent. Agent = Model + Harness.
Published on
- AI Harness in Practice: running a company on agents
How Capiva runs an operational AI harness in production, why most AI projects never reach the P&L, and capivaOS, the open-source development layer.
Published on
GEO and AI citation
- How to run a GEO audit: step by step and checklist
A GEO audit in 7 steps: test questions, AI crawler access in robots.txt and at the firewall, HTML without JavaScript, indexing, citability, mentions and citations.
Published on
- How to Measure Whether ChatGPT Cites Your Company: A Python Script With the OpenAI Search API
A Python script that uses the OpenAI web search API to measure whether ChatGPT cites your company.
Published on
- llms.txt: What It Is and How to Create, Generate and Validate It (Next.js Example)
What llms.txt is and how to create one: the llmstxt.org v2 format, a Python generator and validator, and publishing in Next.js.
Published on
- What Is GEO / SEO for AI (and How It Works)
GEO (Generative Engine Optimization), AEO, and "SEO for AI" are the discipline of optimizing content to be cited by AI answers — distinct from classic SEO, which ranks links. The concept (Princeton, 2023), the difference between the terms, and what the AI rewards.
Published on
- How to Appear in ChatGPT: What Makes the AI Recommend Your Company
You don't register your company with ChatGPT. The AI recommends whoever has a citable, structured, authoritative presence. The three real levers (citability, authority, technical access) and how to test.
Published on
AI consulting and adoption
- What is a forward deployed engineer (FDE), and why the role took off in 2026
What is a forward deployed engineer: the software engineer who works inside the customer and puts AI into production. Origin at Palantir, 2026 jobs and pay, FDE vs solutions engineer, and when a company needs this model.
Published on
- Microsoft's AI CoE vs a generic AI CoE: what changes and when each fits
Microsoft's Cloud Adoption Framework AI CoE compared with a vendor-neutral CoE: tools, governance, data, security and vendor dependency, sourced from Microsoft Learn, NIST and ISO.
Published on
- AI Consulting for Businesses: What It Is, What It Covers, and How to Choose the Right One
What AI consulting for businesses includes, how an engagement runs step by step, what you should own at the end, and how to vet a vendor before you hire.
Published on
- How Much Does AI Consulting Cost? Price Ranges, Billing Models, and What Drives the Price
AI consulting cost in 2026 by engagement type, with ranges from named sources, hourly rates, billing models, and what to ask before you accept a quote.
Published on
- What Is an AI Center of Excellence? The Structure That Decides If AI Becomes Capability or Stays in Pilot
An AI Center of Excellence sets standards and guardrails for AI adoption and enables business teams. Operating models, roles, how to start, and why most fail.
Published on
- Claude Impact Lab Rio: Auditable AI for Public Health and Public Safety
The first Brazilian edition of the Claude Impact Lab brought teams together in Rio to build AI solutions for public health and public safety.
Published on
Guides, essays and tools live in the resource library. To apply this in your company, see how we work.
Explore more: Free GEO audit · Strategic Diagnosis · Technical Validation · Innovation Sprint · AI Visibility Service & GEO Optimization · Capiva case studies · Case: GEO audit · About Capiva