Copilot Toolbox 标志

Copilot Toolbox

组织
pnp
copilot-toolbox

Creates, initializes, synchronizes, repairs, and publishes the portable English Copilot Toolbox, including its list, review workflow, Toolbox.aspx, and English HTML Toolbook. Blocks incomplete imports, enforces Copilot in SharePoint button actions, and resumes safely after failures. Use when the user says: - "Copilot Toolbox" - "install the toolbox and import all tools" - "synchronize the Agent Toolbox list" - "Synchronize the Copilot Toolbox and fully enrich every current tool." - "create the English Copilot Toolbook"

概览

发布者pnp
代码仓库sharepoint-skills
技能名称copilot-toolbox
星标数
141
复刻数
60
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 pnp 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Copilot Toolbox AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/pnp/sharepoint-skills/tree/main/Skills/copilot-toolbox/copilot-toolbox
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pnp/sharepoint-skills.git /tmp/sharepoint-skills
mkdir -p .claude/skills
cp -r /tmp/sharepoint-skills/Skills/copilot-toolbox/copilot-toolbox .claude/skills/copilot-toolbox
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Copilot Toolbox,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Copilot Toolbox。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Copilot Toolbox 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Copilot Toolbox

When to use

Use this portable workflow to install, synchronize, repair, review, or publish the English copilot-toolbox solution on the current SharePoint site unless another site is named.

  • The generic list copilot-toolbox is the installation marker.
  • If absent, provision the complete solution and import the current catalog.
  • If present, never recreate existing artifacts; synchronize, repair, or publish as requested.
  • Never create, replace, edit, or designate Home.aspx as the site home page.
  • Never hard-code site URLs, list/view IDs, timestamps, page URLs, library paths, or tool counts.

Inputs

  • Target list: copilot-toolbox.
  • Authoritative identities and short descriptions: complete current tool catalog plus supplied --agenttools where present.
  • Mandatory enrichment source: complete learn_tool result for every current tool, including direct tools.
  • Identity key: exact Title, compared trimmed and case-insensitive.
  • Lifecycle: new, active, archived, removed.
  • Page: Toolbox.aspx in Site Pages.
  • Publication: copilot-toolbook-en.html in the current site's runtime-resolved standard document library (Documents or its localized equivalent, such as Dokumente).

Managed fields:

FieldRequired rule
TitleExact tool identity; display name Tool Name.
descriptionOriginal short catalog description unchanged.
CategoryMost specific verified functional family.
UseCaseLearned When to invoke, When not to invoke, Usage notes, in that order.
ExampleConcrete valid English request specific to the tool.
PromptTemplateCapability-specific reusable request with meaningful placeholders.
KeyParametersEvery exact learned input name and concise verified meaning.
Statusnew, active, archived, or removed.
TagsConservative English search terms.
Sourcetool-catalog, --agenttools, manual, or generated.
FirstSeenInitial verified detection; preserve existing populated values.
LastSeenCurrent verified detection.
RemovedOnSet only for removed tools.
workstepQuick Steps column for deterministic review.

Do not create Purpose, Prerequisites, Complexity, OutputType, or ReviewNotes.

Steps

1. Detect mode and read state

  1. Discover generic lists and resolve copilot-toolbox by normalized title.
  2. Do not use metadata itemCount as row truth.
  3. If the list exists, read every row with all managed internal fields; re-read at returned count if truncated.
  4. Preserve exact identities, accurate editorial content, FirstSeen, and active/archived lifecycle state unless verified current learning requires correction.

2. First-run provisioning

Run only when the list is absent.

  1. Create the English generic list with all managed fields and rename built-in Title to Tool Name. Seed no fixed records.
  2. Create view New Tools with query <Where><Eq><FieldRef Name="Status"/><Value Type="Choice">new</Value></Eq></Where>, fields LinkTitle, description, Category, Status, FirstSeen, workstep, and row limit 30.
  3. Fetch actual schema and create exactly one active Quick Step named Set tool active, condition [$Status] == 'new', action SetValue, Status = active, Choice overwrite, no prompt and no flow.
  4. Configure only verified workstep with that Quick Step using paired CornflowerBlue classes. Never attach it to Action0.
  5. Create exactly one full-width home-layout Toolbox.aspx through create_page_workspace, without changing the site home page.

Before page creation resolve actual list/view IDs and URLs and pass them in providedContent.

The pageSpec MUST include these exact binding and action rules:

The List web part MUST use the list whose title is exactly copilot-toolbox and the view whose title is exactly New Tools. It MUST NOT use Documents, Shared Documents, Site Pages, or any other library.

Each required Button web part MUST set its Action / Action type to Copilot in SharePoint (the localized UI label may also be Copilot in SharePoint). It MUST NOT use Link, URL, text link, Quick Links, Hero link, or any navigation action. Enter the exact required request in the Prompt field shown below the Copilot in SharePoint action selector.

The page must contain, in order:

  1. Image-free white-to-teal/green-blue full-width surface with strong contrast.
  2. Exact title Copilot in SharePoint Toolbox.
  3. Exact subtitle A Self-Updating SharePoint List of All Copilot in SharePoint Agent Tools.
  4. Short English explanation of create, synchronize, enrich, review, and publish.
  5. Exactly two real SharePoint Button web parts:
    • Update Toolbox: Action / Action type = Copilot in SharePoint, never Link; Prompt field = Synchronize the Copilot Toolbox and fully enrich every current tool.
    • Toolbook HTML: Action / Action type = Copilot in SharePoint, never Link; Prompt field = Create or refresh copilot-toolbook-en.html in this site's standard document library.
  6. List web part bound to actual copilot-toolbox and New Tools IDs.
  7. Built by Michael Greth — yourcopilot.de and Source: github.com/mysharepoint.

The page agent must not put the prompt into a URL field, button URL, description, tooltip, or visible body text as a substitute. The prompt belongs in the Prompt field beneath the Copilot in SharePoint action selection.

Read the page once after creation. Verify what extraction exposes. A button is valid only if all three facts are proven: it is a real Button web part; its action is Copilot in SharePoint and not Link; its Prompt field equals the required prompt. Also verify image-free design, title/subtitle, List binding, and unchanged Home.aspx. If extraction cannot prove action type or prompt storage, report those requirements as unverified and the page provisioning as partial; never claim the buttons work. If a button uses Link, report it as failed provisioning and provide the exact manual correction.

3. Learn every current tool

  1. Enumerate the complete authoritative tool set exactly, including direct-tool identities.
  2. Call learn_tool for every current tool in safe batches and retain every complete result.
  3. Map each tool independently:
    • Keep description unchanged from the short catalog.
    • Build UseCase only from learned guidance and preserve explicit exclusions, prerequisites, sequencing, limits, identifiers, and constraints.
    • Build KeyParameters from every exact learned input plus its verified meaning.
    • Choose the most specific family, such as automation.approvals.* → Approvals.
    • Write a capability-specific Example and PromptTemplate, not boilerplate.
    • Never invent a missing learned section; mark it unavailable and fail the gate below.

4. Mandatory enrichment transaction gate

Treat enrichment and synchronization as one logical transaction. Before any tool-record create or update:

  1. Retain one complete learn_tool result for every authoritative current tool.
  2. Build the complete final row for every current tool in memory.
  3. Finish identity comparison, lifecycle decisions, timestamps, choices, and the full write plan.
  4. Validate every current row against every blocking check.
  5. Write nothing unless all current tools pass.

Blocking checks:

  • UseCase has When to invoke, When not to invoke, and Usage notes in order.
  • UseCase retains tool-specific exclusions, prerequisites, sequencing, limits, and constraints.
  • KeyParameters contains every learned input and a non-empty verified meaning for each; name-only lists fail.
  • Category is the most specific verified family.
  • Example is a concrete valid request, not boilerplate.
  • PromptTemplate has capability-specific placeholders.
  • No managed field contains placeholder, fallback, or generic filler.

Forbidden patterns include Needs review, requires enrichment, exact meanings require, generic verified inputs, concrete task, specific outcome, specific target, copying the short description as the whole UseCase, name-only KeyParameters, and generic Examples or PromptTemplates reusable unchanged for unrelated tools.

This gate applies after timeout, throttling, parser errors, declined or expired confirmation, partial writes, and every fallback/recovery path. There is no emergency, simplified, provisional, placeholder, or seed import mode. If learning or validation is incomplete, stop before tool-record writes and report the failed gate.

5. Compare and lifecycle plan

  • Match exact trimmed lowercase identity; use only confirmed aliases.
  • New current tools → new.
  • Preserve archived.
  • Returning removed tools → new, clear RemovedOn.
  • Mark missing tools removed only when the complete authoritative set proves absence; never delete automatically.
  • Add required Category choices before writing affected rows.

6. Automatic repair and safe resume

At the start of every synchronization, scan all existing current-tool rows against the blocking checks. Treat a violating row as incomplete regardless of Status, including active.

After an ambiguous write result, timeout, expired confirmation, or interrupted execution:

  1. Fresh-read every managed field.
  2. Match by normalized exact Title.
  3. Classify every authoritative identity as verified, missing, incomplete, or duplicate.
  4. Preserve verified rows and human-reviewed lifecycle state.
  5. Create only missing rows.
  6. Update only incomplete rows from retained complete learned definitions.
  7. Never repeat a write whose intended state is already present.
  8. Do not delete duplicates automatically; report exact duplicate identities unless a verified safe correction is available.

When execution can continue safely, resume automatically from the fresh-read state. If the platform requires a new confirmation, stop before degraded writes; after confirmation, fresh-read and repeat the complete enrichment gate.

7. Write and verify

Write only after the transaction gate passes. Set LastSeen, preserve or initialize FirstSeen, set Source, clear RemovedOn for current tools, and fresh-read all rows. Verify exact identity coverage, duplicates, required fields, forbidden markers, lifecycle values, and parameter meanings. Sample every learned batch and compare stored UseCase and KeyParameters with retained learned definitions. After ambiguous timeouts, fresh-read before retrying.

8. Completion assertion

Report created-and-initialized or existing-list-updated as successful only when a fresh read proves exact authoritative identity coverage, zero duplicate current identities, zero missing required values, zero forbidden markers or generic filler, zero name-only KeyParameters, and stored samples from every learning batch matching retained definitions.

Otherwise report partial, name each failed check, list affected identities or a bounded sample plus count, and never describe the import as complete. Continue automatic repair when safely possible.

9. Publish English Toolbook

Create or refresh only copilot-toolbook-en.html in the current site's runtime-resolved standard document library. Discover the site's standard document library at runtime; its title is commonly Documents or a localized equivalent such as Dokumente. Never hard-code the library title or URL, and never save the Toolbook to AgentAssets, the skill folder, or any library other than the resolved standard document library. Save the file at the root of the resolved standard document library. Include new, active, and archived; exclude removed by default. Preserve multiline UseCase and exact KeyParameters, sort categories alphabetically, provide search, status filtering, collapsible categories and lifecycle badges, keep blue/orange design and attribution, use English only, verify file existence in the resolved standard document library, and return its browser link.

Output format

Report briefly:

  • Mode: created-and-initialized, existing-list-updated, toolbook-published, or partial.
  • Artifact status: list, schema, New Tools, Quick Step, workstep, Toolbox.aspx, image-free header, two Button web parts, each button's action type, each Prompt field, and verified List binding.
  • Current, created, updated, removed, reactivated, duplicate, and incomplete counts.
  • Learned sent, successful, incomplete, and failed counts.
  • Blocking-gate result and unresolved learned sections.
  • New, Removed, Reactivated, and Needs repair sets; for more than 20 show totals and about five examples.
  • Links to Toolbox.aspx, the list, and Toolbook when present.

If any tool or page operation fails or returns empty, say so plainly and never invent success.

Constraints

  • Never modify Home.aspx.
  • Never rerun first-run provisioning when the list exists.
  • Never seed fixed tool identities or counts.
  • Never create duplicate lists, views, Quick Steps, pages, or Toolbook files.
  • Never write tool records before complete mandatory learning and validation.
  • Never use generic filler or placeholder imports.
  • Never call name-only parameters complete.
  • Never overwrite accurate editorial fields without verified reason.
  • Never publish the Toolbook outside the runtime-resolved standard document library.
  • Never produce German Toolbox or Toolbook artifacts.
  • Never configure either Toolbox button with action Link; both MUST use Copilot in SharePoint and store the exact request in the Prompt field.
  • A confirmation timeout is not permission to degrade quality; after confirmation, resume from fresh state and rerun the gate.

常见问题

Copilot Toolbox AI 技能有什么作用?

Creates, initializes, synchronizes, repairs, and publishes the portable English Copilot Toolbox, including its list, review workflow, Toolbox.aspx, and English HTML Toolbook. Blocks incomplete imports, enforces Copilot in SharePoint button actions, and resumes safely after failures. Use when the user says: - "Copilot Toolbox" - "install the toolbox and import all tools" - "synchronize the Agent Toolbox list" - "Synchronize the Copilot Toolbox and fully enrich every current tool." - "create the English Copilot Toolbook"

为什么在 TypingMind 中使用 Copilot Toolbox?

因为您只需安装一次,就能搭配任何模型使用。Copilot Toolbox 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Copilot Toolbox?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/pnp/sharepoint-skills/tree/main/Skills/copilot-toolbox/copilot-toolbox。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Copilot Toolbox?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Copilot Toolbox 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Copilot Toolbox 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Copilot Toolbox AI 技能免费吗?

是的。pnp 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇