catalogue

catalogue is a command for coding agents from microsoft/skills. It costs 17 tokens per session (480 once invoked), scanned A, original, MIT.

A command that analyzes a repository and outputs a hierarchical JSON table of contents for its documentation.

In plain words
What is it for?
Use it to plan wiki sections and nested pages before writing the full documentation.
Why use it?
It gives a documentation project a structure based on the repository's actual languages, frameworks, components, and boundaries.

Command

Part of the deep-wiki plugin — 10 commands, 3 agents shipped together

About the project

microsoft/skills is a collection of skills, custom agents, AGENTS.md templates, plugins, hooks, commands, and MCP configurations that give AI coding agents context for Azure SDK and Microsoft AI Foundry development. Developers use it to install selected domain-specific guidance into coding-agent environments. The catalogue entries are the repository’s own agent resources and supporting configurations.

microsoft/skills · 2,992 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/microsoft/skills/catalogue
Clone the repo
git clone --depth 1 https://github.com/microsoft/skills

Or install deep-wiki, the plugin that ships this one along with the rest of its 10 commands, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for catalogue

README.md
[![agentmods](https://agentmods.dev/badge/commands/microsoft/skills/catalogue.svg)](https://agentmods.dev/commands/microsoft/skills/catalogue)
Your own site
<a href="https://agentmods.dev/commands/microsoft/skills/catalogue"><img src="https://agentmods.dev/badge/commands/microsoft/skills/catalogue.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 480 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00017 $0.00480
Opus 5 $0.00009 $0.00240
Sonnet 5 $0.00003 $0.00096
Haiku 4.5 $0.00002 $0.00048

Measured yesterday against content hash bb1eb90015b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

catalogue scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/plugins/deep-wiki/commands/catalogue.md · 67 lines

How it starts

The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Deep Wiki: Catalogue Generation

Analyze this repository and generate a hierarchical JSON documentation structure.

Source Repository Resolution (MUST DO FIRST)

Before any analysis, resolve the source repository context:

  1. Check for git remote: Run git remote get-url origin
  2. Ask the user: "Is this a local-only repository, or do you have a source repository URL?"
    • Remote URL → store as REPO_URL, use linked citations: [file:line](REPO_URL/blob/BRANCH/file#Lline)
    • Local → use (file_path:line_number)
  3. Determine default branch: Run git rev-parse --abbrev-ref HEAD
  4. Do NOT proceed until resolved

Analysis Phase

  1. Read the repository file tree and README
  2. Detect project type, language composition, frameworks
  3. Identify architectural layers and module boundaries
  4. Map key components, services, controllers, and their relationships

Output Requirements

Generate a JSON structure following this schema:

{
  "items": [
    {
      "title": "getting-started",
      "name": "[Derived from project]",
      "prompt": "[Generation instruction]",
      "children": [
        {
          "title": "[auto-derived]",
          "name": "[Section Name]",
          "prompt": "[1-3 sentence instruction with file citations]",
          "children": []
        }
      ]
    },
    {
      "title": "deep-dive",
      "name": "[Derived from project]",
      "prompt": "[Generation instruction]",
      "children": []
    }
  ]
}

Rules

  • Max nesting depth: 4; ≤8 children per section
  • Cite real files using the resolved citation format (linked or local) in every prompt
  • Getting Started: overview, setup, basic usage, quick reference
  • Deep Dive layers: Architecture → Subsystems → Components → Key methods/interfaces
  • Component analysis: classes, services, controllers; dependencies; design patterns (Repository, Factory, Strategy, Observer)
  • Small repo mode (≤10 files): Getting Started only, 1-2 children, skip Deep Dive

$ARGUMENTS

Read the full file on GitHub · 67 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 67 lines · 17 tokens per session scan A bb1eb90015b5

Subscribe to this mod's changes

catalogue is a command published in the GitHub repository microsoft/skills (2,992 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 480 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.