AGENT SKILL

Copilot Studio 知识库就绪度评估

copilot-studio-knowledge-readiness

当 Copilot Studio 制作者提供上传的文件、导出的文本或文档集,并希望评估该语料库是否已准备好用于知识接地时使用。在评估分块性、新鲜度信号、内容冲突,或判断内容应归入知识还是应作为操作或工作流之前使用。不用于实时 SharePoint 或 Dataverse 检查、通用智能体设计、发布清单、分析故障排查或不相关的 Power Platform 工作。

适用职业AI 工程师
License 许可
MIT
最近更新
2026-11-14
Stars
★ 107
Forks
120

01 前言 Front Matter

name
copilot-studio-knowledge-readiness
description
Use when a Copilot Studio maker provides uploaded files, exported text, or a document set and wants to assess whether that corpus is ready for knowledge grounding. Use this before scoring chunkability, freshness signals, conflicts, or whether content belongs in knowledge versus an action or workflow. Do not use for live SharePoint or Dataverse inspection, general agent design, publishing checklists, analytics troubleshooting, or unrelated Power Platform work.

02 资源文件 12

03 SKILL.md 正文

Copilot Studio Knowledge Readiness

Assess whether an uploaded or exported knowledge corpus is ready to power a Copilot Studio agent, and produce a maker-actionable remediation plan.

When this skill applies

Activate only when the user is assessing, preparing, cleaning, or governing knowledge sources for a Copilot Studio agent. This skill is optimized for uploaded files and exported text rather than live system inspection. If they are designing workflows, configuring channels, debugging publishing, asking general agent questions, or expecting live SharePoint/Dataverse analysis, stop and hand back.

Bundled files and when to load them

Load on demand — do not read these up front.

File Load when
references/knowledge-vs-action-decision-tree.md Classifying any item as knowledge, instruction, workflow, action, or skill (step 3).
references/readiness-rubric.md Scoring the source (step 4). Required for every assessment.
references/chunking-guidance.md Producing chunking recommendations or diagnosing retrieval-quality issues.
references/metadata-schema.md Producing metadata recommendations or when the user asks what fields to tag.
assets/readiness-report-template.md Producing the final assessment artifact. Fill this in rather than composing from memory.
assets/cleanup-backlog-template.csv Producing the cleanup backlog as a tracked artifact (Excel/Planner-friendly). Use instead of an inline markdown table when the user wants to import or share it.
assets/test-prompts-template.md Producing the test-prompt suite at the end of an assessment.

Workflow

Track progress against this checklist:

  • [ ] 1. Frame the assessment (scenario, audience, boundary, assumptions)
  • [ ] 2. Inventory sources
  • [ ] 3. Classify content role (load references/knowledge-vs-action-decision-tree.md)
  • [ ] 4. Score readiness (load references/readiness-rubric.md)
  • [ ] 5. Detect risks (use the Gotchas list below)
  • [ ] 6. Recommend remediation (load assets/cleanup-backlog-template.csv if exporting)
  • [ ] 7. Produce the report (load assets/readiness-report-template.md)
  • [ ] 8. Produce test prompts (load assets/test-prompts-template.md)

1. Frame

Identify agent scenario, user audience, and knowledge boundary (what is in scope vs. out of scope for the agent to answer). State assumptions when inputs are missing — do not silently invent. Explicitly note whether you are working from uploaded files only, exported metadata, or additional maker-provided system facts.

2. Inventory

For each source capture: type, location, and any evidence visible in the provided materials. Only record owner, last-modified or reviewed date, audience, access boundary, region, lifecycle state, or Dataverse security details when the user explicitly provides them or they appear in an export. If those facts are missing, mark them as not assessed from supplied files rather than guessing.

3. Classify content role

Decide whether each item should be modeled as:

  • Knowledge — factual material the agent retrieves to answer questions.
  • Agent instructions — behavior that is always true in every conversation.
  • Skill — situational procedure that loads only for a specific task.
  • Workflow — deterministic guided flow.
  • Action — operation that reads live data, writes records, starts approvals, creates tickets, sends notifications, or checks status.

Load references/knowledge-vs-action-decision-tree.md and walk each item through it.

4. Score readiness

Load references/readiness-rubric.md. Always emit category scores and a total, but mark categories that require external evidence as not assessed unless the user supplied that evidence.

5. Detect risks

Prioritize risks you can substantiate from the supplied corpus: conflicting answers across pages, duplicate or stale policy content, long mixed-topic documents that chunk poorly, static content that actually needs live data, and tables/images/attachments that hold answer context but may not retrieve cleanly. Only call out permissions, owners, review dates, effective dates, audience labels, region labels, or lifecycle metadata when they are visible in the provided files or separately supplied by the maker.

6. Recommend remediation

Prioritized backlog with severity, owner role, effort, and recommended fix. Maker-actionable, not abstract. If the user wants a trackable artifact, fill assets/cleanup-backlog-template.csv instead of an inline table.

7 & 8. Produce artifacts

Fill assets/readiness-report-template.md for the report and assets/test-prompts-template.md for the validation prompts. Do not reconstruct these from memory — open the template files and substitute.

Readiness recommendation bands

See references/readiness-rubric.md for the canonical bands and scoring formula.

Override: if the supplied evidence shows any high-severity permission or sensitivity issue, do not recommend production even if the numeric score is high. This overrides the band. If permissions were not assessable from the evidence, say so explicitly instead of implying they were reviewed.

Gotchas

These are Copilot Studio–specific facts that an agent will get wrong without being told.

  • "Connected" is not "indexed." A SharePoint site connected as a knowledge source can take hours to index and longer to reindex after changes. Recommend a verification step (test prompts after publish) before declaring readiness, not just after connection.
  • SharePoint file-type and size limits apply. Files outside the supported types, files larger than the documented size limit, and content behind required check-out are silently skipped. Treat "connection succeeded" as necessary but not sufficient evidence of coverage.
  • Public-website knowledge respects robots.txt and login walls. Authenticated or JS-gated content will not crawl. If the user lists an internal portal URL as a "public website" source, flag it as misclassified, not as a low-quality source.
  • Dataverse knowledge requires semantic indexing to be enabled on each table and respects row-level security at runtime. Permission risks are real but different from SharePoint — answers can vary per user.
  • Conflicting answers are worse than missing answers. Two documents that disagree will score lower than one document that is silent, because the model will pick one nondeterministically. Treat duplicates and contradictions as high severity.
  • Long mixed-topic PDFs chunk badly. A 200-page handbook covering ten policies will retrieve worse than ten focused documents. Recommend splitting before recommending re-uploading.
  • Tables, images, and embedded attachments don't always retrieve. If the answer lives only in a screenshot, a wide table, or an attached file inside a Word/PDF, call it out — the maker may need to transcribe critical content into prose.
  • "Static content with live values" is an action, not knowledge. A page that says "current pricing: $X" must be modeled as an action that calls a live source, otherwise answers go stale silently. Use the decision tree before classifying.
  • Uploaded files do not prove effective permissions or platform metadata. SharePoint ACLs, Dataverse row-level security, owner fields, region tags, and lifecycle state often live outside the document body. Unless the user provides an export that contains them, mark these as not assessed.
  • Don't claim a script touched a live system it can't reach. The bundled scripts work on URL lists and exported files. They do not analyze a live SharePoint site, a Dataverse environment, or authenticated content. State this explicitly in the report.

When a maker correction reveals a new gotcha, add it here.

Scripts

Bundled optional helpers under scripts/. The default v1 workflow is document-first and offline-safe; do not rely on outbound network access.

Script Run when
scripts/analyze-exported-docs.py The user provides exported text-oriented files (e.g., .txt, .md, .html, .csv) and wants heading, length, and stale-date signals. Requires Python 3.9+.
scripts/detect-conflicts.py The user provides exported text files and you suspect duplicates or contradictions. Requires Python 3.9+. Flags candidate duplicates/contradictions for human review — output is not a confirmed conflict list.

If a script's prerequisite isn't available, state what could be done manually instead of refusing.

Quality bar

  • Be specific about evidence and assumptions; cite the source item by name or URL.
  • Prefer short, actionable findings over generic best practices.
  • Separate source problems from Copilot Studio design recommendations.
  • Never recommend connecting sensitive or over-permissive content without an explicit permission review step.
  • When uncertain, recommend a pilot gate and test prompts rather than declaring readiness.

04 同仓库更多 Skills

microsoft
microsoft/cat-agent-skills

work-iq-sphere

Build or refresh a personal "My Work IQ" visual from the signed-in user's own Microsoft 365 work (mail, calendar, Teams chats and the OneDrive and SharePoint files they worked on, with Week, Month and 3 months views from one read of their data, about all their work or one customer, programme or topic they name) as an interactive 3D sphere (self-contained HTML), a customer-safe copy and a matching Microsoft-style PowerPoint slide. Every build is a fresh, evidence-checked analysis of that one person's own data. Use when someone says "build my Work IQ sphere", "show my Work IQ", "refresh" or "update my Work IQ", "make my Work IQ slide", "visualise my work graph", "show me the Work IQ sphere demo", or wants to show customers what Work IQ (context, memory, skills) means using their own work. Do NOT use for generic decks, Work IQ product or licensing questions with no personal data, or anyone else's, team or org-wide analytics.

★ 107
microsoft
microsoft/cat-agent-skills

severity-recordability

Runs the deterministic local v2 draft classifier; reporting/deadlines remain undetermined. Use for "explain blocked reporting determination", "is this recordable", "classify this incident", "what severity is this", or "is this OSHA reportable". Do NOT use for source intake, history retrieval or routing — use incident-intake, ehs-knowledge-retrieve or routing-notify. No diagnosis or operational decision; EHS REVIEW REQUIRED.

★ 107
microsoft
microsoft/cat-agent-skills

routing-notify

Computes proposed investigators and unsent recipients from validated local classification, history and governance. Use for "propose unsent incident recipients", "who investigates this", "route this incident", "who do we notify", or "start the OSHA clock" (only to explain the blocked clock). Do NOT use for classification or terminal drafting — use severity-recordability or incident-writeup. Never sends, files or starts a clock; EHS REVIEW REQUIRED.

★ 107
microsoft
microsoft/cat-agent-skills

incident-writeup

Revalidates and recomputes every terminal v2 hop, then renders a null-aware local Markdown draft and blank RCA template. Use for "prepare an evidence-grounded incident draft", "draft the incident summary", "write up the incident", "give me the RCA template", or "prepare the OSHA writeup". Do NOT use for intake, classification or routing — use incident-intake, severity-recordability or routing-notify. No operational actions; EHS REVIEW REQUIRED.

★ 107
microsoft
microsoft/cat-agent-skills

incident-intake

Preserves cited authorized user-supplied incident files, including real incidents, as v2 inputs for human-reviewed drafts only. Use for "preserve conflicting incident accounts", "intake this incident", "process this safety report", "extract incident facts", or "intake this near miss". Do NOT use for classification, routing or terminal drafting — use severity-recordability, routing-notify or incident-writeup respectively. No live retrieval or official determinations; EHS REVIEW REQUIRED.

★ 107
microsoft
microsoft/cat-agent-skills

ehs-knowledge-retrieve

Attaches cited local OSHA, ISO summaries, JHA and policies and computes supplied-log history. Use for "find cited local safety evidence", "pull the OSHA criteria", "get the JHA", "attach local EHS evidence", or "have we had this incident before". Do NOT use for incident intake, recordability decisions or drafting — use incident-intake, severity-recordability or incident-writeup. No live retrieval; EHS REVIEW REQUIRED.

★ 107