ai-search

ai-search is a skill for Cursor from JinLee794/agent-framework-skills. It costs 83 tokens per session (1,902 once invoked), scanned A, original, MIT.

A code-first workflow for loading files into Azure AI Search for Foundry agents. It splits text into pieces, creates embeddings—numeric representations used for similarity search—and writes them into vector and semantic indexes.

In plain words
What is it for?
Use it to ingest local files, create or update an Azure AI Search index, upload searchable text and vectors, and inspect the live index for retrieval-augmented generation.
Why use it?
It provides a repeatable path for building a searchable knowledge base and helps diagnose issues such as schema mismatches or empty indexes.

Skill for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to ingest local files, create or update an Azure AI Search index, upload searchable text and vectors, and inspect the live index for retrieval-augmented generation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jinlee794/agent-framework-skills/ai-search
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 JinLee794/agent-framework-skills --skill ai-search
Clone the repo
git clone --depth 1 https://github.com/JinLee794/agent-framework-skills

Made for: Cursor.

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 ai-search

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jinlee794/agent-framework-skills/ai-search"><img src="https://agentmods.dev/badge/skills/jinlee794/agent-framework-skills/ai-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,902 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.00083 $0.01902
Opus 5 $0.00042 $0.00951
Sonnet 5 $0.00017 $0.00380
Haiku 4.5 $0.00008 $0.00190

Measured 10d ago against content hash e4f7dd90f4c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

ai-search 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check_search.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.cursor/skills/ai-search/SKILL.md · 174 lines

How it starts

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

Azure AI Search Indexing for Foundry Agents

Build a repeatable push pipeline that reads content in Python, chunks it in Python, creates embeddings with the existing Foundry resource, and writes vectors plus readable text directly to the existing Azure AI Search index.

The resource boundary is deliberate:

local or application-readable files
  -> Python loader and token-aware chunker
  -> Foundry embedding deployment
  -> Azure AI Search push API

Do not add Blob Storage, ADLS, Cosmos DB, indexers, skillsets, Content Understanding, project connections, managed identities, or a second model resource. The local MAF agent consumes the finished index directly; this workflow ends at a live, verified search index.

Runtime retrieval belongs to maf-foundry-agent. Agent and voice behaviour belongs in YAML and is owned by maf-agent-config.

Load only the depth you need

Task Reference
Establish packages, .env, credentials, and first connection references/setup.md
Implement chunking, stable keys, embeddings, schema, and uploads references/indexing-pipeline.md
Inspect and query the live index without exposing secrets references/live-checks.md

Environment contract

Read deployment coordinates from the repository-root .env. Never print key values.

Variable Purpose
FOUNDRY_PROJECT_ENDPOINT Existing project endpoint, ending in /api/projects/<project>
FOUNDRY_MODEL Chat deployment used by the reasoning and VoiceLive paths
FOUNDRY_EMBEDDING_MODEL Embedding deployment name, not the model family guessed from it
AZURE_SEARCH_ENDPOINT Existing Azure AI Search service endpoint
AZURE_SEARCH_API_KEY Admin key in the indexing process; query key in read-only runtime processes
AZURE_SEARCH_INDEX_NAME The exact index to inspect, create, populate, and query
AZURE_SEARCH_API_VERSION Pinned Search API version used by the installed SDK

Read the full file on GitHub · 174 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 174 lines · 83 tokens per session scan A e4f7dd90f4c9

Subscribe to this mod's changes

ai-search is a skill published in the GitHub repository JinLee794/agent-framework-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 83 tokens to every session and 1,902 once invoked, about $0.0004 per session on Opus 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

Other skills, from other repositories

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

llm-app-patterns

Production-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI applications, implementing RAG, building agents, or setting up LLM observability.

davila7/claude-code-templates · 54 tokens

azure-search-documents-dotnet

Azure AI Search SDK for .NET (Azure.Search.Documents). Use for building search applications with full-text, vector, semantic, and hybrid search. Covers SearchClient (queries, document CRUD), SearchIndexClient (index management), and SearchIndexerClient (indexers, skillsets). Triggers: "Azure Search .NET"…

microsoft/skills · 102 tokens

browserwing-admin

Manage and operate BrowserWing — an intelligent browser automation platform. Install dependencies, configure LLM, create/manage/execute automation scripts, use AI-driven exploration to generate scripts, browse the script marketplace, and troubleshoot issues.

MemTensor/MemOS · 47 tokens

embedding-strategies

Select and optimize embedding models for semantic search and RAG applications. Use when choosing embedding models, implementing chunking strategies, or optimizing embedding quality for specific domains.

foryourhealth111-pixel/Vibe-Skills · 37 tokens

similarity-search-patterns

Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.

foryourhealth111-pixel/Vibe-Skills · 30 tokens