Moltbot - Personal AI Automation Agent

A sophisticated multi-channel personal AI automation agent inspired by Moltbot/Clawdbot. Features connections to Slack, Telegram, WhatsApp, and Email with 5 scheduled triggers for various automated activities. Includes dynamically installable skillsets for Google services, shell execution, file management, and task scheduling.

moltbot
clawdbot
personal automation
847

The Moltbot blueprint is a comprehensive personal AI automation agent that brings the power of Moltbot/Clawdbot to the ChatBotKit platform. Unlike self-hosted alternatives that require managing infrastructure and security, this blueprint provides all the automation capabilities in a secure, managed environment with enterprise-grade isolation.

Multi-Channel Communication

The agent is accessible across four communication channels-Slack for work conversations, Telegram for secure personal messaging, WhatsApp for mobile accessibility, and Email for asynchronous communication. Users can interact with their personal automation agent wherever they are, and conversations maintain context across channels.

Dynamic Skillset Architecture

At the heart of this blueprint is a minimal-footprint main agent with just core capabilities: skillset discovery, skillset installation, shell execution, and file management. Rather than loading all abilities upfront, the agent discovers available skillsets at runtime and installs only what's needed. This pattern keeps the agent fast and focused while enabling unlimited expansion.

Available skillsets include:

  • Google Email Tools: Read, search, send, draft, and manage Gmail with personal OAuth authentication
  • Google Calendar Tools: List calendars, check availability, create and manage events with personal OAuth
  • Google Drive Tools: List, read, and manage files in Google Drive
  • Task Management Tools: Create, list, schedule, update, and delete automated tasks

Proactive Automation with Triggers

Five scheduled triggers automate common workflows:

  1. Morning Briefing (Daily 8 AM): Summarizes today's calendar, unread emails, and pending tasks
  2. Email Digest (Twice daily): Checks for important emails and surfaces actionable items
  3. Calendar Reminder (Hourly): Reviews upcoming meetings and sends timely reminders
  4. Task Status Check (Every 4 hours): Reviews pending tasks and proactively updates status
  5. Weekly Review (Weekly on Sunday): Comprehensive review of the week and planning for the next

Secure Execution Environment

All shell commands run in isolated sandbox containers that are created on-demand and destroyed after use. The agent has its own persistent Space for storing scripts, automation outputs, and configuration files. Unlike self-hosted Moltbot which has full system access, this architecture ensures even malicious code cannot escape the sandbox.

Personal OAuth Integration

Google services use personal OAuth secrets, meaning each user authenticates with their own Google account. The agent never sees raw credentials-it receives scoped access tokens that can only perform the permitted actions. This provides true personal automation where your calendar, email, and files remain under your control.

Use Cases

  • "What's on my calendar today?" → Agent checks your personal Google Calendar
  • "Draft a reply to John's email about the project" → Agent reads the email, drafts a response, and saves to drafts
  • "Every morning, send me a summary of my day" → Agent creates a scheduled task that runs the morning briefing
  • "Download this report and save it for later" → Agent uses shell to fetch and store in the persistent workspace
  • "Remind me to follow up with Sarah next Tuesday" → Agent creates a calendar event or scheduled task

This blueprint demonstrates advanced ChatBotKit patterns: multi-channel deployment, dynamic skillset installation, personal OAuth, scheduled triggers for proactive automation, and secure shell execution-all combined into a practical personal automation assistant.

Backstory

Common information about the bot's experience, skills and personality. For more information, see the Backstory documentation.

You are Moltbot, a personal AI automation agent designed to help manage tasks, automate workflows, and execute actions on your user's behalf. You operate in a secure, isolated environment with access to shell commands, file storage, and dynamically installable skillsets. CORE CAPABILITIES: 1. SKILLSET DISCOVERY & INSTALLATION - List available skillsets using blueprint/resource/list - Install skillsets at runtime using conversation/skillset/install - Discover and expand your capabilities dynamically - Currently available: Google Email, Google Calendar, Google Drive, Task Management 2. SHELL EXECUTION - Execute bash commands in an isolated sandbox (shell/exec) - Write and run Python/Node.js scripts (shell/eval/python, shell/eval/node) - Read and write files in your persistent workspace (shell/read, shell/write) - Import external resources and files (shell/import) 3. WORKSPACE MANAGEMENT - You have a dedicated persistent Space for files and scripts - Store automation scripts, downloaded files, and outputs - Organize files in directories: /scripts/, /downloads/, /outputs/, /config/ - Files persist across conversations OPERATIONAL WORKFLOW: When a user asks for something: 1. Analyze what skillsets or tools are needed 2. Check if you have the required abilities installed 3. If not, use blueprint/resource/list to find available skillsets 4. Install needed skillsets with conversation/skillset/install 5. Execute the requested action 6. Provide clear feedback on what was done SKILLSET INSTALLATION GUIDE: Before using Google Calendar, Email, or other integrations: - First install the appropriate skillset - Google services will prompt the user for OAuth if not authenticated - Always explain what you're about to do before taking action PROACTIVE BEHAVIOR: You may be triggered by scheduled tasks. When triggered: - Morning Briefing: Summarize calendar, emails, and tasks - Email Digest: Check for important/actionable emails - Calendar Reminder: Review upcoming meetings - Task Status: Check pending automated tasks - Weekly Review: Summarize the week and plan ahead COMMUNICATION STYLE: - Be helpful, proactive, and security-conscious - Explain what you're doing before executing commands - Confirm destructive actions before proceeding - Suggest automation opportunities for repetitive tasks - Keep responses concise but informative EXAMPLE INTERACTIONS: User: "What meetings do I have today?" You: Let me check your calendar. [Install Google Calendar skillset if needed, then query calendar] User: "Draft a reply to John's email" You: I'll find John's email and help you draft a response. [Install Gmail skillset, search emails, draft reply] User: "Every morning at 8 AM, send me a summary of my day" You: I'll create a scheduled task for your daily summary. [Install Task Management skillset, create scheduled task] The current date is ${EARTH_DATE}.

Skillset

This example uses a dedicated Skillset. Skillsets are collections of abilities that can be used to create a bot with a specific set of functions and features it can perform.

  • sparkles

    List Available Skillsets

    Discover all available skillsets in this blueprint for dynamic installation
  • sparkles

    Install Skillset

    Dynamically install a skillset to gain new capabilities
  • sparkles

    Execute Command

    Execute bash commands and scripts in the sandbox environment
  • sparkles

    Read File

    Read files from the persistent workspace
  • sparkles

    Write File

    Write files to the persistent workspace
  • sparkles

    Import Resource

    Import external resources (URLs, files) into the workspace
  • sparkles

    Run Python Code

    Execute Python code for data analysis and automation
  • sparkles

    Run JavaScript Code

    Execute JavaScript/Node.js code for API interactions
  • sparkles

    List Gmail Messages

    List messages from Gmail inbox
  • sparkles

    Search Gmail

    Search Gmail messages with query filters
  • sparkles

    Read Gmail Message

    Read the full content of a Gmail message
  • sparkles

    Send Gmail Message

    Send an email via Gmail
  • sparkles

    Create Gmail Draft

    Create a draft email in Gmail
  • sparkles

    List Calendars

    List all available Google Calendars
  • sparkles

    List Calendar Events

    List events from a Google Calendar
  • sparkles

    Check Availability

    Check available time slots for scheduling
  • sparkles

    Create Calendar Event

    Create a new event in Google Calendar
  • sparkles

    Update Calendar Event

    Update an existing calendar event
  • sparkles

    List Drive Files

    List files in Google Drive
  • sparkles

    Read Drive File

    Read content from a Google Drive file
  • sparkles

    List Tasks

    List all scheduled and pending tasks
  • sparkles

    Create Task

    Create a new task with optional scheduling
  • sparkles

    Get Task Details

    Fetch details of a specific task
  • sparkles

    Update Task

    Update an existing task
  • sparkles

    Delete Task

    Delete a task
  • sparkles

    Run Task

    Manually trigger a task execution

Secrets

This example uses Secrets to store sensitive information such as API keys, passwords, and other credentials.

  • lock-keyhole

    Google Mail

    Authenticate with personal Google account for Gmail access
  • lock-keyhole

    Google Calendar

    Authenticate with personal Google account for Calendar access
  • lock-keyhole

    Google Drive

    Authenticate with personal Google account for Drive access

Terraform Code

This blueprint can be deployed using Terraform, enabling infrastructure-as-code management of your ChatBotKit resources. Use the code below to recreate this example in your own environment.

Copy this Terraform configuration to deploy the blueprint resources:

Next steps:

  1. Save the code above to a file named main.tf
  2. Set your API key: export CHATBOTKIT_API_KEY=your-api-key
  3. Run terraform init to initialize
  4. Run terraform plan to preview changes
  5. Run terraform apply to deploy

Learn more about the Terraform provider

A dedicated team of experts is available to help you create your perfect chatbot. Reach out via or chat for more information.