Agent skill

Worktree Lite

by sqing33 in sqing33/PTNexus

轻量 Git worktree 流程:修改前创建新 worktree、完成后输出审查摘要、明确询问用户是否合并、合并前生成“动作:修改内容”格式提交信息。Use when users want a simpler replacement for parafork or need create-review-merge flow with explicit merge approval.

No licenceAuto-check passedDevelopment

Install Worktree Lite

skills CLI
$ npx skills add sqing33/PTNexus --skill worktree-lite -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sqing33/PTNexus worktree-lite --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sqing33/PTNexus.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/worktree-lite .claude/skills/worktree-lite && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
worktree-lite
GitHub stars
151
Token cost
~691 tokens
SKILL.md length
199 words
Files
3 (incl. scripts)
Skills in repo
4
Repo updated
First seen
Licence
None found

At a glance

轻量 Git worktree 流程:修改前创建新 worktree、完成后输出审查摘要、明确询问用户是否合并、合并前生成“动作:修改内容”格式提交信息。Use when users want a simpler replacement for parafork or need create-review-merge flow with explicit merge approval.

  • Works in 6 steps: 任务涉及写入时,先用 init --topic "<问题摘要>" 创建… → 修改完成后,先在来源分支提交本次改动(必须提交后再生成提交标题推荐)。 → 执行 review,把变更摘要发给用户审查。 → …
  • Users want a simpler replacement for parafork
  • SKILL.md covers 目标, 命令入口, Commands and 默认执行流程, plus 5 more sections
  • Runs Shell scripts from its folder; calls bash and git

What it does

Worktree Lite is an agent skill from sqing33/PTNexus. 轻量 Git worktree 流程:修改前创建新 worktree、完成后输出审查摘要、明确询问用户是否合并、合并前生成“动作:修改内容”格式提交信息。Use when users want a simpler replacement for parafork or need create-review-merge flow with explicit merge approval.

Its SKILL.md is about 690 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `agents/openai.yaml` and `scripts/worktree-lite.sh`).

It sits in Development, covering Git worktrees. It works with Git. The repository describes itself as: PT Nexus 是一款支持 Docker 容器化部署、兼容多下载器与多数据库的 PT 种子聚合管理平台,可自动提取标准化种子参数、解析标题组件,智能纠错补充 MediaInfo/截图/简介等内容、适配不同站点发布规范,支持批量转种与自动推送下载器做种,还具备禁转检测、已存在种子智能匹配等机制,搭配本地文件检索、IYUU API…

When your agent uses it

  • Users want a simpler replacement for parafork
  • Need create-review-merge flow with explicit merge approval

Example prompts

  • “动作:修改内容”
  • “/worktree-lite”

Requirements

  • A Bash shell

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. 任务涉及写入时,先用 init --topic "<问题摘要>" 创建 worktree 并切换到 WORKTREE_ROOT 后再改代码。
  2. 修改完成后,先在来源分支提交本次改动(必须提交后再生成提交标题推荐)。
  3. 执行 review,把变更摘要发给用户审查。
  4. 执行 merge-options --target
  5. 用户选择 1/2/3 时,使用对应提交标题执行 merge。
  6. 用户选择 4/5 时,不执行合并。

What it can do on your machine

Read from SKILL.md and the folder at commit 53eee1f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Worktree Lite loads about 691 tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 199 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~52
When it runs · the whole SKILL.md, loaded when a task matches
~691

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 199 words (~691 tokens).

name
worktree-lite

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (scripts) in .codex/skills/worktree-lite of sqing33/PTNexus.

  • SKILL.md
  • agents/openai.yaml
  • scripts/worktree-lite.sh

Open the folder on GitHubat commit 53eee1f

Compare with similar skills

Worktree Lite next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Worktree Lite compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Worktree Lite this skillsqing33/PTNexus151—~691Automated safety check: PassNone
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Finishing A Development Branchfarm-fe/farm5.6k33 repos~1.8kAutomated safety check: PassMIT
Git Worktree Cleanuplobehub/lobehub83k—~2.8kAutomated safety check: PassCustom licence
Pre-Release PR Triagejamiepine/voicebox57k—~3.1kAutomated safety check: PassMIT
Ccmanager Configkbwo/ccmanager1.3k—~1.5kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • A skill your agent uses when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for…

    5.6k GitHub starsUsed in 33 repos~1.8k tokens
    DevelopmentAuto-check passed
  • Git Worktree Cleanup

    lobehub/lobehub

    Audits stale Git worktrees and branches with a bundled script, classifies each one, and deletes only after you approve the exact candidates.

    83k GitHub stars~2.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Pre-Release PR Triage

    jamiepine/voicebox

    Sorts a backlog of open pull requests into must-merge, candidate, superseded and deferred, writes a triage doc and works the merge loop before a release.

    57k GitHub stars~3.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Ccmanager Config

    kbwo/ccmanager

    Set up, review, or repair a CCManager config — .ccmanager.json at a git repository root, or the global ~/.config/ccmanager/config.json.

    1.3k GitHub stars~1.5k tokensUpdated 10 days ago
    DevelopmentAuto-check passed
  • Builds a Cap feature in an isolated Git worktree with disposable dev resources, verification, a recorded demo and a neutral pull request, started with /building.

    23k GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check: warnings

More from sqing33/PTNexus

  • Wsl Win Notify

    sqing33/PTNexus

    Send native Windows notifications from WSL during coding workflows.

    151 GitHub stars~590 tokensUpdated 2 mo ago
    Auto-check passed
  • 统一 PTNexus 提交标题为“动作:修改内容”格式,并基于当前改动生成可直接使用的 commit message。Use when users ask to write/optimize/format commit messages, summarize branch changes before commit, or enforce repository commit-title…

    151 GitHub stars~384 tokensUpdated 2 mo ago
    Auto-check passed
  • Server Standards

    sqing33/PTNexus

    server 修改强制工作流与规范(先读结构文档定位;新文件按分层落目录;业务日志用 logx;导出函数/Handler/Service/Repo 写中文注释;交付自检清单)。

    151 GitHub stars~1.3k tokensUpdated 2 mo ago
    Auto-check passed

Works with

Categories

Questions about Worktree Lite

What does Worktree Lite do?

轻量 Git worktree 流程:修改前创建新 worktree、完成后输出审查摘要、明确询问用户是否合并、合并前生成“动作:修改内容”格式提交信息。Use when users want a simpler replacement for parafork or need create-review-merge flow with explicit merge approval. Worktree Lite is an agent skill from sqing33/PTNexus. 轻量 Git worktree 流程:修改前创建新 worktree、完成后输出审查摘要、明确询问用户是否合并、合并前生成“动作:修改内容”格式提交信息。Use when users want a simpler replacement for parafork or need create-review-merge flow with explicit merge approval.

When should I use Worktree Lite?

Worktree Lite fits situations like: users want a simpler replacement for parafork; need create-review-merge flow with explicit merge approval.

How do I install Worktree Lite in Claude Code?

Run `npx skills add sqing33/PTNexus --skill worktree-lite -a claude-code`. Or copy the skill folder (.codex/skills/worktree-lite in sqing33/PTNexus) into .claude/skills/worktree-lite in your project. Claude Code loads it when a task matches its description.

How do I install Worktree Lite in Codex?

Run `npx skills add sqing33/PTNexus --skill worktree-lite -a codex`. Or copy the skill folder (.codex/skills/worktree-lite in sqing33/PTNexus) into .agents/skills/worktree-lite in your project. Codex loads it when a task matches its description.

Can I use Worktree Lite in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sqing33/PTNexus --skill worktree-lite -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/worktree-lite, .gemini/skills/worktree-lite, .github/skills/worktree-lite and .opencode/skills/worktree-lite in your project.

What does Worktree Lite need to run?

Going by SKILL.md and its folder, Worktree Lite needs a shell for the scripts in its folder and the command-line tools its instructions call (bash and git). Our summary lists: A Bash shell.

Does Worktree Lite access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Worktree Lite safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Worktree Lite use?

No licence was found for Worktree Lite or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Worktree Lite use?

About 691 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Worktree Lite?

Skills that share tags, products or a category with Worktree Lite: Finishing a Development Branch (obra/superpowers, 296k stars), Finishing A Development Branch (farm-fe/farm, 5.6k stars), Git Worktree Cleanup (lobehub/lobehub, 83k stars) and Pre-Release PR Triage (jamiepine/voicebox, 57k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Worktree Lite?

sqing33 (a GitHub user) maintains it in sqing33/PTNexus, which has 151 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on July 12, 2026.

Source: sqing33/PTNexus on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.