name: engram-plugin-thin description: > Adapter boundary rules for plugin integrations. Trigger: Changes in plugin scripts/hooks for Claude, OpenCode, Gemini, or Codex. license: Apache-2.0 metadata: author: gentleman-programming version: "1.0"
When to Use
Use this skill when:
- Editing plugin hooks/scripts/adapters
- Adding passive/active memory capture integrations
- Wiring agent-specific setup behavior
Boundary Rules
- Keep adapters thin: parse input, call API/tool, return.
- Put complex logic in Go core (
store/server/mcp). - Avoid extra runtime dependencies in plugin scripts.
- Reuse a shared contract across all supported agents.
Compatibility Checklist
- Claude Code flow still works
- OpenCode flow still works
- Gemini/Codex config paths remain valid
- Docs reflect real integration behavior