# Sw dialogue

> Sw dialogue is an open-source agent skill for writing style. Guides an AI agent to write, revise and voice screen and stage dialogue with subtext. 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/jtydhr88/screenwriting-skills/tree/main/plugins/screenwriting/skills/sw-dialogue
- **Repository:** https://github.com/jtydhr88/screenwriting-skills
- **GitHub stars:** 2,255
- **License:** MIT
- **Skill name:** sw-dialogue
- **Collection:** https://github.com/jtydhr88/screenwriting-skills
- **Categories:** [writing style](https://ai-powered.com/categories/writing-style)
- **Listing updated:** 2026-12-03

## About

This skill gives the agent a structured approach to dialogue for screen and stage, treating every line as an action that a character takes toward a goal, with subtext beneath the spoken words. It draws on several writing traditions and covers exposition, economy, pauses and silence, conflict, and comedy exchanges. The agent is directed to check lines against a set of common flaws such as on-the-nose writing, stock phrases, repeated beats, and speeches that carry no new information.

The workflow is built around scene planning. Before writing a scene, the agent works out each character's want, opposition and tactics, then breaks the exchange into beats described by action and reaction, tracking how values shift toward a turning point. It also offers tests for character voice, such as checking whether lines still sound right when the speaker's name is covered, and a diagnostic checklist for finished drafts.

The skill is a set of Markdown instructions with a reference file of worked scene analyses, and it includes no scripts. It expects the user to supply the scene, characters and draft lines, and it is written in Chinese with key terms kept in their original form.

## When your agent uses it

> Dialogue writing and revision for screen and stage (对白/台词/潜台词) — merged from Robert McKee's Dialogue (dialogue as action, said/unsaid/unsayable, exposition as ammunition, beat = action/reaction gerunds, flaws of credibility/language/content/design, character-specific vocabulary and grammar, seven scene analyses), Richard Walter (economy, subtext, argument, no small talk, no parentheticals, silence), Neill Hicks (listening, on-the-nose exceptions, energy, five-step exercise), Lu Jun (语言要美; 典雅美/通俗美, 对话三要求 动作性/性格化/潜台词), Lajos Egri (dialogue born of three-dimensional character, escalation), Blake Snyder (cover-the-names test), and screwball-comedy dialogue conventions. Use when writing or polishing dialogue, fixing on-the-nose or expository lines, giving each character a distinct voice, converting a two-hander into a trialogue, writing comedy exchanges, or cutting speeches. Chinese-opera lyrics (戏曲唱词) are in sw-chinese-opera-banqiang, not here.

## What it can access

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

- [Instructions only, no scripts](https://github.com/jtydhr88/screenwriting-skills/tree/HEAD/plugins/screenwriting/skills/sw-dialogue)
- [License: MIT](https://github.com/jtydhr88/screenwriting-skills/tree/HEAD/plugins/screenwriting/skills/sw-dialogue)

## Features

- **Dialogue as action:** Frames each line as a tactic serving a character's goal, with subtext beneath the surface.
- **Scene beat analysis:** Plans want, opposition and turning points, then breaks the exchange into action and reaction beats.
- **Dialogue diagnostics:** Checklist for on-the-nose lines, stock phrases, repetition, exposition and empty filler.
- **Distinct character voices:** Tests and methods for giving each character vocabulary, grammar and rhythm of their own.
- **Exposition techniques:** Ways to release information through conflict, withheld secrets and dramatised reveals.
- **Comedy and conflict patterns:** Covers comic timing, screwball conventions and converting two-person scenes into three-way ones.

## Good for

- Rewrite an on-the-nose line so the emotion comes through subtext
- Give two characters distinct speech patterns for a drama script
- Cut a long speech down to lines that each add new information
- Turn a stiff two-person scene into a three-way exchange
- Write a comedic argument with escalating beats and a strong final line

## Install

### Claude Code

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

```sh
/plugin marketplace add jtydhr88/screenwriting-skills
/plugin install screenwriting@screenwriting-skills
```

Or copy only this skill to `~/.claude/skills/sw-dialogue`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/jtydhr88/screenwriting-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sw-dialogue &&
cp -R "$tmp/plugins/screenwriting/skills/sw-dialogue" ~/.claude/skills/sw-dialogue &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/jtydhr88/screenwriting-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sw-dialogue &&
cp -R "$tmp/plugins/screenwriting/skills/sw-dialogue" ~/.agents/skills/sw-dialogue &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/jtydhr88/screenwriting-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sw-dialogue &&
cp -R "$tmp/plugins/screenwriting/skills/sw-dialogue" ~/.cursor/skills/sw-dialogue &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/sw-dialogue` 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/jtydhr88/screenwriting-skills.git --path plugins/screenwriting/skills/sw-dialogue
```

Or copy the folder to `~/.gemini/skills/sw-dialogue` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/jtydhr88/screenwriting-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sw-dialogue &&
cp -R "$tmp/plugins/screenwriting/skills/sw-dialogue" ~/.copilot/skills/sw-dialogue &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/jtydhr88/screenwriting-skills.git
```

Then copy `screenwriting-skills/plugins/screenwriting/skills/sw-dialogue` into your agent's skills folder as `sw-dialogue`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Sw dialogue trigger?

It is meant for writing or polishing dialogue, fixing on-the-nose or expository lines, giving characters distinct voices, converting two-hander scenes, writing comedy exchanges and cutting speeches. Chinese-opera lyrics are handled by a separate skill.

### Does Sw dialogue run any scripts or need extra tools?

No. The skill has no scripts and does not set allowed tools. It consists of instructions and a reference file of scene analyses.

### What language does Sw dialogue work in?

The skill text is in Chinese, and it instructs the agent to answer in the language of the question while keeping technical terms anchored to their original forms.

### What is the license?

The repository is published under the MIT license.

### How do I install Sw dialogue in Claude Code?

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

### Does Sw dialogue 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 Sw dialogue?

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 Sw dialogue?

The closest alternatives to Sw dialogue are Sw scene craft, Sw story structure, Chekhov dramaturgy, Sw japanese screenwriting and Sw character conflict.

## Where this comes from

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

## Alternatives

- [Sw scene craft](https://ai-powered.com/skills/sw-scene-craft): Sw scene craft is an open-source agent skill for writing style.
- [Sw story structure](https://ai-powered.com/skills/sw-story-structure): Sw story structure is an open-source agent skill for writing style.
- [Chekhov dramaturgy](https://ai-powered.com/skills/chekhov-dramaturgy): Chekhov dramaturgy is an open-source agent skill for writing style.
- [Sw japanese screenwriting](https://ai-powered.com/skills/sw-japanese-screenwriting): Sw japanese screenwriting is an open-source agent skill for writing style.
- [Sw character conflict](https://ai-powered.com/skills/sw-character-conflict): Sw character conflict is an open-source agent skill for writing style.
- [Sw sitcom comedy](https://ai-powered.com/skills/sw-sitcom-comedy): Sw sitcom comedy is an open-source agent skill for writing style.
- [Humanize writing](https://ai-powered.com/skills/humanize-writing): Humanize writing is an open-source agent skill for writing style.
- [Sw workflow](https://ai-powered.com/skills/sw-workflow): Sw workflow is an open-source agent skill for writing style.

---
Source: https://ai-powered.com/skills/sw-dialogue
