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 terraform-cc008-migrationgit 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/terraform-cc008-migration)<a href="https://agentmods.dev/skills/canonical/copilot-collections/terraform-cc008-migration"><img src="https://agentmods.dev/badge/skills/canonical/copilot-collections/terraform-cc008-migration/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/terraform-cc008-migration"><img src="https://agentmods.dev/badge/skills/canonical/copilot-collections/terraform-cc008-migration.svg" alt="Reviewed on agentmods" width="80" 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.00068 | $0.04285 |
| Opus 5.5 | $0.00027 | $0.01714 |
| Sonnet 5.5 | $0.00014 | $0.00857 |
| Haiku 4.5 | $0.00007 | $0.00428 |
Grade A, and why
terraform-cc008-migration scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -fsSL -o "$CC008_TMP/cc008.spec.md" "$CC008_BASE/assets/cc008.spec.md" How it starts
The opening of the file, as written. The whole thing — 366 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Terraform CC008 Migration
Overview
Bring every Terraform module in a repository up to the CC008 — Charm Terraform Standards specification, and wire the repository to the compliance, test and release automation provided by canonical/operator-workflows.
When To Use
- A repository ships one or more Terraform modules that predate CC008 (CC006-era
layout,
versions.tf, combinedendpointsoutput, unpinned module sources). - A new module must be authored so that it is CC008-compliant from the start.
- A CC008 compliance check fails in CI and the module needs to be corrected.
Source Of Truth
assets/cc008.spec.md is the specification. Read the
sections relevant to the modules you are migrating before editing anything, and
resolve every question against it. This skill does not restate the spec; it only
reinforces the parts that are most often missed and describes the repository
plumbing the spec does not cover.
Fetching The Companion Files
This skill ships two companion files next to SKILL.md: assets/cc008.spec.md
and scripts/check_cc008.sh. When the skill is installed as a directory — for
example synced to .github/skills/terraform-cc008-migration/ — they are already
on disk and the relative paths above resolve.
When only SKILL.md was fetched (copilot skill add <url> materializes a single
file), download them first and use the downloaded copies wherever this document
refers to them:
CC008_BASE="https://raw.githubusercontent.com/canonical/copilot-collections/main/groups/platform-engineering/skills/terraform-cc008-migration"
CC008_TMP="$(mktemp -d -t cc008.XXXXXXXX)"
curl -fsSL -o "$CC008_TMP/cc008.spec.md" "$CC008_BASE/assets/cc008.spec.md"
curl -fsSL -o "$CC008_TMP/check_cc008.sh" "$CC008_BASE/scripts/check_cc008.sh"
chmod +x "$CC008_TMP/check_cc008.sh"
mktemp -d creates a directory unique to this run (e.g. /tmp/cc008.a1B2c3D4),
so concurrent migrations never collide. Delete $CC008_TMP once the migration is
verified; it must never be committed.
What ships with it
3 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.
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.
- yesterday Changed · +46 lines 59c5d36269a4
- 14d ago Changed · +33 lines 13a048322c14
- 16d ago First seen · 287 lines · 68 tokens per session scan A dd5da91d4578
terraform-cc008-migration is a skill published in the GitHub repository canonical/copilot-collections (31 stars, last pushed 2d ago), licensed Apache-2.0. It adds 68 tokens to every session and 4,285 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-30.
Other skills, from other repositories
release-readiness-check
Verify all prerequisites are met before a release by checking PRs, CI/CD status, environment health, and blocking issues across GitHub, ArgoCD, and Jira. Use before cutting a release, deploying to production, or during release planning.
integration-testing
Validate the entire OBS + PIPE + GitOps + K8s flow end-to-end, and full system behavior from user's perspective. Implements DORA AI Capabilities 4, 5, 6, 7.
backstage-techdocs
Set up, debug, and CI-publish Backstage TechDocs — mkdocs.yml, techdocs-ref, builder/generator/publisher config, storage backends, and docs that are missing, stale, or fail to build.
chinese-git-workflow
A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.
atmos-profiles
Atmos profiles: profile directories, --profile and ATMOSPROFILE activation, profile merge behavior, environment switching, and routing profile-specific auth/toolchain/config overrides.
monorepo-management
Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.