← 返回 Skills 市场
superhhh1992-byte

A Share Dashboard

作者 superhhh1992-byte · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
97
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install a-share-dashboard
功能描述
A股智能看板 - 偏基本面选股 + 热点标注 + 持仓监控。Web Dashboard 形式的股票分析工具。
使用说明 (SKILL.md)

A股智能看板

Streamlit Web Dashboard,提供:

  • 📊 每日选股池(基本面评分)
  • 🔍 个股深度分析(K线图 + 评分)
  • 🔥 热点板块追踪
  • 💰 北向资金流向
  • ⚙️ 持仓监控

使用方法

启动看板

cd ~/.openclaw/workspace/a-share-dashboard
streamlit run app.py

访问地址: http://localhost:8501

功能说明

Tab 功能 说明
每日选股 根据基本面评分筛选股票 支持价格、涨跌幅、换手率筛选
个股详情 输入代码查看深度分析 K线图 + 均线 + 基本面评分
热点追踪 概念板块涨幅榜 自动标注热点板块
北向资金 外资流向数据 近5日净流入图表
持仓监控 输入持仓实时监控 盈亏计算 + 风险预警

持仓格式

在侧边栏输入持仓,每行一只:

代码,成本,数量
603618,45.00,500
002149,18.50,1000

数据源

  • 行情数据: 东方财富 API
  • 板块数据: AKShare
  • 北向资金: AKShare

技术栈

  • Streamlit 1.55+
  • Plotly (K线图)
  • AKShare (数据)
  • Pandas (数据处理)

注意事项

  • 数据每 5 分钟自动刷新
  • 点击"刷新数据"可手动更新
  • 基本面评分仅供参考,不构成投资建议
安全使用建议
This skill appears to implement a legitimate stock dashboard, but it calls an undeclared, hard-coded script at /home/c1/.openclaw/workspace/skills/a-share-stock-dossier/scripts/a_share_snapshot.py when fetching data. Before installing or running: 1) Ask the publisher to document dependencies and provide the a_share_snapshot.py source (or include its logic) — do not run the dashboard until you can inspect that script. 2) If you plan to run it, do so in a sandboxed environment (isolated user account or container) because the external script will run with the agent's permissions and may access network or local files. 3) Remove or replace hard-coded absolute paths with configurable/declarative dependencies, or ensure the referenced skill is trusted. 4) The included venv file is unnecessary — verify the package wasn't copied from a personal environment. If the maintainer cannot justify or reveal the external script, treat this as risky and avoid running it.
功能分析
Type: OpenClaw Skill Name: a-share-dashboard Version: 1.0.0 The skill uses 'subprocess.run' in 'app.py' to execute a hardcoded Python script located in a different skill's directory ('/home/c1/.openclaw/workspace/skills/a-share-stock-dossier/scripts/a_share_snapshot.py'). This cross-skill dependency and the use of shell execution for data retrieval are risky patterns. Additionally, the 'fetch_via_script' function is vulnerable to argument injection because user-provided stock codes are passed directly as command-line arguments without sanitization, which could be used to alter the behavior of the underlying script.
能力评估
Purpose & Capability
Name/description (A股看板) match the UI and analysis code in app.py. However, the app relies on an external snapshot script at an absolute path (/home/c1/.openclaw/workspace/skills/a-share-stock-dossier/scripts/a_share_snapshot.py) that is not declared in SKILL.md, not included in the file manifest, and not documented as a dependency. Executing another skill's script is not obviously required by a dashboard and is an undeclared cross-skill dependency.
Instruction Scope
SKILL.md instructs only to run streamlit run app.py and lists data sources (东方财富 API, AKShare). It does not mention that app.py will run an external script via subprocess (fetch_via_script calling the SNAPSHOT_SCRIPT). That external script may perform network I/O or access local files—behavior not visible or declared in the SKILL.md. The instructions therefore omit a material runtime action (executing code at a hard-coded absolute path).
Install Mechanism
No install spec (instruction-only), which is low risk. However, the repository includes a venv/pyvenv.cfg file—an included virtualenv config with absolute home path—which is unnecessary for an instruction-only skill and suggests the package was packaged from a local environment. This is odd but not inherently malicious.
Credentials
The skill declares no required environment variables or credentials, which matches the SKILL.md. There are no obvious requests for unrelated credentials. That said, because the skill executes an external script, that script might require or access secrets (not declared here), so lack of declared env vars does not guarantee no secret access at runtime.
Persistence & Privilege
always is false and the skill does not claim to modify other skills or system-wide configs. The meaningful privilege concern is runtime: app.py executes another script from the workspace which can run arbitrary code with the agent user's privileges. That cross-script execution increases blast radius if the referenced script is untrusted.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install a-share-dashboard
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /a-share-dashboard 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of A股智能看板 (a-share-dashboard): - Provides a web-based Streamlit dashboard for A股分析 - Features fundamental stock screening, hotspot sector tracking, and deep individual stock analysis with K-line charts - Includes northbound capital flow tracking and real-time portfolio monitoring with risk alerts - Supports customizable stock pools and interactive data refresh - Utilizes 东方财富 and AKShare for market and sector data
元数据
Slug a-share-dashboard
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

A Share Dashboard 是什么?

A股智能看板 - 偏基本面选股 + 热点标注 + 持仓监控。Web Dashboard 形式的股票分析工具。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 97 次。

如何安装 A Share Dashboard?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install a-share-dashboard」即可一键安装,无需额外配置。

A Share Dashboard 是免费的吗?

是的,A Share Dashboard 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

A Share Dashboard 支持哪些平台?

A Share Dashboard 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 A Share Dashboard?

由 superhhh1992-byte(@superhhh1992-byte)开发并维护,当前版本 v1.0.0。

💬 留言讨论