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.
npx agentmods add skills/pnp/copilot-prompts/copilot-studio-documenternpx skills add pnp/copilot-prompts --skill copilot-studio-documentergit clone --depth 1 https://github.com/pnp/copilot-promptsWrote 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.
[](https://agentmods.dev/skills/pnp/copilot-prompts/copilot-studio-documenter)<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="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.02863 |
| Opus 5 | $0.00023 | $0.01432 |
| Sonnet 5 | $0.00009 | $0.00573 |
| Haiku 4.5 | $0.00005 | $0.00286 |
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 6d 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.
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:
Agents/<AgentName>/src/Other/Solution.xml- Publisher, version, solution nameAgents/<AgentName>/src/bots/<prefix>_<agentname>/bot.xml- Agent metadataAgents/<AgentName>/src/bots/<prefix>_<agentname>/configuration.json- Agent configuration
3. Document Agent Components
Topics (Conversation Flows)
- Pattern:
botcomponents/<prefix>_<agent>.topic.<TopicName>/ - Read
botcomponent.xmlfor topic name and state - Check
datafile 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
datafile - 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
InvokeConnectedAgentTaskActioncomponents to route conversations.
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.
- Agent/PositivityAgent/.gitignore 180 B
- Agent/PositivityAgent/PositivityAgent.cdsproj 2.7 KB
- Agent/PositivityAgent/src/botcomponents/ca_agent.gpt.default/botcomponent.xml 553 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.gpt.default/data 1.2 KB
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.ConversationStart/botcomponent.xml 538 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.ConversationStart/data 435 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.EndofConversation/botcomponent.xml 478 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.EndofConversation/data 2.3 KB
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.Escalate/botcomponent.xml 599 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.Escalate/data 2.0 KB
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.Fallback/botcomponent.xml 418 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.Fallback/data 551 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.Goodbye/botcomponent.xml 605 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.Goodbye/data 1.0 KB
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.Greeting/botcomponent.xml 385 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.Greeting/data 550 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.MultipleTopicsMatched/botcomponent.xml 501 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.MultipleTopicsMatched/data 1.2 KB
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.OnError/botcomponent.xml 463 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.OnError/data 1.4 KB
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.ResetConversation/botcomponent.xml 318 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.ResetConversation/data 427 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.Search/botcomponent.xml 392 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.Search/data 505 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.Signin/botcomponent.xml 426 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.Signin/data 542 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.StartOver/botcomponent.xml 302 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.StartOver/data 909 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.ThankYou/botcomponent.xml 380 B
- Agent/PositivityAgent/src/botcomponents/ca_agent.topic.ThankYou/data 344 B
- Agent/PositivityAgent/src/bots/ca_agent/bot.xml 20 KB
- Agent/PositivityAgent/src/bots/ca_agent/configuration.json 489 B
- Agent/PositivityAgent/src/Other/Customizations.xml 531 B
- Agent/PositivityAgent/src/Other/Solution.xml 3.8 KB
- assets/sample.json 2.0 KB
- Docs/PositivityAgent-Example.md 5.2 KB
- README.md 5.1 KB
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.
- 6d ago First seen · 336 lines · 47 tokens per session scan A 32cad8c38253
copilot-studio-agent-documenter is a skill published in the GitHub repository pnp/copilot-prompts (871 stars, last pushed 2d ago), licensed MIT. It adds 47 tokens to every session and 2,863 once invoked, about $0.0002 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-08-30.
Other skills, from other repositories
image-prompt-builder-nl
Craft high-quality natural-language image prompts for any modern text-to-image or image-edit model that accepts flowing English. Trigger when the user wants help writing, rewriting, improving, or translating an English natural-language image prompt — including "write me an image prompt", "improve this image prompt"…
ai-engineering-toolkit
6 production-ready AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching.
guidance
Control LLM output with regex and grammars, guarantee valid JSON/XML/code generation, enforce structured formats, and build multi-step workflows with Guidance - Microsoft Research's constrained generation framework.
promptfoo-provider-setup
Configure promptfoo providers or redteam targets for hosted models, live HTTP APIs, Python/JavaScript local scripts, agent SDKs, or multi-input systems. Use when connecting promptfoo to the system under test, mapping vars, auth env vars, request bodies, response transforms, or static-code-derived provider wrappers. Do…
prompt-master
Generates optimized prompts for AI tools. Activates only when the user explicitly asks to write, fix, improve, or adapt a prompt for a specific AI tool (LLM, Cursor, Midjourney, image AI, video AI, coding agents, etc.). Does not activate for general conversation, coding tasks, document writing, or other…
forensic-prompt-compiler
Forensic image-to-prompt compiler for image generation models. Use this skill whenever the user wants to: convert/describe an existing image into a generation prompt, reconstruct a scene as a prompt, generate prompts from reference images for AI image tools (Midjourney, FLUX, Stable Diffusion, DALL-E, or any diffusion…