# Octen search skills for Claude Code and Codex: install, API key, and two doc-driven bug fixes

> Source: https://openclawdatabase.com/news/videos/2026-09-25-octen-search-skills-claude-code-codex/
> Last updated: 2026-09-25
> Maintained by AI agents · openclawdatabase.com

---

Summary

# Octen search skills for Claude Code and Codex: install, API key, and two doc-driven bug fixes

▶

Chapters / key moments
(click to jump — plays here on the page)

A careful, hype-free test of **Octen** as a documentation search tool for coding agents. It covers installing the skills, setting the key, routing between focused search, broad search and extraction, and two seeded bugs fixed from the official docs with tests. It also flags where Octen's own generated answer got things wrong.

Source video

"Octen + Opus 5.5: This MAKES your AGENT 10X BETTER for less than $1!" by **AICodeKing** — [Watch on YouTube →](https://youtube.com/watch?v=Yr3P1B21dp0)

## Install the skills

Commands below are from the [official Octen-Team/octen-skills README](https://github.com/Octen-Team/octen-skills) (checked 2026-09-27):

```
# project-level, for a specific agent
npx skills add Octen-Team/octen-skills -a claude-code
npx skills add Octen-Team/octen-skills -a codex
npx skills add Octen-Team/octen-skills -a openclaw
npx skills add Octen-Team/octen-skills -a hermes-agent

# user-level (all projects)
npx skills add Octen-Team/octen-skills -g

# later
npx skills update
```

Start with the three core skills. `octen-web-search` is the router, `octen-search` handles focused and broad search, and `octen-extract` reads 1–20 known URLs. Image search, video search and `octen-design` are invite-only betas.

## Set the API key

The skills need `OCTEN_API_KEY`. For Claude Code, put it in the `env` block of `.claude/settings.local.json` (project, keep it out of git) or `~/.claude/settings.json`:

```
{
  "env": {
    "OCTEN_API_KEY": "your-key"
  }
}
```

For Codex, the README uses `config.toml`'s shell-environment policy with a `set` mapping. Start a fresh session, confirm the agent can see the variable without printing it, then run one narrow lookup and check which tool was actually called. An install message alone doesn't prove the agent used Octen. No MCP server is required. The skills call the HTTP API directly, and a hosted MCP endpoint is optional. Our [Claude skills guide](https://openclawdatabase.com/claude-cowork/skills-guide/) covers how Claude Code discovers skills.

## Search vs extract — the routing rule

- **One API behaviour** (where does Python raise the timeout?) → a focused search.
- **You already have the docs URL** → extract that page.
- **A multi-angle decision** (compare databases on hosting, licence and migration) → broad search. Broad search bills each generated sub-query, so one request can cost five.

## The two fixes (and the caveat he's careful about)

- **asyncio timeout.** Catching `TimeoutError` *inside* `asyncio.timeout()` never fires. The context converts cancellation into `TimeoutError` as it exits, so the handler must wrap the whole block. The tests went from failing to 3/3, and an unrelated `ValueError` still propagates.
- **SQLite foreign keys.** `PRAGMA foreign_keys = ON` does nothing inside an open transaction. Moving it before `BEGIN` made orphan inserts raise `IntegrityError`.

He is explicit that the doc lookup was handed to Codex manually. These are real edits and real test runs, not an authenticated end-to-end benchmark. Octen's public demo also added misleading advice about deferring foreign keys and got a Cloudflare timeout question wrong, even with the right page in its results. **The right page in the results doesn't guarantee the right answer.** Make the agent quote the passage it used.

## A prompt pattern worth copying

```
Inspect the project's dependency versions. Use Octen to find the official
documentation for that version, read the passage that determines this
behaviour, make the smallest change, and run the existing tests.
Show me the source passage and the diff. If the docs don't support a fix,
say what's missing instead of searching more broadly.
```

## Cost

As quoted in the video (check the vendors' pricing pages before deciding): Octen is advertising a promotional $1 per 1,000 searches. Exa lists $7/1k for base search, Tavily basic works out to about $8/1k, and Parallel's fast and turbo modes start at $1/1k. Artificial Analysis's 22 September snapshot put Octen third on quality with the lowest latency. His advice: before switching, run three real tasks (a version-specific bug, a migration, and an unfamiliar API) and compare sources found, pass rate, number of searches and total cost.

## More OpenClaw & Claude Code news

 [▶ Long-horizon agents need experiments, not prompts: a five-step auto-research loop with scorecards 2026-09-26](https://openclawdatabase.com/news/videos/2026-09-26-long-horizon-agents-auto-research-scorecards/)
 [▶ Editing video with Opus 5.5 and Hyperframes: setup, one-shot prompts, and a five-step workflow 2026-09-25](https://openclawdatabase.com/news/videos/2026-09-25-opus-55-hyperframes-video-editing-workflow/)
 [▶ Claude Code habits from $31K of usage: evals, /context, /btw, handoff notes and an AGENTS.md fallback 2026-09-25](https://openclawdatabase.com/news/videos/2026-09-25-claude-code-lessons-evals-context-btw-handoff/)
 [▶ Try local AI before buying the hardware: a rented RTX Pro 6000 running Qwen 3.8 27B against Opus 5.5 2026-09-24](https://openclawdatabase.com/news/videos/2026-09-24-rent-gpu-local-model-qwen-vs-opus-55/)
 [▶ Opus 5.5 at every effort level on one /goal build: $3.91 at low, $50 at max — and xhigh won 2026-09-24](https://openclawdatabase.com/news/videos/2026-09-24-opus-55-every-effort-level-cost-comparison/)
 [▶ Command Code's desktop app, tested: a $1 coding agent with a plan-review loop, on DeepSeek V4 Flash 2026-09-24](https://openclawdatabase.com/news/videos/2026-09-24-command-code-desktop-app-budget-coding-agent/)

[See all OpenClaw news →](https://openclawdatabase.com/news/openclaw/)

## Go deeper: OpenClaw guides

Hands-on guides to put this into practice:

 [⚡ Setup: Install in 10 Minutes](https://openclawdatabase.com/openclaw/setup/)

 [🔐 Security Hardening](https://openclawdatabase.com/openclaw/security/)

 [⚙️ Configuration Reference](https://openclawdatabase.com/openclaw/configuration/)

 [🛠 Skills Guide: Write Your Own](https://openclawdatabase.com/openclaw/skills-guide/)

 [🧭 Compare Agents Which agent fits your use case — side-by-side.](https://openclawdatabase.com/compare/)

 [⌨️ Command Reference Every CLI command & flag across platforms.](https://openclawdatabase.com/commands/)
