xmtp-comms-guard
Security middleware for all XMTP communications in EverClaw.
Skill by profbernardoj
Chalk Labs
Need help deploying xmtp-comms-guard?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/profbernardoj-xmtp-comms-guard-c7433f
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
xmtp-comms-guard- Description
- 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 guarded client enforcement.
- License
- MIT
- Instructions
- 57 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (28)
- .eslintrc.json
- .gitignore
- PUBLISH-CHECKLIST.md
- README.md
- SKILL.md
- enforcement.md
- package.json
- handshake.ts · src/checks/
- index.ts · src/checks/
- injectionCheck.ts · src/checks/
- peerAuth.ts · src/checks/
- piiCheck.ts · src/checks/
- rateLimit.ts · src/checks/
- trustContextCheck.ts · src/checks/
- index.ts · src/cli/
- eip191.ts · src/crypto/
- index.ts · src/
- commsGuard.ts · src/middleware/
- revocation.ts · src/
- index.ts · src/schemas/
- erc8004Cache.ts · src/security/
- hashChain.ts · src/security/
- nonceCache.ts · src/security/
- bagmanStorage.ts · src/storage/
- types.ts · src/
- basic.test.ts · test/adversarial/
- threat-model.md
- tsconfig.json
SKILL.md (first lines)
# 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:
```ts
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/client` direct 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 rulesFrom profbernardoj/androidclaw.org, MIT.
Signals
- Stars
- 4
- Forks
- 2
- Open issues
- 1
- Last commit (this folder)
- May 18, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/profbernardoj/androidclaw.org
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.674score
xmtp-comms-guard
profbernardoj
Security middleware for all XMTP communications in EverClaw.
SkillCFreshness: C★ 110Claude Code +9 - 0.322score
xmtp-comms-guard
profbernardoj
Security middleware for all XMTP communications in EverClaw.
SkillCFreshness: C★ 8Claude Code +9 - 0.285score
xmtp-comms-guard
EverClaw
Security middleware for all XMTP communications in EverClaw.
SkillCFreshness: CClaude Code +9 - 0.285score
xmtp-comms-guard
profbernardoj
Security middleware for all XMTP communications in EverClaw.
SkillCFreshness: CClaude Code +9
More from profbernardoj
- 0.679score
three-shifts
profbernardoj
Cyclic shift execution engine.
SkillCFreshness: C★ 110Claude Code +9 - 0.679score
memory-upgrade
profbernardoj
Diagnose and fix broken memory search in OpenClaw.
SkillCFreshness: C★ 110Claude Code +9 - 0.676score
relationships
profbernardoj
Relationship CRM for tracking people, connections, and context.
SkillCFreshness: C★ 110Claude Code +9 - 0.676score
three-shifts
profbernardoj
Daily standup engine.
SkillCFreshness: C★ 110Claude Code +9 - 0.674score
pii-guard
profbernardoj
Personally identifiable information (PII) leak prevention for EverClaw.
SkillCFreshness: C★ 110Claude Code +9 - 0.674score
night-shift
profbernardoj
Automated overnight task planning and execution engine for EverClaw.
SkillCFreshness: C★ 110Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get xmtp-comms-guard running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
xmtp-comms-guard skill. Agent Mart. https://agentmart.dev/skills/profbernardoj-xmtp-comms-guard-c7433f (last updated 2026-10-24)