specgate-project-setup

specgate-project-setup is a skill for Claude Code from thanhtung2693/specgate. It costs 37 tokens per session (1,011 once invoked), scanned C, original, Apache-2.0.

A workflow phase for setting up SpecGate in a repository, including checking its command-line tool and project configuration.

In plain words
What is it for?
Initializing SpecGate, fixing missing workspace bindings, refreshing editor integrations, and diagnosing setup failures.
Why use it?
It separates installation and configuration problems from creating specifications or doing product work.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the specgate plugin — 5 skills, 1 hook shipped together

Good fit Initializing SpecGate, fixing missing workspace bindings, refreshing editor integrations, and diagnosing setup failures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thanhtung2693/specgate/specgate-project-setup
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 thanhtung2693/specgate --skill specgate-project-setup
Clone the repo
git clone --depth 1 https://github.com/thanhtung2693/specgate

Made for: Claude Code.

Or install specgate, the plugin that ships this one along with the rest of its 5 skills, 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 specgate-project-setup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/thanhtung2693/specgate/specgate-project-setup"><img src="https://agentmods.dev/badge/skills/thanhtung2693/specgate/specgate-project-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,011 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 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.00037 $0.01011
Opus 5.5 $0.00015 $0.00404
Sonnet 5.5 $0.00007 $0.00202
Haiku 4.5 $0.00004 $0.00101

Measured 17d ago against content hash bb030bc4c28f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

specgate-project-setup scanned grade C 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 17d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://raw.githubusercontent.com/thanhtung2693/specgate/main/scripts/install-cli.sh | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/thanhtung2693/specgate/main/scripts/install-cli.sh | sh
app/cli/internal/command/local_plugin_assets/skills/specgate-project-setup/SKILL.md · 138 lines

How it starts

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

Setting Up SpecGate

Apply the SpecGate operating contract. This phase configures SpecGate; it does not create specifications or product work.

1. Ensure the CLI is available

Use the host shell's command lookup before running any SpecGate command:

command -v specgate
Get-Command specgate -ErrorAction SilentlyContinue

When lookup succeeds, run specgate --version and continue to inspect the current state.

Installing from skills.sh does not install the SpecGate CLI; it provides agent instructions only. If the command is missing on macOS, Linux, or WSL2, show the user the exact installer command and wait for explicit approval before running it:

curl -fsSL https://raw.githubusercontent.com/thanhtung2693/specgate/main/scripts/install-cli.sh | sh

A general request to set up or initialize SpecGate is not approval to download and execute the installer. On native Windows, offer WSL2 with the command above or direct the user to https://github.com/thanhtung2693/specgate/releases/latest; do not invent a PowerShell installer. After installation, run specgate --version. If lookup still fails, report the install path and PATH recovery printed by the installer.

Completion criterion: the installed CLI version is recorded, or setup is paused for explicit installer approval or native Windows installation.

2. Inspect the current state

specgate doctor --json

Use the doctor's reported state and recovery action. Initialize only when doctor reports Local setup missing. For a retired remote configuration, preserve it and use the prior compatible CLI for that deployment. For a new Local workspace, set SPECGATE_CONFIG_PATH to a separate file, unset SPECGATE_SERVER, and run specgate init outside the legacy checkout. Then return and bind it.

Completion criterion: every failing doctor check is recorded, or doctor confirms the current topology is healthy.

3. Initialize only when required

Read the full file on GitHub · 138 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. 17d ago Changed · -3 lines bb030bc4c28f
  2. 3mo ago First seen · 141 lines · 37 tokens per session scan C 31ee94e17bbe

Subscribe to this mod's changes

specgate-project-setup is a skill published in the GitHub repository thanhtung2693/specgate (6 stars, last pushed 14d ago), licensed Apache-2.0. It adds 37 tokens to every session and 1,011 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

specgate-project-setup compared with skills from other repositories

specgate-project-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
specgate-project-setupthanhtung2693/specgateSkill614d agoApache-2.0C37Claude Code
coding-agents-farmgriddynamics/rosettaSkill382yesterdayApache-2.0B32Claude Code
qa-echodash0hq/dash0-agent-pluginSkill7yesterdayApache-2.0A34Claude Code
mcp-media-inbox-triagezapier/gtm-cheat-codesSkill3674mo agoMITA43Claude Code
customer-deck-builderzapier/gtm-cheat-codesSkill3674mo agoMITA29Claude Code
coding-posturealexei-led/coding-postureSkill1619d agoMITA79Claude Code
dash0-configuredash0hq/dash0-agent-pluginSkill7yesterdayApache-2.0B81Claude Code