Install
openclaw skills install @jiuwei2/tradealpha-open-platformRoute beginner-friendly natural-language requests for TradeAlpha news and login into the TradeAlpha plugin tools. Use `tradealpha_news` for news and `tradealpha_login` for login or token refresh.
openclaw skills install @jiuwei2/tradealpha-open-platformTradeAlpha 开放平台:路透、彭博、Truth、国内主流消息源,一网打尽。
这是一个给 OpenClaw 使用的独立 skill。
这个 skill 不负责真实执行,只负责把用户的自然语言请求稳定路由到 plugin 提供的两个真实工具:
tradealpha_newstradealpha_login在用户安装或首次使用前,应明确知道下面这些运行时行为:
https://quantaccess.lxaa.toptradealpha_news 会优先读取环境变量 TRADEALPHA_API_KEYtradealpha_news 会读取本地配置文件 ~/.config/tradealpha-open-platform/config.jsontradealpha_login 登录成功后,会把返回的 token 保存到 ~/.config/tradealpha-open-platform/config.json如果用户对安全性有顾虑,应直接提醒用户:
quantaccess.lxaa.topTRADEALPHA_API_KEY~/.config/tradealpha-open-platform/config.json如果用户是小白用户,只说一句:
都应优先使用本 skill。
本 skill 只允许使用以下两个真实工具:
tradealpha_newstradealpha_login不要改用别的工具来冒充新闻或登录能力。
在执行任何请求前,先确认当前会话里真实可用的工具是否包含:
tradealpha_newstradealpha_login如果当前会话里没有这两个工具,说明 skill 已安装,但对应的 TradeAlpha plugin 没有成功加载。
此时必须立即停止执行,并直接告诉用户:
tradealpha_news 和 tradealpha_login不要假装工具存在,不要反复重试不存在的工具,不要使用无关动作代替 plugin 能力。
用户出现以下任一表达时,优先触发本 skill:
所有请求都遵守下面的固定路由规则。
如果用户明确要登录、初始化 token、刷新 token、重新登录:
account 和 passwordtradealpha_loginaccount、password如果用户要新闻,先直接调用 tradealpha_news,不要先假设用户已经登录。
timeframe: "today"timeframe: "latest"start_time、end_time,优先使用用户提供的时间范围sourcecategorylevelsource: "rtrs"source: "bloomberg"source: "truth"source: "domestic"source: "research_report"tradealpha_newsauth_required: false,读取结果并整理给用户auth_required: true,立即向用户索要 account 和 passwordtradealpha_logintradealpha_newstradealpha_login 和 tradealpha_newstradealpha_login 或 tradealpha_news,必须先说明“插件未加载”,不要继续执行timeframe: "today"timeframe: "latest"auth_required: true,必须先登录,不能跳过tradealpha_login 失败,必须停止后续新闻调用,并把失败原因明确告诉用户details 或主返回体,再总结给用户details 和文本内容,优先以 details 为准0-5 分钟客观延迟对小白用户,回复要直接、短、像助手,而不是像接口文档。
account、password