33% OFFLimited Time —OpenClaw AI Bot Hosting

Get Deal
Documentation

00 — Configuration Guide

Clawra
Configuration
Guide

Complete setup documentation for configuring your Clawra AI companion with OpenClaw framework

Hosting Solution

Keep Clawra Online 24/7

Host on Clawra — one-click deployment, auto security updates. From $9.99/mo

⚡ 5-Min Setup🔒 Auto Security💬 All Platforms🌙 24/7 Online
Deploy Now — Clawra

01 — Overview

Understanding Clawra
Configuration

Clawra's configuration system, built on OpenClaw framework, provides extensive customization options for your AI companion. This guide covers all configuration aspects from basic setup to advanced customization.

The main Clawra configuration is stored in config.yaml in your Clawra project root directory. This YAML file controls all aspects of Clawra's behavior, AI model settings, platform connections, and skill configurations.

AI ModelsPlatformsSkillsPersonality

02 — Core Settings

Core Clawra
Settings

Fundamental behavior settings for your Clawra instance

The clawra section defines the basic identity and behavior of your Clawra instance, including name, personality type, language settings, and response behavior.

Basic Identity Settings

  • ◇name: "Clawra" — Your companion’s name
  • ◇personality.type: "default", "friendly", "professional", or "playful"
  • ◇language.primary: Primary language (ISO 639-1 code)
  • ◇response.max_length: Maximum response length in characters

Personality Types

Clawra comes with several built-in personality types:

Default

Balanced personality with friendly, helpful, and slightly playful traits. Ideal for general use.

Friendly

More casual and warm personality with emojis and informal language.

Professional

Formal and business-oriented tone for professional contexts.

Playful

High-energy, humorous personality with lots of jokes and entertainment.

03 — AI Models

AI Model
Intelligence

Configure the AI models that power Clawra's intelligence

The ai section configures the AI models that power Clawra's intelligence. Clawra supports multiple AI providers through the OpenClaw framework.

Supported AI Models

ProviderModelBest ForStatus
AnthropicClaude 3.5 SonnetBalanced performance & costRecommended
AnthropicClaude 3 OpusMaximum capabilityPremium
xAIGrok BetaAlternative optionSupported

Key Configuration Options

  • ◇provider: "anthropic" or "xai"
  • ◇model: Specific model to use (e.g., "claude-3-5-sonnet-20241022")
  • ◇temperature: 0.0–1.0, higher = more creative (0.7 recommended for Clawra)
  • ◇max_tokens: Maximum response length
  • ◇fallback.enabled: Enable fallback to secondary provider

04 — Platforms

Platform
Connections

Configure which messaging platforms Clawra connects to

Discord Configuration

Discord is the most popular platform for Clawra. Configure your Discord bot token and intents in the config file.

  • ◇Bot token from Discord Developer Portal
  • ◇Command prefix (default: "/")
  • ◇Message Content intent required
  • ◇Optional: allowed servers, admin users
Discord Developer Portal →

Telegram Configuration

Telegram offers a simple setup process through BotFather. Configure your bot token and optional webhook URL.

  • ◇Bot token from @BotFather
  • ◇Parse mode: HTML or Markdown
  • ◇Optional webhook for production
  • ◇Automatic message formatting
@BotFather →

WhatsApp Configuration

WhatsApp Business API integration for Clawra. Requires WhatsApp Business API access and webhook setup.

  • ◇Phone number ID
  • ◇Access token
  • ◇Webhook verify token
  • ◇Business account ID
WhatsApp Business API →

Clawra also supports Slack, Signal, and MS Teams through OpenClaw.

05 — Skills

OpenClaw Skills
Configuration

Clawra's functionality is extended through OpenClaw skills

Clawra extends OpenClaw with custom skills that add unique functionality. Each skill has its own configuration options in the config file.

Clawra Skills

clawra-selfie

Selfie generation using xAI Grok Imagine via fal.ai

Requires: fal.ai API key

clawra-personality

Personality system with character traits and backstory

Requires: personality.yaml file

clawra-memory

Extended memory system for relationship tracking

Requires: storage backend

clawra-video

Video call functionality (optional)

Requires: video provider API

Personality File Configuration

Create a custom personality in config/personality.yaml to define Clawra's character traits, backstory, interests, and behavioral guidelines.

  • ◇Character name, age, origin
  • ◇Personality traits (friendliness, curiosity, humor, empathy, etc.)
  • ◇Communication style (formality, verbosity, emoji usage)
  • ◇Interests and knowledge areas
  • ◇Behavioral guidelines

06 — Memory System

Memory System
Configuration

Configure how Clawra remembers and stores information

Configure how Clawra remembers conversations, preferences, and context across sessions. The memory system is built on OpenClaw's advanced memory capabilities.

Memory Storage Options

Storage TypeUse CaseSetupPerformance
SQLiteSingle instance, developmentSimpleGood
PostgreSQLProduction, multi-instanceModerateExcellent
RedisHigh-performance cachingModerateFast

Memory Configuration Options

  • ◇storage.type: sqlite, postgresql, or redis
  • ◇retention.short_term_days: Recent messages (default: 7)
  • ◇retention.long_term_days: Stored memories (default: 365)
  • ◇max_memories_per_user: Maximum memories per user
  • ◇search.enabled: Enable semantic search
  • ◇privacy.anonymize: Remove personal identifiers
  • ◇privacy.encryption: Encrypt stored memories

07 — Environment

Environment
Variables

For enhanced security, configure sensitive values using environment variables

For better security, use environment variables instead of hardcoding API keys in config.yaml. Create a .env file in your project root.

Required Environment Variables

# Required Environment Variables
# Add these to a .env file in your project root

# AI Provider
OPENAI_API_KEY=sk-your-openai-api-key-here

# Messaging Platform Tokens
DISCORD_TOKEN=your-discord-bot-token-here
TELEGRAM_TOKEN=your-telegram-bot-token-here
WHATSAPP_TOKEN=your-whatsapp-access-token-here

# Clawra Configuration
CLAWRA_BOT_NAME=Clawra
CLAWRA_TIMEZONE=UTC

Security Best Practices

  • ◆Never commit .env file or config.yaml with API keys to version control
  • ◆Add .env to your .gitignore file
  • ◆Use different API keys for development and production
  • ◆Rotate API keys regularly

08 — Logging

Logging &
Debugging

Configure logging levels and debugging options for troubleshooting

Configure logging to help troubleshoot issues and monitor Clawra's behavior. Set appropriate log levels for different components.

Log Levels

DEBUGDetailed information for diagnosing problems
INFOGeneral informational messages (default)
WARNINGWarning messages for potential issues
ERRORError messages for failures
CRITICALCritical issues requiring immediate attention

Logging Configuration Options

  • ◇level: Global log level
  • ◇console.enabled: Enable console logging
  • ◇file.enabled: Enable file logging
  • ◇file.path: Log file path (default: ./logs/clawra.log)
  • ◇debug.show_stack_traces: Show stack traces for errors

09 — Validation

Configuration
Validation

After configuring Clawra, validate your setup before running in production

Common Configuration Issues

Issue: Invalid YAML Syntax

Solution: Use a YAML validator to check syntax. Ensure proper indentation (2 spaces), no tabs, and colons are followed by spaces.

Issue: API Key Not Found

Solution: Verify environment variables are loaded. Check that .env file is in the project root and config.yaml references are correct.

Issue: Platform Connection Failed

Solution: Verify bot tokens are correct and not expired. Check that required intents are enabled in the platform's developer portal.

Issue: Skill Not Loading

Solution: Ensure skill dependencies are installed. Check skill-specific API keys and configuration parameters.

10 — Next Steps

Continue Your
Journey

Continue your Clawra journey with these guides

Usage Guide

Learn how to interact with Clawra and use all features effectively. Master conversation patterns, selfie generation, and memory management.

Learn More →

Customization

Personalize Clawra's personality, responses, and behavior. Create your own unique AI companion experience with custom configurations.

Learn More →

Troubleshooting

Solve common issues and get help with configuration problems. Find solutions for API errors, platform connection issues, and more.

Learn More →

Best Practices

Get the most out of Clawra with proven best practices for configuration, security, and user experience.

Learn More →