ubuntu-write-sru

ubuntu-write-sru is a skill for Claude Code, Codex from canonical/copilot-collections. It costs 57 tokens per session (899 once invoked), scanned B, original, Apache-2.0.

A guided template writer for Ubuntu Stable Release Updates (SRUs), which are fixes delivered to supported Ubuntu releases. It creates the required bug-description sections after gathering details from the user.

In plain words
What is it for?
Use it to prepare or update a Launchpad bug description with impact, test-plan, and regression-risk sections.
Why use it?
It helps turn bug information and testing notes into the format Ubuntu reviewers expect. It also filters out irrelevant details instead of guessing missing facts.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it to prepare or update a Launchpad bug description with impact, test-plan, and regression-risk sections.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/canonical/copilot-collections/ubuntu-write-sru
About the project

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.

canonical/copilot-collections · 29 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.

Any agent
npx skills add canonical/copilot-collections --skill ubuntu-write-sru
Clone the repo
git clone --depth 1 https://github.com/canonical/copilot-collections

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 ubuntu-write-sru

README.md
[![agentmods](https://agentmods.dev/badge/skills/canonical/copilot-collections/ubuntu-write-sru/github.svg)](https://agentmods.dev/skills/canonical/copilot-collections/ubuntu-write-sru)
Your own site
<a href="https://agentmods.dev/skills/canonical/copilot-collections/ubuntu-write-sru"><img src="https://agentmods.dev/badge/skills/canonical/copilot-collections/ubuntu-write-sru/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 ubuntu-write-sru

Your own site · 80×15
<a href="https://agentmods.dev/skills/canonical/copilot-collections/ubuntu-write-sru"><img src="https://agentmods.dev/badge/skills/canonical/copilot-collections/ubuntu-write-sru.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 899 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Privilege Escalation · line 51
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
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.00057 $0.00899
Opus 5 $0.00028 $0.00449
Sonnet 5 $0.00011 $0.00180
Haiku 4.5 $0.00006 $0.00090

Measured 9d ago against content hash d4d6f4f62372, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

ubuntu-write-sru scanned grade B 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 9d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Write commands explicitly (e.g., use `sudo apt install ...` rather than "install the package").
groups/ubuntu-engineering/skills/ubuntu-write-sru/SKILL.md · 80 lines

How it starts

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

Full Ubuntu SRU Bug Description Builder

Persona & Role

  • Role: You are a veteran Ubuntu Developer and an expert SRU Reviewer.
  • Tone: Professional, highly technical, concise, and paranoid about regressions.

Use this skill when you need to write or update a Launchpad bug description to comply with the official Ubuntu Stable Release Update (SRU) workflow.

Strict Interaction Rules

Step 1: Pause and Gather Context (Mandatory)

Do not attempt to guess the bug details or output the template immediately. Start the session by asking the user for:

  1. The Launchpad Bug URL or raw bug report text.
  2. The user's personal summary/nuance of the fix (e.g., "The bug happens because of a typo in the systemd unit file; ignore the comments about the kernel regression").
  3. Any specific PPA testing or local debdiff validation the user has already performed, so it can be included in the test plan.

Stop and wait for the user to reply before moving to Step 2. Criterion: The user has provided the bug context and you have paused execution to wait for it.

Step 2: Fetch and Process the Raw Text

Once the URL is provided: Ensure the URL points to the text variant: If the user provides a standard Launchpad URL (e.g., .../+bug/1234567), append /+text to the end of it (e.g., .../+bug/1234567/+text) before retrieving or reading the content.

Criterion: The raw text of the bug has been successfully fetched and loaded into context.

Step 3: Noise Filtering & Extraction

Once the user provides the context:

  1. Filter the entire bug history through the lens of the user's input.
  2. Isolate the true technical root cause, the user-facing symptoms, and the exact code paths or configurations involved.
  3. Assess potential regression risks based on what the fix changes.

Criterion: You have an isolated, clear understanding of the root cause and regression risks, completely separated from the noise of the bug comments.

Step 4: Output Generation

Read the full file on GitHub · 80 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. 9d ago First seen · 80 lines · 57 tokens per session scan B d4d6f4f62372

Subscribe to this mod's changes

ubuntu-write-sru is a skill published in the GitHub repository canonical/copilot-collections (29 stars, last pushed 6d ago), licensed Apache-2.0. It adds 57 tokens to every session and 899 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

incident-investigation

Correlate PagerDuty incidents with Jira tickets and recent ArgoCD deployments to accelerate root cause analysis. Orchestrates multiple agents to build a timeline of events. Use when investigating active incidents, performing post-mortems, or correlating alerts with changes.

caipe-io/ai-platform-engineering · 56 tokens

extend-skill

/neat extend is a set of six MCP surgical tools for long-tail instrumentation — three diagnostic (read-only), three operative (file-scope-restricted, idempotent, reversible, observable). The user's MCP agent reasons; NEAT operates. NEAT holds no LLM key and never auto-applies. No standalone CLI variant. Discovery is…

neat-technologies/neat · 106 tokens

claude-skill

This skill exposes NEAT's live semantic graph to Claude Code over MCP. Once installed, Claude can ask the running NEAT daemon (neatd) about a project's services, dependencies, recent errors, and policy violations — same as any other agent NEAT supports.

neat-technologies/neat · 0 tokens

backstage-incident-debug

Diagnose a failing production or staging Backstage instance — collect evidence, narrow to one layer, read backend logs and health endpoints, and correlate with recent deploys and config changes.

bendaamerahmed/backstage-idp-plugin · 42 tokens

graph-first

Query NEAT's live semantic graph — structure, dependencies, runtime (OBSERVED) behaviour, and divergence between declared and observed — before grepping. Use for architecture-level questions on this codebase.

neat-technologies/neat · 43 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens