slopdocs

OpenCode plugin and agent skill for the slopdocs documentation convention.

Packages

Package details

skill

Install slopdocs from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:slopdocs
Package
slopdocs
Version
1.1.0
Published
Sep 1, 2026
Downloads
205/mo · 17/wk
Author
ryanskidmore
License
MIT
Types
skill
Size
15.8 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "skills": [
    "./skills"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

slopdocs

An agent skill for the slopdocs convention. Teaches your coding agent to keep its planning docs, bug investigations, and feature write-ups in your repo where the next agent can find them.

Install (OpenCode)

Add to your opencode.json:

{
  "plugin": ["slopdocs"]
}

Restart OpenCode. The slopdocs skill is now available and will be loaded automatically when the agent is writing or deciding whether to create documentation.

To track an unreleased version directly from the repo, install from git instead:

{
  "plugin": ["slopdocs@git+https://github.com/ryanskidmore/slopdocs.git"]
}

OpenCode 2

OpenCode 2 (opencode2) renamed the config key from plugin to plugins; everything else is the same:

{
  "plugins": ["slopdocs"]
}

Install (Claude Code)

Add this repo as a plugin marketplace, then install the plugin:

/plugin marketplace add ryanskidmore/slopdocs
/plugin install slopdocs@slopdocs

The slopdocs skill is now available and Claude will load it automatically when writing or deciding whether to create documentation.

Install (Codex)

Codex (CLI, IDE extension, and desktop app) discovers skills from .agents/skills/<name>/SKILL.md directories, so no plugin is needed. Run this from your project root:

curl -fsSL https://raw.githubusercontent.com/ryanskidmore/slopdocs/main/install/codex.sh | sh

This places skills/slopdocs/SKILL.md at .agents/skills/slopdocs/SKILL.md in the current project, unmodified. Codex detects it automatically (restart Codex if it doesn't appear). Re-run the command any time to pick up updates.

To install for the current user instead, so it applies to every project:

curl -fsSL https://raw.githubusercontent.com/ryanskidmore/slopdocs/main/install/codex.sh | sh -s -- --global

See Codex's skills documentation for how skill discovery works.

Install (pi)

pi install npm:slopdocs

This registers the slopdocs skill with pi, Mario Zechner's coding agent (@earendil-works/pi-coding-agent). pi implements the Agent Skills standard directly, so the canonical skills/slopdocs/SKILL.md is picked up as-is — no bootstrap step or plugin needed. Its description is always in context; pi loads the full skill on demand when a task matches.

To track the latest commit from git instead of the npm release:

pi install git:github.com/ryanskidmore/slopdocs

Manual install

Copy skills/slopdocs/SKILL.md into your project:

.opencode/skills/slopdocs/SKILL.md

Or for cross-tool compatibility (this is also what Codex reads):

.agents/skills/slopdocs/SKILL.md

What it does

The skill teaches your agent the slopdocs convention:

  • slopdocs/features/ - one living doc per feature
  • slopdocs/bugs/ - date-prefixed bug investigations
  • slopdocs/plans/ - date-prefixed implementation plans

It also tells the agent when a doc is worth writing (architectural decisions, non-obvious bugs, new features) and when to skip (renames, trivial changes, dependency bumps).

Read more at slopdocs.dev.

License

MIT