alice
它能做什么
这个技能让智能体使用 alice 命令行工具进行市场研究、代码查询,以及在 OpenAlice 中的团队协作。适合用 OpenAlice 做研究和共同工作的人。
适用场景
- ✓你想通过公司名称查找股票代码的时候。
- ✓你需要向其他同事或会话提问的时候。
- ✓你想查看工作区中的收件箱或事项的时候。
技能链接
https://github.com/TraderAlice/OpenAlice/blob/master/default/skills/alice/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请找出名为 Apple 的公司的股票代码,并告诉我最匹配的结果。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体运行 alice 命令,获取结构化的结果。它会先阅读每个命令的帮助,以确保使用正确的选项。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Research & collaboration — alice
alice is OpenAlice's research and collaboration interface on your PATH. Output is JSON on stdout
(pipe it: alice market search --query AAPL | jq '.results[0]'); a non-zero
exit means it failed, with the reason on stderr.
Discover, don't guess
alice --help # discover research and collaboration groups
alice <group> <verb> --help # a verb's flags (which are required)
Workbench research
Find a symbol (returns barIds — the operational handle for charts/quant):
alice market search --query "apple"
(Fundamentals, ratios, calendars and macro series live on traderhub —
e.g. traderhub equity profile --symbol AAPL.)
Expand coverage with vendors. Symbol search — and the K-line sources it
returns — comes from a set of data vendors; yfinance (global, always on) is the
default. For a name a global vendor misses, like a CN A-share or a Taiwan stock
by its native name, a local vendor closes the gap. List what's on and what each
covers, then enable one — live on the next search, no restart:
alice market vendors # sources, on/off, and how to use each
alice market vendor-set --vendor twse --enabled true # Taiwan (TWSE/TPEx); `eastmoney` for CN A-shares
If a search for a non-US name comes up empty, check alice market vendors
before giving up — the covering source may just be off. Each vendor's
howToUse flags its quirks (e.g. twse wants 繁体 台積電, not 简体 台积电).
alice rss is an optional quick scan of collected subscription articles,
with limited coverage. Command parameters are available in alice rss --help.
Raw K-lines use the same BarService as the Market chart. The market-data
skill covers source discovery, raw data and chart references in replies:
alice market search-bars --query AAPL
alice market bars --bar-id 'yfinance|AAPL' --asset-class equity --interval 1d --count 250 --output bars.json
The JSON file contains bars and meta, suitable for local Python/JavaScript
or shell pipelines. Omit --output for stdout. Existing files are preserved.
Sources retain their own identity; inspect coverage and freshness metadata.
alice analysis quant and snapshot remain optional conveniences; see the
alice-analysis Skill for their formula syntax.
Workspace shells inherit their Alice Project automatically. Outside a Workspace,
use openalice exec --project <key> alice <group> <verb> ...; omitting the
selector uses the configured Project context/default. Explicit Project selection
clears inherited Workspace/Session scope. Workspace collaboration commands need
Workspace context.
Collaboration and durable assets
The same alice CLI also owns peer, conversation, inbox, issue,
provenance, signature, session, track, and template. These are top-level
groups, not an alice workspace subcommand.
Read the collaboration reference before sending
messages, delivering reports or managing durable work. Workspace and Session
identity are supplied by the launch context. Use live alice --help to discover
commands and flags.
常见问题
如果找不到某只股票怎么办?
技能说明,部分非美国公司的名称需要先开启本地数据源。智能体可以检查有哪些数据源可用。
智能体在运行命令前会检查选项吗?
会。技能要求它查看每个命令的帮助,以确保必需的选项正确。
它也能处理团队任务吗?
可以。技能涵盖工作区协作,包括同事、收件箱消息和事项。
详情
作者的原始描述
Research data and Workspace collaboration through the `alice` CLI: symbol discovery, K-line analysis, optional subscribed-article lookup, peer conversations, Inbox and Issues. Use CLI help for command parameters. Also use alice for Workspace collaboration: peer discovery, Agent conversations, Inbox delivery, Issues, Session identity, tracked assets and template upgrades. Read references/collaboration.md for these workflows.
repo: TraderAlice/OpenAlice
热度
- GitHub 星标
- 7.4k
- 排名
- #13261
- 许可证
- AGPL-3.0
- 更新时间
- 2026/10/23
评论
- …