|
| 1 | +--- |
| 2 | +name: keenable-web-search |
| 3 | +description: 'Search the web and read pages as clean markdown with Keenable, with no API key. Use when a task needs current information, documentation, release notes, changelogs, error reports, or the content of a known URL, and cite the sources used.' |
| 4 | +--- |
| 5 | + |
| 6 | +# Keenable Web Search |
| 7 | + |
| 8 | +Use [Keenable](https://keenable.ai) to find current, source-grounded information on the web and to read pages as clean markdown. Keenable works without an API key on a public tier, so this skill works on a fresh machine. |
| 9 | + |
| 10 | +## When to Use This Skill |
| 11 | + |
| 12 | +- The answer depends on something newer than your training data: a library release, a breaking change, a CVE, a deprecation notice. |
| 13 | +- You need the exact content of a URL the user gave you (docs page, issue, changelog, blog post). |
| 14 | +- You need sources to cite for a factual claim in code comments, a PR description, or an ADR. |
| 15 | + |
| 16 | +## Option A: Keenable MCP server (preferred) |
| 17 | + |
| 18 | +If the `keenable` MCP server is configured, use its two tools: |
| 19 | + |
| 20 | +- `search_web_pages` — ranked results (title, URL, excerpt). Optional `site` (one domain) and `published_after` / `published_before` (YYYY-MM-DD). |
| 21 | +- `fetch_page_content` — any URL as markdown. Optional `max_chars`. |
| 22 | + |
| 23 | +To add it in VS Code, put this in `.vscode/mcp.json`: |
| 24 | + |
| 25 | +```json |
| 26 | +{ |
| 27 | + "servers": { |
| 28 | + "keenable": { |
| 29 | + "type": "http", |
| 30 | + "url": "https://api.keenable.ai/mcp" |
| 31 | + } |
| 32 | + } |
| 33 | +} |
| 34 | +``` |
| 35 | + |
| 36 | +## Option B: HTTP API from the terminal (no MCP needed) |
| 37 | + |
| 38 | +The keyless endpoints need only an `X-Keenable-Title` header that names your app. |
| 39 | + |
| 40 | +Search: |
| 41 | + |
| 42 | +```bash |
| 43 | +curl -s -X POST "https://api.keenable.ai/v1/search/public" \ |
| 44 | + -H "X-Keenable-Title: copilot-keenable-web-search" \ |
| 45 | + -H "Content-Type: application/json" \ |
| 46 | + -d '{"query": "zod 4 release notes breaking changes", "max_results": 5}' |
| 47 | +``` |
| 48 | + |
| 49 | +The response is JSON: `results[]` with `title`, `url` and `snippet`. |
| 50 | + |
| 51 | +Read a page as markdown: |
| 52 | + |
| 53 | +```bash |
| 54 | +curl -s "https://api.keenable.ai/v1/fetch/public?url=https://zod.dev/v4/changelog&live=true" \ |
| 55 | + -H "X-Keenable-Title: copilot-keenable-web-search" |
| 56 | +``` |
| 57 | + |
| 58 | +The response is JSON with `url`, `title` and `content` (markdown). Use `live=true` for pages that change often or may not be indexed yet. |
| 59 | + |
| 60 | +If the user has a Keenable API key in `KEENABLE_API_KEY`, call `/v1/search` and `/v1/fetch` instead and send `-H "X-API-Key: $KEENABLE_API_KEY"` to lift the hourly limit. Never ask the user to paste a key into chat. |
| 61 | + |
| 62 | +## Workflow |
| 63 | + |
| 64 | +1. Write the query as a description of the page you want ("release notes for zod 4 breaking changes"), not a bag of keywords. |
| 65 | +2. Narrow with `site` or a date filter instead of extra query words. Turn relative dates ("last week") into exact dates first. |
| 66 | +3. Read the most relevant one to three results in full before relying on them. Snippets are for triage, not evidence. |
| 67 | +4. Prefer primary sources: official docs, release notes, the project's own repo. |
| 68 | +5. Answer in your own words and list the URLs you used. |
| 69 | + |
| 70 | +## Limits |
| 71 | + |
| 72 | +Keyless use is limited to 1,000 requests per hour per IP (shared by everyone on that IP) and 10 per second. On a `429`, wait and retry, and mention that a Keenable API key lifts the hourly cap. See https://docs.keenable.ai/rate-limits. |
0 commit comments