Dev & Engineering ✓ Microsoft · Official

Azure AI Search for Python

Helps Python developers build vector, hybrid, and semantic search applications with Azure AI Search.

50/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 2.7k
Last updated
3mo ago
License
MIT
azure-ai-searchpython-sdkvector-searchhybrid-search
+3semantic-rankingdocument-indexingskillsets

What does this skill do, and when should you use it?

This Agent Skill targets the Azure AI Search SDK for Python and covers search, document operations, index management, and indexer configuration. It includes examples for full-text, vector, hybrid, and semantic search, plus filters, facets, autocomplete, suggesters, and skillsets. The guidance prefers DefaultAzureCredential and emphasizes deterministic client lifecycle management for synchronous and asynchronous code. It fits Python projects using Azure AI Search, but does not replace Azure resource provisioning or permission setup.

Guides developers through installing azure-search-documents and azure-identity, configuring the search endpoint and index name, and using SearchClient, SearchIndexClient, and SearchIndexerClient. Examples show how to create vector-enabled indexes, upload and batch documents, run keyword/vector/hybrid searches, apply semantic ranking, filters, facets, autocomplete, and suggestions, and configure data sources, skillsets, and indexers. It also covers HNSW, semantic configurations, vector dimensions, async clients, and error handling.

Good fit
  • A Python team needs document upload and keyword querying against an Azure AI Search index.
  • An application needs to combine embeddings with keyword matching to improve retrieval relevance.
  • A natural-language search experience needs semantic ranking and captions.
  • A developer needs to create or update an index with vector fields and HNSW configuration.
  • A team needs to enrich content from an Azure Blob data source through an indexer and skillset.

How do you install this skill?

Before you use it
  • Running setup_agentic_retrieval.py or setup_vector_index.py creates or updates Azure resources; confirm the target subscription, index names, RBAC permissions, cost, and rollback plan first.
  • Verify Knowledge Base, vectorization, and preview API models against the actual azure-search-documents version; duplicated examples may drift or conflict.
  • Do not commit API keys, document contents, or embeddings to source control or logs; add data-residency, cross-border-transfer, and mainland-China reachability review.
  • Validate async behavior, credential closure, retry handling, and resource cleanup separately in a real environment.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
Install first
  • Python
  • azure-search-documents
  • azure-identity

In Copilot CLI or a compatible skills installation flow, run: npx skills add microsoft/skills. Select this skill in the wizard; the README says selected skills are installed to the chosen agent directory, such as .github/skills/. Install the Python dependencies with: pip install azure-search-documents azure-identity. The source does not document an npx command for installing only this individual skill.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/.github/plugins/azure-sdk-python/skills/azure-search-documents-py" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Create an Azure AI Search index with an HNSW vector field and implement hybrid search in Python using DefaultAzureCredential and context managers.

Prompt the agent with tasks containing triggers such as “azure-search-documents,” “SearchClient,” “SearchIndexClient,” “vector search,” “hybrid search,” or “semantic search.” Example: "Create an Azure AI Search index with an HNSW vector field and implement hybrid search in Python using DefaultAzureCredential and context managers." Before running the code, set AZURE_SEARCH_ENDPOINT and AZURE_SEARCH_INDEX_NAME; for production use of DefaultAzureCredential, set AZURE_TOKEN_CREDENTIALS=prod.

What are this skill's strengths and limitations?

Pros
  • Covers a broad SDK workflow from authentication and index creation through querying and indexers.
  • Includes synchronous, asynchronous, vector, hybrid, and semantic search patterns.
  • Clearly recommends DefaultAzureCredential and context managers for clients.
  • Provides concrete Python snippets, client selection guidance, and error-handling examples.
Limitations
  • It is focused on the Python SDK and does not cover other languages or Azure resource deployment.
  • Examples require an Azure AI Search service, index, credentials, and embedding configuration.
  • The source provides no independent test results or compatibility matrix for this individual skill.
  • Pricing, complete Azure RBAC setup, and a full permissions checklist are not documented.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Azure AI Search for Python this page ✓ Microsoft · Official 50 · Use with care ★ 2.7k 3mo ago MIT
Azure AI Search for TypeScript ✓ Microsoft · Official 50 · Use with care ★ 2.7k 3mo ago MIT
Azure AI Search for .NET ✓ Microsoft · Official 51 · Use with care ★ 2.7k 3mo ago MIT
Azure AI Services Skill ✓ Microsoft · Official 49 · Use with care ★ 2.7k 3mo ago MIT
Azure Document Translation for Python ✓ Microsoft · Official 52 · Use with care ★ 2.7k 3mo ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
50/ 100 5-point scale 2.5 / 5
1Trust16 / 25 · 3.2/5

The evidence favors DefaultAzureCredential, constrains production credential chains, discourages API keys, and documents environment variables and managed identity. However, examples and scripts create or update indexes, knowledge sources, and knowledge bases without user confirmation, scoped permissions, sensitive-data-flow guidance, or rollback/cleanup safeguards, so points are deducted. No malware, credential theft, or covert exfiltration red line is evident.

2Reliability6 / 20 · 1.5/5

The material covers multiple clients, search modes, async usage, exception classes, and two scripts, but contains duplicated and potentially drifting examples. Async credential lifecycle handling is not consistently complete, scripts do not use context managers, and no committed tests cover the skill's key paths or pin dependency versions. The score is therefore limited to a modest static-read level.

3Adaptability8 / 15 · 2.7/5

Trigger phrases, the Python SDK audience, and major scenarios are fairly clear, covering keyword, vector, hybrid, semantic search, indexing, and knowledge bases. Input prerequisites, service-version or preview boundaries, non-fit cases, and mainland-China reachability are not documented; core functionality depends on Azure cloud services, so points are deducted.

4Convention9 / 15 · 3.0/5

The SKILL.md provides metadata, installation and environment-variable notes, layered sections, tables, references, scripts, and an MIT license. Repository context also supplies a work-in-progress maintenance signal, CI evidence, and a security-reporting path. Missing are skill-specific changelog/version policy, explicit maintenance ownership and update path, dependency pins, FAQs, systematic troubleshooting, and duplication cleanup.

5Effectiveness7 / 15 · 2.3/5

The skill supplies directly reusable Python templates for common Azure AI Search tasks, including search, indexing, uploads, semantic ranking, vectorization, knowledge bases, and cleanup. Its core value is clear, but examples depend on external configuration and SDK versions, scripts have real side effects, and static evidence does not establish runtime correctness; users still need environment and API-version adaptation, so the static cap applies.

6Verifiability4 / 10 · 2.0/5

The evidence includes the skill documentation, scripts, reference files, and repository-level CI and test files, providing some auditability. The supplied tests primarily cover a generic Copilot harness rather than this skill's key paths, and there are no pinned dependencies, execution results, or independent corroboration, so the score remains below the static ceiling.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a Review evidence[1][2][3][4][5][6][7][8][9][10][11][12][13][14]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Does the skill execute search requests by itself?
No. It provides installation guidance and Python implementation patterns; your application must execute requests against an Azure AI Search service.
Is an API key required?
No. The skill prefers DefaultAzureCredential. AzureKeyCredential is described as a legacy path for existing deployments that have not migrated to Entra ID.
What must be configured for vector search?
The vector field dimensions must match the embedding model. The examples also configure a vector search profile and recommend HNSW for large-scale vector search.
Does the skill document Azure service costs?
No. The supplied source material does not provide pricing or cost estimates.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure AI Search for TypeScript

Build TypeScript search apps with vector, hybrid, and semantic retrieval patterns.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Search for .NET

Build .NET search applications with practical Azure AI Search patterns for full-text, vector, semantic, and hybrid retrieval.

★ 2.7k FS 51 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Services Skill

Guides coding agents through Azure AI Search, Speech, OpenAI, and OCR workflows.

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Document Translation for Python

Batch-translate Azure Blob Storage documents in Python while preserving their original formats.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

★ 2.7k FS 55 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Voice Live for Python

Guides Python developers in building real-time, bidirectional voice AI applications on Azure.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Foundry Agent Framework

Helps Python developers build persistent Azure AI Foundry agents with hosted tools, MCP integrations, threads, and streaming.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Foundry Projects for .NET

Guides .NET developers through Foundry project, agent, and evaluation operations.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Microsoft Foundry Python Projects Skill

Gives coding agents dependable patterns for building Foundry AI applications with the Azure AI Projects Python SDK.

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

★ 2.7k FS 60 Recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

★ 2.7k FS 57 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

★ 2.7k FS 55 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

★ 2.7k FS 55 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Content Safety for Python

Guides Python applications in detecting harmful text and images and enforcing custom blocklists.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure App Configuration for Python

Centralize Python application settings, feature flags, and dynamic configuration in Azure.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Container Registry for Python

Manage Azure container images, artifacts, and repositories from Python.

★ 2.7k FS 53 Use with care 3mo ago

Related skills