android-rag-local

android-rag-local is a skill for Claude Code, Codex from prasad-vennam/Awesome-Android-AI-Agent-Skills. It costs 17 tokens per session (287 once invoked), scanned A, original, MIT.

Guidance for adding local retrieval-augmented generation to Android apps, meaning an AI feature that searches stored information before generating an answer.

In plain words
What is it for?
Use it to build private semantic search or local AI features with Room or SQLite, vector embeddings, full-text search, or supported similarity extensions.
Why use it?
It keeps documents, embeddings, and searches on the device, which can improve privacy and reduce dependence on cloud vector databases while avoiding unsupported Room features.

Skill for Claude CodeCodex

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

Good fit Use it to build private semantic search or local AI features with Room or SQLite, vector embeddings, full-text search, or supported similarity extensions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prasad-vennam/awesome-android-ai-agent-skills/android-rag-local
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 prasad-vennam/Awesome-Android-AI-Agent-Skills --skill android-rag-local
Clone the repo
git clone --depth 1 https://github.com/prasad-vennam/Awesome-Android-AI-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 android-rag-local

README.md
[![agentmods](https://agentmods.dev/badge/skills/prasad-vennam/awesome-android-ai-agent-skills/android-rag-local/github.svg)](https://agentmods.dev/skills/prasad-vennam/awesome-android-ai-agent-skills/android-rag-local)
Your own site
<a href="https://agentmods.dev/skills/prasad-vennam/awesome-android-ai-agent-skills/android-rag-local"><img src="https://agentmods.dev/badge/skills/prasad-vennam/awesome-android-ai-agent-skills/android-rag-local/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 android-rag-local

Your own site · 80×15
<a href="https://agentmods.dev/skills/prasad-vennam/awesome-android-ai-agent-skills/android-rag-local"><img src="https://agentmods.dev/badge/skills/prasad-vennam/awesome-android-ai-agent-skills/android-rag-local.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 287 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.00017 $0.00287
Opus 5.5 $0.00007 $0.00115
Sonnet 5.5 $0.00003 $0.00057
Haiku 4.5 $0.00002 $0.00029

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

Security

Grade A, and why

android-rag-local 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/android-rag-local/SKILL.md · 31 lines

What it actually says

Android Local RAG & Vector Databases 🔎

Retrieval-Augmented Generation (RAG) on Edge devices provides privacy-first, low-latency contextual intelligence. Instead of using cloud Pinecone/Weaviate, this skill enforces local vector embeddings via Room or SQLite.

⚡ When to Use

  • When tasked with "RAG", "semantic search", or "vector embeddings".
  • Building highly private AI features.

🏗️ Core Rules / Pillars

1. Vector Search in Room

  • Pattern: Standard Room does not have native vector similarity out of the box in stable. Use L2 distance extensions or sqlite-vss.
  • Implementation: Avoid pulling unmaintained third-party vector DBs. Use SQLite virtual tables with FTS or simple cosine similarity functions if embeddings are small.

🚧 Critical Anti-Hallucination Guards

  • Trap: Do NOT hallucinate that Room natively supports SELECT * FROM tbl ORDER BY VECTOR_DISTANCE() securely out of the box without specific extensions.
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 First seen · 31 lines · 17 tokens per session scan A 5d2c7f2d3419

Subscribe to this mod's changes

android-rag-local is a skill published in the GitHub repository prasad-vennam/Awesome-Android-AI-Agent-Skills (11 stars, last pushed 7mo ago), licensed MIT. It adds 17 tokens to every session and 287 once invoked, about $0.0001 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-31.

Related

android-rag-local compared with skills from other repositories

android-rag-local next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
android-rag-localprasad-vennam/Awesome-Android-AI-Agent-SkillsSkill117mo agoMITA17Claude Code, Codex
ai-native-knowledge-raggmaxxxie/ai-native-product-agent-skillsSkill451mo agononeA85Claude Code, Codex
ai-native-knowledge-raggmaxxxie/ai-native-product-agent-skillsSkill451mo agononeA85Claude Code, Codex
embeddingsruvnet/rufloSkill81kyesterdayMITA62Claude Code
agent-platform-rag-engine-managementgoogle/skillsSkill22kyesterdayApache-2.0A85Claude Code, Codex
llm-app-patternsdavila7/claude-code-templatesSkill33kyesterdayMITA54Claude Code, Codex
9router-embeddingsdecolua/9routerSkill32k9d agoMITA66Claude Code, Codex