Geek-skills-a-share-analyst
- Repo stars 445
- Author updated Live
- Author repo ClaudeSkills
- Domain
- Other
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 92 / 100 · audit passed
- Author / version / license
- @staruhub · v1.0.0 · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- Python
- Permissions
-
- Read-only
- Write / modify
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: Geek-skills-a-share-analyst
description: 专业的A股市场分析工具,整合多数据源,提供技术面、基本面综合分析和智能选股策略。 使用AKShare作为主要数据源(免费、开源、无需token): pip install akshare --…
category: other
runtime: Python
---
# Geek-skills-a-share-analyst output preview
## PART A: Task fit
- Use case: 专业的A股市场分析工具,整合多数据源,提供技术面、基本面综合分析和智能选股策略。 使用AKShare作为主要数据源(免费、开源、无需token): pip install akshare --break-system-packages import akshare as ak df = ak.stockzhaspotem() # 全部A股实时行情 runs entirely locally; runs on Python. Works with Claude Code, Cursor, Cline and 23 more..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “数据获取 / 核心数据获取示例 / 分析工作流程” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “专业的A股市场分析工具,整合多数据源,提供技术面、基本面综合分析和智能选股策略。 使用AKShare作为主要数据源(免费、开源、无需token): pip install akshare --break-system-packages import akshare as ak df = ak.stockzhaspotem() # 全部A股实时行情 runs entirely locally; runs on Python. Works with Claude Code, Cursor, Cline and 23 more.”.
- **02** When the source has headings, the agent prioritizes “数据获取 / 核心数据获取示例 / 分析工作流程” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files.
Start with a small task and check whether the result follows “数据获取 / 核心数据获取示例 / 分析工作流程”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: Geek-skills-a-share-analyst
description: 专业的A股市场分析工具,整合多数据源,提供技术面、基本面综合分析和智能选股策略。 使用AKShare作为主要数据源(免费、开源、无需token): pip install akshare --…
category: other
source: staruhub/ClaudeSkills
---
# Geek-skills-a-share-analyst
## When to use
- 专业的A股市场分析工具,整合多数据源,提供技术面、基本面综合分析和智能选股策略。 使用AKShare作为主要数据源(免费、开源、无需token): pip install akshare --break-system-packages…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “数据获取 / 核心数据获取示例 / 分析工作流程” and keep inference separate from source facts.
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "Geek-skills-a-share-analyst" {
input -> user goal + target files + boundaries + acceptance criteria
context -> 数据获取 / 核心数据获取示例 / 分析工作流程
rules -> SKILL.md triggers / order / output contract
runtime -> Python | read files, write/modify files | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} A股分析师 Skill
专业的A股市场分析工具,整合多数据源,提供技术面、基本面综合分析和智能选股策略。
数据获取
使用AKShare作为主要数据源(免费、开源、无需token):
pip install akshare --break-system-packages
核心数据获取示例
import akshare as ak
# 实时行情
df = ak.stock_zh_a_spot_em() # 全部A股实时行情
# 历史K线
df = ak.stock_zh_a_hist(symbol="000001", period="daily", adjust="qfq")
# 板块行情
df = ak.stock_board_concept_name_em() # 概念板块
df = ak.stock_board_industry_name_em() # 行业板块
# 龙虎榜
df = ak.stock_lhb_detail_em(start_date="20241201", end_date="20241209")
# 资金流向
df = ak.stock_individual_fund_flow(stock="000001", market="sz")
分析工作流程
1. 每日盘前分析
执行顺序:
- 获取大盘指数(上证、深证、创业板)
- 分析板块热点轮动
- 筛选涨停股及连板股
- 检测北向资金流向
- 生成今日关注清单
2. 技术面分析
对单只股票执行:
- 获取历史K线数据(至少60日)
- 计算技术指标(见
references/technical_indicators.md) - 识别K线形态(见
references/candlestick_patterns.md) - 判断趋势和支撑/阻力位
- 生成技术面评分
3. 基本面分析
执行顺序:
- 获取财务数据(营收、净利润、ROE等)
- 计算估值指标(PE、PB、PS)
- 分析行业地位和竞争优势
- 评估成长性和安全边际
- 生成基本面评分
4. 智能选股策略
策略类型选择:
- 趋势突破策略 → 执行
scripts/strategy_breakout.py - 价值低估策略 → 执行
scripts/strategy_value.py - 动量因子策略 → 执行
scripts/strategy_momentum.py - 多因子综合策略 → 执行
scripts/strategy_multi_factor.py
输出格式
个股分析报告模板
# [股票名称]([股票代码]) 分析报告
## 基本信息
- 当前价格:¥XX.XX(涨跌幅 +X.XX%)
- 市值:XXX亿 | PE(TTM):XX.X | PB:X.XX
## 技术面分析
- 趋势判断:[上升/震荡/下降]
- 支撑位:¥XX.XX | 阻力位:¥XX.XX
- 技术指标:MACD [金叉/死叉] | KDJ [超买/超卖/中性] | RSI [XX]
## 基本面分析
- 营收增速:XX% | 净利润增速:XX%
- ROE:XX% | 毛利率:XX%
## 综合评分
- 技术面:⭐⭐⭐⭐☆ (4/5)
- 基本面:⭐⭐⭐☆☆ (3/5)
## 操作建议
[具体建议及风险提示]
每日选股清单模板
# 每日选股清单 [日期]
## 市场概览
- 上证指数:XXXX.XX(+X.XX%)
- 深证成指:XXXXX.XX(+X.XX%)
- 创业板指:XXXX.XX(+X.XX%)
## 热点板块 TOP5
1. [板块名称] +X.XX%
2. ...
## 精选个股
### 趋势突破型
| 代码 | 名称 | 现价 | 涨幅 | 突破形态 | 评分 |
|------|------|------|------|----------|------|
| ... | ... | ... | ... | ... | ... |
### 价值低估型
| 代码 | 名称 | 现价 | PE | PB | 评分 |
|------|------|------|-----|-----|------|
| ... | ... | ... | ... | ... | ... |
## 风险提示
投资有风险,以上分析仅供参考,不构成投资建议。
关键脚本
scripts/fetch_market_data.py- 市场数据获取scripts/technical_analysis.py- 技术指标计算scripts/strategy_breakout.py- 趋势突破选股scripts/strategy_value.py- 价值投资选股scripts/strategy_momentum.py- 动量因子选股scripts/strategy_multi_factor.py- 多因子选股scripts/generate_report.py- 报告生成
参考文档
references/technical_indicators.md- 技术指标计算公式references/candlestick_patterns.md- K线形态识别references/fundamental_metrics.md- 基本面指标说明references/factor_library.md- 量化因子库
重要提示
- 数据延迟:实时数据可能有15分钟延迟
- 风险警示:所有分析仅供参考,不构成投资建议
- 回测验证:新策略需先进行历史回测
- 仓位管理:建议单只股票仓位不超过总资金20%
Decide Fit First
Design Intent
How To Use It
Boundaries And Review