quinotospec-worktree

quinotospec-worktree is a skill for Cursor from Quinoto-Tech/QuinotoSpec. It costs 30 tokens per session (1,651 once invoked), scanned D, original, MIT.

A Git worktree guide for making changes in a separate working directory. A worktree is an additional checkout of the same Git repository, isolated from the current files.

In plain words
What is it for?
Use it when an implementation requests a separate worktree, including validating branch names and paths and reusing an existing isolated checkout when safe.
Why use it?
It reduces the risk of mixing a task with existing changes and checks that the starting revision is clean before work begins.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

Part of the quinotospec plugin — 90 skills, 9 agents, 1 hook shipped together

Good fit Use it when an implementation requests a separate worktree, including validating branch names and paths and reusing an existing isolated checkout when safe.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/quinoto-tech/quinotospec/quinotospec-worktree
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.

Any agent
npx skills add Quinoto-Tech/QuinotoSpec --skill quinotospec-worktree
Clone the repo
git clone --depth 1 https://github.com/Quinoto-Tech/QuinotoSpec

Made for: Cursor.

Or install quinotospec, the plugin that ships this one along with the rest of its 90 skills, 9 agents, 1 hook.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/quinoto-tech/quinotospec/quinotospec-worktree"><img src="https://agentmods.dev/badge/skills/quinoto-tech/quinotospec/quinotospec-worktree.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,651 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 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.00030 $0.01651
Opus 5.5 $0.00012 $0.00660
Sonnet 5.5 $0.00006 $0.00330
Haiku 4.5 $0.00003 $0.00165

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

Security

Grade D, and why

quinotospec-worktree scanned grade D with 2 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

1. No uses `chmod 777`, escalamiento de privilegios ni una ruta compartida.

Recursive force deletehighDestructive command

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

- No ejecutes `git push`, `git merge`, `git worktree remove`, `git worktree prune`, `git branch -D`, `rm -rf` ni limpieza automática.
agent-dist/skills/quinotospec-worktree/SKILL.md · 135 lines

How it starts

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

Skill: QuinotoSpec Worktree

Usa esta skill cuando quinotospec.apply solicite USE_WORKTREE=true o cuando el usuario pida aislar una implementación en un worktree Git. La skill es prompt-only: valida y guía las operaciones, pero no debe inventar una API nativa ni ocultar errores del proyecto.

Índice

Contrato de entrada

  • TASK_ID: tarea canónica ya resuelta por Apply.
  • BRANCH_NAME: nombre de branch ya resuelto por Apply.
  • BASE_REF: referencia base explícita; no la adivines si el repositorio no la define.
  • USE_WORKTREE: booleano; por defecto false.
  • WORKTREE_PATH: ruta opcional; si falta, selecciona la primera ubicación segura según la prioridad de este documento.

Valida los valores contra el repositorio antes de usarlos. Rechaza rutas con .., separadores inesperados, saltos de línea, NUL y nombres de branch que no cumplan la convención del proyecto. No uses eval.

Flujo de decisión

Step 0: Detectar aislamiento existente

Desde la raíz del repositorio, ejecuta:

repo_root=$(git rev-parse --show-toplevel)
git_dir=$(git rev-parse --git-dir)
git_common=$(git rev-parse --git-common-dir)

Normaliza las tres rutas a rutas absolutas antes de compararlas. Si GIT_DIR != GIT_COMMON, el checkout ya es un linked worktree: no crees otro, reutiliza el contexto existente y registra la ruta y el branch actuales.

Si el directorio no es un repositorio Git, detén el flujo y reporta el bloqueo.

Step 1: Preferir herramientas nativas

  1. Detecta si el IDE o agente expone una herramienta nativa de worktree.
  2. Pásale la raíz, TASK_ID, BRANCH_NAME, BASE_REF y la ruta solicitada.
  3. Verifica el resultado con git rev-parse --show-toplevel, git status --short, git branch --show-current y la comparación GIT_DIR/GIT_COMMON.
  4. Solo continúa si la herramienta devuelve un checkout aislado y verificable.

Read the full file on GitHub · 135 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 First seen · 135 lines · 30 tokens per session scan D 43d900717a48

Subscribe to this mod's changes

quinotospec-worktree is a skill published in the GitHub repository Quinoto-Tech/QuinotoSpec (21 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 1,651 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-26.