Foundry IQ 知识库管理
foundry-iq
Foundry IQ 知识库。适用场景:使本地或 Blob 文档可被搜索;创建/诊断知识库(KB);分类处理不支持的连接器或多源知识库的创建/重新配置(即使用经典搜索术语时);将现有知识库连接到智能体(包括多源知识库);创建/复用搜索服务;从现有知识库检索并附带引用;无需提及品牌词。在涉及查询/定位问题时,请先阅读其操作流程。不适用:其他知识库提供商、存储库文件搜索、没有 Foundry IQ 知识库或连接器需求的经典 Azure AI Search 索引/查询/应用工作、通用智能体创建。
- License 许可
- MIT
- 所属仓库
- microsoft/skills
- 最近更新
- 2026-11-14
- Stars
- ★ 3.2k
- Forks
- 368
01 前言 Front Matter
- name
- foundry-iq
- license
- MIT
- metadata
- { "author": "Microsoft", "version": "0.2.3" }
- description
- Foundry IQ knowledge bases. WHEN: make local or Blob documents searchable; create/diagnose KBs; triage unsupported connectors or multi-source KB creation/reconfiguration (even with classic-search terms); connect existing KB to agents (including multi-source KBs); create/reuse a Search service; retrieve from an existing knowledge base with citations; no brand words needed. Read its procedure before query/target questions. NOT: other KB providers, repository-file search, classic Azure AI Search index/query/app work with no Foundry IQ KB or connector request, generic agent creation.
- compatibility
- Azure
02 资源文件 84
- 参考文档agents/connect-hosted-toolbox.md7.8 KB
- 参考文档agents/connect-hosted.md7.8 KB
- 参考文档agents/connect-prompt-sdk-fallback.md7.8 KB
- 参考文档agents/connect.md7.8 KB
- 参考文档agents/create-missing-agent.md7.8 KB
- 脚本helpers/_blob_observation.py4.4 KB
- 脚本helpers/_blob_source_read.py39.5 KB
- 脚本helpers/_bootstrap_io.py30.1 KB
- 脚本helpers/_cleanup_dependencies.py27.5 KB
- 脚本helpers/_cleanup_receipts.py13.5 KB
- 脚本helpers/_common.py36.2 KB
- 脚本helpers/_document_adapters.py15.0 KB
- 脚本helpers/_document_limits.py3.9 KB
- 脚本helpers/_embedding.py7.0 KB
- 脚本helpers/_file_inventory.py24.4 KB
- 脚本helpers/_file_source_config.py15.6 KB
- 脚本helpers/_indexer_observation.py7.1 KB
- 脚本helpers/_initial_prompt.py12.5 KB
- 脚本helpers/_private_json.py2.4 KB
- 脚本helpers/_progress.py12.1 KB
- 脚本helpers/_prompt_read.py17.7 KB
- 脚本helpers/_search_read.py6.0 KB
- 脚本helpers/_source_readback.py1.6 KB
- 脚本helpers/blob_inventory.py17.1 KB
- 脚本helpers/blob_recheck.py64.6 KB
- 脚本helpers/blob_source.py35.8 KB
- 参考文档helpers/blob-contracts.md7.8 KB
- 参考文档helpers/blob-cu-contracts.md7.8 KB
- 脚本helpers/bootstrap_azure.py41.5 KB
- 参考文档helpers/bootstrap-contracts.md7.8 KB
- 脚本helpers/cleanup_plan.py41.4 KB
- 参考文档helpers/contracts.md7.8 KB
- 脚本helpers/cu_ingestion_auth.py12.5 KB
- 脚本helpers/document_assess.py14.0 KB
- 参考文档helpers/document-assessment.md7.8 KB
- 脚本helpers/file_cu_canary.py32.7 KB
- 脚本helpers/file_cu_mi.py9.6 KB
- 脚本helpers/file_ingest.py15.4 KB
- 脚本helpers/file_source.py31.7 KB
- 脚本helpers/file_upload.py53.7 KB
- 参考文档helpers/file-upload-recovery.md7.8 KB
- 脚本helpers/hosted_connect.py30.8 KB
- 参考文档helpers/kb-contracts.md7.8 KB
- 脚本helpers/knowledge_base_retrieve.py7.7 KB
- 脚本helpers/model_discovery.py23.7 KB
- 参考文档helpers/model-discovery-contracts.md7.8 KB
- 参考文档helpers/model-discovery-scopes.md7.8 KB
- 脚本helpers/private_artifacts.py4.8 KB
- 参考文档helpers/private-artifacts.md7.2 KB
- 脚本helpers/prompt_cleanup.py22.0 KB
- 脚本helpers/prompt_connect.py62.3 KB
- 参考文档helpers/requirements-assessment.txt103 B
- 脚本helpers/retrieval_verify.py19.6 KB
- 参考文档helpers/retrieval-verification-contracts.md7.8 KB
- 脚本helpers/search_intake.py18.4 KB
- 脚本helpers/search_reconcile.py59.7 KB
- 参考文档helpers/search-intake-contracts.md7.6 KB
- 脚本helpers/source_vector.py33.2 KB
- 参考文档helpers/throttle-recovery.md5.0 KB
- 参考文档helpers/vector-contracts.md7.8 KB
- 参考文档knowledge-bases/create.md8.1 KB
- 参考文档knowledge-bases/retrieve.md7.8 KB
- 参考文档knowledge-sources/create-azure-blob.md7.8 KB
- 参考文档knowledge-sources/create-file.md7.8 KB
- 参考文档lifecycle/cleanup.md7.8 KB
- 参考文档references/abstention.md1.0 KB
- 参考文档references/blob-binding-evidence.md7.8 KB
- 参考文档references/blob-indexer-observation.md7.7 KB
- 参考文档references/blob-ingestion-progress.md6.5 KB
- 参考文档references/blob-readiness-recheck.md7.8 KB
- 参考文档references/blob-vector-readiness.md2.6 KB
- 参考文档references/bootstrap-azure.md7.8 KB
- 参考文档references/content-fit.md7.8 KB
- 参考文档references/cu-ingestion.md7.8 KB
- 参考文档references/file-cu-canary.md7.8 KB
- 参考文档references/intent-routing.md7.7 KB
- 参考文档references/owner.md2.1 KB
- 参考文档references/platform-contracts.md7.7 KB
- 参考文档references/platform-interfaces.md7.8 KB
- 参考文档references/resource-intake.md7.8 KB
- 参考文档references/search-substrate.md7.8 KB
- 参考文档references/standard-cu.md7.8 KB
- 参考文档search-services/create.md7.8 KB
- 参考文档troubleshooting/diagnose.md8.7 KB
03 SKILL.md 正文
Foundry IQ
Read one procedure before questions/actions; invocation is not a read.
Read the owning procedure before blocked/unsupported responses too.
Before mutation plans/approval, successfully read its required pre-action references, selected
branches only. Do not reload successful reads. On failure, try only permitted
bounded exact-path reads with any supported reader; never bypass restrictions
or search broadly. If still unavailable: blocked: reference-unavailable, name
missing references and inability to plan. Never invent requirements/plans.
Failures first.
Cleanup and receipt-backed execution go directly to their lifecycle/producer owner; do not reopen Search intake, provisioning or hardening.
Before expensive service discovery, reuse supplied resource/intent; otherwise ask one early USE EXISTING / FIND CANDIDATES / CREATE NEW choice. Only FIND enumerates; supplied identity uses exact/minimum scoped resolution. CREATE checks its proposed name, not existing-service inventories. Preserve these answers across source/KB/CU/model handoffs; selection is not write approval.
Searchable docs: KB + validated retrieval. Confirm intent once; KS-only must be explicit. Child success is not KB completion. Unclear/compound/mode/completion: read.
Route by requested operation, not existing KB source count. Connecting an existing KB with two or more sources, without changing the KB, uses Connect. Read-only operations use their owning procedure and actual helper constraints; this does not add retrieval modes or supported source kinds. Explicit unsupported provisioning or multi-source KB creation/reconfiguration uses Diagnose and stops before discovery, even when connecting an agent is also requested. This routing takes precedence over classic-search terms (e.g. hybrid search) in compound requests. Never end in a plain refusal: Diagnose gives the boundary, docs pointer and agent handoff; writes still need an approved concrete plan. Do not silently execute only the supported part of a compound request. If existing-KB connection versus KB creation/reconfiguration is unclear, read intent-routing and clarify that scope before Azure discovery. Never infer KB mutation.
| Outcome | Read |
|---|---|
| Cleanup | Plan cleanup |
| Failure/drift | Diagnose |
| Unsupported connector provisioning / multi-source KB creation or reconfiguration | Diagnose |
| Connect | Connect |
| Read KB | Query |
| Search only | Search |
| File KS only | File |
| Blob/ADLS KS only | Blob |
| Searchable/KB | KB |
Generic agents: microsoft-foundry.
Reads: no approval; approve unchanged plans before writes.
Hide hashes. No Search/Storage keys, scope widening, guessed identity/boundaries,
drift repair or joint cleanup/creation approval. Acceptance != success.
04 同仓库更多 Skills
azure-advisor-cost-optimization
Analyze Azure Advisor Cost/IdleResources findings and prevalidate deletion safety, including Service Groups. WHEN: "find unused Azure resources", "what resources am I paying for but no longer using", "idle-resource savings", "historical idle-resource savings", "are these idle resources safe to delete". Generic Cost, other subcategories, and cross-category requests use azure-advisor.
Azure 技能创建与更新指南
skill-creator
面向使用 Azure SDK 和 Microsoft Foundry 服务的 AI 编码智能体,指导其创建高效技能的指南。在创建新技能或更新现有技能时使用。
AI 播客音频生成
podcast-generation
通过 WebSocket 使用 Azure OpenAI 的 GPT Realtime Mini 模型生成 AI 驱动的播客式音频叙述。当构建文本转语音功能、音频叙述生成、根据内容制作播客,或集成 Azure OpenAI Realtime API 以获得真实音频输出时使用。涵盖从 React 前端到 Python FastAPI 后端及 WebSocket 流式传输的全栈实现。
Microsoft 技术文档查询
microsoft-docs
通过查询官方文档来理解 Microsoft 技术。当用户询问某项技术的工作原理、想要教程、需要任何 Microsoft 技术(Azure、.NET、M365、Windows、Power Platform 等)的配置选项、限制、配额或最佳实践时使用——即使他们没有提到"文档"。如果问题是为了理解概念而非编写代码,那么这就是合适的技能。
MCP 服务器构建
mcp-builder
用于创建高质量 MCP(Model Context Protocol)服务器的指南,使大语言模型能够通过设计完善的工具与外部服务交互。当构建用于集成外部 API 或服务的 MCP 服务器时使用,无论采用 Python(FastMCP)、Node/TypeScript(MCP SDK),还是 C#/.NET(Microsoft MCP SDK)。
KQL 查询编写与调试
kql
KQL 语言专业能力,用于编写正确且高效的 Kusto Query Language 查询。涵盖语法陷阱、join 模式、dynamic 类型、datetime 陷阱、regex 模式、序列化、内存管理、结果集规模控制,以及高级函数(geo、vector、graph)。在编写、调试或审查 KQL 查询时均使用本技能——即使是简单查询——因为陷阱章节可防止最常见的错误,避免浪费工具调用并引发代价高昂的连锁重试。触发条件:KQL、Kusto、ADX、Azure Data Explorer、Fabric Real-Time Intelligence、EventHouse、Log Analytics、日志分析、数据探索、时间序列、异常检测、summarize、where 子句、join、extend、project、let 语句、parse 运算符、extract 函数,以及任何提及管道式查询语法的情形。