Canonical Copilot Collections is a repository for organizing and distributing GitHub Copilot instructions, prompts, agents, and skills across Canonical repositories. Teams configure repositories to subscribe to shared collections, such as Python, documentation, or Juju development guidance, and keep those assets synchronized.
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 skills add canonical/copilot-collections --skill documentation-buildgit clone --depth 1 https://github.com/canonical/copilot-collectionsWrote 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/canonical/copilot-collections/documentation-build)<a href="https://agentmods.dev/skills/canonical/copilot-collections/documentation-build"><img src="https://agentmods.dev/badge/skills/canonical/copilot-collections/documentation-build/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.
<a href="https://agentmods.dev/skills/canonical/copilot-collections/documentation-build"><img src="https://agentmods.dev/badge/skills/canonical/copilot-collections/documentation-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00034 | $0.00691 |
| Opus 5.5 | $0.00014 | $0.00276 |
| Sonnet 5.5 | $0.00007 | $0.00138 |
| Haiku 4.5 | $0.00003 | $0.00069 |
Grade A, and why
documentation-build 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 1mo 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 — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Documentation Build Validation
Scope
Build validation only: detect documentation build configuration, run applicable build targets, collect all errors and warnings, and categorise by severity.
Inputs
- Repository root.
Actions
-
Identify documentation directory: The
docs/directory is the default location for Sphinx documentation. If not found, search common doc roots in this order:doc/,documentation/,site/,docs-src/. If still not found, perform a bounded search forconf.py(max depth 4) and use its parent as the docs root. -
Detect build configuration: Check for the presence of:
.readthedocs.yamldocs/conf.py- Makefile targets in the
docs/directory
If RTD artefacts are absent in the target repository, report "not applicable" in findings and exit cleanly.
-
Run build targets (when applicable):
cd docs make clean make htmlRun additional checks for targets that exist. Check each target before running to avoid false failures:
# Check and run each target if available for target in spelling linkcheck woke lint-md; do if make -n $target 2>/dev/null; then make $target fi done -
Capture output and handle failures: If any command fails:
- Capture the full error output from stderr and stdout
- Run
make cleanto reset build state - Retry the failed build command once
- If retry fails, STOP and report all captured errors
- Do not proceed to content analysis until build succeeds
Warnings must be collected and reported, but are not blocking unless the repository explicitly treats warnings as errors.
-
Categorise findings by severity:
- Errors: Build failures, broken links, missing files.
- Warnings: Deprecation notices, missing references, formatting issues.
- Info: Suggestions, minor notices.
-
Verify completion: Confirm the validation completed:
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.
- 1mo ago First seen · 97 lines · 34 tokens per session scan A a2726a22549c
documentation-build is a skill published in the GitHub repository canonical/copilot-collections (31 stars, last pushed 7d ago), licensed Apache-2.0. It adds 34 tokens to every session and 691 once invoked, about $0.0001 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.
Other skills, from other repositories
pdf-backends
Change or diagnose Xberg PDF extraction, native/Pdfium backend selection, PDF rendering sessions, encrypted documents, OCR fallback, or backend-specific capability gaps. Load for PDF engine work, not generic image OCR.
pandoc-pdf-error-resolution
Systematic debugging workflow for pandoc PDF conversion errors.
pptx-debug-workflow
Systematic debugging workflow for python-pptx presentation generation.
python-execution-fallback
Four-step recovery workflow for code execution failures when inline Python fails.
openpyxl-sandbox-workaround
Use runshell with inline Python as a fallback when executecodesandbox fails for openpyxl/spreadsheet operations.
pdf-debug-unbuffered
Debug Python PDF generation errors by using unbuffered output and stderr inspection to reveal actual tracebacks.