Git Worktree Precommit Hook Flutter Failure
divinevideo/divine-mobile
Fix git pre-commit hook failures in Flutter projects when using git worktrees.
Automate git worktree creation and copy private files (not tracked in git) to new workdirs.
$ npx skills add k8zdev/k8z --skill git-worktree-setup -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install k8zdev/k8z git-worktree-setup --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/k8zdev/k8z.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/git-worktree-setup .claude/skills/git-worktree-setup && rm -rf skills-srcUse ~/.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/
Install the "git-worktree-setup" agent skill from https://github.com/k8zdev/k8z/tree/main/.claude/skills/git-worktree-setup into .claude/skills/git-worktree-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-worktree-setup", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/k8zdev/k8z/tree/main/.claude/skills/git-worktree-setupType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add k8zdev/k8z --skill git-worktree-setup -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install k8zdev/k8z git-worktree-setup --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/k8zdev/k8z.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/git-worktree-setup .agents/skills/git-worktree-setup && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "git-worktree-setup" agent skill from https://github.com/k8zdev/k8z/tree/main/.claude/skills/git-worktree-setup into .agents/skills/git-worktree-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-worktree-setup", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add k8zdev/k8z --skill git-worktree-setup -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install k8zdev/k8z git-worktree-setup --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/k8zdev/k8z.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/git-worktree-setup .cursor/skills/git-worktree-setup && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "git-worktree-setup" agent skill from https://github.com/k8zdev/k8z/tree/main/.claude/skills/git-worktree-setup into .cursor/skills/git-worktree-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-worktree-setup", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/k8zdev/k8z.git --path .claude/skills/git-worktree-setup--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add k8zdev/k8z --skill git-worktree-setup -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install k8zdev/k8z git-worktree-setup --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/k8zdev/k8z.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/git-worktree-setup .gemini/skills/git-worktree-setup && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "git-worktree-setup" agent skill from https://github.com/k8zdev/k8z/tree/main/.claude/skills/git-worktree-setup into .gemini/skills/git-worktree-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-worktree-setup", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install k8zdev/k8z git-worktree-setupInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add k8zdev/k8z --skill git-worktree-setup -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/k8zdev/k8z.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/git-worktree-setup .github/skills/git-worktree-setup && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "git-worktree-setup" agent skill from https://github.com/k8zdev/k8z/tree/main/.claude/skills/git-worktree-setup into .github/skills/git-worktree-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-worktree-setup", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add k8zdev/k8z --skill git-worktree-setup -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install k8zdev/k8z git-worktree-setup --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/k8zdev/k8z.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/git-worktree-setup .opencode/skills/git-worktree-setup && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "git-worktree-setup" agent skill from https://github.com/k8zdev/k8z/tree/main/.claude/skills/git-worktree-setup into .opencode/skills/git-worktree-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-worktree-setup", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
git-worktree-setupAutomate git worktree creation and copy private files (not tracked in git) to new workdirs.
Git Worktree Setup is an agent skill from k8zdev/k8z. Automate git worktree creation and copy private files (not tracked in git) to new workdirs. Use when creating a new git worktree for this Flutter project that requires untracked private files like secrets.dart, Firebase configs, etc.
Its SKILL.md is about 930 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and reference files (for example `references/manifest.md` and `scripts/setup_worktree.sh`).
It sits in Development, covering Git worktrees. It works with Git, Firebase, Kubernetes and Flutter. The repository describes itself as: A lightweight, modern mobile and desktop application for manage kubernetes. Easily for use fast, secure.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 4764956. It shows what the files ask for, not the result of running them.
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.
Ships 1 file in scripts/ (Shell), which the agent can run.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
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.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Git Worktree Setup loads about 930 tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 63 tokens; SKILL.md has 350 words of instructions outside code blocks.
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.
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.
Without a licence we can't republish the file, so here is its outline and opening line. It has 350 words (~930 tokens).
“Automates the creation of git worktrees and copies untracked private files to the new work directory. This skill handles the setup process for worktrees that require development-only files not committed to git (e.g., API keys, Firebase configs).”
SKILL.md and 2 other files (scripts, references) in .claude/skills/git-worktree-setup of k8zdev/k8z.
Open the folder on GitHubat commit 4764956
Git Worktree Setup 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Git Worktree Setup this skillk8zdev/k8z | 155 | — | ~930 | Automated safety check: Pass | None | |
| Git Worktree Precommit Hook Flutter Failuredivinevideo/divine-mobile | 265 | — | ~1k | Automated safety check: Pass | MPL-2.0 | |
| Mori Agent Bridgevaayne/mori | 303 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Releasevaayne/mori | 303 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Commitmanhpham90vn/Deskhub | 133 | — | ~978 | Automated safety check: Pass | MIT | |
| Grix Code Reviewaskie/grix | 153 | — | ~799 | Automated safety check: Pass | Custom licence |
divinevideo/divine-mobile
Fix git pre-commit hook failures in Flutter projects when using git worktrees.
vaayne/mori
Use Mori CLI to enable agent-to-agent communication and coordination across Mori-managed panes.
vaayne/mori
Release workflow for Mori macOS workspace terminal and MoriRemote iOS app.
manhpham90vn/Deskhub
Write a Deskhub commit message. An agent skill from manhpham90vn/Deskhub.
askie/grix
Audit Grix diffs and pull requests for correctness, regressions, security, lifecycle safety, and cross-component contract consistency.
Eslzzyl/Pixiv-SwiftUI
Generate user-facing changelogs from git history between two versions.
Categories
Automate git worktree creation and copy private files (not tracked in git) to new workdirs. Git Worktree Setup is an agent skill from k8zdev/k8z. Automate git worktree creation and copy private files (not tracked in git) to new workdirs.
Git Worktree Setup fits situations like: creating a new git worktree for this Flutter project that requires untracked private files like secrets.dart; firebase configs.
Run `npx skills add k8zdev/k8z --skill git-worktree-setup -a claude-code`. Or copy the skill folder (.claude/skills/git-worktree-setup in k8zdev/k8z) into .claude/skills/git-worktree-setup in your project. Claude Code loads it when a task matches its description.
Run `npx skills add k8zdev/k8z --skill git-worktree-setup -a codex`. Or copy the skill folder (.claude/skills/git-worktree-setup in k8zdev/k8z) into .agents/skills/git-worktree-setup in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add k8zdev/k8z --skill git-worktree-setup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/git-worktree-setup, .gemini/skills/git-worktree-setup, .github/skills/git-worktree-setup and .opencode/skills/git-worktree-setup in your project.
Going by SKILL.md and its folder, Git Worktree Setup needs a shell for the scripts in its folder and the command-line tools its instructions call (git). Our summary lists: A Bash shell.
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.
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.
No licence was found for Git Worktree Setup or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 930 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 206 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Git Worktree Setup: Git Worktree Precommit Hook Flutter Failure (divinevideo/divine-mobile, 265 stars), Mori Agent Bridge (vaayne/mori, 303 stars), Release (vaayne/mori, 303 stars) and Commit (manhpham90vn/Deskhub, 133 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
k8zdev (a GitHub organization) maintains it in k8zdev/k8z, which has 155 GitHub stars. The repository was last updated on July 3, 2026.
Source: k8zdev/k8z on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.