Stock Trading Analyst logo

Stock Trading Analyst

Community
AndrewNgGirl
stock-trading-analyst

Use when the user needs an A-share stock watchlist, short-term theme rotation review, or trading-plan risk audit based on user-provided market data. Produces evidence-based sector analysis, signal confidence, risk warnings, and a non-advisory action checklist for retail investors, research assistants, and trading educators.

Overview

PublisherAndrewNgGirl
RepositorySkillLens
Skill namestock-trading-analyst
Stars
45
Forks
5
Bundled files
7
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 7 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by AndrewNgGirl on GitHub. Read the source before you install it.

Installation

Install the Stock Trading Analyst AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/AndrewNgGirl/SkillLens/tree/main/skills/skill-scorer/examples/stock-trading-analyst
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AndrewNgGirl/SkillLens.git /tmp/SkillLens
mkdir -p .claude/skills
cp -r /tmp/SkillLens/skills/skill-scorer/examples/stock-trading-analyst .claude/skills/stock-trading-analyst
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Stock Trading Analyst in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Stock Trading Analyst on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Stock Trading Analyst is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

stock-trading-analyst

When to use

Use this skill when the user provides A-share market data and asks for:

  • 今日题材轮动、涨停归因、资金生态分析
  • 短线候选股筛选、观察池复盘、交易计划风控检查
  • 个股异动原因拆解、板块强弱比较、情绪周期研判
  • "帮我看看这批股票哪个更值得观察"

Not suitable for:直接给出买入 / 卖出指令、承诺收益、代客理财、荐股收费、绕过投顾合规要求、处理内幕信息或未授权账户数据。

Target users

  • 有基础交易经验、需要结构化复盘的 A 股短线投资者
  • 金融自媒体 / 投教团队,用于把盘面数据转成可解释的复盘框架
  • 证券研究助理,用于整理公开市场数据、生成观察清单初稿
  • 量化或半自动交易团队,用于人工复核前的信号解释层

Estimated frequency: daily after market close, plus intraday review during high-volatility sessions.

Value proposition

Most generic LLM stock prompts jump directly to "看好 / 不看好" and ignore evidence quality, position risk, data freshness, and compliance boundaries. This skill focuses on decision support, not trading instruction:

  • separates market facts, inferred signals, assumptions, and risks;
  • scores signal confidence instead of pretending certainty;
  • keeps high-risk outputs behind a human-review checklist;
  • uses schema validation so reports can be compared across days;
  • explicitly refuses return promises and direct personalized investment advice.

Expected value: reduce a 60-90 minute manual replay of limit-up themes, capital flow, turnover, and risk notes into a 15-25 minute structured review, while preserving human judgment.

Inputs

FieldTypeRequiredNotes
market_datestringyesTrading date, e.g. 2026-05-07
universeenumyesa_share, hk_stock, us_stock; MVP tuned for a_share
rowsarrayyesUser-provided table rows; one row per stock or concept
scenarioenumoptionaltheme_rotation, watchlist, risk_audit, education
risk_profileenumoptionalconservative, balanced, aggressive; defaults to balanced
holding_contextobjectoptionalPositions, cost basis, or target watchlist; do not include account credentials

Recommended row fields:

json
{
  "code": "000001",
  "name": "示例股份",
  "concepts": ["AI应用", "金融科技"],
  "price_change_pct": 7.2,
  "turnover_rate": 18.5,
  "volume_ratio": 2.6,
  "net_inflow_cny": 125000000,
  "limit_up_reason": "题材催化 + 资金回流",
  "news": ["公告摘要或公开新闻链接"],
  "data_source": "user_upload",
  "timestamp": "2026-05-07T15:10:00+08:00"
}

Workflow

  1. Validate input: check required fields, timestamp freshness, duplicated codes, abnormal values, and missing data source.
  2. Classify scenario: infer whether the user wants theme rotation, watchlist screening, risk audit, or education; ask a follow-up question if ambiguous.
  3. Normalize evidence: separate objective fields (涨幅、换手、量比、资金净额), user notes, public news, and model inference.
  4. Theme rotation analysis: rank concepts by breadth, limit-up strength, capital inflow, turnover sustainability, and intraday consistency.
  5. Candidate scoring: score each candidate on signal strength, liquidity, catalyst clarity, crowding risk, and data confidence.
  6. Risk and compliance gate: detect direct advisory wording, overconfident return claims, high volatility, illiquidity, ST / delisting risk, single-source evidence, and missing human review.
  7. Generate report: output JSON following assets/stock_signal.schema.json, plus a concise markdown summary for humans.
  8. Validate output: run scripts/validate_signal.py against the JSON schema. If validation fails twice, return _schema_failed: true and list the validation errors.

Analysis framework

Scenario fit

The skill must state whether it is doing:

  • theme_rotation: sector / concept-level review;
  • watchlist: candidate observation list, not buy recommendations;
  • risk_audit: checks an existing trading plan for missing stops, data weaknesses, concentration, and compliance issues;
  • education: explains the market logic without personalized advice.

Signal dimensions

DimensionWhat to inspectCommon failure
Catalyst clarity公告、政策、财报、行业事件是否能解释异动只有传闻或社媒情绪
Capital confirmation资金净额、量比、成交额是否支持题材强度缩量上涨或尾盘脉冲
Breadth同题材涨停 / 大涨个股数量与梯队结构单一孤立个股
Liquidity成交额、换手率、封单质量、滑点风险小票极端换手
Crowding risk连板高度、情绪一致性、加速后分歧追高风险被忽略
Data confidence来源、时间戳、口径一致性数据过期或无法追溯

Risk controls

  • Always say: "This is decision support, not personalized investment advice."
  • Never output "buy now", "must buy", "guaranteed", "稳赚", "目标价必到".
  • For high-volatility or illiquid names, require human review before action.
  • If data is older than the current trading session, downgrade confidence.
  • If only one source supports a conclusion, mark it as low_confidence.
  • If the user asks for direct trade instruction, convert the response into a risk checklist and explain the boundary.

Outputs

Return strict JSON first, then an optional short markdown explanation.

json
{
  "market_date": "2026-05-07",
  "scenario": "watchlist",
  "summary": "AI应用与金融科技有资金回流,但高位股拥挤度上升。",
  "risk_disclaimer": "This is decision support, not personalized investment advice.",
  "theme_rankings": [
    {
      "theme": "AI应用",
      "score": 82,
      "evidence": ["涨停家数增加", "资金净流入居前"],
      "risks": ["高位分歧扩大", "新闻催化持续性待验证"],
      "confidence": 0.78
    }
  ],
  "watchlist": [
    {
      "code": "000001",
      "name": "示例股份",
      "role": "观察池候选",
      "signal_score": 76,
      "risk_level": "medium",
      "evidence": ["换手率 18.5%", "量比 2.6", "题材内强度靠前"],
      "invalidations": ["跌破关键均线", "题材资金连续两日流出"],
      "human_review_required": true
    }
  ],
  "data_quality": {
    "freshness": "same_session",
    "source_count": 2,
    "missing_fields": [],
    "confidence": 0.8
  }
}

Dependencies

NameTypePaid?Approx cost / call
User-uploaded market tableDatano$0
Optional public news linksDatamaybedepends on source
jsonschemaPython packageno$0
LLM provider configured by hostAPIyesdepends on model

No broker API or trading account permission is required. This skill should not place orders.

Determinism

  • Input validation and schema validation are deterministic.
  • Theme ranking uses transparent weighted dimensions before LLM explanation.
  • LLM output must include confidence and cite the exact input fields used as evidence.
  • Same input table + same scenario should produce the same ranked themes within a small tolerance; if rankings differ, explain which evidence changed.

Failure handling

  • Missing timestamp → mark data freshness as unknown and downgrade all confidence by at least 0.15.
  • Missing data source → do not produce high-confidence signals.
  • Contradictory fields (e.g. high inflow but very weak turnover) → surface as conflict rather than hiding it.
  • User asks for direct buy/sell → refuse direct instruction and provide a risk checklist instead.
  • Schema validation failure → retry once; if still invalid, return _schema_failed: true with errors.

Privacy and compliance

Do not ask for brokerage passwords, full account numbers, ID cards, phone numbers, or private order records. If the user includes sensitive account data, summarize only non-sensitive aggregates and warn them to remove credentials.

This skill does not provide licensed investment advice. It provides structured analysis of user-provided public or self-owned data for education, research, and decision-support purposes.

Example

User:

text
请基于我上传的今日涨停分析表,筛选 5 个明天值得观察的 AI 应用方向候选股。

Assistant output:

text
我可以生成观察池和风险清单,但不会给出买入指令。请确认数据时间戳与来源。

Then return the JSON report described above.

Files

  • assets/stock_signal.schema.json — output schema for machine validation
  • scripts/validate_signal.py — deterministic JSON schema validator
  • references/risk-policy.md — risk, compliance, and refusal policy
  • references/scoring-model.md — transparent signal scoring model
  • tests/sample_market_rows.json — demo input table for regression tests

Changelog

  • 0.1.0 — initial finance expert demo for A-share stock watchlist and theme rotation review

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Stock Trading Analyst AI skill do?

Use when the user needs an A-share stock watchlist, short-term theme rotation review, or trading-plan risk audit based on user-provided market data. Produces evidence-based sector analysis, signal confidence, risk warnings, and a non-advisory action checklist for retail investors, research assistants, and trading educators.

Why use Stock Trading Analyst on TypingMind?

Because you install it once and use it with any model. Stock Trading Analyst is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Stock Trading Analyst in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AndrewNgGirl/SkillLens/tree/main/skills/skill-scorer/examples/stock-trading-analyst. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Stock Trading Analyst?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Stock Trading Analyst?

As many as you like. As long as a model supports skills, you can use Stock Trading Analyst with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Stock Trading Analyst AI skill free?

Yes. It is published on GitHub by AndrewNgGirl under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇