agents-llamaindex — Claude Code skill: what it does, how to install
Equips Claude Code with patterns for building RAG systems and data agents using LlamaIndex.
npx claude-code-templates@latest --skill ai-research/agents-llamaindexWhat agents-llamaindex does
This skill guides Claude Code through LlamaIndex workflows. It covers ingesting data from directories or GitHub repositories and structuring content into vector indices. Indices can be saved directly to disk.
The patterns detail streaming query engines and metadata filters. Document search engines become agent tools. This happens via FunctionAgent and QueryEngineTool integrations.
Your setup requires llama-index, openai, and anthropic. Install them beforehand with pip. Without them, the generated Python scripts will break at runtime.
What it helps with
- build retrieval-augmented generation pipelines over private data
- ingest documents from local directories or GitHub repositories
- persist and reload vector indices from storage
- attach document query engines as agent tools
Example prompts for the agent
- Configure a VectorStoreIndex using SimpleDirectoryReader and set up a streaming query engine.
- Create a FunctionAgent in LlamaIndex that combines a QueryEngineTool with custom Python functions.
- Show how to ingest a GitHub repository with GithubRepositoryReader and apply metadata filters.
How to install agents-llamaindex
1claude-code-templates
npx claude-code-templates@latest --skill ai-research/agents-llamaindex2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill agents-llamaindex -a claude-code3Manually: put the files in place
~/.claude/skills/agents-llamaindex/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/agents-llamaindex/
Manually: put the files in place
.agents/skills/agents-llamaindex/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/agents-llamaindex/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates agents-llamaindex2Manually: put the files in place
.github/skills/agents-llamaindex/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/ai-research/agents-llamaindexManually: put the files in place
.devin/skills/agents-llamaindex/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about agents-llamaindex
How do I install agents-llamaindex in Claude Code?
Run npx claude-code-templates@latest --skill ai-research/agents-llamaindex or execute npx skills add davila7/claude-code-templates --skill agents-llamaindex -a claude-code. You can also place the skill file directly into ~/.claude/skills/agents-llamaindex/SKILL.md.
What does the agents-llamaindex skill do?
It gives Claude Code architectural blueprints and code examples for data ingestion, indexing, and agent orchestration with LlamaIndex.
What dependencies are required?
Running the resulting Python scripts requires llama-index, openai, and anthropic packages installed in your environment.