Skip to content

dsh-dual-plugin-guide

Verified

dsh-dual-plugin-guide Β· v0.1.0 Β· MIT

Dual-format plugin development guide: teaches agents to build plugins compatible with both the DSH static plugin package (installable via dsh plugin --profile add) and Agent Plugins 1.0 (plugin.json + skills/). Ships as an Agent Plugins 1.0 plugin, a stan

Install

dsh plugin add dsh-dual-plugin-guide

Confirm the layer applied with dsh --profile default --dump-config β€” see the install guide.

Source

Tags

Creators

Readme

dsh-dual-plugin-guide

Dual-format plugin development guide. This plugin teaches an agent how to build plugins that are compatible with both ecosystems from one directory:

  • DSH static plugin package β€” installable via dsh plugin --profile <name> add <spec>
  • Agent Plugins 1.0 β€” plugin.json + skills/, loadable by compatible clients (Codex, Cursor, VS Code, …)
  • (bonus) Standard agent skills β€” npx skills add discovers the same skills/ tree

Not DSH-only: this package itself installs through both formats.

Install

# DSH β€” register the guidance skill into the agent catalog
dsh plugin --profile web add github:Fectivnfy112357/dsh-dual-plugin-guide

# Agent Plugins 1.0 β€” point a compatible client at the repo, or publish it
#   https://github.com/Fectivnfy112357/dsh-dual-plugin-guide
# Standard skills
npx skills add Fectivnfy112357/dsh-dual-plugin-guide

After the DSH install and a profile restart, the dsh-dual-plugin-guide skill shows up in the agent's skill catalog; the agent then follows it to build dual-format plugins. The bundled skills/dsh-dual-plugin-guide/scripts/scaffold.mjs generates a valid dual-format skeleton in one command.

Structure

dsh-dual-plugin-guide/
β”œβ”€β”€ package.json       # "dsh": {"bundle": {"patch": "./cordis.patch.yml"}}
β”œβ”€β”€ plugin.json        # Agent Plugins 1.0 manifest
β”œβ”€β”€ cordis.patch.yml   # dsh bundle insert (id: dsh-dual-plugin-guide-skill)
β”œβ”€β”€ lib/index.js       # Cordis entry: registers skills/dsh-dual-plugin-guide/SKILL.md into ctx.skills
└── skills/dsh-dual-plugin-guide/
    β”œβ”€β”€ SKILL.md       # the guidance (single source of content)
    β”œβ”€β”€ references/    # verified fact catalog (events, services, slots, tools, packaging, agent-plugins)
    └── scripts/       # scaffold.mjs β€” dual-format skeleton generator

How it works

lib/index.js is a minimal Cordis plugin (inject: ['skills']) that reads skills/dsh-dual-plugin-guide/SKILL.md (Agent Skills format) and registers it with ctx.skills via resourceBase, so relative references resolve. The same skills/ tree is what Agent Plugins clients and npx skills read β€” one content source, three loaders.

License

MIT