AskTable
sidebar.freeTrial

AskTable Now Supports OpenClaw: Data Management Capability for Open-Source AI Assistant

AskTable Team
AskTable Team 2026-03-19

AskTable Now Supports OpenClaw: Data Management Capability for Open-Source AI Assistant

What is OpenClaw

OpenClaw is one of the fastest-growing open-source projects on GitHub in 2026, a completely open-source AI programming assistant.

Unlike commercial products like Claude Code and Cursor, OpenClaw's core advantages are:

  • Fully Open Source: Transparent code, community-driven
  • Local-First: Supports local models, data stays local
  • Highly Customizable: Freely modify and extend
  • Active Community: Ecosystem with 6000+ plugins and skills

OpenClaw allows developers to enjoy the convenience of AI assistants while maintaining data privacy.


What We Did

AskTable now supports configuration and management through OpenClaw Skill.

You can directly chat in OpenClaw, letting the AI assistant help you:

  • Upload and manage data sources
  • Optimize metadata, improve query accuracy
  • Configure permission policies
  • Create value indexes and business glossaries

One-sentence understanding: Manage AskTable with natural language, open, transparent, controllable.


What is AskTable Skill

Skill is OpenClaw's extension mechanism, giving AI assistants capabilities in specific domains.

AskTable Skill enables OpenClaw to:

  • Call all AskTable CLI functions
  • Understand data management best practices
  • Auto-optimize data source configuration
  • Intelligently suggest indexes and terminology

Like equipping OpenClaw with a "data management expert" brain.


How to Get AskTable Skill

Copy the following instruction and paste it into the OpenClaw dialog:

Use npm i -g @datamini/asktable-cli to install the tool, then execute asktable get-skill to get and install the skill

OpenClaw will automatically help you complete the installation. According to the Skill installation prompts, input the relevant API Key to start operating your AskTable.

API Key acquisition: AskTable Console


Practical Case: Batch Configure Multiple Data Sources, All Done in One Stop

Let's look at a real enterprise scenario.

Scenario: Integrate All Enterprise Data, Create Unified Query Entry

Your Requirements:

  • 1 MySQL database (production order data)
  • 1 PostgreSQL database (user behavior data)
  • 3 Excel files (sales reports, employee information, product catalog)
  • Need unified query entry
  • Need permission configuration: regular employees can only see their own data, management can see all

Traditional Approach:

  1. Open AskTable web pages one by one
  2. Manually create 5 data sources
  3. Configure database connections separately
  4. Upload 3 Excel files
  5. Wait for 5 metadata syncs
  6. Manually optimize each data source
  7. Create Bot and associate data sources
  8. Configure roles and permission policies
  9. Test if permissions work

Estimated Time: 1-2 hours


Using OpenClaw + AskTable Skill:

You: Help me configure the following data sources and create a unified query Bot:
    1. MySQL database (order data)
       - Host: db.company.com
       - Database: orders
       - User: readonly
    2. PostgreSQL database (user behavior)
       - Host: analytics.company.com
       - Database: user_events
    3. Three Excel files:
       - sales_2024.xlsx (sales report)
       - employees.xlsx (employee information)
       - products.xlsx (product catalog)

    Permission requirements:
    - Regular employees can only see their own data (filtered through employee_id)
    - Management can see all data

OpenClaw:
Okay, I'll batch configure these data sources.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Step 1: Create Data Sources
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

[1/5] MySQL Order Data
$ asktable ds create --name "Order Data" --engine mysql \
  --config '{"host":"db.company.com","database":"orders","user":"readonly","password":"***"}'
✓ Data source created successfully (ID: ds_mysql_001)

[2/5] PostgreSQL User Behavior
$ asktable ds create --name "User Behavior Data" --engine postgres \
  --config '{"host":"analytics.company.com","database":"user_events","user":"readonly","password":"***"}'
✓ Data source created successfully (ID: ds_pg_001)

[3/5] Excel - Sales Report
$ asktable ds create --name "Sales Report" --engine excel
✓ Data source created successfully (ID: ds_excel_001)
$ asktable ds upload ds_excel_001 sales_2024.xlsx
✓ File upload complete (3.2 MB)

[4/5] Excel - Employee Information
$ asktable ds create --name "Employee Information" --engine excel
✓ Data source created successfully (ID: ds_excel_002)
$ asktable ds upload ds_excel_002 employees.xlsx
✓ File upload complete (1.1 MB)

[5/5] Excel - Product Catalog
$ asktable ds create --name "Product Catalog" --engine excel
✓ Data source created successfully (ID: ds_excel_003)
$ asktable ds upload ds_excel_003 products.xlsx
✓ File upload complete (0.8 MB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Step 2: Sync Metadata
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

$ asktable ds meta sync ds_mysql_001 --wait
✓ MySQL metadata sync complete (15 tables, 127 fields)

$ asktable ds meta sync ds_pg_001 --wait
✓ PostgreSQL metadata sync complete (8 tables, 64 fields)

$ asktable ds meta sync ds_excel_001 --wait
✓ Sales Report metadata sync complete (1 table, 12 fields)

$ asktable ds meta sync ds_excel_002 --wait
✓ Employee Information metadata sync complete (1 table, 8 fields)

$ asktable ds meta sync ds_excel_003 --wait
✓ Product Catalog metadata sync complete (1 table, 10 fields)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Step 3: Smart Optimization
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Analyzing key fields, creating value indexes...

$ asktable ds index create ds_mysql_001 --schema orders --table orders --field customer_id
$ asktable ds index create ds_mysql_001 --schema orders --table orders --field product_id
$ asktable ds index create ds_pg_001 --schema public --table events --field user_id
$ asktable ds index create ds_excel_002 --schema public --table employees --field employee_id
$ asktable ds index create ds_excel_003 --schema public --table products --field product_name
✓ Value indexes created for 5 key fields

Adding business terminology...

$ asktable glossary create --term "Active User" --definition "Users who logged in within the last 30 days"
$ asktable glossary create --term "High Value Order" --definition "Orders with amount exceeding 10000 yuan"
$ asktable glossary create --term "East China" --definition "Includes Shanghai, Jiangsu, Zhejiang, Anhui, Fujian, Jiangxi, Shandong"
✓ 3 business terms added

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Step 4: Create Unified Bot
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

$ asktable bot create --name "Enterprise Data Assistant" \
  --datasources ds_mysql_001,ds_pg_001,ds_excel_001,ds_excel_002,ds_excel_003
✓ Bot created successfully (ID: bot_unified_001)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Step 5: Configure Permissions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

[Create Policy - Employee Self-Check]
$ asktable policy create \
  --name "Employee Self-Check Policy" \
  --permission allow \
  --datasources ds_mysql_001,ds_pg_001,ds_excel_001,ds_excel_002,ds_excel_003 \
  --rows-filter '{"*.*.employee_id": "{{employee_id}}"}'
✓ Policy created successfully (ID: policy_employee)

[Create Policy - Management Overview]
$ asktable policy create \
  --name "Management Overview Policy" \
  --permission allow \
  --datasources ds_mysql_001,ds_pg_001,ds_excel_001,ds_excel_002,ds_excel_003
✓ Policy created successfully (ID: policy_manager)

[Create Roles]
$ asktable role create --name "Regular Employee" --policies policy_employee
✓ Role created successfully (ID: role_employee)

$ asktable role create --name "Management" --policies policy_manager
✓ Role created successfully (ID: role_manager)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Complete! Configuration Summary
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✓ 5 data sources configured and optimized
  - MySQL: 15 tables, 127 fields
  - PostgreSQL: 8 tables, 64 fields
  - Excel: 3 files, 30 fields

✓ 1 unified query Bot
  - Supports cross-data-source queries
  - Auto-associates related data

✓ 2 roles + 2 permission policies
  - Regular employees: can only query their own data
  - Management: can query all data

Now you can use it like this:

[Regular Employee Query]
$ asktable query bot_unified_001 "My sales last month" \
  -r role_employee -V employee_id=E001
→ Returns only E001 employee data

[Management Query]
$ asktable query bot_unified_001 "Last month's total company sales" \
  -r role_manager
→ Returns all data

[Cross Data Source Query]
$ asktable query bot_unified_001 "Top 10 products with highest sales and their details"
→ Auto-associates order data (MySQL) and product catalog (Excel)

Total time: approximately 3 minutes

Comparison:

  • Traditional approach: 1-2 hours, need to configure one by one
  • OpenClaw: 3 minutes, batch completion in one go

Core Capabilities

1. Smart Optimize Data Sources

OpenClaw will automatically:

  • Identify key fields (ID, name, amount, date, etc.)
  • Create value indexes for high-frequency query fields
  • Add business terminology to glossary
  • Optimize field descriptions and units

Effect: Query accuracy improved by 30%+, response speed improved by 3-5x.

2. Natural Language Management

No need to remember commands, just state your needs:

  • "Upload this file for me"
  • "Optimize the employee field"
  • "Configure permissions, so employees can only see their own data"

3. Full Process Automation

From data upload to query optimization, one command completes:

Help me connect data.xlsx and optimize

4. Open and Transparent

Unlike commercial products, OpenClaw + AskTable combination:

  • Open Source Code: Can view Skill implementation logic
  • Local-First: Supports local models, sensitive data stays local
  • Community Driven: Can freely modify and share Skills

OpenClaw vs Claude Code: Choose the Right Solution for You

OpenClawClaude Code
Open SourceFully open sourceClosed commercial product
Data PrivacySupports local modelsData sent to cloud
CustomizabilityHighly customizableLimited customization
Ecosystem6000+ community pluginsOfficial curated plugins
Usage CostFreeSubscription
Enterprise ScenarioSuitable for data privacy-sensitive enterprisesSuitable for teams pursuing convenience

Selection Advice:

  • If you value data privacy and open source transparency, choose OpenClaw
  • If you pursue out-of-the-box and official support, choose Claude Code
  • Both support AskTable Skill, features are completely consistent

Get Started Now

Copy the following instruction and paste it into the OpenClaw dialog:

Use npm i -g @datamini/asktable-cli to install the tool, then execute asktable get-skill to get and install the skill

Then say:

Help me upload data.xlsx to AskTable and optimize

That's it.


Why Choose OpenClaw + AskTable

Open Source + Open Source:

  • OpenClaw is open source, AskTable Skill is open source
  • Code is transparent, logic is auditable
  • Community driven, continuous improvement

Privacy First:

  • Supports local models, data stays local
  • Enterprise data is completely controllable
  • Meets strict compliance requirements

Rich Ecosystem:

  • 6000+ OpenClaw plugins
  • Seamless integration with other tools
  • Active community, quick problem resolution

Data management, open, transparent, controllable.


Learn More:

Related Resources:

cta.readyToSimplify

sidebar.noProgrammingNeededsidebar.startFreeTrial

cta.noCreditCard
cta.quickStart
cta.dbSupport