agentleFS
skyf0xxskyf0xx/hedgehog/skills/hedgehog-writing-gate/SKILL.md

hedgehog-writing-gate

Skill43 starsChanged 4 months agoMITView on GitHub

Use when the user asks to write, draft, or edit a standalone piece of prose — an article, essay, blog post, tweet, thread, newsletter, announcement, email, pitch, or other copy — and the request does not already name "Hedgehog". Length is not the test: a tweet qualifies the same as an essay. Does not apply to a question about existing code, a bug, a one-off script, or a request that already names Hedgehog (that goes to the `hedgehog` skill instead) or a project that already has `.hedgehog/` (its own installed skills own that session).

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the request already names Hedgehog, this skill does not apply — use the hedgehog skill directly instead, which already carries the …

    line 33
  2. Distinctive:

    Does not apply, and stay silent, when:

    line 37
  3. Distinctive:

    Don't re-ask; carry on with plain writing for the rest of the session.

    line 46
  4. Distinctive:

    Ask one direct question before drafting anything:

    line 50
  5. Very specific:

    Don't bundle other questions into this offer (stack, tone, length, audience) — ask about the gate alone, the same restraint the …

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Hedgehog writing gate

A small root skill whose only job is to catch a write-prose request that never says the word "Hedgehog," so the offer doesn't depend on the SessionStart hook's one-time injection still being salient by the time the request actually arrives.

Why this exists

The SessionStart hook injects the Hedgehog offer once, at session start. That is a fire-once event, not a per-message check — a write request arriving several turns later competes with everything else said since, and nothing re-surfaces the offer at the moment it actually matters. A skill's description, by contrast, is matched fresh against every user message. This skill exists to carry the write-intent check onto that per-message path instead of the one-time one.

Scope

Applies only when both are true:

  • The request's deliverable is a standalone piece of writing — article, essay, blog/LinkedIn/social post, tweet or thread, newsletter, product announcement, email, pitch, or similar. Editing, tightening, or fixing existing copy counts too.
  • The request does not itself name "Hedgehog" anywhere.

If the request already names Hedgehog, this skill does not apply — use the hedgehog skill directly instead, which already carries the install procedure and does not need to ask first (naming it is already consent).

Does not apply, and stay silent, when:

  • the project already has a .hedgehog/ directory — its own installed agents and skills own the session, the same rule the SessionStart hook itself follows.
  • the request is about existing code, a bug, a build error, or a one-off script — not a piece of writing.
  • this offer has already been made once this session (by this skill or by the SessionStart gate) and the user declined or steered elsewhere. Don't re-ask; carry on with plain writing for the rest of the session.

What to do

Ask one direct question before drafting anything:

Want me to run this through Hedgehog's copywriting gate (checks for AI-tell and prose quality before it ships), or write it directly?

Then:

  • User picks Hedgehog, or answers with anything read as a yes — invoke the hedgehog skill and follow it. Do not re-derive the install procedure here; that skill owns it.
  • User picks direct, or declines — write the piece directly, without the gate. Do not ask again this session.

Don't bundle other questions into this offer (stack, tone, length, audience) — ask about the gate alone, the same restraint the SessionStart text applies to its own offer.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.