Skip to content
Agent Orchestration
Skill

/writing-skills

Use when creating a new skill, editing or renaming an existing skill, reviewing a skill someone else wrote, or when a skill is not triggering, is being ignored, or is being rationalised away by agents.

From plugin
godmode
12333 skills1 agent2 hooks

Claude Code

$ npx -y skills add NoobyGains/godmode --skill writing-skills --agent claude-code

SKILL.md

writing-skills.SKILL.md
name: writing-skills
description: "Use when creating a new skill, editing or renaming an existing skill, reviewing a skill someone else wrote, or when a skill is not triggering, is being ignored, or is being rationalised away by agents."

Writing Skills

A skill is code that runs on a model. Like code, it is written against a failing test: you first watch an agent get the task wrong without the skill, then write the smallest skill that fixes what you saw, then attack it until the agent stops finding ways around it. **If you never watched an agent fail without the skill, you do not know what the skill has to prevent.**

The Prime Directive

NO SKILL SHIPS WITHOUT A BASELINE FAILURE AND A VERIFIED PASS

No exceptions. No workarounds. No shortcuts.

This applies to edits too. A "small wording fix" to a discipline skill can open a loophole; re-run its scenarios.

When to Use

**Required:**

  • Writing a new skill for GodMode or for a project.
  • Changing a skill's description, Prime Directive, protocol steps or guardrails.
  • A skill that should have triggered did not, or an agent loaded it and did something else.
  • Reviewing a skill contribution.

**Skip:**

  • One-off instructions for a single project: put them in the project's agent instructions file instead.
  • Rules a machine can enforce (a lint rule, a validator check, a hook): automate them and keep the skill for judgement.
  • Fixing a typo or a dead link that changes no instruction. Run the validator and move on.

What Makes a Skill Worth Writing

Write a skill when the technique is not obvious to a capable model, applies across projects, and agents get it wrong without help. Three kinds:

| Kind | Example | How to test it | |---|---|---| | Discipline (a rule agents are tempted to break) | test-first, completion-gate | Pressure scenarios: does the agent comply when it wants not to? | | Technique (a method with steps) | fault-diagnosis, performance-tuning | Application scenarios: does the agent apply it correctly to a new case? | | Reference (facts to look up) | platform command tables | Retrieval scenarios: does the agent find and use the right entry? |

The Protocol

1. **RED: capture the baseline failure.** Write three or more realistic scenarios for the behaviour the skill should produce (method and templates in [references/testing-skills.md](references/testing-skills.md)). Dispatch a fresh subagent per scenario with no access to the skill, or run the harness's eval tooling with a no-skill baseline. Record what each agent did and its rationalisations word for word. If the agents already behave correctly, stop: the skill is not needed.

2. **Write the description** from the triggers you observed (rules below), not from what the skill does.

3. **GREEN: write the smallest skill that fixes the observed failures**, using the GodMode template below. Address each recorded rationalisation explicitly; do not add rules for failures you did not see.

4. **Run the validator** from the repository root and fix every error for your skill:

   node scripts/validate.js

The validator is the acceptance test for form: frontmatter, quoting, section order, length, cross-references, links and tool coupling. A skill with validator errors is not finished, whatever the scenarios say.

5. **Verify GREEN.** Run the same scenarios with the skill available. The agent must choose the right action and cite the skill's sections as its reason. Save the transcripts or the eval report.

6. **REFACTOR: close loopholes.** Run harder scenarios (three or more combined pressures). For every new rationalisation, add an explicit counter: a sentence in the protocol, a row in Cognitive Traps, an item in Guardrails, and, if it reveals a new trigger, a phrase in the description. Re-run until no new rationalisation appears.

7. **Check triggering separately.** Give a fresh agent a task that should trigger the skill without naming it, and one that should not. The skill must load for the first and stay out of the second.

8. **Record the evidence** in the pull request: the baseline failures, the passing runs, the rationalisations you countered, and the validator line.

The GodMode Template

Every SKILL.md follows this shape. The description is wrapped in double quotes so YAML never misreads a colon in it.

---
name: <directory-name>
description: "Use when <triggering situations only; no workflow summary; third person; under 400 characters>"
---

# <Title>

<Overview: 2-4 sentences. What this skill is for and the **core principle** in bold.>

## The Prime Directive

<ONE LINE, CAPITALS, THE RULE THAT CANNOT BE BROKEN>


No exceptions. No workarounds. No shortcuts.

## When to Use

**Required:** <bullets>
**Skip:** <bullets>

## The Protocol

<Numbered steps the agent follows. Add a dot digraph only where the flow genuinely branches. Each step says what to do and what evidence it leaves behind.>

<Optional H2 sections specific to the skill: templates, checklists, decision tables.>

## Cognitive Traps

| Rationalisation | Truth |
|---|---|
| <at least five rows> | |

## Guardrails

**Never:** <bullets>
**Always:** <bullets>

## Connections

- `godmode:<skill>`: <when this skill hands off to it or depends on it>
````

Form rules the validator enforces:

- `name` equals the directory name: lowercase letters, digits and single hyphens.
- The four sections The Prime Directive, When to Use, Cognitive Traps and Guardrails exist and appear in that order.
- 120 to 350 lines. Move tables, long examples and per-platform detail into `references/*.md` in the skill directory, linked with a relative link; every linked file must exist. Reference files over about 100 lines start with a short contents line, and references stay one level deep.
- Under 20,000 bytes, with The Prime Directive and The Protocol inside the first 8,000. After a compaction the harness keeps only the start of each invoked skill (Claude Code: the first 5,000 t
Read more
@noobygains
Ships withgodmode

Engineering discipline for AI coding agents: question the request, verify against current docs, plan, build test-first on the cheapest capable model, review with a second model family, prove it before saying done. One repo for Claude Code, Codex, Antigravity, Cursor, Gemini CLI and OpenCode.

12333 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
123
Star history of NoobyGains/godmode on GitHub, a chart by star-history.com

Other skills on godmode.

agent-briefing

agent-briefing

Use when writing a prompt for a subagent or teammate, deciding how much context another agent needs, writing or reading a handoff…

@noobygains@noobygainsInstall Skill
code-review

code-review

Use when a task, feature or bug fix is implemented and before it is committed, merged or handed back to the user, and when the…

@noobygains@noobygainsInstall Skill
codebase-conventions

codebase-conventions

Use when about to add or change code in an existing codebase: a new file, module, route, component, service, test, migration,…

@noobygains@noobygainsInstall Skill
completion-gate

completion-gate

Use when about to say that work is done, fixed, passing, working, deployed or ready, before committing, opening or merging a pull…

@noobygains@noobygainsInstall Skill
cross-model-review

cross-model-review

Use when a reviewed change is about to land on a shared branch, be released or be deployed, and when the user asks for a second…

@noobygains@noobygainsInstall Skill
delegated-execution

delegated-execution

Use when a written implementation plan is ready to execute in the current session and its tasks are mostly independent, so each…

@noobygains@noobygainsInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca1d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip2d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about writing-skills.

Which coding agents can use writing-skills?
writing-skills installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.