# Elements of style

> Elements of style is an open-source agent skill for writing style. Makes the agent write plain, concise chat replies and well-judged documents. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/sdi2200262/elements-of-style-for-agents/tree/main/claude/skills/elements-of-style
- **Repository:** https://github.com/sdi2200262/elements-of-style-for-agents
- **GitHub stars:** 31
- **License:** CC0-1.0
- **Skill name:** elements-of-style
- **Collection:** https://github.com/sdi2200262/elements-of-style-for-agents
- **Categories:** [writing style](https://ai-powered.com/categories/writing-style)
- **Listing updated:** 2026-12-03

## About

This skill gives the agent a set of writing rules for two kinds of output: short chat replies and longer documents. For chat, it asks the agent to open with the substance of the answer, keep the reply within length ceilings that scale with the kind of reply, and follow any length the user sets. For documents, it asks the agent to identify the reader, purpose and setting first, then organize the text around the questions that reader needs answered.

The guidance also covers wording and structure. It favors everyday words, one main thought per sentence, active verbs, and claims stated at the level of certainty the evidence supports. It sets rules for headings, lists, tables and code formatting, and includes specific guidance for code comments, documentation, commit messages, pull requests, issue reports, design plans and research reports.

The skill is plain instructions with no scripts or bundled reference files. It needs no tools or external services, and the agent applies it while writing.

## When your agent uses it

> Plain-English writing for agents, covering concise, easy-to-scan chat replies and prose written for its reader and purpose. Load before writing a document or a reply longer than a few sentences, even when the user doesn't mention style.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/sdi2200262/elements-of-style-for-agents/tree/HEAD/claude/skills/elements-of-style)
- [License: CC0-1.0](https://github.com/sdi2200262/elements-of-style-for-agents/tree/HEAD/claude/skills/elements-of-style)

## Features

- **Concise chat replies:** Sets an opening-with-the-answer pattern and word ceilings for different reply types.
- **Reply-type guidance:** Shows how to open answers, work reports, reviews, plans, questions and mid-task updates.
- **Plain wording rules:** Asks for everyday words, short sentences, active verbs and no hype or invented terms.
- **Document audience planning:** Has the agent decide reader, purpose and prior knowledge before drafting.
- **Format selection:** Explains when to use prose, lists, tables, code blocks and headings.
- **Technical writing guidance:** Covers code comments, docs, commit messages, pull requests, bug reports and reports.

## Good for

- Answer a technical question in a short, direct reply
- Write a project README or setup guide that a new developer can follow
- Draft a pull request description that explains the change and its validation
- Summarize the outcome of a long coding task without listing every step
- Write a design plan that separates settled choices from open questions

## Install

### Claude Code

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

```sh
/plugin marketplace add sdi2200262/elements-of-style-for-agents
/plugin install elements-of-style@elements-of-style-for-agents
```

Or copy only this skill to `~/.claude/skills/elements-of-style`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sdi2200262/elements-of-style-for-agents.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/elements-of-style &&
cp -R "$tmp/claude/skills/elements-of-style" ~/.claude/skills/elements-of-style &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/elements-of-style` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/elements-of-style` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sdi2200262/elements-of-style-for-agents.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/elements-of-style &&
cp -R "$tmp/claude/skills/elements-of-style" ~/.agents/skills/elements-of-style &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/elements-of-style` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/elements-of-style` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sdi2200262/elements-of-style-for-agents.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/elements-of-style &&
cp -R "$tmp/claude/skills/elements-of-style" ~/.cursor/skills/elements-of-style &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/elements-of-style` inside it instead.

### Gemini CLI

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

```sh
gemini skills install https://github.com/sdi2200262/elements-of-style-for-agents.git --path claude/skills/elements-of-style
```

Or copy the folder to `~/.gemini/skills/elements-of-style` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/elements-of-style`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sdi2200262/elements-of-style-for-agents.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/elements-of-style &&
cp -R "$tmp/claude/skills/elements-of-style" ~/.copilot/skills/elements-of-style &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/elements-of-style` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/sdi2200262/elements-of-style-for-agents.git
```

Then copy `elements-of-style-for-agents/claude/skills/elements-of-style` into your agent's skills folder as `elements-of-style`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Elements of style need installed?

It is a plain SKILL.md with one file and no scripts, so it needs no extra tools or dependencies. It is loaded by the agent when writing a document or a reply longer than a few sentences.

### Does Elements of style change how the agent writes code?

It affects writing around code, such as comments, docstrings, documentation, commit messages and pull requests. It asks that comments explain behavior and decisions the code cannot make clear.

### Can the user override the default length limits?

Yes. When the user sets a length or level of detail, the skill tells the agent to follow that instead of the default ceilings.

### How do I install Elements of style in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/elements-of-style to use it in all your projects, or to .claude/skills/elements-of-style in one project. Or install the elements-of-style plugin, which includes it: /plugin marketplace add sdi2200262/elements-of-style-for-agents, then /plugin install elements-of-style@elements-of-style-for-agents.

### Does Elements of style 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 Elements of style?

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.

### What are the best alternatives to Elements of style?

The closest alternatives to Elements of style are Writing user docs, Article writing, Persuasive technical writing, Anti AI slop writing and Academic writing.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Writing user docs](https://ai-powered.com/skills/writing-user-docs): Writing user docs is an open-source agent skill for writing style.
- [Article writing](https://ai-powered.com/skills/article-writing): Article writing is an open-source agent skill for writing style.
- [Persuasive technical writing](https://ai-powered.com/skills/persuasive-technical-writing): Persuasive technical writing is an open-source agent skill for writing style.
- [Anti AI slop writing](https://ai-powered.com/skills/anti-ai-slop-writing): Anti AI slop writing is an open-source agent skill for writing style.
- [Academic writing](https://ai-powered.com/skills/academic-writing): Academic writing is an open-source agent skill for writing style.
- [Caveman](https://ai-powered.com/skills/caveman): Caveman is an open-source agent skill for writing style.
- [Unslop](https://ai-powered.com/skills/unslop-kripu77): Unslop is an open-source agent skill for writing style.
- [Antislop copywriting](https://ai-powered.com/skills/antislop-copywriting): Antislop copywriting is an open-source agent skill for writing style.

---
Source: https://ai-powered.com/skills/elements-of-style
