Skip to content

Add lola AI Context Module for OpenCode skill distribution in consumer repos #119

Description

@yvonnedevlinrh

Is your feature request related to a problem? Please describe.

ComplyPack's skills and commands cannot be installed into consumer repos for OpenCode users. OpenCode discovers skills from .opencode/skills/ and commands from .opencode/commands/ in the project directory, but has no marketplace or plugin install mechanism to fetch these from a remote source.

The complypack repo's .opencode/skills/ entries are symlinks to ../../skills/ which only resolve inside the complypack repo itself. Consumer repos (e.g., complytime-labs/fluffy-couscous) have no way to obtain these assets.

The exercise repo worked around this in PR complytime-labs/fluffy-couscous#15 by providing static MCP config blocks, but OpenCode users still have no access to /comply-setup, /comply-pipeline, or /comply-pack slash commands.

Describe the solution you'd like

Create a module/ directory following the lola AI Context Module
layout so that lola can install complypack's skills and commands into OpenCode.

Proposed structure:

module/
AGENTS.md
skills/
mcp-setup/
SKILL.md
audit-pipeline/
SKILL.md
scoping.md
mapping.md
adherence.md
pack-assessment/
SKILL.md
commands/
comply-setup.md
comply-pipeline.md
comply-pack.md

Consumer repos would install with:

lola mod add https://github.com/complytime/complypack.git
lola install complypack -a opencode --scope project

Validation

  • lola install complypack -a opencode --scope project creates .opencode/skills/ and .opencode/commands/ with correct content
  • /comply-setup, /comply-pipeline, /comply-pack are discoverable in OpenCode after install
  • Skills load correctly when invoked via commands
  • lola mod update complypack pulls latest changes
  • Update INSTALL.md with lola install instructions for OpenCode

Describe alternatives you've considered

  • Vendor files into each consumer repo: Creates drift risk and requires manual syncing when complypack updates.
  • OpenCode npm plugin: Requires JS/TS npm package; OpenCode plugin API registers tools, not skills/commands.
  • Setup script (gh release download): Fragile, manual step.

Additional context

  • module/skills/ files should be copies (not symlinks) for lola compatibility
  • Existing skills/ at repo root, .opencode/skills/ (symlinks), and .claude-plugin/ should remain for backwards compatibility
  • This creates the module/ directory that subsequent tool issues (Cursor, Claude Code, Gemini CLI) will build on
  • Related downstream issue: complytime-labs/fluffy-couscous#37
  • Related closed issue: Distribute complypack skill and MCP server as a multi-platform plugin #24

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Effort

None yet

Projects

Status
In Review 🏁

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions