Codex and Claude Code Plugins#
Memgar ships a repo-local plugin package in plugins/memgar.
The package contains:
.codex-plugin/plugin.jsonfor Codex plugin metadata..claude-plugin/plugin.jsonfor Claude Code plugin metadata.skills/memgar/SKILL.mdwith memory poisoning guardrail instructions.commands/status.mdandcommands/scan.mdfor Claude Code slash-command workflows.scripts/memgar-health.mjsandscripts/memgar-scan.mjsfor local checks.bin/memgar-healthandbin/memgar-scanfor plugin PATH usage where supported.
Claude Code#
For local testing:
Codex#
The Codex marketplace file is .agents/plugins/marketplace.json. It points to ./plugins/memgar with AVAILABLE install policy and ON_INSTALL authentication policy.
Required runtime#
Install Memgar and start the gateway when gateway protection is expected:
For direct text scanning, the plugin uses:
Security contract#
The plugin is an operator and agent workflow package. It does not make raw memory writes safe by itself. Protected applications must still route memory writes, retrieval chunks, tool results, and gateway traffic through SecureMemoryStore, MemoryRuntimeEnforcer, or Memgar Gateway.