Skip to content
Skill

Writing skills

How to write SKILL.md files that trigger reliably, for any tool (open spec).

Install
Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
155
Last commit
today
License
ISC
Listing updated
today

When your agent uses it

How to write SKILL.md files that trigger reliably, for any tool (open spec).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (8 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Install

This skill ships in the nlpm plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add xiaolai/nlpm
/plugin install nlpm@xiaolai

Or copy only this skill to ~/.claude/skills/writing-skills:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xiaolai/nlpm.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/writing-skills &&
cp -R "$tmp/skills/nlpm/writing-skills" ~/.claude/skills/writing-skills &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/writing-skills inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/writing-skills to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xiaolai/nlpm.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/writing-skills &&
cp -R "$tmp/skills/nlpm/writing-skills" ~/.agents/skills/writing-skills &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/writing-skills inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/writing-skills to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xiaolai/nlpm.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/writing-skills &&
cp -R "$tmp/skills/nlpm/writing-skills" ~/.cursor/skills/writing-skills &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/writing-skills inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/xiaolai/nlpm.git --path skills/nlpm/writing-skills

Or copy the folder to ~/.gemini/skills/writing-skills yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/writing-skills:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xiaolai/nlpm.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/writing-skills &&
cp -R "$tmp/skills/nlpm/writing-skills" ~/.copilot/skills/writing-skills &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/writing-skills inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/xiaolai/nlpm.git

Then copy nlpm/skills/nlpm/writing-skills into your agent's skills folder as writing-skills. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

Writing skills FAQ

How do I install Writing skills in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/writing-skills to use it in all your projects, or to .claude/skills/writing-skills in one project. Or install the nlpm plugin, which includes it: /plugin marketplace add xiaolai/nlpm, then /plugin install nlpm@xiaolai.

Does Writing skills run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Writing skills?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

More from xiaolai/nlpm

  1. Universal NL conventions: SKILL.md open spec, AGENTS.md, vague quantifiers, naming.

    • Open source
    • 155 GitHub stars
  2. Antigravity and Gemini CLI artifact schemas: .gemini/ paths, extensions, hooks.

    • Open source
    • 155 GitHub stars
  3. Claude Code artifact schemas: plugin.json, frontmatter, hooks, settings, tools.

    • Open source
    • 155 GitHub stars
    • AI models and LLM tooling
  4. Codex CLI artifact schemas: config.toml, .codex-plugin, skills, hooks, AGENTS.md.

    • Open source
    • 155 GitHub stars
  5. Multi-agent workflow patterns: parallel dispatch, pipelines, QC gates, retries.

    • Open source
    • 155 GitHub stars
  6. NL artifact anti-patterns: vague quantifiers, bare prohibitions, oversized skills.

    • Open source
    • 155 GitHub stars