writing-hooks

writing-hooks is a skill for Claude Code from wayne930242/Reflexive-Claude-Code. It costs 47 tokens per session (2,364 once invoked), scanned B, original, no licence file.

A creator for Claude Code hooks, which are automatic checks or actions tied to steps in the coding workflow.

In plain words
What is it for?
Use it for linting enforcement, static analysis, pre-commit checks, or blocking code that fails defined conditions.
Why use it?
It lets teams enforce checks consistently instead of relying on the agent or developer to remember them.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the rcc plugin — 23 skills, 5 commands, 5 agents, 1 hook shipped together

Good fit Use it for linting enforcement, static analysis, pre-commit checks, or blocking code that fails defined conditions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wayne930242/reflexive-claude-code/writing-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 wayne930242/Reflexive-Claude-Code --skill writing-hooks
Clone the repo
git clone --depth 1 https://github.com/wayne930242/Reflexive-Claude-Code

Made for: Claude Code.

Or install rcc, the plugin that ships this one along with the rest of its 23 skills, 5 commands, 5 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 writing-hooks

README.md
[![agentmods](https://agentmods.dev/badge/skills/wayne930242/reflexive-claude-code/writing-hooks/github.svg)](https://agentmods.dev/skills/wayne930242/reflexive-claude-code/writing-hooks)
Your own site
<a href="https://agentmods.dev/skills/wayne930242/reflexive-claude-code/writing-hooks"><img src="https://agentmods.dev/badge/skills/wayne930242/reflexive-claude-code/writing-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 writing-hooks

Your own site · 80×15
<a href="https://agentmods.dev/skills/wayne930242/reflexive-claude-code/writing-hooks"><img src="https://agentmods.dev/badge/skills/wayne930242/reflexive-claude-code/writing-hooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,364 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00047 $0.02364
Opus 5.5 $0.00019 $0.00946
Sonnet 5.5 $0.00009 $0.00473
Haiku 4.5 $0.00005 $0.00236

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

Security

Grade B, and why

writing-hooks scanned grade B with 1 finding 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/add_hook.py), 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- prompt: "Review hook at [path/to/hook] with settings at [path/to/.claude/settings.json]"
plugins/rcc/skills/writing-hooks/SKILL.md · 270 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 270 lines · 47 tokens per session scan B 1a17f93e1b31

Subscribe to this mod's changes

writing-hooks is a skill published in the GitHub repository wayne930242/Reflexive-Claude-Code (16 stars, last pushed 3mo ago), with no licence file. It adds 47 tokens to every session and 2,364 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

writing-hooks compared with skills from other repositories

writing-hooks next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
writing-hookswayne930242/Reflexive-Claude-CodeSkill163mo agononeB47Claude Code
harnessrevfactory/harnessSkill9.4k2mo agoApache-2.0A184Claude Code
evolverevfactory/harnessSkill9.4k2mo agoApache-2.0A184Claude Code
create-requestsd0xdev/sd0x-harnessSkill1965d agoMITA112Claude Code
gh-stacksd0xdev/sd0x-harnessSkill1965d agoMITA175Claude Code
smart-rebasesd0xdev/sd0x-harnessSkill1965d agoMITA133Claude Code
remindsd0xdev/sd0x-harnessSkill1965d agoMITA157Claude Code