digital-empire: Skill for OpenCode

.opencode/skill/git-worktree/SKILL.md

git-worktree is a skill for OpenCode from benjaminshafii/digital-empire. It costs 13 tokens per session (603 once invoked), scanned C, original, no licence file.

A skill for creating and managing Git worktrees. A worktree is a separate working folder connected to the same Git repository, so different branches can be worked on independently.

In plain words
What is it for?
Use it to create separate folders for features, fixes, or other branches, and to manage those folders during development.
Why use it?
It keeps branch work isolated and helps manage multiple working folders safely without mixing changes.

Skill for OpenCode

Written for OpenCode: installed under .opencode/.

This is benjaminshafii/digital-empire's own configuration. It tells OpenCode how to work on digital-empire 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 digital-empire configures →

Reuse

Borrowing it

Nothing to install: this file belongs to benjaminshafii/digital-empire. 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/benjaminshafii/digital-empire/main/.opencode/skill/git-worktree/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/benjaminshafii/digital-empire

Made for: OpenCode.

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 git-worktree

README.md
[![agentmods](https://agentmods.dev/badge/skills/benjaminshafii/digital-empire/git-worktree.svg)](https://agentmods.dev/skills/benjaminshafii/digital-empire/git-worktree)
Your own site
<a href="https://agentmods.dev/skills/benjaminshafii/digital-empire/git-worktree"><img src="https://agentmods.dev/badge/skills/benjaminshafii/digital-empire/git-worktree.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 603 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00013 $0.00603
Opus 5 $0.00006 $0.00302
Sonnet 5 $0.00003 $0.00121
Haiku 4.5 $0.00001 $0.00060

Measured 7d ago against content hash 0caaac84ef60, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade C, and why

git-worktree scanned grade C 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 7d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- Do not use destructive commands (`git reset --hard`, `git checkout --`, `rm -rf`) unless explicitly requested.
.opencode/skill/git-worktree/SKILL.md · 110 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 7d ago First seen · 110 lines · 13 tokens per session scan C 0caaac84ef60

Subscribe to this mod's changes

git-worktree is a skill published in the GitHub repository benjaminshafii/digital-empire (10 stars, last pushed 7mo ago), with no licence file. It adds 13 tokens to every session and 603 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

project-session-manager

Worktree-first dev environment manager for issues, PRs, and features with optional tmux sessions.

Yeachan-Heo/oh-my-claudecode · 23 tokens

release

Generic release assistant — analyzes repo release rules, caches them in .omc/RELEASERULE.md, then guides the release.

Yeachan-Heo/oh-my-claudecode · 27 tokens

worktrees

Manage Git worktrees as OMO safe isolated coding lanes for complex, risky, or parallel work.

alvinunreal/oh-my-opencode-slim · 23 tokens

publish

Publish oh-my-opencode to npm by triggering the GitHub Actions publish workflow and verifying its artifacts. Ship-only: never runs pre-publish-review or re-reviews merged code unless the user explicitly asks. Argument: . Triggers: publish, release, deploy, npm publish.

code-yeongyu/oh-my-openagent · 68 tokens

pre-publish-review

Nuclear-grade 12-agent pre-publish release gate. Runs /get-unpublished-changes to detect all changes since last npm release, spawns up to 10 ultrabrain agents for deep per-change analysis, invokes /review-work (orchestrator manual QA plus one gate reviewer) for holistic review, and 1 oracle for overall release…

code-yeongyu/oh-my-openagent · 161 tokens

work-with-pr

Full PR lifecycle in a fresh task-owned git worktree: implement via the ulw-loop skill with mandatory evidence-bound manual QA → reviewer-readable English PR → verification loop (CI + Cubic, where Cubic is skipped only when its quota is exhausted) → merge by default → worktree cleanup. Decomposes one task into the…

code-yeongyu/oh-my-openagent · 211 tokens