AGENT SKILL

maton

Connect to SaaS tools via Maton AI. Includes full UI integration for Clawdbot Gateway dashboard. Use when setting up Maton integration, connecting apps (Gmail, Slack, Notion, HubSpot, etc.), or managing OAuth connections.

License 许可
MIT
最近更新
2026-06-07
Stars
★ 0
Forks
1

01 前言 Front Matter

name
maton
metadata
{ "clawdbot": { "emoji": "🔗", "category": "integrations", "requires": { "clawdbot": ">=2026.1.0" } } }
description
Connect to SaaS tools via Maton AI. Includes full UI integration for Clawdbot Gateway dashboard. Use when setting up Maton integration, connecting apps (Gmail, Slack, Notion, HubSpot, etc.), or managing OAuth connections.

03 SKILL.md 正文

Maton AI

Connect your AI agent to SaaS tools via Maton's OAuth connection management. This skill provides:

  • Full UI Dashboard — Configure API key, view connections, initiate OAuth flows
  • Multi-App Support — Gmail, Slack, Notion, HubSpot, Jira, Google Workspace, and more
  • Connection Management — Create, monitor, and delete app connections
  • API Keys Integration — Maton API key appears in the API Keys tab for easy configuration

Overview

Maton provides a unified API for connecting to SaaS tools via OAuth. Once connected, you can interact with these tools through Maton's AI capabilities or directly via their API.

Prerequisites

  1. Maton Account — Sign up at maton.ai
  2. API Key — Get your API key from the Maton dashboard
  3. Clawdbot Gateway — v2026.1.0 or later with UI enabled

Quick Start

Step 1: Get Your API Key

  1. Go to maton.ai and sign in
  2. Navigate to Settings → API Keys
  3. Create or copy your API key

Step 2: Configure in Clawdbot UI

Option A: Via API Keys tab

  1. Open Clawdbot Dashboard → Settings → API Keys
  2. Find "Maton" in the Environment Keys section
  3. Enter your API key and click Save

Option B: Via Maton tab

  1. Open Clawdbot Dashboard → Tools → Maton
  2. Click Configure
  3. Paste your API key
  4. Click Save

Step 3: Connect Apps

  1. Go to Tools → Maton
  2. Click Connect App and select an app (e.g., Gmail, Slack)
  3. Complete the OAuth flow in the popup window
  4. Once status shows ACTIVE, the connection is ready

Supported Apps

Maton supports 50+ SaaS applications including:

Category Apps
Google Workspace Gmail, Calendar, Docs, Sheets, Drive, Slides, Ads, Analytics
Productivity Notion, Airtable, Jira, Calendly
Communication Slack, Outlook
CRM HubSpot, Apollo
Media YouTube

API Reference

Base URL

https://ctrl.maton.ai

Authentication

All requests require a Bearer token:

curl https://ctrl.maton.ai/connections \
  -H "Authorization: Bearer YOUR_API_KEY"

Endpoints

Method Endpoint Description
GET /connections List all connections
POST /connections Create new connection
GET /connections/{id} Get connection details
DELETE /connections/{id} Delete connection

Connection Status

Status Description
PENDING OAuth flow not completed; url contains OAuth link
ACTIVE Connection established and ready to use
FAILED Connection failed; reconnection required

Architecture

Configuration Storage

The Maton API key is stored in the main Clawdbot config file:

{
  "env": {
    "MATON_API_KEY": "your-api-key-here"
  }
}

This integrates with the API Keys tab for centralized key management.

Backend RPC Methods

Method Purpose
maton.status Get API key status and connection count
maton.save Validate and store API key
maton.test Test the API key
maton.disconnect Remove API key
maton.connections List all connections
maton.connect Create a new connection (returns OAuth URL)
maton.delete Delete a connection
maton.apps List supported apps

UI Components

File Purpose
maton-backend.ts Gateway RPC handlers
maton-controller.ts UI state management
maton-views.ts Lit HTML templates

Installation

See reference/README.md for detailed integration instructions.

Quick Integration

  1. Copy backend handler to src/gateway/server-methods/maton.ts
  2. Copy UI files to ui/src/ui/views/ and ui/src/ui/controllers/
  3. Add "maton" tab to navigation
  4. Add MATON_API_KEY to API keys discovery
  5. Rebuild and restart

UI Features

Maton Tab (Tools → Maton)

  • Connection status with active/pending counts
  • API key configuration form
  • Connected apps list with status badges
  • App picker modal for new connections
  • One-click OAuth flow initiation

API Keys Tab Integration

  • Shows "Maton" in Environment Keys section
  • Direct input field for API key
  • Save/Clear functionality

Security

Aspect Implementation
Key Storage Main config file (~/.clawdbot/clawdbot.json)
Key Access Never exposed to AI agent
OAuth Tokens Managed by Maton (automatic refresh)

Best practices:

  • Rotate API keys periodically
  • Review connected apps regularly
  • Disconnect unused connections

Troubleshooting

"Unauthorized" error

  • Verify your API key is correct
  • Check that the key hasn't been revoked
  • Regenerate in Maton dashboard if needed

Connection stuck in PENDING

  • OAuth flow wasn't completed
  • Try the OAuth URL again
  • Delete and recreate if URL expired

Connection shows FAILED

  • OAuth token may have expired
  • Delete the connection and create new one

Maton not in API Keys tab

  • Ensure you're on Clawdbot v2026.1.0+
  • Refresh the page after gateway restart

Reference Files

  • reference/maton-backend.ts — Gateway RPC handlers
  • reference/maton-controller.ts — UI controller logic
  • reference/maton-views.ts — UI rendering (Lit)
  • reference/README.md — Installation guide

Support

04 同仓库更多 Skills

javimosch
javimosch/open-claw-skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

★ 0
javimosch
javimosch/open-claw-skills

ceaser

Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).

★ 0
javimosch
javimosch/open-claw-skills

ceaser-send

Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.

★ 0
javimosch
javimosch/open-claw-skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

★ 0
javimosch
javimosch/open-claw-skills

moldium

Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.

★ 0
javimosch
javimosch/open-claw-skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.

★ 0