Skip to content

Plugin development

A Plugin packages workspace contents — prompts, tables/policies, STFs, workflows, effects, files — into a template.yaml. It is installed into an instance and executed by the instance. Users interact through the built-in console and chat.

When designing, asking questions, or combining with a custom FE, prefer installing all skills. Plugin-focused minimum:

Terminal window
npx skills add d6e-ai/d6e-plugin-skills --skill '*' -y
# Also when writing Docker STFs
npx skills add d6e-ai/d6e-docker-stf-skills --skill '*' -y

Repository: d6e-ai/d6e-plugin-skills

Piece Summary
template.yaml Manifest declaring prompts, STFs, workflows, policies, file refs, …
Prompts Markdown that shapes chat-agent behavior
JS STF Pure functions on QuickJS
Docker STF Containers (see Docker STF)
Effect Declarative HTTP calls
Workflow Orchestration of STF / Effect steps
Policies Table ACL (deny by default)

Schema: schema/template.schema.json

  1. Connect MCP via Local AI development
  2. Iterate on SQL, STFs, and prompts; capture what works in template.yaml
  3. Distribute via Install from URL, or Marketplace / registry

Details:

Plugins prepare workspace behavior; custom frontends consume it. Shipping template.yaml alongside frontend code in one repo is common. If you touch the FE, install the skills together (Installing Agent Skills). See Choosing a path.