copilot-studio-agent-documenter

copilot-studio-agent-documenter is a skill for Claude Code, Codex from pnp/copilot-prompts. It costs 47 tokens per session (2,863 once invoked), scanned A, original, MIT.

A documentation guide for Microsoft Copilot Studio agents, based on exported Dataverse solutions. Dataverse is Microsoft’s data platform, and a solution is an export containing an agent and its related parts.

In plain words
What is it for?
Use it to analyze agent folders, read solution and bot files, inspect conversation topics, and create Markdown documentation in the repository.
Why use it?
It provides an organized way to inspect an agent’s files and turn its configuration, topics, and integrations into documentation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to analyze agent folders, read solution and bot files, inspect conversation topics, and create Markdown documentation in the repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pnp/copilot-prompts/copilot-studio-documenter
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.

Any agent
npx skills add pnp/copilot-prompts --skill copilot-studio-documenter
Clone the repo
git clone --depth 1 https://github.com/pnp/copilot-prompts

Made for: Claude Code, Codex.

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 copilot-studio-agent-documenter

README.md
[![agentmods](https://agentmods.dev/badge/skills/pnp/copilot-prompts/copilot-studio-documenter/github.svg)](https://agentmods.dev/skills/pnp/copilot-prompts/copilot-studio-documenter)
Your own site
<a href="https://agentmods.dev/skills/pnp/copilot-prompts/copilot-studio-documenter"><img src="https://agentmods.dev/badge/skills/pnp/copilot-prompts/copilot-studio-documenter/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for copilot-studio-agent-documenter

Your own site · 80×15
<a href="https://agentmods.dev/skills/pnp/copilot-prompts/copilot-studio-documenter"><img src="https://agentmods.dev/badge/skills/pnp/copilot-prompts/copilot-studio-documenter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,863 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00047 $0.02863
Opus 5.5 $0.00019 $0.01145
Sonnet 5.5 $0.00009 $0.00573
Haiku 4.5 $0.00005 $0.00286

Measured 3mo ago against content hash 32cad8c38253, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

copilot-studio-agent-documenter 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 3mo ago.

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.

samples/skills/copilot-studio-documenter/SKILL.md · 336 lines

How it starts

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

Copilot Studio Agent Documentor

To generate documentation in a single file, follow this process, using the sections below to analyse and structure the agents within the /Agents/ folder in this repo.

When to Use This Skill

  • User requests documentation for an agent in Agents/<AgentName>/
  • Analyzing agent capabilities, topics, and integrations
  • Creating markdown documentation output in Docs/Agents/ folder

Step-by-Step Workflows

1. Identify Agent Structure

# Locate the agent solution
ls Agents/<AgentName>/src/bots/

# List all bot components
ls Agents/<AgentName>/src/botcomponents/

2. Extract Agent Metadata

Read key files in this order:

  1. Agents/<AgentName>/src/Other/Solution.xml - Publisher, version, solution name
  2. Agents/<AgentName>/src/bots/<prefix>_<agentname>/bot.xml - Agent metadata
  3. Agents/<AgentName>/src/bots/<prefix>_<agentname>/configuration.json - Agent configuration

3. Document Agent Components

Topics (Conversation Flows)
  • Pattern: botcomponents/<prefix>_<agent>.topic.<TopicName>/
  • Read botcomponent.xml for topic name and state
  • Check data file for conversation logic (if present)
  • Document standard topics: ConversationStart, Greeting, Fallback, Escalate, OnError
  • Highlight custom topics (non-standard names)
GPT Instructions
  • Pattern: botcomponents/<prefix>_<agent>.gpt.default/
  • Extract AI instructions from data file
  • Document the agent's generative capabilities and system prompt
Connector Actions
  • Pattern: botcomponents/<prefix>_<agent>.action.<Connector-Operation>/
  • Example: .action.ServiceNow-GetRecord, .action.ServiceNow-Orderitem
  • List all external actions the agent can perform
  • Cross-reference with Assets/botcomponent_connectionreferenceset.xml
Multi-Agent Orchestration
  • Pattern: botcomponents/<prefix>_<agent>.InvokeConnectedAgentTaskAction.<ChildAgent>/
  • Document agent-to-agent handoffs
  • Map parent agents to their specialized sub-agents
  • Orchestration uses InvokeConnectedAgentTaskAction components to route conversations.

Read the full file on GitHub · 336 lines

Files

What ships with it

37 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 336 lines · 47 tokens per session scan A 32cad8c38253

Subscribe to this mod's changes

copilot-studio-agent-documenter is a skill published in the GitHub repository pnp/copilot-prompts (913 stars, last pushed yesterday), licensed MIT. It adds 47 tokens to every session and 2,863 once invoked, about $0.0002 per session on Opus 5.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-08-30.

Related

copilot-studio-agent-documenter compared with skills from other repositories

copilot-studio-agent-documenter next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
copilot-studio-agent-documenterpnp/copilot-promptsSkill913yesterdayMITA47Claude Code, Codex
image-prompt-builder-nljim60105/copilot-promptSkill222d agoGFDL-1.3A125Claude Code
ai-engineering-toolkitsickn33/agentic-awesome-skillsSkill51kyesterdayMITA47Claude Code
promptfoo-provider-setuppromptfoo/promptfooSkill28ktodayMITA66Claude Code, Codex
prompt-masternidhinjs/prompt-masterSkill16k1mo agoMITB78Claude Code, Codex
forensic-prompt-compilerAnastasiyaW/codex-claude-code-configSkill2183d agoMITA218Claude Code
auditpe-menezes/vibeflowSkill346d agoMITA132Claude Code