Umbraco.Automate: Skill for Claude Code

.claude/skills/ops-workspace/SKILL.md

ops-workspace is a skill for Claude Code from umbraco/Umbraco.Automate. It costs 95 tokens per session (2,182 once invoked), scanned A, original, MIT.

A workspace-management skill for creating and removing an isolated Git worktree, which is a separate working copy of a repository, for one change in Umbraco.Automate.

In plain words
What is it for?
It is for preparing a worktree for a version-specific feature branch and tearing that worktree down afterward.
Why use it?
It keeps a change separate from other work and prepares the repository with the branch base and local configuration needed to build it.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is umbraco/Umbraco.Automate's own configuration. It tells Claude Code how to work on Umbraco.Automate itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Umbraco.Automate configures →

Reuse

Borrowing it

Nothing to install: this file belongs to umbraco/Umbraco.Automate. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/umbraco/Umbraco.Automate/v18/dev/.claude/skills/ops-workspace/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/umbraco/Umbraco.Automate

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 ops-workspace

README.md
[![agentmods](https://agentmods.dev/badge/skills/umbraco/umbraco.automate/ops-workspace/github.svg)](https://agentmods.dev/skills/umbraco/umbraco.automate/ops-workspace)
Your own site
<a href="https://agentmods.dev/skills/umbraco/umbraco.automate/ops-workspace"><img src="https://agentmods.dev/badge/skills/umbraco/umbraco.automate/ops-workspace/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 ops-workspace

Your own site · 80×15
<a href="https://agentmods.dev/skills/umbraco/umbraco.automate/ops-workspace"><img src="https://agentmods.dev/badge/skills/umbraco/umbraco.automate/ops-workspace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,182 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.00095 $0.02182
Opus 5.5 $0.00038 $0.00873
Sonnet 5.5 $0.00019 $0.00436
Haiku 4.5 $0.00010 $0.00218

Measured 1mo ago against content hash 9a183bdf017f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ops-workspace 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.

.claude/skills/ops-workspace/SKILL.md · 172 lines

How it starts

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

ops-workspace

One change, one clean place to build it.

Visibility: supporting primitive. Only ops-change calls it. A framework loop must not — the loop does not know whether this repo needs a worktree, a container, a seeded database, or nothing at all, and the moment a loop decides that, the engine has learned a product fact.

Invocation

ops-workspace <action> '<context-json>'
Action Context Returns
prepare { branch } { ok, path, reused, fidelity, notes }
teardown { path } { ok }

An absent context is {}. Reject any other action.

Repo facts both actions depend on

Worktrees live at .claude/worktrees/<slug>, which is gitignored. The slug is the branch name with the feature/ segment dropped and remaining slashes flattened to dashes: v18/feature/issue-159-embedded-config-references → v18-issue-159-embedded-config-references.

The base is the line's own integration branch. For a vN/feature/* branch, root it on origin/vN/dev; fall back to origin/vN/main only if that line has no dev. Version lines are never forward-merged — never root a v17 branch on anything from v18, and vice versa.

.githooks/pre-push rejects any branch that is not vN/dev, vN/main, vN/{feature,release,hotfix}/* or claude/*. A workspace on a branch outside that set cannot be pushed, so treat an off-pattern branch as an error rather than creating a tree for it.

Package feeds need no credentials. NuGet.config and .npmrc are both committed and point at public feeds (nuget.org, MyGet umbracoprereleases, MyGet umbraconightly). A worktree gets them from the checkout. Never add a feed, a token or a packageSourceCredentials block here.

No database to provision. The integration tests are self-contained — azure-pipelines.yml runs dotnet test Umbraco.Automate.slnx with no SQL service and no container. A plain worktree is therefore full CI parity, and prepare MUST NOT stand up a database, a container or a demo site.

Read the full file on GitHub · 172 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. 1mo ago Changed · +16 lines 9a183bdf017f
  2. 1mo ago Changed · +7 tokens per session 24844fdf3d94
  3. 2mo ago First seen · 156 lines · 88 tokens per session scan A 5ac144907f86

Subscribe to this mod's changes

ops-workspace is a skill published in the GitHub repository umbraco/Umbraco.Automate (5 stars, last pushed 2d ago), licensed MIT. It adds 95 tokens to every session and 2,182 once invoked, about $0.0004 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.