Llm Context
Grounding API that returns relevance-ranked, pre-extracted page content (text, tables, code) sized for LLM context windows.
- CCM score
- 72 of 100
- skills.sh installs
- 1.4K
- GitHub stars
- 198
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers a single-search REST endpoint (GET and POST) returning extracted chunks rather than links and snippets
- Exposes token, URL, and snippet caps plus
count,freshness, andcontext_threshold_modeto size and filter the context - Supports Goggles for custom source inclusion and exclusion, and location headers for local recall
- Designed for RAG pipelines and agentic tool calls; multi-step AI answers use the separate
answersendpoint
Install
$ npx -y skills add brave/brave-search-skills --skill llm-context -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
LLM Context
Requires API Key: Get one at https://api.search.brave.com
Plan: Included in the Search plan. See https://api-dashboard.search.brave.com/app/subscriptions/subscribe
Brave LLM Context API delivers pre-extracted, relevance-ranked web content optimized for grounding LLM responses in real-time search results. Unlike traditional web search APIs that return links and snippets, LLM Context extracts the actual page content—text chunks, tables, code blocks, and structured data—so your LLM or AI agent can reason over it directly.
LLM Context vs AI Grounding
| Feature | LLM Context (this) | AI Grounding (answers) |
|---|---|---|
| Output | Raw extracted content for YOUR LLM | End-to-end AI answers with citations |
| Interface | REST API (GET/POST) | OpenAI-compatible /chat/completions |
| Searches | Single search per request | Multi-search (iterative research) |
| Speed | Fast (<1s) | Slower |
| Plan | Search | Answers |
| Endpoint | /res/v1/llm/context | /res/v1/chat/completions |
| Best for | AI agents, RAG pipelines, tool calls | Chat interfaces, research mode |
Endpoint
Details
- Repository
- github.com/brave/brave-search-skills
- Categories
- AI Agents & LLM Apps, Research & Academic, Browser Automation & Scraping
- First seen
- Jun 3, 2026
Questions
What does the llm-context skill do?
llm-context calls the Brave LLM Context API to return pre-extracted, relevance-ranked web content such as text chunks, tables and code blocks, so an LLM or agent can reason over real-time results directly. It is aimed at RAG and LLM grounding, and it returns page content rather than just links and snippets.
How do I install the llm-context skill?
Run npx -y skills add brave/brave-search-skills --skill llm-context -y in your project to install llm-context. Once installed, the skill lets your agent query the Brave LLM Context endpoint for grounded web content.
What does llm-context need before it can run?
llm-context needs a Brave Search API key, which you can get at api.search.brave.com, and the key is sent in an X-Subscription-Token header. The skill is included in the Search plan of Brave's API subscriptions.
How does llm-context compare with the AI Grounding answers endpoint?
llm-context returns raw extracted content for your own LLM in a single search per request, which makes it fast and suited to AI agents, RAG pipelines and tool calls. The answers endpoint instead produces end-to-end AI answers with citations after multi-search research, so llm-context is the lighter choice when you want to do the reasoning yourself.
Can llm-context limit results to trusted sources?
llm-context supports Goggles, which are custom re-ranking rules that let you discard or prefer specific sites, such as limiting results to official docs. It also accepts location headers for local recall, so results can be tailored to a place.
More from brave/brave-search-skills
All 11Similar to Llm Context
More AI Agents & LLM Appsrag-engineerSkillsickn33/agentic-awesome-skills1K installsRetrieval-augmented generation toolkit covering embeddings, chunking, hybrid search, and retrieval evaluation for LLM apps.
bxSkillbrave/brave-search-skills1.2K installsCommand-line web search built for AI agents, returning pre-extracted, token-budgeted content for grounding and research.
llm-app-patternsSkilldavila7/claude-code-templates326 installsProduction-ready LLM app patterns covering RAG pipelines, agent architectures, and LLMOps observability.
Brave Search Mcp ServerMCP serverbrave1.6K starsWeb, image, video, news, and local search through the Brave Search API, plus AI-grounded answers.
answersSkillbrave/brave-search-skills1.3K installsAI-grounded answers with citations from one search, or a multi-search deep research mode.
agent-platform-rag-engine-managementSkillgoogle/skills10.6K installsManage Agent Platform RAG Engine corpora and retrieve grounded contexts through the Google GenAI SDK.