write-skill
write-skill is a skill in garrytan/gstack, last changed 27 Oct 2026. It can run shell commands and pre-approve tools — read the findings before installing. Our pattern check found 1 item to review at commit 6f27f0c on 27 Oct 2026.
Pattern check: 1 item to review · commit 6f27f0c · 27 Oct 2026
InstallWrite a new agent skill or improve one without bloat: the edit ladder, levels, drift and size checks, full diets. (gstack)
- Licence
- MIT
- Repo stars
- 138.0k
- Folder last changed
- 27 Oct 2026 (opens in a new tab)
- Publisher
- garrytan
- Files
- 4 files
- Checked
- 6f27f0c (opens in a new tab) · 27 Oct 2026
Install
Each tab says whether it installs commit 6f27f0c, the one we checked, or the latest version.
No tab for your agent? Use Any agent for OpenCode, Goose, Windsurf (Devin Desktop), Zed, Roo Code, Factory Droid, Junie, Amp and Antigravity, and Claude Code for Cline. Kiro needs the folder copied by hand.
Pinned to commit 6f27f0c, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&
git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/garrytan/gstack.git "$tmp" &&
git -C "$tmp" fetch -q --depth 1 origin 6f27f0c269cb33ad60b300ec10df63c2b9f296ba &&
git -C "$tmp" sparse-checkout set -- write-skill &&
git -C "$tmp" checkout -q 6f27f0c269cb33ad60b300ec10df63c2b9f296ba &&
mkdir -p .claude/skills &&
mkdir .claude/skills/write-skill &&
cp -R "$tmp"/write-skill/. .claude/skills/write-skill/ &&
rm -rf "$tmp"If Claude Code was already running and this created the skills folder, run /reload-skills.
Pinned to commit 6f27f0c, the one we checked.
Skills in the Claude apps belong to your account rather than to a project.
Make write-skill.zip, with the skill folder at the top level:
tmp="$(mktemp -d)" &&
git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/garrytan/gstack.git "$tmp" &&
git -C "$tmp" fetch -q --depth 1 origin 6f27f0c269cb33ad60b300ec10df63c2b9f296ba &&
git -C "$tmp" sparse-checkout set -- write-skill &&
git -C "$tmp" checkout -q 6f27f0c269cb33ad60b300ec10df63c2b9f296ba &&
out="$(mktemp -d)" &&
cp -R "$tmp"/write-skill "$out"/write-skill &&
(cd "$out" && zip -qr - write-skill) > write-skill.zip &&
rm -rf "$tmp" "$out"In Claude, open Customize > Skills, select +, then + Create skill > Upload a skill, and choose write-skill.zip.
On Free, Pro and Max plans, turn on Code execution and file creation (Create and edit files in newer settings) under Settings > Capabilities.
Pinned to commit 6f27f0c, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&
git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/garrytan/gstack.git "$tmp" &&
git -C "$tmp" fetch -q --depth 1 origin 6f27f0c269cb33ad60b300ec10df63c2b9f296ba &&
git -C "$tmp" sparse-checkout set -- write-skill &&
git -C "$tmp" checkout -q 6f27f0c269cb33ad60b300ec10df63c2b9f296ba &&
mkdir -p .agents/skills &&
mkdir .agents/skills/write-skill &&
cp -R "$tmp"/write-skill/. .agents/skills/write-skill/ &&
rm -rf "$tmp"Codex picks up new skills on its own; restart it if this one does not appear.
Pinned to commit 6f27f0c, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&
git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/garrytan/gstack.git "$tmp" &&
git -C "$tmp" fetch -q --depth 1 origin 6f27f0c269cb33ad60b300ec10df63c2b9f296ba &&
git -C "$tmp" sparse-checkout set -- write-skill &&
git -C "$tmp" checkout -q 6f27f0c269cb33ad60b300ec10df63c2b9f296ba &&
mkdir -p .cursor/skills &&
mkdir .cursor/skills/write-skill &&
cp -R "$tmp"/write-skill/. .cursor/skills/write-skill/ &&
rm -rf "$tmp"Pinned to commit 6f27f0c, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&
git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/garrytan/gstack.git "$tmp" &&
git -C "$tmp" fetch -q --depth 1 origin 6f27f0c269cb33ad60b300ec10df63c2b9f296ba &&
git -C "$tmp" sparse-checkout set -- write-skill &&
git -C "$tmp" checkout -q 6f27f0c269cb33ad60b300ec10df63c2b9f296ba &&
mkdir -p .github/skills &&
mkdir .github/skills/write-skill &&
cp -R "$tmp"/write-skill/. .github/skills/write-skill/ &&
rm -rf "$tmp"In a running Copilot CLI session, run /skills reload.
Or install it with gh skill, which also installs the commit we checked. Needs GitHub CLI 2.90 or later.
gh skill install garrytan/gstack write-skill/SKILL.md@6f27f0c269cb33ad60b300ec10df63c2b9f296ba --agent github-copilot --scope projectPinned to commit 6f27f0c, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&
git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/garrytan/gstack.git "$tmp" &&
git -C "$tmp" fetch -q --depth 1 origin 6f27f0c269cb33ad60b300ec10df63c2b9f296ba &&
git -C "$tmp" sparse-checkout set -- write-skill &&
git -C "$tmp" checkout -q 6f27f0c269cb33ad60b300ec10df63c2b9f296ba &&
mkdir -p .gemini/skills &&
mkdir .gemini/skills/write-skill &&
cp -R "$tmp"/write-skill/. .gemini/skills/write-skill/ &&
rm -rf "$tmp"In a running session, run /skills reload.
Or use Gemini CLI’s own installer. Installs the latest version, not the one we checked.
gemini skills install https://github.com/garrytan/gstack.git --path write-skill --scope workspacePinned to commit 6f27f0c, the one we checked.
Codex, Cursor, Copilot, VS Code, Gemini CLI, OpenCode, Goose, Amp and Zed all read .agents/skills; Claude Code and Kiro list only their own folders.
From your project's root folder:
tmp="$(mktemp -d)" &&
git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/garrytan/gstack.git "$tmp" &&
git -C "$tmp" fetch -q --depth 1 origin 6f27f0c269cb33ad60b300ec10df63c2b9f296ba &&
git -C "$tmp" sparse-checkout set -- write-skill &&
git -C "$tmp" checkout -q 6f27f0c269cb33ad60b300ec10df63c2b9f296ba &&
mkdir -p .agents/skills &&
mkdir .agents/skills/write-skill &&
cp -R "$tmp"/write-skill/. .agents/skills/write-skill/ &&
rm -rf "$tmp"Or use the skills CLI from skills.sh. Installs the latest version, not the one we checked. The skills CLI reports installs to skills.sh unless you set DISABLE_TELEMETRY=1.
npx skills@1.7.4 add garrytan/gstack --skill write-skillWhat it can touch
From the files and frontmatter at commit 6f27f0c. This is how much a skill can do, not whether it is risky.
What it can touch: Shell, network or credentials
Runs shell commands
Its instructions or files give the agent commands to run on your computer.
Pre-approves tools
Its allowed-tools field lists tools the agent may use without asking you first, in agents that honour it.
SKILL.md:12
Pattern check
Pattern check: 1 item to review · commit 6f27f0c · 27 Oct 2026
R34 · HighBroad tools pre-approved in allowed-tools
SKILL.md:12 (opens in a new tab)- Bash
We checked every text file in this skill, at commit 6f27f0c on 27 Oct 2026, against 45 published patterns such as download-and-run commands, hidden text and credential access. We don't run the skill, we don't read the web pages it points to, and we can't judge everything its instructions might lead an agent to do. In published tests, pattern checks like this one missed most malicious skills. Read the skill before you install it — especially anything it asks you to download or run.
Format check
Each agent reads SKILL.md a little differently. We check the file against each one's published rules; we don't run the skill in any agent.
Agent Skills specPasses with warnings
The open format from agentskills.io, held to what the strictest agents enforce, so one folder loads everywhere.
- Warning
Fields outside the spec: preamble-tier, version and triggers. Uploads to the Claude apps and API, and the spec's validator, reject the file; most agents ignore these fields. O1
Fix: Delete them for a portable skill, or keep them if you only target the agents that read them.
- Warning
allowed-tools is a list; the spec defines a space-separated string. gh skill publish rejects a list, though Claude Code accepts one. O5
Fix: Write it on one line: allowed-tools: Bash Read Write Edit Grep Glob AskUserQuestion
- Note
The description doesn't say when to use the skill. D6
Fix: Add a sentence such as "Use when …" naming the requests or files that should trigger it.
- Note
There is no license field, so readers can't tell whether they may reuse the skill. O2
Fix: Add license: with an SPDX name such as MIT or Apache-2.0, or the name of a bundled licence file.
- Note
Reference files over 100 lines with no table of contents at the top: sections/preamble.md (256 lines). B5
Fix: Add a short list of the sections at the top of each.
- Warning
Claude CodePasses
Claude Code reads its own extra fields, ignores unknown ones, and still loads a skill whose frontmatter is broken, without its fields.
- Note
Claude Code ignores fields it doesn't know: preamble-tier, version and triggers. O1
Fix: Check the spelling against Claude Code's field list, or delete them.
- Note
Reference files over 100 lines with no table of contents at the top: sections/preamble.md (256 lines). B5
Fix: Add a short list of the sections at the top of each.
- Note
Claude apps & API uploadFails
Uploading to claude.ai or the Claude API, or packaging with Anthropic's script, accepts only the six spec fields and stops on anything else.
- Error
Upload and packaging fail on fields outside the spec: preamble-tier, version and triggers. O1
Fix: Delete them, and keep your own data under metadata as text values.
- Note
allowed-tools is a list; the spec defines a space-separated string. O5
Fix: Write it on one line: allowed-tools: Bash Read Write Edit Grep Glob AskUserQuestion
- Note
Reference files over 100 lines with no table of contents at the top: sections/preamble.md (256 lines). B5
Fix: Add a short list of the sections at the top of each.
- Error
OpenAI (Codex & API)Passes with warnings
Codex finds SKILL.md by its exact name and needs a description; OpenAI's Skills API checks the frontmatter against the spec and caps uploads.
- Warning
Fields outside the spec: preamble-tier, version and triggers. Codex ignores them; OpenAI doesn't say whether its upload accepts them. O1
Fix: Delete them, or move your own data under metadata as text values.
- Note
allowed-tools is a list; the spec defines a space-separated string. O5
Fix: Write it on one line: allowed-tools: Bash Read Write Edit Grep Glob AskUserQuestion
- Warning
VS Code & CopilotPasses
VS Code reads skills one folder below .github/skills, .claude/skills or .agents/skills and falls back to the folder name when the name is missing or differs; GitHub's Copilot docs require the exact name SKILL.md.
- Note
VS Code ignores fields it doesn't support: preamble-tier, version and triggers. O1
Fix: Delete them unless another agent you target reads them.
- Note
allowed-tools is a list; the spec defines a space-separated string. O5
Fix: Write it on one line: allowed-tools: Bash Read Write Edit Grep Glob AskUserQuestion
- Note
SKILL.md
Files
4 files
| Path | Size |
|---|---|
| SKILL.md (opens in a new tab) | 8.5 KB |
| SKILL.md.tmpl (opens in a new tab) | 3.2 KB |
| references/diet.md (opens in a new tab) | 2.8 KB |
| sections/preamble.md (opens in a new tab) | 21.9 KB |
More from garrytan/gstack
autoplan
garrytan/gstack
Auto-review pipeline — reads the full CEO, design, eng, and DX review skills from disk and runs them sequentially with auto-decisions using 6 decision principles. (gstack)
- Adds hooks
- Touches credentials
- +5 more
Pattern check: 1 item to reviewMIT · 138.0k repo stars · Updated 27 Oct 2026
benchmark
garrytan/gstack
Web performance regression detection. (gstack)
- Runs shell commands
- Names web addresses
- +1 more
Pattern check: 1 item to reviewMIT · 138.0k repo stars · Updated 27 Oct 2026
benchmark-models
garrytan/gstack
Cross-model benchmark for gstack skills. (gstack)
- Runs shell commands
- Pre-approves tools
Pattern check: 1 item to reviewMIT · 138.0k repo stars · Updated 26 Oct 2026
canary
garrytan/gstack
Post-deploy canary monitoring. (gstack)
- Runs shell commands
- Reaches the network
- +1 more
Pattern check: 1 item to reviewMIT · 138.0k repo stars · Updated 27 Oct 2026
captain
garrytan/gstack
Run a crew of coding agents from one controller (also /crew): lanes send READY blocks and never merge; the controller merges through trains, keeps the digest, relays approvals, fixes flakes daily. (gstack)
- Runs shell commands
- Pre-approves tools
Pattern check: 1 item to reviewMIT · 138.0k repo stars · Updated 27 Oct 2026
codex
garrytan/gstack
OpenAI Codex CLI wrapper — three modes. (gstack)
- Downloads software
- Runs shell commands
- +3 more
Pattern check: 1 item to reviewMIT · 138.0k repo stars · Updated 27 Oct 2026