Skip to content

Rules for an AI coding agent to filter out generic AI-generated UI designs, text, and code.

v3.2.10: GitHub Copilot, a shared-folder installer, and R-02 scoped through R-37

miqdadbadjuberd8529a6c8c00
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index 39b3ba4..16870e3 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -8,7 +8,7 @@
{
"name": "antislop",
"source": "./",
- "version": "3.2.9",
+ "version": "3.2.10",
"description": "Anti Slop: Rules for AI Coding Agents. Stops generic AI slop in generated UI, copy, and code. Loads as six skills."
}
]
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
index 8900ee4..0214857 100644
--- a/.claude-plugin/plugin.json
+++ b/.claude-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "antislop",
"displayName": "antislop",
- "version": "3.2.9",
+ "version": "3.2.10",
"description": "Anti Slop: Rules for AI Coding Agents. Stops generic AI slop in generated UI, copy, and code. Loads as six skills.",
"author": {
"name": "miqdadbadjuber"
diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json
index 08d0ab6..fdf6b79 100644
--- a/.codex-plugin/plugin.json
+++ b/.codex-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "antislop",
- "version": "3.2.9",
+ "version": "3.2.10",
"description": "Anti Slop: Rules for AI Coding Agents. Stops generic AI slop in generated UI, copy, and code. Loads as six skills.",
"author": {
"name": "miqdadbadjuber"
diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.json
index b582cee..a2ba091 100644
--- a/.cursor-plugin/plugin.json
+++ b/.cursor-plugin/plugin.json
@@ -2,7 +2,7 @@
"name": "antislop",
"displayName": "antislop",
"description": "Anti Slop: Rules for AI Coding Agents. Stops generic AI slop in generated UI, copy, and code. Loads as six skills.",
- "version": "3.2.9",
+ "version": "3.2.10",
"author": {
"name": "miqdadbadjuber"
},
diff --git a/GUIDE.md b/GUIDE.md
index ceaee6d..faa08fa 100644
--- a/GUIDE.md
+++ b/GUIDE.md
@@ -36,7 +36,7 @@ There are four routes in, and the difference between them matters more than it l
| Route | What it does | Works on |
|-------|--------------|----------|
-| **The installer** | Copies the skill folders into your project or your home folder | Seven agents, no setup beyond a terminal |
+| **The installer** | Copies the skill folders into your project or your home folder | Eight agents, no setup beyond a terminal |
| **The skills directory** | Copies the same folders using the skills.sh tool | The agents that directory supports |
| **A plugin door** | Loads antislop straight from this repository, nothing copied | Claude Code, Antigravity, Codex, Cursor |
| **The single file** | One Markdown file you hand to any AI | Anything that reads text, including a phone |
@@ -45,7 +45,7 @@ Pick one. They load the same rules, so adding a second only gives you a second t
### Which route should I pick?
-- **The installer** if you want antislop in one project or everywhere, and you use any of the seven agents. It is the only route that covers OpenCode, Gemini CLI, and Hermes, and the only one that detects your agents for you.
+- **The installer** if you want antislop in one project or everywhere, and you use any of the eight agents. It is the only route that covers OpenCode, Gemini CLI, Hermes, and GitHub Copilot, and the only one that detects your agents for you.
- **The skills directory** if you already use that directory's tool and want the folders without the installer's questions. It writes no pointer, so antislop reloads by description alone.
- **A plugin door** if you use Claude Code, Antigravity, Codex, or Cursor and would rather not keep a copy in your project. You get updates from the plugin's own update command instead of re-running an installer.
- **The single file** if you have no terminal, or you want antislop in a chat window or on a phone.
@@ -359,10 +359,17 @@ The installer writes into the folder your agent reads. This is what it writes an
| Cursor | `.cursor/skills/` |
| Gemini CLI | `.gemini/skills/` |
| Hermes | `.hermes/skills/` |
+| GitHub Copilot | `.agents/skills/` |
-A global install writes the same folder under your home directory, with two exceptions. OpenCode documents its global skills folder as `~/.config/opencode/skills/`, so the installer writes there rather than to `~/.opencode/skills/`, which OpenCode still reads but does not document. Antigravity reads a project's `.agents/skills/`, but under your home directory it reads `~/.gemini/config/skills/` and not `~/.agents/skills/`, so the installer writes there on a global install.
+A global install writes the same folder under your home directory, with two exceptions. OpenCode documents its global skills folder as `~/.config/opencode/skills/`, so the installer writes there rather than to `~/.opencode/skills/`, which OpenCode still reads but does not document. Antigravity reads a project's `.agents/skills/`, but under your home directory it reads `~/.gemini/config/skills/` and not `~/.agents/skills/`, so the installer writes there on a global install. Copilot is the one agent that does read the home-level `.agents/skills/`, so a global install reaches it through the folder name a project install uses.
-On a project install the installer also writes the pointer that reloads antislop every session: into the project's `AGENTS.md` for Codex, Antigravity, OpenCode, Cursor, and Hermes, into `CLAUDE.md` for Claude Code, and into `GEMINI.md` for Gemini CLI. For OpenCode that is the whole mechanism: it loads the skill folders from `.opencode/skills/` and reads the pointer from `AGENTS.md`, which was verified against the opencode CLI.
+Antigravity and Copilot share `.agents/skills/`. Copilot also reads `.github/skills/` and `.claude/skills/`, but there is no reason to write a second copy, so picking both installs once.
+
+**One agent reading two of these is a problem.** OpenCode loads skills from `.opencode/skills/`, `.claude/skills/`, and `.agents/skills/`, and its documentation asks that skill names be unique across every location while never saying which copy wins if they are not. So if you install for OpenCode and for Claude Code, or for OpenCode and for Antigravity, the same skill names land in two folders it reads. The installer names that when it happens, and the fix is to remove the copy you do not need, usually the `.opencode/skills/` one, since OpenCode reads the other folder by its own documentation.
+
+On a project install the installer also writes the pointer that reloads antislop every session: into the project's `AGENTS.md` for Codex, Antigravity, OpenCode, Cursor, Hermes, and Copilot, into `CLAUDE.md` for Claude Code, and into `GEMINI.md` for Gemini CLI. For OpenCode that is the whole mechanism: it loads the skill folders from `.opencode/skills/` and reads the pointer from `AGENTS.md`, which was verified against the opencode CLI.
+
+**Claude Code reads `AGENTS.md` too, since v2.1.277.** antislop still writes `CLAUDE.md` for it, because the two are not equal: Claude reads `AGENTS.md` only when no `CLAUDE.md` or `CLAUDE.local.md` exists in the working directory or any directory above it. In a project that has one, an `AGENTS.md`-only pointer would be ignored without an error. The setting under **Project instructions** in `/config` can change that, and `AGENTS.md` is not read at all on Bedrock, Vertex, or Foundry.
**Hermes needs one more step.** Hermes reads a project's `.hermes/skills/`, and a project's skills outrank your global ones, but it will not load skills out of a cloned repository until you say that repository is yours. After a project install, run this once in that project:
diff --git a/README.md b/README.md
index 9e41e08..eda6f71 100644
--- a/README.md
+++ b/README.md
@@ -141,10 +141,13 @@ Every skill is a folder of the open Agent Skills standard (`<name>/SKILL.md`), s
| Cursor | `.cursor/skills/` |
| Gemini CLI | `.gemini/skills/` |
| Hermes | `.hermes/skills/` |
+| GitHub Copilot | `.agents/skills/` |
The Gemini CLI row is legacy support: Antigravity replaced it, but the installer still writes there for existing setups.
-Those are the project paths. A global install writes the same folder under your home directory, with two exceptions: OpenCode writes to `~/.config/opencode/skills/`, and Antigravity to `~/.gemini/config/skills/`.
+Antigravity and Copilot share one folder. Copilot also reads `.github/skills/` and `.claude/skills/`, but the installer writes the folder they have in common, so picking both installs antislop once.
+
+Those are the project paths. A global install writes the same folder under your home directory, with two exceptions: OpenCode writes to `~/.config/opencode/skills/`, and Antigravity to `~/.gemini/config/skills/`. Copilot is the one agent that also reads the home-level `.agents/skills/`.
Hermes needs one extra step after a project install: it will not load skills out of a cloned repository until you run `hermes skills trust` once in that project.
@@ -186,14 +189,14 @@ antislop is used one of two ways, chosen at the start of a session:
## Roadmap
-**v3.2.9** is the current release.
+**v3.2.10** is the current release.
-- **Hermes gains its project scope.** The installer now writes `<project>/.hermes/skills/` and the `AGENTS.md` pointer, because Hermes does read a project's skills and ranks them above the global ones. It will not load skills out of a cloned repository until you say that repository is yours, so the installer names the one-time `hermes skills trust` step.
-- **The install documentation is rewritten end to end.** Both routes now run from opening a terminal to a verified install, every route documents updating and removing, and the phone and chat-window route is written down for the first time.
-- **Cursor's install command is corrected.** `/add-plugin <url>` was never a Cursor command; the documented route is `agent plugin marketplace add <url>`, then Install in the Customize panel.
-- **The installer's conflict prompt is clearer.** It now says which choice updates and which one quietly leaves the old version in place.
-- **Two content fixes came out of a live generate-test.** **Eyebrow Badge Above the Headline** earns a name: a pill parked above the H1 holding a category label the headline already says. The core also now states that direction resolution (R-37), asset clarification (R-23), and the Delivery Gate run in both modes, whichever other skill or planning workflow is leading the session.
-- **The README gains a comparison section.** One brief generated four times over, then before-and-after pairs for copy and code.
+- **GitHub Copilot is an installer target.** It loads skills from `.github/skills`, `.claude/skills`, or `.agents/skills`, so it shares the `.agents/skills` folder other agents already use and reads the same `AGENTS.md` pointer. No new folder, no new file. GitHub's skill support is young, so treat this door as early.
+- **The installer stops writing the same skills twice.** Agents that share a folder now share one install instead of one each, and the conflict prompt counts folders rather than agents, so it stops reporting more folders than exist.
+- **OpenCode gets told about a collision.** OpenCode reads `.opencode/skills`, `.claude/skills`, and `.agents/skills` at once and documents no precedence between them. When two of those hold antislop, the installer now names both instead of leaving you to find a missing skill later.
+- **Claude Code and `AGENTS.md`.** Since v2.1.277 Claude Code reads `AGENTS.md` when a project has no `CLAUDE.md`. antislop keeps writing `CLAUDE.md`, because a `CLAUDE.md` anywhere above the working directory makes Claude ignore `AGENTS.md` entirely.
+- **Copilot has no plugin door.** The roadmap promised a marketplace command; there is none to ship, because Copilot Extensions in the GitHub Marketplace are applications rather than repo manifests.
+- **R-02 stops contradicting itself.** The core called the em dash ban absolute, while `antislop-copywriting` excepted a user's own voice in three places, so the most recognisable AI tell could survive the filter. R-02 now scopes the ban to text the agent writes, and a user's sample goes through R-37 instead: name it, ask, never decide silently.
Every earlier release, and what comes next, is in [ROADMAP.md](ROADMAP.md).
@@ -207,7 +210,7 @@ No, a filter. It does not prescribe colors, fonts, or layouts. It rejects techni
All of them, but the install paths differ:
-- **The installer and the skills directory** support Claude Code, Codex, Antigravity, OpenCode, Cursor, Gemini CLI, and Hermes (the installer detects each agent's skill folder). These are the recommended paths.
+- **The installer and the skills directory** support Claude Code, Codex, Antigravity, OpenCode, Cursor, Gemini CLI, Hermes, and GitHub Copilot (the installer detects each agent's skill folder). These are the recommended paths.
- **The plugins** are per-agent doors: the Claude Code marketplace plugin (path 3), the Antigravity plugin (path 4), the Codex plugin (path 5), and the Cursor plugin (path 6), all installed from the same repo.
- **The single file** (`antislop.md`) works with any agent that reads plain Markdown, including a plain chat window.
diff --git a/ROADMAP.md b/ROADMAP.md
index c5e7aa1..5b5b977 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -4,13 +4,13 @@
## Where we are
-The latest release is **v3.2.9**. antislop is a **packaged system**: a lean, always-loaded core plus five additive skills, each shipped as a standard agent skill folder (`skills/<name>/SKILL.md`). There are no per-skill READMEs.
+The latest release is **v3.2.10**. antislop is a **packaged system**: a lean, always-loaded core plus five additive skills, each shipped as a standard agent skill folder (`skills/<name>/SKILL.md`). There are no per-skill READMEs.
- **The core: 38 rules** across three tiers (Hard Gate, Purpose-Gate, Quality Locks), a Liveliness Toolkit, a mandatory Delivery Gate, and two usage modes (During / After). The count has held since v2.2 and the tiers have not moved, but individual rules have been sharpened many times since, and the release history below says where. The single-file `antislop.md` is still a complete filter you can paste into any chat window; its First-Run Install Wizard is the manual install path.
- **The six skills:** `antislop` (the core), plus `antislop-ui`, `antislop-copywriting`, `antislop-human`, `antislop-layoutmobile`, and `antislop-code`. Each skill only loads when the task needs it.
- **Distribution:** six install paths from one repo, and the contrast checker is also exposed as an MCP tool inside the plugin. The paths are the interactive installer (`npx antislop-ai`), the skills.sh directory, and native plugin doors for Claude Code, Antigravity, Codex, and Cursor. Install commands live in the README, and the GUIDE walks through every route from zero.
- **The doors:** each native plugin loads antislop straight from this repository, so there are no copies to keep in sync.
-- **The shared folder:** the bet behind the long tail is that `.agents/skills/` is read widely enough that a new agent costs one row instead of a bespoke door. Antigravity reads it by default, and Hermes treats it as a project tier beside its own `.hermes/skills/`, which ranks higher. Neither reads the home-level one. Claude Code is the holdout, reading `.claude/skills/` and nothing else. Global scope is not shared either: OpenCode reads `~/.config/opencode/skills/` and Antigravity `~/.gemini/config/skills/`. The installer writes each agent's own documented path, so no door depends on another vendor's convention holding.
+- **The shared folder:** the bet behind the long tail is that `.agents/skills/` is read widely enough that a new agent costs one row instead of a bespoke door. Antigravity reads it by default, Hermes treats it as a project tier beside its own `.hermes/skills/`, which ranks higher, and Copilot and OpenCode read it as one of several roots. Claude Code is the holdout, reading `.claude/skills/` and nothing else. Global scope is not shared either: OpenCode reads `~/.config/opencode/skills/` and Antigravity `~/.gemini/config/skills/`. Copilot is the one agent that does read the home-level `.agents/skills/`. The installer writes each agent's own documented path, so no door depends on another vendor's convention holding.
## Release history
@@ -47,6 +47,7 @@ That kept the filter pull-only-what-you-need and made the v3 packaging mechanica
| v3.2.7 | Content round plus OpenCode verified as an installer target: three slop patterns earned names, "Two-State Layout" (a phone stack and a desktop grid with nothing defined between), "Over-Explained Comment" (a comment that runs on for several lines around a one-line fact), and "Decorative Status Dot" (a dot beside a heading that glows and pulses while marking nothing). R-37 gained the `DESIGN.md` conflict protocol: a direction that asks for a named slop pattern is surfaced and questioned, never silently followed or silently overridden. OpenCode is verified to load the skills from `.opencode/skills/` plus its `AGENTS.md` pointer. It is an installer target, not a plugin door: nothing loads from this repo. |
| v3.2.8 | Repair round, from a full re-validation of every shipped door against its vendor's current documentation. Antigravity's global install moves to `~/.gemini/config/skills/`: it had been writing the home-level `.agents/skills/`, which Antigravity does not read, so global installs aimed at Antigravity since v3.2.0 landed in a folder it never enumerates. The entry-file writer ignores markers that sit inside a code fence, keeps the author's line endings, no longer appends a fresh block on every run when one marker is unmatched, and no longer deletes the rest of the file when a `start` marker has no matching `end`. The installer refuses to run without a terminal, where it used to print its prompts, install nothing, and exit 0. OpenCode's global folder moves to the documented `~/.config/opencode/skills/`, where the old `~/.opencode/skills/` still loads, so nothing was broken there. Docs corrected wherever they disagreed with the code. |
| v3.2.9 | Hermes gets its project scope, and the install documentation is rewritten end to end. Hermes does read a project's skills, so the installer now writes `<project>/.hermes/skills/` and the `AGENTS.md` pointer, where it used to force every Hermes install into `~/.hermes/`; a project's skills also outrank the global ones, which the old behaviour could never reach. Hermes will not load skills out of a cloned repository until that repository is trusted, a deliberate vendor gate the installer must not bypass, so the installer names the one-time `hermes skills trust` step and the guide documents it, along with the version caveat: the official installer has project discovery and the older PyPI `hermes-agent` package does not. Cursor's install command is corrected, because `/add-plugin <url>` appears in no Cursor documentation and not in the shipped CLI bundle; the documented route is `agent plugin marketplace add <url>` followed by Install in the Customize panel. The installer's conflict prompt now distinguishes the choice that updates from the one that silently leaves the old version in place, and its closing line says so when it keeps existing folders. The guide is rebuilt around what the reader is doing rather than which tool they picked: Install, Update, and Remove are separate top-level sections, each covering the same four routes in the same order, so finding a route in one finds it in the others, and the parts that are reference rather than steps are collected under a Reference heading. Update and removal steps, which previously sat inside each route as bold text with no heading of their own, now have a section of their own for every route. Install gains step-by-step walkthroughs for both main routes and a phone and chat-window section. A live generate-test also produced two content fixes. "Eyebrow Badge Above the Headline" joins the pattern list: a pill parked directly above the H1, usually with a dot, holding a category label the headline already says, which slipped between R-09 (whose forbidden content list stops at "AI Powered", "Beta", "New") and Decorative Status Dot (which opens with a glowing, pulsing dot). And the core now states outright that three steps run in both usage modes whatever else is driving the session: direction resolution (R-37), asset clarification (R-23), and the Delivery Gate. The test that surfaced them ran another skill's planning workflow, which led the work while antislop's mandatory steps went unrun, including the gate report. The README also gains a comparison section, eight images drawn from one brief. Three page builds sit in a row, each captioned underneath in its own cell, followed by the fourth at full width as the payoff: with nothing, with antislop alone, with `DESIGN.md` alone, and then both together. They are separate outcomes rather than a before and after, because each one is a different set of tools rather than a stage of the same work, and none of them has to be read off a grid. Copy and code comments get before-and-after pairs instead, since there the filter is the whole of the job. |
+| v3.2.10 | GitHub Copilot joins as an installer target, and the installer stops treating one agent as one folder. Copilot loads skills from `.github/skills`, `.claude/skills`, or `.agents/skills`, so it needs no folder of its own and no pointer of its own: it shares `.agents/skills` with Antigravity and reads the `AGENTS.md` block five other agents already get. The skill format it requires is the one antislop already ships, so the whole door is one installer row. The roadmap's promised plugin marketplace command is dropped instead of shipped, because Copilot has no repo-installable plugin manifest: Copilot Extensions in the GitHub Marketplace are applications, a different mechanism from the Claude Code and Cursor doors. Sharing a folder exposed a bug the old model could not express. `resolveTargets` returned one target per agent, so eight agents resolving to seven folders copied the same skills twice into one folder and reported twice the folders that existed in the conflict prompt; it now groups by resolved path and carries every agent that lands there, which is also what lets the next `.agents/skills` reader in the queue cost one row. The same mistake runs the other way. OpenCode loads skills from `.opencode/skills`, `.claude/skills`, and `.agents/skills`, so a project that installs into two of them holds the same skill names twice, and OpenCode documents no precedence between its roots. Its loader has been reported to choose between duplicate names non-deterministically and to collapse them into one candidate, which is how a skill goes missing after an install that looked correct, so the installer now names that collision and says which folders to remove. Documentation is corrected as well. Copilot is added wherever the agents are listed, the claim that nothing reads the home-level `.agents/skills/` is withdrawn because Copilot does, and Claude Code's `AGENTS.md` support is recorded with the reason antislop still writes `CLAUDE.md`: since v2.1.277 Claude reads `AGENTS.md` only when no `CLAUDE.md` exists in the working directory or above it, so an `AGENTS.md`-only pointer would be silently ignored in any project that has one. Copilot support is young on GitHub's side, so the release notes say so. A conflict inside the rules themselves was reported and fixed in the same round. R-02 bans the em dash from Hard Gate, which the core calls absolute, while `antislop-copywriting` granted that ban an exception in three places, so an agent loading both had to resolve "FAIL regardless of purpose" against "the voice wins" and resolved toward the exception: the tell survived the filter built to remove it. R-02 now states its scope instead. The ban governs text the agent writes, and a user's own writing sample is a direction rather than agent copy, so a sample that uses em dashes goes through R-37's conflict protocol, which names the character and asks rather than letting either file decide silently. The exception is gone from all three places and the Delivery Gate item no longer fails a sample the owner approved. |
## What's next
@@ -60,7 +61,6 @@ Every door is verified against the vendor's current documentation before its ver
| Version | Item | What it means |
|---------|------|---------------|
-| v3.2.10 | GitHub Copilot | The installer row, the `AGENTS.md` pointer, and its plugin marketplace command. |
| v3.2.11 | Maintenance | No new agent. Re-validate every door against its vendor's current documentation and the community's reports, then repair what drifted. The slot is fixed; the list is decided at the time, from what those checks surface. |
| v3.2.12 | Kimi Code | The installer row and its pointer. Moonshot also ships a plugin system and Kimi Code reads `.agents/skills/`, so the door class is decided when its current documentation is read rather than promised here. |
| v3.2.13 | Maintenance | No new agent. The same re-validation round. |
diff --git a/antislop.md b/antislop.md
index e73f500..b5f0abd 100644
--- a/antislop.md
+++ b/antislop.md
@@ -240,6 +240,7 @@ These rules protect honesty, function, and accessibility. Breaking any of them i
- **FORBIDDEN**: em dash character (`—`) in any text
- Use comma (`,`), period (`.`), colon (`:`), or parentheses `()` instead
- Text must feel natural and human
+- **Scope**: the ban governs text the agent writes. A user's own writing sample is a direction, not agent copy, so a sample that uses em dashes goes through R-37's conflict protocol: name the character, name the rule, ask. Never keep or cut them silently.
- **Carve-out**: documentation of this rule is exempt: the numbered section headings in this file (`R-XX — Title` rules and `C-1` to `C-5` principles), the em dash example in Part 1, the rule's own definition, any Delivery Gate item that quotes it, and the `Em Dashes` section in the copywriting skill (`skills/antislop-copywriting/SKILL.md`). These are documentation structure, not UI text.
#### R-03 — Mobile Responsiveness
@@ -373,7 +374,7 @@ If an element genuinely cannot have a destination yet, remove it instead of ship
- If no direction exists AND the user cannot be asked, the output MUST be labeled *"draft without direction"* AND use the honest default dials **ENERGY 1 / RHYTHM 1 / MOTION 1** (see Part 3). Never silently fall back to a neutral, sterile default
- **FORBIDDEN**: designing without direction and silently falling into a neutral, sterile default
- Style direction is the product owner's identity, not a slop pattern; this filter only applies on top of it
-- If `DESIGN.md` itself asks for a named slop pattern, do not silently follow it and do not silently override it: name the element, name the rule it collides with, and ask the owner to keep it or drop it
+- If `DESIGN.md`, or any direction the owner supplies (a brand guide, a writing sample), asks for a named slop pattern, do not silently follow it and do not silently override it: name the element, name the rule it collides with, and ask the owner to keep it or drop it
- Ask only about a named pattern, never about a stylistic choice the direction is entitled to make: a bold palette or an unusual typeface is identity, not slop
- Record the answer in one line: if the owner keeps it, proceed and note the override; if they drop it, apply the rule
- A design built without direction is a draft, not a shippable result
@@ -611,7 +612,7 @@ The gate has four blocks: Hard Gate (absolute), Purpose-Gate (technique + writte
Before declaring the design done, answer every question below. All answers must be **no**:
-- [ ] Is there an em dash (`—`) anywhere in the text, outside the R-02 carve-out? *(R-02)*
+- [ ] Is there an em dash (`—`) anywhere in the text, outside the R-02 carve-out and any voice sample the owner approved under R-37? *(R-02)*
- [ ] Is there any horizontal overflow, text escaping its container, or broken layout on mobile? *(R-03)*
- [ ] Are there any statistics without a real source (10K+ Users, 99.9% Uptime, etc.)? *(R-17)*
- [ ] Are there any fictional testimonials (AI avatars, random names or job titles)? *(R-18)*
diff --git a/cli/index.mjs b/cli/index.mjs
index 03c415c..0677f8d 100644
--- a/cli/index.mjs
+++ b/cli/index.mjs
@@ -10,6 +10,7 @@ import {
resolveTargets,
detectAgents,
detectConflicts,
+ detectDuplicateReads,
installSkills,
updatePointers,
} from './lib/install.mjs'
@@ -35,7 +36,7 @@ function displayDir(agent, location) {
async function main() {
if (process.argv.includes('--version') || process.argv.includes('-v')) {
- console.log('antislop 3.2.9')
+ console.log('antislop 3.2.10')
return
}
@@ -124,7 +125,7 @@ async function main() {
log.step('Pointer written to ' + pointers.map((p) => path.basename(p)).join(', '))
}
- const agentCount = new Set(written.map((w) => w.agent.id)).size
+ const agentCount = new Set(written.flatMap((w) => w.agents)).size
if (written.length > 0) {
outro(`Installed ${written.length} skill(s) into ${agentCount} agent folder(s).`)
console.log(pc.dim('antislop is ready. The next agent session loads it.'))
@@ -137,9 +138,18 @@ async function main() {
// Hermes gates project skills behind a one-time, per-repo trust step, so name it here
// rather than let the user meet it as a banner after the install looked finished.
- if (location === 'project' && targets.some((t) => t.agent.id === 'hermes')) {
+ if (location === 'project' && targets.some((t) => t.agents.some((a) => a.id === 'hermes'))) {
log.warn('Hermes needs one more step: run `hermes skills trust` in this project.')
}
+
+ // Two folders holding the same skill names is how a skill goes missing in OpenCode,
+ // which reads both and does not document which copy it keeps.
+ for (const dup of detectDuplicateReads({ targets, location })) {
+ log.warn(
+ `${dup.agent.label} reads both ${dup.paths.join(' and ')}, and antislop is now in both. ` +
+ 'It may load either copy. Remove one of them to be safe.'
+ )
+ }
}
main().catch((err) => {
diff --git a/cli/lib/banner.mjs b/cli/lib/banner.mjs
index 4c74c36..fb4dcae 100644
--- a/cli/lib/banner.mjs
+++ b/cli/lib/banner.mjs
@@ -15,7 +15,7 @@ export function banner() {
...LOGO,
'',
' ' + pc.dim('Anti Slop: Rules for AI Coding Agents'),
- ' ' + pc.dim('installer v3.2.9'),
+ ' ' + pc.dim('installer v3.2.10'),
'',
].join('\n')
}
diff --git a/cli/lib/install.mjs b/cli/lib/install.mjs
index 96bf610..af404fa 100644
--- a/cli/lib/install.mjs
+++ b/cli/lib/install.mjs
@@ -9,17 +9,21 @@ export const CORE = 'antislop'
// Every row carries the entry file it writes, so a new agent cannot be added
// without one: `entry` is what `updatePointers` needs and nothing else supplies it.
+// `readsAlso` lists the other project folders the agent loads skills from besides its
+// own, so a duplicate can be named instead of discovered later as a missing skill.
export const AGENTS = [
{ id: 'claude', label: 'Claude Code', dir: '.claude/skills', entry: 'CLAUDE.md' },
// Antigravity reads a project's .agents/skills, but not the one under the home dir.
{ id: 'antigravity', label: 'Antigravity', dir: '.agents/skills', globalDir: '.gemini/config/skills', entry: 'AGENTS.md' },
{ id: 'codex', label: 'Codex', dir: '.codex/skills', entry: 'AGENTS.md' },
// OpenCode documents ~/.config/opencode for global skills; ~/.opencode is undocumented.
- { id: 'opencode', label: 'OpenCode', dir: '.opencode/skills', globalDir: '.config/opencode/skills', entry: 'AGENTS.md' },
+ { id: 'opencode', label: 'OpenCode', dir: '.opencode/skills', globalDir: '.config/opencode/skills', readsAlso: ['.claude/skills', '.agents/skills'], entry: 'AGENTS.md' },
{ id: 'cursor', label: 'Cursor', dir: '.cursor/skills', entry: 'AGENTS.md' },
{ id: 'gemini', label: 'Gemini CLI', dir: '.gemini/skills', entry: 'GEMINI.md' },
// Hermes reads a project's .hermes/skills and .agents/skills, project tier first.
- { id: 'hermes', label: 'Hermes', dir: '.hermes/skills', entry: 'AGENTS.md' },
+ { id: 'hermes', label: 'Hermes', dir: '.hermes/skills', readsAlso: ['.agents/skills'], entry: 'AGENTS.md' },
+ // Copilot reads the shared .agents/skills folder, so it shares Antigravity's target.
+ { id: 'copilot', label: 'GitHub Copilot', dir: '.agents/skills', entry: 'AGENTS.md' },
]
export function skillSourceDir() {
@@ -40,11 +44,34 @@ function skillPath(agent, location) {
return path.join(resolveBase(location), dir)
}
+// Agents that share a folder share a target, so the skills are copied once and the
+// conflict count matches the folders on disk rather than the agents selected.
export function resolveTargets(location, selected = AGENTS.map((a) => a.id)) {
- return AGENTS.filter((a) => selected.includes(a.id)).map((agent) => {
+ const byPath = new Map()
+ for (const agent of AGENTS.filter((a) => selected.includes(a.id))) {
const target = skillPath(agent, location)
- return { agent, path: target, exists: fs.existsSync(target) }
- })
+ const found = byPath.get(target)
+ if (found) found.agents.push(agent)
+ else byPath.set(target, { agents: [agent], path: target, exists: fs.existsSync(target) })
+ }
+ return [...byPath.values()]
+}
+
+// OpenCode and Hermes read more than one project folder, so installing into two of them
+// puts the same skill names in both. Neither documents which copy wins, so name it.
+export function detectDuplicateReads({ targets, location }) {
+ if (location !== 'project') return []
+ const paths = new Set(targets.map((t) => t.path))
+ const found = []
+ for (const t of targets) {
+ for (const agent of t.agents) {
+ const others = (agent.readsAlso ?? [])
+ .map((d) => path.join(resolveBase(location), d))
+ .filter((p) => paths.has(p))
+ if (others.length > 0) found.push({ agent, paths: [t.path, ...others] })
+ }
+ }
+ return found
}
// Agents whose folder already exists, used to pre-check the picker. A missing
@@ -90,7 +117,7 @@ export function installSkills({ skills, targets, overwrite = false }) {
const dest = path.join(t.path, skill)
if (fs.existsSync(dest) && !overwrite) continue
copyDir(src, dest)
- written.push({ skill, agent: t.agent, path: dest })
+ written.push({ skill, agents: t.agents.map((a) => a.id), path: dest })
}
}
return written
@@ -194,7 +221,7 @@ function writeBlock(entry, block) {
export function updatePointers({ targets, skills }) {
const entries = new Set()
for (const t of targets) {
- if (fs.existsSync(path.join(t.path, CORE))) entries.add(t.agent.entry)
+ if (fs.existsSync(path.join(t.path, CORE))) for (const a of t.agents) entries.add(a.entry)
}
const block = pointerBlock(skills)
diff --git a/cli/package-lock.json b/cli/package-lock.json
index 81f27cf..d930b1d 100644
--- a/cli/package-lock.json
+++ b/cli/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "antislop-ai",
- "version": "3.2.9",
+ "version": "3.2.10",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "antislop-ai",
- "version": "3.2.9",
+ "version": "3.2.10",
"license": "MIT",
"dependencies": {
"@clack/prompts": "^1.7.0",
diff --git a/cli/package.json b/cli/package.json
index e104851..859d63f 100644
--- a/cli/package.json
+++ b/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "antislop-ai",
- "version": "3.2.9",
+ "version": "3.2.10",
"description": "Interactive installer for the antislop skills. Anti Slop: Rules for AI Coding Agents.",
"type": "module",
"bin": {
diff --git a/cli/scripts/smoke-worker.mjs b/cli/scripts/smoke-worker.mjs
index 66c58d1..bb07ed0 100644
--- a/cli/scripts/smoke-worker.mjs
+++ b/cli/scripts/smoke-worker.mjs
@@ -7,6 +7,7 @@ import {
resolveTargets,
detectAgents,
detectConflicts,
+ detectDuplicateReads,
installSkills,
updatePointers,
} from '../lib/install.mjs'
@@ -28,14 +29,17 @@ const check = (label, actual, expected) => {
const fresh = detectAgents('project')
check('A detected (fresh project)', fresh, [])
const defaultTargets = resolveTargets('project')
-console.log('A default targets:', defaultTargets.map((t) => `${t.agent.id}@${t.path} exists=${t.exists}`).join(' | '), '(expect all seven, exists=false)')
+console.log('A default targets:', defaultTargets.map((t) => `${t.agents.map((a) => a.id).join('+')}@${t.path} exists=${t.exists}`).join(' | '))
+// Copilot shares Antigravity's folder, so eight agents resolve to seven folders.
+check('A eight agents over seven folders', [AGENTS.length, defaultTargets.length], [8, 7])
+check('A copilot shares the antigravity folder', resolveTargets('project', ['antigravity', 'copilot']).length, 1)
// Claude Code only, via explicit selection (old behavior preserved).
const targets = resolveTargets('project', ['claude'])
let written = installSkills({ skills, targets, overwrite: false })
let pointers = updatePointers({ targets, skills })
-console.log('B targets:', targets.map((t) => `${t.agent.id}@${t.path} exists=${t.exists}`).join(' | '))
-console.log('B written:', written.map((w) => `${w.agent.id}:${w.skill}`).join(', '))
+console.log('B targets:', targets.map((t) => `${t.agents.map((a) => a.id).join('+')}@${t.path} exists=${t.exists}`).join(' | '))
+console.log('B written:', written.map((w) => `${w.agents.join('+')}:${w.skill}`).join(', '))
check('B pointers', pointers.map((p) => path.basename(p)), ['CLAUDE.md'])
const conflicts = detectConflicts({ skills, targets })
@@ -47,7 +51,7 @@ check('C overwritten', written.length, 2)
// Antigravity on a fresh project: .agents/ does not exist yet, install creates it.
const agTargets = resolveTargets('project', ['antigravity'])
-console.log('D antigravity targets:', agTargets.map((t) => `${t.agent.id}@${t.path} exists=${t.exists}`).join(' | '), '(exists=false before install)')
+console.log('D antigravity targets:', agTargets.map((t) => `${t.agents.map((a) => a.id).join('+')}@${t.path} exists=${t.exists}`).join(' | '), '(exists=false before install)')
const agWritten = installSkills({ skills, targets: agTargets, overwrite: false })
check('D antigravity written', agWritten.length, 2)
const agPointers = updatePointers({ targets: agTargets, skills })
@@ -92,10 +96,17 @@ check('D6 hermes writes a project pointer', updatePointers({ targets: hermesProj
// Detection now sees the agents that were installed.
const after = detectAgents('project')
-check('E detected after installs', [...after].sort(), ['antigravity', 'claude', 'cursor', 'gemini', 'hermes', 'opencode'])
+check('E detected after installs', [...after].sort(), ['antigravity', 'claude', 'copilot', 'cursor', 'gemini', 'hermes', 'opencode'])
+
+// OpenCode reads .claude/skills and .agents/skills too, so a project that installs into
+// two of them holds the same names twice and OpenCode picks between them unpredictably.
+const dupReads = detectDuplicateReads({ targets: resolveTargets('project', ['claude', 'opencode']), location: 'project' })
+check('E duplicate read named', dupReads.map((d) => [d.agent.id, d.paths.length]), [['opencode', 2]])
+check('E one folder alone is not a duplicate', detectDuplicateReads({ targets: resolveTargets('project', ['opencode']), location: 'project' }), [])
+check('E global scope is not checked', detectDuplicateReads({ targets: resolveTargets('global', ['claude', 'opencode']), location: 'global' }), [])
const globalTargets = resolveTargets('global', ['claude', 'codex'])
-console.log('F global targets:', globalTargets.map((t) => `${t.agent.id}@${t.path}`).join(' | '))
+console.log('F global targets:', globalTargets.map((t) => `${t.agents.map((a) => a.id).join('+')}@${t.path}`).join(' | '))
// Copies are identical and the pointer block dedupes.
const src = fs.readFileSync(path.join(skillSourceDir(), 'antislop-ui', 'SKILL.md'), 'utf8')
diff --git a/skills/antislop-copywriting/SKILL.md b/skills/antislop-copywriting/SKILL.md
index 84d8ffc..9020bba 100644
--- a/skills/antislop-copywriting/SKILL.md
+++ b/skills/antislop-copywriting/SKILL.md
@@ -243,7 +243,7 @@ allowed-tools: Read Write Edit Glob Grep
- **After:**
> You don't say "Netherlands, Europe" as an address, yet this mislabeling continues.
- **False positive:** many editors and journalists use em dashes deliberately. On its own an em dash is not proof of AI. It counts when it sits in a cluster with other tells (R-02 still bans it in output, but do not rewrite the user's deliberate style without saying so).
-- **Voice override:** if the user provides a writing sample that uses em dashes at a certain frequency, match the sample's frequency instead of cutting them all (see Voice calibration).
+- **Voice sample:** if the user provides a writing sample that uses em dashes, that sample is a direction rather than agent copy. Surface it the way R-37 says (name the character, name the rule, ask), then match the sample's frequency only if the owner keeps it. Never keep or cut them silently.
### Boldface Overuse
@@ -344,7 +344,7 @@ If the user provides a sample of their own writing, match it before rewriting:
1. Read the sample first. Note its sentence lengths, vocabulary, paragraph openings, punctuation, and recurring phrases.
2. Match those habits instead of merely deleting AI patterns. Do not upgrade casual words or regularize deliberate quirks.
-3. The sample outranks this skill's style rules. If the sample uses em dashes, keep them at roughly the sample's frequency (R-02 still applies to any copy the user did not authorize; when the user's own voice uses them, the voice wins).
+3. The sample outranks this skill's style rules, except where R-02 applies. R-02 governs copy the agent authors; a sample that uses em dashes is a direction, so it goes through R-37's conflict protocol, and you match its frequency only if the owner keeps it. R-02 applies in full to any copy the user did not authorize.
Without a sample, use the defaults above. Matching the author beats scrubbing the tell.
@@ -362,7 +362,7 @@ Run these alongside the core Delivery Gate when the task is copy work. Every lin
- [ ] No fabricated numbers, testimonials, names, dates, or claims; everything real or a labeled placeholder (R-17, R-18, R-36, R-38)
- [ ] Buzzwords from R-16 and the Empty AI Vocabulary list replaced with specific, evidenced language
-- [ ] No em dashes in the output (R-02), unless the user's own sample voice uses them
+- [ ] No em dashes in the output (R-02); if the user's own sample voice uses them, they were surfaced under R-37 and the owner kept them
- [ ] No excessive quotation marks: quotes only where they carry meaning (dialogue, real citations, titles), not as default emphasis (R-36)
- [ ] No all-caps emphasis clauses: emphasis written into the sentence, not shouted with caps (R-36)
- [ ] Every sentence names its actor: no actorless passive, no abstraction given a human verb, where a real subject was available (R-02, R-16)
diff --git a/skills/antislop-human/contrast-mcp.py b/skills/antislop-human/contrast-mcp.py
index 3f3cd23..7269f19 100644
--- a/skills/antislop-human/contrast-mcp.py
+++ b/skills/antislop-human/contrast-mcp.py
@@ -8,7 +8,7 @@ import sys
PROTOCOL_VERSION = "2024-11-05"
SERVER_NAME = "antislop-contrast"
-SERVER_VERSION = "3.2.9"
+SERVER_VERSION = "3.2.10"
TOOLS = [
{
diff --git a/skills/antislop/SKILL.md b/skills/antislop/SKILL.md
index d7dabbd..1320ada 100644
--- a/skills/antislop/SKILL.md
+++ b/skills/antislop/SKILL.md
@@ -245,6 +245,7 @@ These rules protect honesty, function, and accessibility. Breaking any of them i
- **FORBIDDEN**: em dash character (`—`) in any text
- Use comma (`,`), period (`.`), colon (`:`), or parentheses `()` instead
- Text must feel natural and human
+- **Scope**: the ban governs text the agent writes. A user's own writing sample is a direction, not agent copy, so a sample that uses em dashes goes through R-37's conflict protocol: name the character, name the rule, ask. Never keep or cut them silently.
- **Carve-out**: documentation of this rule is exempt: the numbered section headings in this file (`R-XX — Title` rules and `C-1` to `C-5` principles), the em dash example in Part 1, the rule's own definition, any Delivery Gate item that quotes it, and the `Em Dashes` section in the copywriting skill (`skills/antislop-copywriting/SKILL.md`). These are documentation structure, not UI text.
#### R-03 — Mobile Responsiveness
@@ -378,7 +379,7 @@ If an element genuinely cannot have a destination yet, remove it instead of ship
- If no direction exists AND the user cannot be asked, the output MUST be labeled *"draft without direction"* AND use the honest default dials **ENERGY 1 / RHYTHM 1 / MOTION 1** (see Part 3). Never silently fall back to a neutral, sterile default
- **FORBIDDEN**: designing without direction and silently falling into a neutral, sterile default
- Style direction is the product owner's identity, not a slop pattern; this filter only applies on top of it
-- If `DESIGN.md` itself asks for a named slop pattern, do not silently follow it and do not silently override it: name the element, name the rule it collides with, and ask the owner to keep it or drop it
+- If `DESIGN.md`, or any direction the owner supplies (a brand guide, a writing sample), asks for a named slop pattern, do not silently follow it and do not silently override it: name the element, name the rule it collides with, and ask the owner to keep it or drop it
- Ask only about a named pattern, never about a stylistic choice the direction is entitled to make: a bold palette or an unusual typeface is identity, not slop
- Record the answer in one line: if the owner keeps it, proceed and note the override; if they drop it, apply the rule
- A design built without direction is a draft, not a shippable result
@@ -616,7 +617,7 @@ The gate has four blocks: Hard Gate (absolute), Purpose-Gate (technique + writte
Before declaring the design done, answer every question below. All answers must be **no**:
-- [ ] Is there an em dash (`—`) anywhere in the text, outside the R-02 carve-out? *(R-02)*
+- [ ] Is there an em dash (`—`) anywhere in the text, outside the R-02 carve-out and any voice sample the owner approved under R-37? *(R-02)*
- [ ] Is there any horizontal overflow, text escaping its container, or broken layout on mobile? *(R-03)*
- [ ] Are there any statistics without a real source (10K+ Users, 99.9% Uptime, etc.)? *(R-17)*
- [ ] Are there any fictional testimonials (AI avatars, random names or job titles)? *(R-18)*