engram-plugin-thin
SkillAI & modelsGives your agent rules for keeping plugin adapter code thin when editing integration scripts for coding agents.
Then ask your AI: use the engram-plugin-thin skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add it as a step in a pipeline you build on Ahel, or connect Ahel to Claude, ChatGPT, Cursor, Claude Code or Codex and ask your AI to use it.
About this skill
Adapter boundary rules for plugin integrations. Trigger: Changes in plugin scripts/hooks for Claude, OpenCode, Pi, Gemini, or Codex.
What this skill tells your AI
The instructions your AI receives, as published by gentleman-programming/engram in skills/plugin-thin/SKILL.md and read by Ahel’s review.
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.
Narrow Pi Exception: Observation-Save Acknowledgement Recovery
plugin/pi native mem_save may resolve only an ambiguous acknowledgement because
the Go server cannot observe that a client lost one. Go remains the sole authority
for the durable ledger, canonical fingerprint, validation, conflicts, tombstones,
retention, and mutation effects.
- Generate one operation UUID before the initial dispatch and freeze the exact redacted payload and both destinations.
- On ambiguity, query only authoritative
GET /observations/save-result. A typed404with codeobservation_save_result_not_foundpermits one exact replay after the cancellable 250 ms backoff. A positive replay receipt succeeds immediately; only an ambiguous replay, including a replay409or410, gets one final GET. - Keep existing total-deadline and caller-cancellation bounds. A lookup confirms
success only with a positive ID and
status: "committed"; a successful initial POST retains legacy positive{id}acknowledgement compatibility. - Initial received HTTP errors remain typed and never replay or self-heal. Caller cancellation is propagated; unresolved write uncertainty remains unknown, never saved.
- This exception grants no other route or tool retry authority, no general retry framework, no local business ledger decision, and no telemetry exemption. Timing telemetry may not log the operation UUID; it grants no broader logging permission or change to existing user-facing unknown-outcome diagnostics that expose it for read-only lookup.
Compatibility Checklist
- Claude Code flow still works
- OpenCode flow still works
- Gemini/Codex config paths remain valid
- Docs reflect real integration behavior
Signals
- GitHub stars
- 7k
- Forks
- 733
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
engram-plugin-thin- Source
- github.com/gentleman-programming/engram
github.com/gentleman-programming/engram