xmtp-comms-guard — Skill Integration Guide (V6)
SkillCommunicationAdds security checks and approval gates to your agent's XMTP messaging so risky actions require confirmation.
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.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the xmtp-comms-guard skill
About this skill
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
What this skill tells your AI
The instructions your AI receives, as published by profbernardoj/everclaw-community-branches in skills/xmtp-comms-guard/SKILL.md and read by ahel’s review.
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:
- Approve — allow the action
- Redact — downgrade/sanitize
- Block — deny the action
Used for: peer revocation review, key rotation re-approval, introduction chain re-evaluation.
Enforcement Model
Enforcement is convention-based + build-time gates:
- ESLint rule blocks
@xmtp/clientdirect imports - SkillGuard scan detects raw client usage patterns
- No runtime interception of raw imports (honestly documented)
See enforcement.md for full details.
Fail-Closed Conditions
The skill refuses to operate when:
- Hash chain integrity check fails on startup
- SQLCipher encryption check fails
- Nonce cache detects replay
- Unknown topic in message
- Unknown sensitivity level
- Message exceeds 64KB
- Protocol version is not "6.0"
- Peer not in registry or blocked
Threat Model
Covered in threat-model.md:
- Malicious external agent → blocked by schema + checks
- Compromised internal agent → blocked by middleware + SkillGuard gates
- Host compromise → limited by Bagman + HMAC chain + fail-closed
- Replay attacks → nonce cache (90s TTL) + hash chain
- Data exfiltration → PII Guard + trust context rules
Signals
- GitHub stars
- 112
- Forks
- 20
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
xmtp-comms-guard- Source
- github.com/profbernardoj/everclaw-community-branches
github.com/profbernardoj/everclaw-community-branches
Related picks
Skill · mattpocock
The pick for TypeScripttypescript-pro
Skill · jeffallan
The pick for TypeScriptsecrets-exposure-review
Skill · naodeng
The pick for Secretssecrets-with-git-crypt
Skill · derailed-dash
The pick for Secretsslack-gif-creator
Skill · anthropics
More in Communicationerror-handling
Skill · affaan-m
More in Communication