llamaindex

llamaindex is a skill for Claude Code, Codex from G1Joshi/Agent-Skills. It costs 45 tokens per session (1,437 once invoked), scanned A, original, MIT.

A framework for connecting language models to private or structured data such as documents, PDFs, databases, and Pandas tables. It supports retrieval-based applications, in which relevant information is found before the model writes an answer.

In plain words
What is it for?
Use it to build document question-answering systems, chat with PDFs or databases, query tables in natural language, and create research agents.
Why use it?
It helps prevent a language model from relying only on its general training when answering questions about your data. It provides building blocks for retrieving information, querying structured sources, and coordinating multi-step workflows.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build document question-answering systems, chat with PDFs or databases, query tables in natural language, and create research agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/g1joshi/agent-skills/llamaindex
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add G1Joshi/Agent-Skills --skill llamaindex
Clone the repo
git clone --depth 1 https://github.com/G1Joshi/Agent-Skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for llamaindex

README.md
[![agentmods](https://agentmods.dev/badge/skills/g1joshi/agent-skills/llamaindex/github.svg)](https://agentmods.dev/skills/g1joshi/agent-skills/llamaindex)
Your own site
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/llamaindex"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/llamaindex/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for llamaindex

Your own site · 80×15
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/llamaindex"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/llamaindex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,437 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.01437
Opus 5.5 $0.00018 $0.00575
Sonnet 5.5 $0.00009 $0.00287
Haiku 4.5 $0.00005 $0.00144

Measured 2mo ago against content hash 752a494ce837, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

llamaindex scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ai-ml/llamaindex/SKILL.md · 172 lines

How it starts

The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LlamaIndex

LlamaIndex is a data framework connecting custom data sources to large language models, featuring event-driven Workflows, hybrid retrieval strategies, and production RAG pipelines.

When to Use

  • Enterprise Document Ingestion & RAG: Parsing PDFs, Notion docs, Word files, and databases into optimized index structures.
  • Complex Query Routing & Multi-Document Agents: Routing queries between vector search, SQL databases, and summary indexes.
  • Hierarchical & Parent-Child Indexing: Preserving granular sentence chunks with links to full parent document contexts.
  • Knowledge Graphs & Hybrid Search: Combining dense semantic embeddings with sparse BM25 keyword search.

Quick Start

from llama_index.core import VectorStoreIndex, SimpleDirectoryReader

# Load documents from directory and build searchable in-memory index
documents = SimpleDirectoryReader("./data").load_data()
index = VectorStoreIndex.from_documents(documents)

# Create query engine and ask questions
query_engine = index.as_query_engine()
response = query_engine.query("What are the key terms in the agreement?")
print(str(response))

Core Concepts

Ingesting Documents & Building VectorStoreIndex

Building vector index and querying with conversational engine:

from llama_index.core import VectorStoreIndex, SimpleDirectoryReader, Settings
from llama_index.llms.openai import OpenAI
from llama_index.embeddings.openai import OpenAIEmbedding

# Configure global model settings
Settings.llm = OpenAI(model="gpt-4o-mini", temperature=0.1)
Settings.embed_model = OpenAIEmbedding(model="text-embedding-3-small")
Settings.chunk_size = 512
Settings.chunk_overlap = 64

# Load all documents from directory
documents = SimpleDirectoryReader("./data/knowledge_base").load_data()

# Build vector store index
index = VectorStoreIndex.from_documents(documents)

# Create query engine with response synthesis
query_engine = index.as_query_engine(similarity_top_k=3)
response = query_engine.query("What are the deployment prerequisites for the billing service?")

print("Answer:", str(response))
print("\nSource Nodes:")
for node in response.source_nodes:
    print(f"- [Score: {node.score:.3f}] {node.node.get_text()[:120]}...")

Read the full file on GitHub · 172 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +5 lines 752a494ce837
  2. 2mo ago Changed · +122 lines · +25 tokens per session b18b30bd72cb
  3. 3mo ago First seen · 45 lines · 20 tokens per session scan A cfa13d147aac

Subscribe to this mod's changes

llamaindex is a skill published in the GitHub repository G1Joshi/Agent-Skills (16 stars, last pushed 2mo ago), licensed MIT. It adds 45 tokens to every session and 1,437 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

llamaindex compared with skills from other repositories

llamaindex next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
llamaindexG1Joshi/Agent-SkillsSkill162mo agoMITA45Claude Code, Codex
rag-and-memoryDevelopersGlobal/ai-agent-skillsSkill2206d agoMITA36Claude Code, Codex
9router-embeddingsdecolua/9routerSkill33k8d agoMITA66Claude Code, Codex
rag-architecture-reviewmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA89Claude Code
rag-design-docmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA92Claude Code
ai-llm-integration-expertroedyrustam/vibes-plugSkill1304d agoMITA45Cursor
graph-rag-knowledge-expertroedyrustam/vibes-plugSkill1304d agoMITA45Cursor