git-to-jj

A guide that translates Git version-control terms and tasks into their Jujutsu equivalents when working in a Jujutsu repository.

In plain words
What is it for?
It is for carrying out Git-style requests in Jujutsu repositories, including describing changes, splitting work, viewing history, and handling merges or synchronization.
Why use it?
It prevents Git habits such as staging, branching, or rebasing from leading to the wrong commands in Jujutsu, a different version-control system.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/musingfox/cc-plugins/git-to-jj
Any agent
npx skills add musingfox/cc-plugins --skill git-to-jj
Clone the repo
git clone --depth 1 https://github.com/musingfox/cc-plugins

Made for: Claude Code, Codex.

Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,624 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00153 $0.01624
Opus 5 $0.00077 $0.00812
Sonnet 5 $0.00031 $0.00325
Haiku 4.5 $0.00015 $0.00162

Measured yesterday against content hash c2f96e719dd3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

git-to-jj 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 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.

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.

jj/skills/git-to-jj/SKILL.md · 122 lines

How it starts

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

git-to-jj — Git Mental Model Translation

When a user thinks in Git terminology inside a jj repository, translate their intent into the correct jj workflow.

When to Use

Use when ALL of these conditions are met:

  1. A .jj directory exists in the project root (verify with ls -d .jj 2>/dev/null)
  2. The user uses Git-specific terminology (commit, branch, checkout, stash, etc.)
  3. The user intends to perform a VCS operation (not just discussing Git conceptually)

Do NOT use when:

  • There is no .jj directory (use actual git commands)
  • The user explicitly asks for git commands to run in a git-only repo
  • The user is already using jj terminology correctly
  • The user is discussing git concepts theoretically (not trying to do an operation)

Translation Table

Core Operations

Git Command / Concept jj Equivalent Key Difference
git add + git commit jj describe -m "msg" jj auto-tracks all files. No staging area. The working copy IS the change — just describe it.
git commit --amend jj describe -m "new msg" In jj, the working copy is always being amended. Just re-describe.
git add -p / git add <file> jj split Use split to selectively choose what goes into the current change

Branching and Navigation

Git Command / Concept jj Equivalent Key Difference
git branch <name> jj bookmark set <name> Bookmarks are jj's branches. They're just labels on changes.
git branch -d <name> jj bookmark delete <name>
git checkout <branch> jj new <bookmark> or jj edit <rev> jj new starts fresh work on top; jj edit modifies existing change
git checkout -b <name> jj new then jj bookmark set <name> Create change, then label it
git switch <branch> jj new <bookmark> or jj edit <rev> Same as checkout

Stashing and Temporary Work

Git Command / Concept jj Equivalent Key Difference
git stash jj new Just start a new change! Your work stays in the parent change. No special stash mechanism needed.
git stash pop jj squash --from <stashed-change> Squash the "stashed" work into current change
git stash list jj log All changes are visible in the log — no hidden stash stack

Read the full file on GitHub · 122 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. yesterday First seen · 122 lines · 153 tokens per session scan A c2f96e719dd3

Subscribe to this mod's changes

git-to-jj is a skill published in the GitHub repository musingfox/cc-plugins (2 stars, last pushed 2d ago), licensed MIT. It adds 153 tokens to every session and 1,624 once invoked, about $0.0008 per session on Opus 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

Other skills, from other repositories

amazon-global-selling

Evaluate and plan Amazon marketplace expansion across countries and regions. Use when a seller asks which Amazon marketplace to enter, how to compare international demand and economics, what tax, product-compliance, logistics, localization, account, or launch workstreams to investigate, or how to build a gated…

nexscope-ai/Amazon-Skills · 78 tokens

1688-Product-to-Ozon

将1688的商品铺货到俄罗斯电商平台Ozon(上架),通过Ozon官方API实现商品信息的上传和状态查询。适用于需要将单个1688的商品上架到Ozon的场景。.

LeoYeAI/openclaw-master-skills · 59 tokens

amazon-international-listings

Multi-marketplace listing management — translation, pricing localization, BIL (Build International Listings).

nexscope-ai/Amazon-Skills · 24 tokens

auditar-una-superficie

Califico una superficie de marketing específica y te doy una lista de arreglos priorizada. Elige qué auditar: la salud SEO de tu sitio, tu visibilidad en buscadores con IA como ChatGPT y Perplexity, una landing page evaluada en seis dimensiones, o un formulario que está perdiendo conversiones. Cada hallazgo está…

gethouston/houston · 84 tokens

frontend-design-deslop

Produce distinctive, non-generic UI and design applications well, working strategy-first. Identify the project (landing page, SaaS app, dashboard, ecommerce, presentation, docs, portfolio...) and its positioning and personality, commit to brand adjectives, translate into a typography and color system, then apply the…

samber/cc-skills · 223 tokens

b2c-localization

Add translations and multi-language support to B2C Commerce storefronts. Use this skill whenever the user needs to translate a storefront, add a new locale, create or edit .properties resource bundles, display translated strings in templates, format dates or currencies for different regions, or build a language…

SalesforceCommerceCloud/b2c-developer-tooling · 107 tokens