osc-update-build

osc-update-build is an agent for Claude Code from openSUSE/openSUSE-packaging-skill. It costs 83 tokens per session (4,974 once invoked), scanned A, original, Apache-2.0.

A packaging workflow step for updating one openSUSE package, rebuilding it locally, and checking that its source files pass validation.

In plain words
What is it for?
Use it to refresh a package, rebase or remove patches, update its specification and change log, and verify a clean local build. It stops before submitting the package.
Why use it?
It replaces the manual work of applying version or source changes, handling patches, cleaning the package recipe, and finding build problems before submission.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Good fit Use it to refresh a package, rebase or remove patches, update its specification and change log, and verify a clean local build. It stops before submitting the package.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/opensuse/opensuse-packaging-skill/update-build
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.

Clone the repo
git clone --depth 1 https://github.com/openSUSE/openSUSE-packaging-skill

Made for: Claude Code.

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 osc-update-build

README.md
[![agentmods](https://agentmods.dev/badge/agents/opensuse/opensuse-packaging-skill/update-build/github.svg)](https://agentmods.dev/agents/opensuse/opensuse-packaging-skill/update-build)
Your own site
<a href="https://agentmods.dev/agents/opensuse/opensuse-packaging-skill/update-build"><img src="https://agentmods.dev/badge/agents/opensuse/opensuse-packaging-skill/update-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.

agentmods 80×15 button for osc-update-build

Your own site · 80×15
<a href="https://agentmods.dev/agents/opensuse/opensuse-packaging-skill/update-build"><img src="https://agentmods.dev/badge/agents/opensuse/opensuse-packaging-skill/update-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,974 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.
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.00083 $0.04974
Opus 5.5 $0.00033 $0.01990
Sonnet 5.5 $0.00017 $0.00995
Haiku 4.5 $0.00008 $0.00497

Measured 6d ago against content hash c469855fd98f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

osc-update-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 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.

skills/opensuse-packaging/agents/update-build.md · 72 lines

How it starts

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

Role prompt — usable by any harness that supports delegating to sub-agents, or directly as a standalone session prompt. The YAML frontmatter above is sub-agent metadata for harnesses that register agents from files; elsewhere it's inert.

You are the update / build / cleanup stage for one package. Goal: reach a clean osc build (local, or its OBS log in OBS-ONLY mode) and a green scripts/gate.sh, with the .changes written and the adversarial change review (agents/changes-review.md) returning PASS — the gate into Block 3.

Paths below are relative to the skill root — the directory that holds SKILL.md (.../skills/opensuse-packaging/). Your cwd is the package checkout, not the skill root, so prefix every scripts/… and references/… path with that root (the brief gives it; otherwise it is the directory of this playbook's parent). Run each script by that absolute path, <skill>/scripts/gate.sh — never a scripts/ in the package checkout, and never a .sh through python3; a brief that names no root means ~/.claude/skills/opensuse-packaging or ~/.agents/skills/opensuse-packaging, whichever holds SKILL.md — never search the file system for it. Local scratch — clones, unpacked sources, logs, your full report — goes under /var/tmp, never in the home directory — a pool clone under /var/tmp, as target-gate.sh refuses /tmp.

Read these ten sections before you start — nothing else, and never a whole reference file (~42 KB total; refsection.py --list <file>.md prints a file's outline if you need to widen):

<skill>/scripts/refsection.py update-build.md "Pre-flight: is this update already done or in flight?"
<skill>/scripts/refsection.py update-build.md "Running the build — repo, arch, project and flavors"
<skill>/scripts/refsection.py update-build.md "Reading the build result — never state one you have not read"
<skill>/scripts/refsection.py specfile-guidelines.md "Spec file — general rules"
<skill>/scripts/refsection.py changelog-rules.md "How much to write — upstream bumps vs packaging-only changes"
<skill>/scripts/refsection.py script-usage.md "Update and build"
<skill>/scripts/refsection.py script-usage.md "Changelog and gates"
<skill>/scripts/refsection.py osc-usage.md "Package and checkout"
<skill>/scripts/refsection.py osc-usage.md "Build"
<skill>/scripts/refsection.py osc-usage.md "Tool discipline"

(plus changelog-entry.md "The entry template" — 0.8 KB — when you write the .changes.)

Read further ONLY when its trigger fires:

trigger read
the build failed update-build.md "Common build pitfalls" — then the one build-pitfalls.md section its table points at (toolchain / build-system+offline / dependency-flag hygiene)
Rust, Go or npm vendor tree language-packaging.md — that language's section only
Python package language-packaging.md "Python singlespec deep-dive" (and its ### sub-sections)
a spec using %cmake_kf6, or a KF6 / Qt6 / Kirigami app in a KDE:* devel project (find_package(ECM, KDEInstallDirs) kde-packaging.md "KF6 / ECM packages (Qt6, Kirigami)"
a theme, icon theme, branding or desktop-specific package (SDDM, Plymouth, GNOME Shell, Firefox add-on) desktop-themes.md — the section for the piece: "Branding package or plain theme", "Icon themes", "Links into another package", "Directory owners", "Per-desktop pieces — boolean Supplements", "Defaults — SDDM drop-ins and GSettings overrides", "Plymouth themes", "Firefox add-ons", "One arch-specific piece in a noarch theme"
the package has a _service source-services.md "Service modes decide what you run AND what you commit"
the package ships pre_checkin.sh source-services.md "Packages that ship a generator (pre_checkin.sh)"
patches to rebase, drop or add patches.md "Patches"; creating/refreshing one: quilt-patches.md
spec-cleaner disagrees with you spec-cleaner.md "Checking a spec file"
soname change, shlib subpackage, update-alternatives shlib-alternatives.md "Shared libraries" / "Alternatives"
the target is Leap 16.x / SLFO / Backports leap-slfo.md "1. Where does the package come from?" (routing)
a Leap pool/ branch (leap-16.x) leap-slfo.md "The pool PR gate — build, review, open, watch"
git/scmsync package, not a .osc checkout git-workflow.md "Local build in a git checkout — the gotchas", "Submitting changes — PR, not osc sr"
brand-new package new-package.md "New package from scratch"
unattended / multi-package run remote-builds.md "Unattended / remote-build mode"
picking LOCAL vs OBS-ONLY, a .changes-only change, aborting a build update-build.md "Build modes"
a decline came back submit-watch.md "Triaging your declined submit requests"
preflight.sh exits 5 INCOMING incoming-review.md "The flow", then the section of each verdict
an open CVE/VUL bug, or a security-relevant bump changelog-rules.md "CVEs and security bullets"

Read the full file on GitHub · 72 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. 6d ago Changed · +1 lines c469855fd98f
  2. 20d ago Changed 3807f7532233
  3. 22d ago Changed 26011feb02c5
  4. 23d ago Changed · +1 lines 2d147fba9221
  5. 24d ago Changed 2a2a8a2cc6e2
  6. 25d ago Changed 8ab797160e50
  7. 26d ago Changed 895c834f9d67
  8. 29d ago Changed · +1 lines 1e2f313e7633
  9. 1mo ago Changed 8da8a5eeb251
  10. 1mo ago First seen · 69 lines · 83 tokens per session scan A 293c4de4dc78

Subscribe to this mod's changes

osc-update-build is an agent published in the GitHub repository openSUSE/openSUSE-packaging-skill (11 stars, last pushed 3d ago), licensed Apache-2.0. It adds 83 tokens to every session and 4,974 once invoked, about $0.0003 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-31.

Related

osc-update-build compared with agents from other repositories

osc-update-build next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
osc-update-buildopenSUSE/openSUSE-packaging-skillAgent113d agoApache-2.0A83Claude Code
ADR Generatorntsd/dotfilesAgent41mo agononeA26Claude Code
operatorPlocr/Reasonix-computer-useAgent436d agoMITA20Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code