writing-skills

Decision tree and templates for building agent skills that agents actually follow. Provides three architecture tiers based on skill complexity: Tier 1 for simple single-file skills, Tier 2 for multi-concept skills, and Tier 3 for large platforms Includes specialized guides for improving existing skills: modularization, anti-rationalization (preventing agent rule-ignoring), and CSO (search optimization for LLM discovery) Offers four skill templates covering technique, reference, discipline, and pattern-based skills with standardized YAML frontmatter and naming conventions Pre-deploy checklist ensures metadata compliance, trigger keywords, and file structure before publishing

INSTALLATION
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill writing-skills
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

$2a

  • Verify Compliance:

πŸ“š Component Index

Component

Purpose

CSO

"SEO for LLMs". How to write descriptions that trigger.

Standards

File naming, YAML frontmatter, directory structure.

Anti-Rationalization

How to write rules that agents won't ignore.

Testing

How to ensure your skill actually works.

πŸ› οΈ Templates

When to Use

  • Creating a NEW skill from scratch
  • Improving an EXISTING skill that agents ignore
  • Debugging why a skill isn't being triggered
  • Standardizing skills across a team

How It Works

  • Identify goal β†’ Use decision tree above
  • Select template β†’ From references/templates/
  • Apply CSO β†’ Optimize description for discovery
  • Add anti-rationalization β†’ For discipline skills
  • Test β†’ RED-GREEN-REFACTOR cycle

Quick Example

---

name: my-technique

description: Use when [specific symptom occurs].

metadata:

  category: technique

  triggers: error-text, symptom, tool-name

---

# My Technique

## When to Use

- [Symptom A]

- [Error message]

Common Mistakes

Mistake

Fix

Description summarizes workflow

Use "Use when..." triggers only

No metadata.triggers

Add 3+ keywords

Generic name ("helper")

Use gerund (creating-skills)

Long monolithic SKILL.md

Split into references/

See gotchas.md for more.

βœ… Pre-Deploy Checklist

Before deploying any skill:

  • name field matches directory name exactly
  • SKILL.md filename is ALL CAPS
  • Description starts with "Use when..."
  • metadata.triggers has 3+ keywords
  • Total lines < 500 (use references/ for more)
  • No @ force-loading in cross-references
  • Tested with real scenarios

πŸ”— Related Skills

  • opencode-expert: For OpenCode environment configuration
  • Use /write-skill command for guided skill creation

Examples

Create a Tier 1 skill:

mkdir -p ~/.config/opencode/skills/my-technique

touch ~/.config/opencode/skills/my-technique/SKILL.md

Create a Tier 2 skill:

mkdir -p ~/.config/opencode/skills/my-skill/references/core

touch ~/.config/opencode/skills/my-skill/{SKILL.md,gotchas.md}

touch ~/.config/opencode/skills/my-skill/references/core/README.md

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills β†’

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free Β· no credit card