Agent Builder
shareAI-lab/learn-claude-code
Design and build AI agents for any domain. An agent skill from shareAI-lab/learn-claude-code.
How to create, structure, and configure table of contents (TOC) files for Microsoft Learn documentation using toc.yml and docfx.json.
$ npx skills add MicrosoftDocs/semantic-kernel-docs --skill toc -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install MicrosoftDocs/semantic-kernel-docs toc --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/MicrosoftDocs/semantic-kernel-docs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/toc .claude/skills/toc && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "toc" agent skill from https://github.com/MicrosoftDocs/semantic-kernel-docs/tree/main/.github/skills/toc into .claude/skills/toc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "toc", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/MicrosoftDocs/semantic-kernel-docs/tree/main/.github/skills/tocType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add MicrosoftDocs/semantic-kernel-docs --skill toc -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install MicrosoftDocs/semantic-kernel-docs toc --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MicrosoftDocs/semantic-kernel-docs.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/toc .agents/skills/toc && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "toc" agent skill from https://github.com/MicrosoftDocs/semantic-kernel-docs/tree/main/.github/skills/toc into .agents/skills/toc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "toc", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MicrosoftDocs/semantic-kernel-docs --skill toc -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install MicrosoftDocs/semantic-kernel-docs toc --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MicrosoftDocs/semantic-kernel-docs.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/toc .cursor/skills/toc && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "toc" agent skill from https://github.com/MicrosoftDocs/semantic-kernel-docs/tree/main/.github/skills/toc into .cursor/skills/toc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "toc", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/MicrosoftDocs/semantic-kernel-docs.git --path .github/skills/toc--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add MicrosoftDocs/semantic-kernel-docs --skill toc -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install MicrosoftDocs/semantic-kernel-docs toc --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MicrosoftDocs/semantic-kernel-docs.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/toc .gemini/skills/toc && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "toc" agent skill from https://github.com/MicrosoftDocs/semantic-kernel-docs/tree/main/.github/skills/toc into .gemini/skills/toc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "toc", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install MicrosoftDocs/semantic-kernel-docs tocInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add MicrosoftDocs/semantic-kernel-docs --skill toc -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/MicrosoftDocs/semantic-kernel-docs.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/toc .github/skills/toc && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "toc" agent skill from https://github.com/MicrosoftDocs/semantic-kernel-docs/tree/main/.github/skills/toc into .github/skills/toc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "toc", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MicrosoftDocs/semantic-kernel-docs --skill toc -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install MicrosoftDocs/semantic-kernel-docs toc --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MicrosoftDocs/semantic-kernel-docs.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/toc .opencode/skills/toc && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "toc" agent skill from https://github.com/MicrosoftDocs/semantic-kernel-docs/tree/main/.github/skills/toc into .opencode/skills/toc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "toc", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
tocHow to create, structure, and configure table of contents (TOC) files for Microsoft Learn documentation using toc.yml and docfx.json.
Toc is an agent skill from MicrosoftDocs/semantic-kernel-docs, published by the product's own GitHub organization. How to create, structure, and configure table of contents (TOC) files for Microsoft Learn documentation using toc.yml and docfx.json.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering. The repository describes itself as: Semantic Kernel (SK) is a lightweight SDK enabling integration of AI Large Language Models (LLMs) with conventional programming languages. The licence is MIT.
Read from SKILL.md and the folder at commit 6997e10. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml and json).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
learn.microsoft.comyamllint.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Toc loads about 2.2k tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 972 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from MicrosoftDocs/semantic-kernel-docs at commit 6997e10, republished under its MIT licence (© MicrosoftDocs). 972 words, ~2,171 tokens.
.claude/skills/toc/SKILL.md (or your agent's skills folder).This skill describes how to create, structure, and configure table of contents
files (toc.yml) for documentation published on Microsoft Learn. The TOC defines
the left-hand navigation structure of a docset.
TOCs must be YAML (not Markdown). Create a file named toc.yml (always lowercase).
items:
- name: Tutorial
items:
- name: Introduction
href: tutorial.md
- name: Step 1
href: step-1.md
- name: Step 2
href: step-2.mdParent nodes contain an items list of children. If you add an href to a
parent node, the build system automatically creates a duplicate child node with
the parent's name and link — the parent itself becomes an expander only.
| Property | Required | Description |
|---|---|---|
name | Yes | Display text for the TOC node. Cannot include a colon (:). |
href | No | Path the node leads to. Omit for parent-only nodes. |
displayName | No | Additional search terms for TOC filtering (comma-separated). Not displayed to users. |
uid | No | Identifier for reference documentation (e.g., System.String). |
items | No | Child nodes, each with the same available properties. |
expanded | No | Set to true to expand this node by default on page load. Only one root-level node can be expanded. |
[!WARNING] Do not use
maintainContext. It is no longer supported. Use contextual TOC links instead (see Contextual TOCs).
- name: Dev sandbox
href: index.md
displayName: Home
- name: Conceptual pages
expanded: true
items:
- name: Overview
href: ./conceptual/index.md
- name: Code samples
href: ./conceptual/code.md
- name: Reference Pages
items:
- name: IDictionary
href: ./reference/System.Collection.IDictionary.yml
- name: String
href: ./reference/System.String.yml[!TIP] Validate your YAML with YAML Lint. Add
items:as the first line to avoid parser errors.
Ensure "**/**.yml" is listed as a content file type so the build picks up TOC files:
"build": {
"content": [
{
"files": ["**/*.md", "**/**.yml"],
"exclude": ["**/obj/**"]
}
]
}Best for most products and services. One toc.yml plus one landing page.
Top-level (L1) nodes represent the main content categories.
For large products with diverse content areas, connect multiple TOCs via a central hub page. The hub page itself has no TOC — it links to landing pages, each with its own focused TOC.
Decision factors:
The TOC structure should relate to the product directory (the landing/hub page that showcases the product's content areas) but does not need to be a 1:1 match. The TOC may group or split content differently than the product directory to best serve navigation within the docset.
[!TIP] For reference images showing product directory layouts, see the Microsoft Learn static media index.
Nest one TOC inside another by pointing href to a child toc.yml:
items:
- name: Azure overview
href: azure-overview.md
- name: Extensibility
href: extensibility/toc.yml
- name: Reference
href: azure-reference.mdUsers stay in the containing TOC when selecting nested links. If the node
linked to extensibility/overview.md instead of extensibility/toc.yml,
selecting it would navigate the user to a different TOC.
[!NOTE] If a user arrives at a nested TOC article via search, the full parent TOC is displayed, not just the nested portion.
| ❌ Don't | ✅ Do |
|---|---|
| Link to the same file more than once | Use a single link per article |
| Link to a different TOC from within a TOC | Use a contextual TOC instead |
| Duplicate info from hub/landing pages | Provide complementary structure |
Include root folder in href (/docs/marketplace/overview.md) | Use relative path (marketplace/overview.md) |
Begin href with a slash (/collaborate/overview.md) | Omit leading slash (collaborate/overview.md) |
When your TOC links to articles in another folder or repo, the user's navigation context (TOC, breadcrumbs, header) normally changes. A contextual TOC preserves your docset's context instead.
| File | Purpose |
|---|---|
toc.yml | Links to external articles with forced context parameters |
breadcrumb/toc.yml | Maps external article URLs to your breadcrumb hierarchy |
context/context.yml | (Optional) Bundles brand, breadcrumb, and TOC references |
[!IMPORTANT] Publish breadcrumb and context file changes before publishing TOC changes. Contextual links can't be previewed until these files are live.
Append query parameters to the href in your TOC:
# Forced TOC only
- name: Secure SQL data
href: ../sql-database/sql-database-always-encrypted.md?toc=/azure/key-vault/general/toc.json
# Forced TOC + breadcrumb
- name: Secure SQL data
href: ../sql-database/sql-database-always-encrypted.md?toc=/azure/key-vault/general/toc.json&bc=/azure/key-vault/general/breadcrumb/toc.jsonA context file combines brand, breadcrumb, and TOC into a single reference:
### YamlMime: ContextObject
brand: azure
breadcrumb_path: ../breadcrumb/toc.yml
toc_rel: ../toc.ymlThen reference it in your TOC with a single parameter:
- name: SCCM Run Scripts
href: /sccm/apps/deploy-use/create-deploy-scripts?context=/azure/key-vault/context/kv-context[!NOTE] Context files have limitations with moniker views (e.g.,
?view=azurermps-6.2.0). In those cases, use explicit?toc=and&bc=parameters instead.
The TOC and breadcrumb are separate navigation systems with different purposes:
toc.yml) provides left-hand navigation within a docset —
showing where the user is and what content is available nearby.breadcrumb/toc.yml) provides top-of-page links showing
where the docset sits in the overall site hierarchy.The breadcrumb's tocHref property maps URL paths to breadcrumb entries. When
using contextual TOCs, the breadcrumb file must also be updated so that
externally linked articles show your product's breadcrumb rather than their own.
For breadcrumb file creation and configuration details, see the breadcrumbs skill.
© MicrosoftDocs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .github/skills/toc of MicrosoftDocs/semantic-kernel-docs.
Open the folder on GitHubat commit 6997e10
Toc next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Toc this skillMicrosoftDocs/semantic-kernel-docs | 264 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Agent BuildershareAI-lab/learn-claude-code | 78k | 6 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Add Uint Supportpytorch/pytorch | 104k | 2 repos | ~2.3k | Automated safety check: Pass | Custom licence | |
| Peft Fine TuningOrchestra-Research/AI-Research-SKILLs | 13k | 9 repos | ~3.1k | Automated safety check: Pass | MIT | |
| Segment Anything Model GuideOrchestra-Research/AI-Research-SKILLs | 13k | 9 repos | ~3.3k | Automated safety check: Pass | MIT | |
| 1passwordtrpc-group/trpc-agent-go | 1.8k | 13 repos | ~656 | Automated safety check: Pass | Apache-2.0 |
shareAI-lab/learn-claude-code
Design and build AI agents for any domain. An agent skill from shareAI-lab/learn-claude-code.
pytorch/pytorch
Add unsigned integer (uint) type support to PyTorch operators by updating ATDISPATCH macros.
Orchestra-Research/AI-Research-SKILLs
Parameter-efficient fine-tuning for LLMs using LoRA, QLoRA, and 25+ methods.
Orchestra-Research/AI-Research-SKILLs
Guide to using Meta's Segment Anything Model for zero-shot image segmentation with point, box or mask prompts, or automatic mask generation.
trpc-group/trpc-agent-go
Set up and use 1Password CLI (op). An agent skill from trpc-group/trpc-agent-go.
Orchestra-Research/AI-Research-SKILLs
Shows how to store documents and embeddings in Chroma, query them by similarity with metadata filters, and persist them to disk for RAG and semantic search projects.
MicrosoftDocs/semantic-kernel-docs
How breadcrumbs work on Microsoft Learn: structure, creation, configuration in docfx.json, and best practices for documentation repos.
MicrosoftDocs/semantic-kernel-docs
How to reference code from sample repos in Agent Framework docs pages using :::code directives, snippet tags, zone pivots, and highlight attributes.
MicrosoftDocs/semantic-kernel-docs
How to configure cross-repository references (CRR) and create API class links for Microsoft Learn docs in this repository.
MicrosoftDocs/semantic-kernel-docs
How to delete, rename, or move articles on Microsoft Learn while preserving Platform IDs, preventing broken links, and managing redirects.
MicrosoftDocs/semantic-kernel-docs
Conceptual organization of Agent Framework documentation and samples.
MicrosoftDocs/semantic-kernel-docs
Required when reviewing, updating, auditing, or creating any concept documentation page.
Categories
How to create, structure, and configure table of contents (TOC) files for Microsoft Learn documentation using toc.yml and docfx.json. Toc is an agent skill from MicrosoftDocs/semantic-kernel-docs, published by the product's own GitHub organization.json.
Toc fits situations like: AI & LLM Engineering work in your project.
Run `npx skills add MicrosoftDocs/semantic-kernel-docs --skill toc -a claude-code`. Or copy the skill folder (.github/skills/toc in MicrosoftDocs/semantic-kernel-docs) into .claude/skills/toc in your project. Claude Code loads it when a task matches its description.
Run `npx skills add MicrosoftDocs/semantic-kernel-docs --skill toc -a codex`. Or copy the skill folder (.github/skills/toc in MicrosoftDocs/semantic-kernel-docs) into .agents/skills/toc in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MicrosoftDocs/semantic-kernel-docs --skill toc -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/toc, .gemini/skills/toc, .github/skills/toc and .opencode/skills/toc in your project.
SKILL.md names no scripts, command-line tools or credentials: Toc is instructions for the agent only.
SKILL.md names 2 domains. As links in the text: learn.microsoft.com and yamllint.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Toc is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Toc: Agent Builder (shareAI-lab/learn-claude-code, 78k stars), Add Uint Support (pytorch/pytorch, 104k stars), Peft Fine Tuning (Orchestra-Research/AI-Research-SKILLs, 13k stars) and Segment Anything Model Guide (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
MicrosoftDocs (a GitHub organization, an official publisher) maintains it in MicrosoftDocs/semantic-kernel-docs, which has 264 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 2, 2026.
Source: MicrosoftDocs/semantic-kernel-docs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.