Xmtp comms guard

From profbernardoj/everclaw-community-branches · View interactive version

Xmtp comms guard is an AI agent skill from the GitHub repository profbernardoj/everclaw-community-branches. Security middleware for all XMTP communications in EverClaw. Enforces guarded client usage with validation, integrity checks, and fail-closed security policies. Integrates approval flows for sensitive operations. Use when integrating XMTP messaging, configuring communication security, or auditing gu

How to use this skill

Skill file

xmtp-comms-guard — Skill Integration Guide (V6)

Type: Critical Security

Version: 6.0.0

Required peer dependencies: bagman, pii-guard, prompt-guard

Mandatory Usage

All XMTP communication MUST go through the guarded client:

import { createGuardedXmtpClient } from "xmtp-comms-guard";
const { client, middleware } = await createGuardedXmtpClient(rawClient, userWallet);

Raw @xmtp/client imports are blocked by ESLint rules and SkillGuard scan.

Three-Shift Integration

Three-Shift = EverClaw's standard approval flow with three options:

Used for: peer revocation review, key rotation re-approval, introduction chain re-evaluation.

Enforcement Model

Enforcement is convention-based + build-time gates:

See enforcement.md for full details.

Fail-Closed Conditions

The skill refuses to operate when:

Threat Model

Covered in threat-model.md:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.