Task Router Skill
Task Router
Query Feishu Bitable (多维表格) with server-side filter, sort, field selection, and multiple output formats. Activate when querying bitable records with conditions, filtering multidimensional table data, or when data volume is large and client-side filtering is inefficient. Preferred over feishu_bitable_list_records tool when filter expressions or full pagination is needed.
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install deadblue22/feishu-bitable-queryInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
Use scripts/feishu_bitable_query.py to query Bitable tables with server-side filtering. This avoids pulling all records into context and handles pagination automatically.
feishu_bitable_list_records) when: simple reads, small tables, or no filter neededSCRIPT="scripts/feishu_bitable_query.py"
# Count records matching a filter
python3 $SCRIPT --app-token APP --table-id TBL --filter 'EXPR' --count
# Query with filter, compact output
python3 $SCRIPT --app-token APP --table-id TBL \
--filter 'EXPR' \
--compact-fields '["字段1","字段2"]' \
--all-pages 2>/dev/null
# Query with view (uses view's built-in filter/sort)
python3 $SCRIPT --app-token APP --table-id TBL --view-id VIEW --all-pages
# TSV output for readability
python3 $SCRIPT --app-token APP --table-id TBL \
--compact-fields '["描述","状态"]' --format tsv --all-pages 2>/dev/null
# JSONL for piping to other tools
python3 $SCRIPT --app-token APP --table-id TBL --format jsonl --all-pages 2>/dev/null
| Option | Description |
|---|---|
--filter |
飞书 filter 表达式 (server-side) |
--sort |
Sort expression |
--fields |
API 层面只返回指定字段 (JSON array) |
--view-id |
使用视图的筛选排序 |
--compact-fields |
输出时只显示指定字段,自动格式化 (JSON array) |
--format |
json (default), jsonl, tsv |
--all-pages |
自动翻页拉取全部 |
--count |
只输出匹配总数 |
--include-id |
输出中包含 record_id |
--time-filter |
本地时间过滤 (可多次), 格式见下方 |
--page-size |
每页条数 1-500, default 500 |
--filter(GET List API)CurrentValue.[字段名]="值"
AND(CurrentValue.[字段名]="值", C...
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# Feishu Bitable Query Use `scripts/feishu_bitable_query.py` to query Bitable tables with server-side filtering. This avoids pulling all records into context and handles pagination automatically. ## When to Use This Script vs the Built-in Tool - **Use this script** when: filter conditions are needed, data volume is large (>100 records), need specific output format (TSV/JSONL), or need to pipe results to other scripts - **Use the built-in tool** (`feishu_bitable_list_records`) when: simple reads, small tables, or no filter needed ## Quick Reference ```bash SCRIPT="scripts/feishu_bitable_query.py" # Count records matching a filter python3 $SCRIPT --app-token APP --table-id TBL --filter 'EXPR' --count # Query with filter, compact output python3 $SCRIPT --app-token APP --table-id TBL \ --filter 'EXPR' \ --compact-fields '["字段1","字段2"]' \ --all-pages 2>/dev/null # Query with view (uses view's built-in filter/sort) python3 $SCRIPT --app-token APP --table-id TBL --view-id VIEW --all-pages # TSV output for readability python3 $SCRIPT --app-token APP --table-id TBL \ --compact-fields '["描述","状态"]' --format tsv --all-pages 2>/dev/null # JSONL for piping to other tools python3 $SCRIPT --app-token APP --table-id TBL --format jsonl --all-pages 2>/dev/null ``` ## Key Options | Option | Description | |--------|-------------| | `--filter` | 飞书 filter 表达式 (server-side) | | `--sort` | Sort expression | | `--fields` | API 层面只返回指定字段 (JSON array) | | `--view-id` | 使用视图的筛选排序 | | `--compact-fields` | 输出时只显示指定字段,自动格式化 (JSON array) | | `--format` | `json` (default), `jsonl`, `tsv` | | `--all-pages` | 自动翻页拉取全部 | | `--count` | 只输出匹配总数 | | `--include-id` | 输出中包含 record_id | | `--time-filter` | 本地时间过滤 (可多次), 格式见下方 | | `--page-size` | 每页条数 1-500, default 500 | ## Filter 两种模式 ### 模式 1: 公式语法 `--filter`(GET List API) ``` CurrentValue.[字段名]="值" AND(CurrentValue.[字段名]="值", C...
Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.