discli for Openclaw

A comprehensive command-line interface for managing Discord servers, designed for efficiency in both human and AI agent workflows.

ibbybuilds
v0.6.2
Mar 24, 2026
0
801
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install discli

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install discli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is discli?

discli is a high-performance command-line tool specifically built for managing Discord server infrastructures. It allows users to control channels, roles, permissions, and messages without leaving the terminal. As a highlighted entry in the Openclaw Skills collection, it provides a structured interface that translates complex Discord API calls into simple, actionable commands.

The tool is optimized for developers and AI agents, offering high token efficiency by prioritizing YAML output. Whether you need to audit logs, bulk-delete messages, or sync permissions across categories, discli provides the technical foundation for robust Discord orchestration and automation.

discli Use Cases

  • Automating the creation and configuration of channels and categories during server setup.
  • Managing server roles, member permissions, and assignment logic via scripts.
  • Programmatic message delivery, including rich embeds and file attachments.
  • Searching through server history or monitoring audit logs for specific events.
  • Implementing custom bot personalities using Openclaw Skills integration for interactive server management.

How discli Works

  1. The user provides a Discord BOT_TOKEN to initialize the connection between the CLI and the Discord API.
  2. The server is selected or targeted via ID to establish the operational context for subsequent commands.
  3. Commands are executed to modify server state, with the option to use dry-runs for safety on destructive operations.
  4. Output is generated in YAML or JSON, allowing AI agents to process server data with minimal token overhead.
  5. Optional personality configurations are loaded to ensure any bot-initiated messages align with a predefined voice.

discli Setup

To integrate this tool into your Openclaw Skills workflow, install it via npm:

npm install -g @ibbybuilds/discli

Perform the initial setup by providing your bot token:

discli init --token <your_bot_token>

Ensure your environment variables include the BOT_TOKEN for continuous access in automated environments.

discli Data Schema & Taxonomy

The skill maintains its configuration and state within a dedicated local directory, organizing data as follows:

Component Location Description
Authentication ~/.discli/.env Securely stores the BOT_TOKEN for API access.
Configuration ~/.discli/config.json Stores user preferences and default server selections.
Personality ~/.discli/SOUL.md Defines the bot's behavioral principles and communication style.
Output Formats CLI Flags Supports YAML, JSON, and Table formats for data consumption.

discli Advanced Features

  • Smart output detection that automatically switches to YAML when piped to agents for optimized token usage.
  • Comprehensive audit log filtering by action type or user ID for forensic server analysis.
  • Support for bulk message management and complex thread creation from existing messages.
  • Permission locking and unlocking mechanisms to quickly toggle channel accessibility.
  • Custom emoji and server icon management directly from local image files.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*