skills$openclaw/handling-commands
humanagent2.2k

by humanagent

handling-commands – OpenClaw Skill

handling-commands is an OpenClaw Skills integration for coding workflows. Patterns for handling commands, validating input, and filtering messages in XMTP agents. Use when implementing slash commands, validators, or message filters. Triggers on command handling, input validation, or type guards.

2.2k stars7.7k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namehandling-commands
descriptionPatterns for handling commands, validating input, and filtering messages in XMTP agents. Use when implementing slash commands, validators, or message filters. Triggers on command handling, input validation, or type guards. OpenClaw Skills integration.
ownerhumanagent
repositoryhumanagent/xmtp-agentpath: handling-commands
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @humanagent/xmtp-agent:handling-commands
last updatedFeb 7, 2026

Maintainer

humanagent

humanagent

Maintains handling-commands in the OpenClaw Skills directory.

View GitHub profile
File Explorer
5 files
handling-commands
rules
filters-message-types.md
1.1 KB
guards-codec.md
1.1 KB
validators-hex.md
811 B
SKILL.md
1.5 KB
SKILL.md

name: handling-commands description: Patterns for handling commands, validating input, and filtering messages in XMTP agents. Use when implementing slash commands, validators, or message filters. Triggers on command handling, input validation, or type guards. license: MIT metadata: author: xmtp version: "1.0.0"

XMTP commands and validation

Best practices for handling commands, validating input, and filtering messages.

When to apply

Reference these guidelines when:

  • Implementing slash commands
  • Validating hex strings and addresses
  • Filtering message types
  • Using type guards instead of type assertions

Rule categories by priority

PriorityCategoryImpactPrefix
1ValidatorsCRITICALvalidators-
2FiltersHIGHfilters-
3Type GuardsHIGHguards-

Quick reference

Validators (CRITICAL)

  • validators-hex - Use validHex() for hex string validation
  • validators-address - Validate Ethereum addresses

Filters (HIGH)

  • filters-message-types - Filter by message type
  • filters-sender - Filter out self-messages
  • filters-content - Check for defined content

Type Guards (HIGH)

  • guards-codec - Use usesCodec() instead of type assertions
  • guards-content-type - Use filter helpers for type safety

How to use

Read individual rule files for detailed explanations:

rules/validators-hex.md
rules/filters-message-types.md
rules/guards-codec.md
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install handling-commands?

Run openclaw add @humanagent/xmtp-agent:handling-commands in your terminal. This installs handling-commands into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/humanagent/xmtp-agent. Review commits and README documentation before installing.