cue-stock-valuation

Full-cycle stock valuation analysis using Cue. Performs full-cycle valuation of individual stocks with Cue, combining short-term capital-flow analysis and mid-to-long-term valuation models: short-term focus on sentiment-driven trading and support/resistance, mid-to-long-term focus on earnings realization and margin of safety.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "cue-stock-valuation" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e830a9ee6689bfe847681a33a48d11a884be18b16fed6d685cac0125c2d6858d. Verify the upstream source and version against https://skillhub.cn/skills/org-y1eh5fyg/cue-stock-valuation before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Full-cycle stock valuation analysis using Cue. Performs full-cycle valuation of individual stocks with Cue, combining short-term capital-flow analysis and mid-to-long-term valuation models: short-term focus on sentiment-driven trading and support/resistance, mid-to-long-term focus on earnings realization and margin of safety.

0 Downloads

Introduction source: third_party · org-y1eh5fyg · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Software, accounts and paid services
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: cue-stock-valuation
description: 用 Cue 对个股进行全周期估值分析——融合短线资金流向与中长线估值模型,短期看情绪博弈与支撑压力,中长期看业绩兑现与安全边际。
description_zh: Cue 个股估值与股价分析:短/中/长三周期融合分析,资金面+估值模型+业绩兑现。
version: 1.0.0
author: sensedeal
tags: [cue, stock-valuation, equity-analysis, 个股估值, 股价分析, 估值模型, 财务分析]

个股估值与股价分析

融合短线资金流向与中长线估值模型,全周期分析——短期看情绪博弈与支撑压力,中长期看业绩兑现与安全边际。

Agent 执行摘要

顺序 做什么 禁止
1 确认 Cue runner 就绪 禁止跳过
2 告知用户耗时 2-15 分钟 禁止中途取消
3 一条命令,--template-id template_8qNgr5,传入目标股票 禁止连发多条
4 [cue-research] RESULT ok = 完成 禁止编造
5 原样交付,来源链接不丢失 禁止概括/改数字

适用场景

场景 解决的问题
个股深度分析 从短中长三周期评估估值水平、业绩驱动与安全边际
持仓检视 定期审视持仓股的估值变化与安全边际
新股研究 快速了解一家公司的估值水平和市场定位
行业对比 同业公司的估值对比分析

核心能力

  1. 短期情绪与博弈分析 — 资金流向、筹码分布、支撑压力位
  2. 中期业绩展望 — 盈利预测、增长驱动、催化剂事件
  3. 长期估值模型 — DCF/PE/PB 等多模型交叉验证
  4. 安全边际判断 — 当前价格与内在价值的差距评估

试试这样问

  • "帮我分析一下宁德时代的估值"
  • "比亚迪现在贵不贵?"
  • "茅台的中长期投资价值如何?"
  • "对比一下宁德时代和比亚迪的估值"

输出形式

结构化报告:公司概况 → 短期资金面 → 中期业绩驱动 → 长期估值模型 → 安全边际 → 风险因素 → 来源链接。

输出示例

查看完整报告


环境要求

首次使用运行 skill 自带的一键安装脚本(检查依赖 → 克隆 runner → 验证 Key → 测试连通性):

依赖:git + python3 + curl(macOS 自带,Linux apt install git python3 curl)。Python 仅用标准库,无额外 pip 依赖。

Runner 来源:GitHub - sensedeal/cue-skills(Gitee 镜像)。

Cue API Key:cuecue.cn 注册获取。新账号送 500 积分,每天再免费送 10 分。


调用说明

python3 ~/.cue/cue-skills/cue-research/scripts/research_run.py \
  --query "宁德时代 估值与股价分析:短线资金面 + 中长线估值 + 安全边际" \
  --template-id template_8qNgr5 \
  --output ~/cue-reports/$(date +%Y-%m-%d-%H%M)-CATL-valuation.md
参数 说明
--query 目标股票 + 关注角度,必填
--template-id 固定为 template_8qNgr5
--output 落盘路径

格式转换

Cue 输出 Markdown。安装 pandoc 后可转换为 Word 或 PDF:

# .md → .docx(Word)
pandoc report.md -o report.docx

# .md → .pdf
pandoc report.md -o report.pdf --pdf-engine=xelatex

输出文件与输入同目录、同名、不同后缀。

依赖安装

目标格式 依赖 macOS Ubuntu
Word (.docx) pandoc brew install pandoc sudo apt install pandoc
PDF (.pdf) pandoc + LaTeX brew install --cask basictex sudo apt install texlive-xetex

架构说明

本 Skill 不在本地执行检索。流程是 Agent → Cue API(cuecue.cn)→ 外部数据源。解析结果的质量和时效取决于 Cue 服务端和外部数据源的状态。

环节 谁控制 出问题时
API Key 鉴权 你 重新生成 Key,更新 ~/.cue/config.json
Cue 服务端 Cue 运维 等恢复,或走降级方案
外部数据源 公开网站 Cue 用缓存兜底,标注"来源暂不可达"

健康检查

跑研究前先验证三件事。一键诊断:

CUE_KEY=$(python3 -c "import json;print(json.load(open('$HOME/.cue/config.json'))['api_key'])" 2>/dev/null || echo "$CUE_API_KEY")
echo "=== 1/3 API Key ===" && [ -n "$CUE_KEY" ] && echo "已配置" || echo "未配置!"
echo "=== 2/3 Cue 服务 ===" && curl -sS --max-time 10 "https://cuecue.cn/api/health" -H "Authorization: Bearer $CUE_KEY"
echo "=== 3/3 搭子 ===" && curl -sS --max-time 10 "https://cuecue.cn/api/playbook" -H "Authorization: Bearer $CUE_KEY" | python3 -c "import sys,json;scenes=json.load(sys.stdin).get('data',{}).get('scenes',[]);buddy=[b for s in scenes if s.get('secondary_category')=='投资研究' for b in s.get('buddies',[]) if b.get('title')=='个股估值与股价分析'];print(f'可用:{len(buddy)}个') if buddy else print('暂不可用')"
检查 预期 异常处理
API Key 已配置 cuecue.cn/api-key 重新生成
服务 {"status":"healthy"} 等 5 分钟重试
搭子 可用:>0个 等 1h 或网页端手动跑

自救指引

错误速查

现象 原因 怎么修
401 / Key 无效 Key 过期或写错 重新生成 Key,更新 ~/.cue/config.json
超时 >30s 服务维护/过载 等 5 分钟,跑诊断;当天内重试
搭子不可用 临时下线 网页端直接跑,或等 1 小时
积分不足 余额 < 消耗 每天登录送 10 积分
中途中断 队列满/数据源波动 不换 prompt,相同命令续接
RESULT empty 公开源无匹配 缩小范围,换关键词
config.json 报错 JSON 格式不对 {"api_key": "sk..."} 无多余逗号

决策树

出问题?
├─ Key 报错 → 重新生成 → 更新 config.json → 重试
├─ 连不上 → curl /api/health 确认 → 检查 DNS/代理
├─ 搭子找不到 → curl /api/playbook → 等或用网页端
├─ 中途中断 → 相同 prompt 续接(不要删 ~/.cue/session/task)
└─ 结果空 → 缩窄关键词 → 确认该主题有公开数据

调度建议

时段 建议
工作日 9-18 正常使用
夜间/周末 可能有维护,跑前先诊断
新 Key 必须先诊断确认生效
连续失败 停 15 分钟再试,不要反复重试

降级方案

Cue 长时间不可达时的手动替代渠道:

渠道 覆盖 费用
东方财富 A股行情、财务数据 免费
同花顺 个股数据、技术指标 免费
雪球 估值讨论、机构观点 免费
TradingView 图表分析 免费版

FAQ

Q: 能同时分析多只股票吗? A: 建议每只单独跑以获得最深度分析。可在 query 中指定对比需求。

Q: 报告含目标价吗? A: 报告给出估值区间和安全边际判断,不下具体买卖建议。

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供个股短中长三周期融合估值分析,解决投资者在估值判断、持仓检视等实际场景中的核心痛点
  • 功能完整,逻辑闭环,具备明确的实用价值和广泛受众
Trigger Precision75/100

Areas to improve

  • 触发词未在 frontmatter 中单独列出 Reported severity: Minor

    触发词依赖 description 和 tags,未在 frontmatter 中单独列出 trigger_words 字段

    Recommendation: 建议在 frontmatter 中增加 trigger_words 字段,明确列出核心触发词如'估值'、'股价分析'、'安全边际'等

Highlights

  • description 明确描述功能,'试试这样问'提供多种触发句式,覆盖合理
Structure and Standards80/100

Areas to improve

  • frontmatter 中 description_zh 与 description 重复 Reported severity: Minor

    frontmatter 中同时存在 description 和 description_zh,内容重复

    Recommendation: 建议删除 description_zh,保留 description 即可

Highlights

  • 文档结构清晰,包含适用场景、核心能力、调用说明、输出示例、健康检查、自救指引等完整章节
  • 步骤明确,有端到端示例,便于用户理解和执行
Execution Reliability70/100

Areas to improve

  • 一键安装脚本内容为空 Reported severity: Minor

    环境要求中提到的一键安装脚本代码块为空,影响首次使用体验

    Recommendation: 建议补充一键安装脚本的具体内容,或明确说明该脚本将由 Skill 自动生成

Highlights

  • 依赖外部 Cue API 和公开数据源,有明确的健康检查、错误处理、降级方案和调度建议
  • 可靠性设计良好,覆盖了主要异常场景和处理方式
Evidence Verifiability (mean of the first four)78/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • cuecue.cn
  • gitee.com
  • github.com
  • www.10jqka.com.cn
  • www.eastmoney.com
  • www.tradingview.com
  • xueqiu.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Translation pending; see source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.