← 返回
未分类 Key

Bailian Subagent

Spawn a bailian (百炼 DashScope) subagent to handle token-heavy or compute-intensive tasks. Use when the main agent needs to delegate data processing, batch op...
生成百炼(百炼 DashScope)子代理,处理大 token 量或计算密集型任务。当主代理需委托数据处理、批量操作时使用。
samuelhsin
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 154
下载
💾 0
安装
1
版本
#latest

概述

Bailian Subagent

Delegate heavy tasks to a cheaper bailian model to save Claude tokens.

Available Models

ModelUse case
-----------------
bailian/qwen3.5-plusGeneral tasks, data processing, writing
bailian/qwen3-coder-plusCode generation, debugging, scripts
bailian/kimi-k2.5Long context, document analysis
bailian/glm-5Alternative general model

Default recommendation: bailian/qwen3.5-plus for most tasks.

How to Spawn

sessions_spawn(
    task="<detailed instructions>",
    model="bailian/qwen3.5-plus",
    runtime="subagent",
    mode="run",
    runTimeoutSeconds=600
)

What to Delegate

Good candidates:

  • DataWorks / MaxCompute SQL execution (DROP/CREATE/INSERT/SELECT)
  • Batch data processing or transformation
  • Fetching and summarizing news / RSS feeds
  • Writing boilerplate code or scripts
  • Long document analysis or summarization
  • Any task with large context or repetitive steps

Keep with Claude (main agent):

  • Final decisions and trading advice
  • Conversation with Samuel
  • Tasks requiring memory/context of prior sessions
  • Sensitive judgment calls

Writing Good Task Instructions

Include all required context in the task string — subagent starts fresh with no memory:

  • Credentials / endpoints (if needed)
  • Exact steps to follow
  • Expected output format
  • Error handling instructions

DataWorks Pattern (verified)

When delegating MC/DW SQL tasks, provide this pattern in the task:

from alibabacloud_dataworks_public20240518.client import Client
from alibabacloud_dataworks_public20240518 import models as dw_models
from alibabacloud_tea_openapi.models import Config
import uuid, time

config = Config(
    access_key_id='${ALICLOUD_ACCESS_KEY_ID}',
    access_key_secret='${ALICLOUD_ACCESS_KEY_SECRET}',
    endpoint='dataworks.cn-hangzhou.aliyuncs.com',
    region_id='cn-hangzhou'
)
client = Client(config)
# ... run_sql() helper pattern

Key params: project_id=579810, owner=1206989323863181, resource_group_id=Serverless_res_group_421503158374466_777119112505568, datasource=samuelhsin

Sleep 15s between SQL calls to avoid throttling.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-20 06:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Crypto Market News

samuelhsin
Fetch real-time crypto and market news from major sources (CoinDesk, CoinTelegraph, Decrypt, Blockworks). Use when the u
★ 0 📥 214
data-analysis

Alicloud DataWorks Skill

samuelhsin
通过 OpenAPI/MCP Server 管理阿里云 DataWorks,用于数据开发、运维、数据质量、元数据血缘及工作空间管理等。
★ 0 📥 287
data-analysis

DataWorks Open API

samuelhsin
通过动态 API 发现和官方 SDK(Node.js、Python、Java)操作阿里云 DataWorks,涵盖数据开发、工作流运维、数据摄入等。
★ 1 📥 472