
sidebar.wechat

sidebar.feishu
sidebar.chooseYourWayToJoin

sidebar.scanToAddConsultant
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:
OpenClaw allows developers to enjoy the convenience of AI assistants while maintaining data privacy.
AskTable now supports configuration and management through OpenClaw Skill.
You can directly chat in OpenClaw, letting the AI assistant help you:
One-sentence understanding: Manage AskTable with natural language, open, transparent, controllable.
Skill is OpenClaw's extension mechanism, giving AI assistants capabilities in specific domains.
AskTable Skill enables OpenClaw to:
Like equipping OpenClaw with a "data management expert" brain.
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
Let's look at a real enterprise scenario.
Your Requirements:
Traditional Approach:
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:
OpenClaw will automatically:
Effect: Query accuracy improved by 30%+, response speed improved by 3-5x.
No need to remember commands, just state your needs:
From data upload to query optimization, one command completes:
Help me connect data.xlsx and optimize
Unlike commercial products, OpenClaw + AskTable combination:
| OpenClaw | Claude Code | |
|---|---|---|
| Open Source | Fully open source | Closed commercial product |
| Data Privacy | Supports local models | Data sent to cloud |
| Customizability | Highly customizable | Limited customization |
| Ecosystem | 6000+ community plugins | Official curated plugins |
| Usage Cost | Free | Subscription |
| Enterprise Scenario | Suitable for data privacy-sensitive enterprises | Suitable for teams pursuing convenience |
Selection Advice:
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.
Open Source + Open Source:
Privacy First:
Rich Ecosystem:
Data management, open, transparent, controllable.
Learn More:
Related Resources:
sidebar.noProgrammingNeeded
sidebar.startFreeTrial