agentleFS
MicrosoftKnown publishermicrosoft/Building-AI-Agents-From-Zero-To-Production/.github/skills/microsoft-toolbox/SKILL.md

microsoft-toolbox

Skill188 starsChanged 5 months agoMITView on GitHub

Help a learner use Microsoft Toolbox to define tools once and govern them centrally, then consume a toolbox from an agent through a single MCP endpoint. Use for Lesson 6 tasks: tool discovery, registration, governance, and versioning.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Start from toolbox_agent.py.

    line 34
  2. Distinctive:

    If the learner asks to *create/manage* toolboxes in code, explain the management API is preview and may require a newer SDK than the pinned …

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Microsoft Toolbox

Guidance for centralised tool governance (Lesson 6).

Guardrails (always apply)

  • Terminology: Microsoft Toolbox (define/govern tools centrally), consumed by agents over an MCP endpoint.
  • The consume side works with the pinned agent-framework SDK. The Toolbox management API (project.toolboxes.*) is preview and is not in the pinned SDK — call this out and avoid presenting it as GA.
  • Endpoint via TOOLBOX_ENDPOINT in .env; auth via az login.

Concepts a learner should grasp

  1. Why a toolbox: define a tool once, govern it centrally (access, versioning, approvals), and let many agents consume it — instead of each agent re-implementing tools.
  2. Consume via one MCP endpoint: an agent points at the toolbox's MCP endpoint and gets its governed tools, rather than wiring each tool individually.
  3. Governance & versioning: central control makes it safe to update or retire a tool without breaking every agent.

Worked example in this repo

  • lesson-6-toolbox/toolbox_agent.py is the consume sample: it reaches a toolbox through a single MCP endpoint and uses its tools. Use it as the reference.

How to help

  • Start from toolbox_agent.py; adapt the toolbox endpoint.
  • If the learner asks to create/manage toolboxes in code, explain the management API is preview and may require a newer SDK than the pinned one; prefer the portal/preview docs and keep the sample on the consume side.

Validate

  • python -m py_compile lesson-6-toolbox/toolbox_agent.py.
  • The agent should discover and call at least one governed tool via the toolbox endpoint.

References

  • lesson-6-toolbox/README.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.