gsd-core-hooks

gsd-core-hooks is a skill for Claude Code from The-Artificer-of-Ciphers-LLC/skills-from-the-artificer. It costs 213 tokens per session (1,092 once invoked), scanned A, original, MIT.

A collection of automated hooks that enforce project workflow rules before and after tools run.

In plain words
What is it for?
It helps gate pushes and pull requests on a passing test verdict for the exact commit, prevent disallowed local test commands, and enforce project-specific workflow safeguards.
Why use it?
It replaces easy-to-forget written instructions with checks that verify test results, commit identity, code discovery, and required work artifacts.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Good fit It helps gate pushes and pull requests on a passing test verdict for the exact commit, prevent disallowed local test commands, and enforce project-specific workflow safeguards.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/the-artificer-of-ciphers-llc/skills-from-the-artificer/gsd-core-hooks
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 The-Artificer-of-Ciphers-LLC/skills-from-the-artificer --skill gsd-core-hooks
Clone the repo
git clone --depth 1 https://github.com/The-Artificer-of-Ciphers-LLC/skills-from-the-artificer

Made for: Claude Code.

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 gsd-core-hooks

README.md
[![agentmods](https://agentmods.dev/badge/skills/the-artificer-of-ciphers-llc/skills-from-the-artificer/gsd-core-hooks/github.svg)](https://agentmods.dev/skills/the-artificer-of-ciphers-llc/skills-from-the-artificer/gsd-core-hooks)
Your own site
<a href="https://agentmods.dev/skills/the-artificer-of-ciphers-llc/skills-from-the-artificer/gsd-core-hooks"><img src="https://agentmods.dev/badge/skills/the-artificer-of-ciphers-llc/skills-from-the-artificer/gsd-core-hooks/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 gsd-core-hooks

Your own site · 80×15
<a href="https://agentmods.dev/skills/the-artificer-of-ciphers-llc/skills-from-the-artificer/gsd-core-hooks"><img src="https://agentmods.dev/badge/skills/the-artificer-of-ciphers-llc/skills-from-the-artificer/gsd-core-hooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 213 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,092 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00213 $0.01092
Opus 5 $0.00106 $0.00546
Sonnet 5 $0.00043 $0.00218
Haiku 4.5 $0.00021 $0.00109

Measured 8d ago against content hash 215ce60f19ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

gsd-core-hooks scanned grade A with 0 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 8d ago.

The scan reads SKILL.md. This mod also ships 16 executable files (hooks/block-local-node-test.sh, hooks/emitted-cjs-read-guard.cjs, hooks/gsd-async-poll-guard.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

gsd-core-hooks/SKILL.md · 61 lines

How it starts

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

gsd-core-hooks

A rule an agent can read once and forget is not enforced — it's remembered, which is a different thing.

What this is

The .claude/hooks/ directory from one real project (gsd-core), lifted wholesale. Every file here exists because a specific incident happened first and the hook was written afterward to close the gap — the header comment on each script names the incident, the date, and the exact failure mode. This is not a designed-in-advance framework; it is a project's actual scar tissue, in installable form.

It backs the rules stated in ../commands/ (bug-fixer.md, feature-builder.md, triage-review.md, test.md) — those files say things like "gsd-test MUST exit 0 before any git push" and "NEVER run node --test locally"; the hooks in this folder are what make those true regardless of whether the agent remembers reading them.

The three failure classes it guards against

  1. Self-attestation. "I ran the tests" / "the review passed" is cheap to claim and expensive to check by hand. pre-pr-gate.sh + record-gsd-verdict.sh bind a push/PR action to a machine-read verdict line for the exact commit sha being shipped — not "tests passed at some point," but "tests passed for this sha, recorded by the one sanctioned writer, checked at the moment of push."
  2. Prose that goes stale mid-session. A directive is read once, at the start, then hours of tool calls go by with nothing re-presenting it. gsd-phase-gate.cjs is the original, project-specific incident behind this project's separately-shipped ../artifact-gates/ engine — see the note in this folder's README.md before installing both.
  3. Harness ceiling false-negatives. A backgrounded or foregrounded long-running dispatch dies at the tool harness's own timeout (commonly 600000ms) with no distinguishing signal from a real failure — and a pgrep -f "<cmd>" waiter can match its own argv and spin forever even after the watched job finished. gsd-async-poll-guard.sh, gsd-foreground-poll-guard.sh, gsd-pgrep-waiter-guard.sh, gsd-bench-pin-guard.sh, and gsd-test-single-flight-guard.sh each close one verified instance of this.

Read the full file on GitHub · 61 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. 8d ago First seen · 61 lines · 213 tokens per session scan A 215ce60f19ff

Subscribe to this mod's changes

gsd-core-hooks is a skill published in the GitHub repository The-Artificer-of-Ciphers-LLC/skills-from-the-artificer (4 stars, last pushed 10d ago), licensed MIT. It adds 213 tokens to every session and 1,092 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories

ci-cd

Use when building or fixing a delivery pipeline. Covers pipeline structure, caching, test parallelization, deployment strategies, secrets, and making the pipeline fast enough that people do not route around it.

nimadorostkar/Claude-Skills-collection · 42 tokens

offensive-fuzzing

Practical offensive fuzzing methodology covering target identification, fuzzer selection (AFL++, libFuzzer, Honggfuzz, Boofuzz, syzkaller), harness writing, corpus curation, mutation strategies, coverage measurement, and crash triage. Use when setting up or running fuzz campaigns against any target: file parsers…

SnailSploit/Claude-Red · 91 tokens

offensive-business-logic

Business logic vulnerability testing for web/mobile/API engagements. Covers workflow bypass, state machine violations, multi-step process abuse, price/quantity/discount manipulation, currency confusion, coupon stacking, refund/chargeback abuse, race conditions on logic boundaries, parameter tampering for hidden flows…

SnailSploit/Claude-Red · 135 tokens

offensive-race-condition

Race condition (TOCTOU) testing checklist: identifying timing windows, Burp Suite Turbo Intruder, Last-Byte sync technique, rate limit bypass, double-spend attacks, and concurrent request exploitation. Use for web app race condition testing or bug bounty time-of-check-to-time-of-use bugs.

SnailSploit/Claude-Red · 0 tokens

smoke-test

Launch the app and hands-on verify that it works by interacting with it. Falls back to an existing integration test suite when there is no interactive surface in scope. Use when the user asks to "smoke test", "test it manually", "verify it works", "try it out", "run a smoke test", "check it in the browser", or "does…

tobihagemann/turbo · 88 tokens

exploratory-test

Execute multi-level exploratory testing of the app covering basic functionality, complex operations, adversarial testing, and cross-cutting scenarios, plus usability observations through a UX lens reported separately from defects. Deeper than /smoke-test. Use when the user asks to "exploratory test", "test…

tobihagemann/turbo · 106 tokens