Alphagbm Stock Analysis logo

Alphagbm Stock Analysis

CommunityPopular
AlphaGBM
alphagbm-stock-analysis

AI-powered stock analysis using AlphaGBM's fundamentals, valuation, market sentiment and risk analysis with real market data. Returns an evidence-backed analysis and risk score. Use when: analyzing any stock ticker, evaluating buy/sell decisions, comparing stock fundamentals, assessing risk levels. Triggers on: "analyze AAPL", "what do you think about NVDA", "should I buy TSLA", "stock analysis for META", "is SPY overvalued", "risk assessment for GOOGL".

Overview

PublisherAlphaGBM
Repositoryskills
Skill namealphagbm-stock-analysis
Stars
2.7K
Forks
290
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

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

Installation

Install the Alphagbm Stock Analysis 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.
  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/AlphaGBM/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/alphagbm-stock-analysis .claude/skills/alphagbm-stock-analysis
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Alphagbm Stock Analysis 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 Alphagbm Stock Analysis 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 Alphagbm Stock Analysis 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.

AlphaGBM Stock Analysis

Analyze stocks via the AlphaGBM API — a G = B + M (Gain = Basics + Momentum) model combining fundamental analysis, market sentiment, EV expectation, ATR stop-loss, sector rotation, and AI reports.

The current API exposes a 0-10 risk score, not a standalone 1-10 stock opportunity score. Do not present risk.score as a probability of return or as an automatic buy recommendation.

When to use

  • User asks to analyze a stock ticker (US / HK / A-share)
  • User asks for a stock quote, target price, risk score, or EV recommendation
  • User mentions AlphaGBM or wants a comprehensive stock analysis

Prerequisites

  • Account authentication: store an API key in env ALPHAGBM_API_KEY (format agbm_xxxx…).
  • Base URL: default https://alphagbm.zeabur.app. Override with env ALPHAGBM_BASE_URL.
  • If the user has neither, tell them to register at https://alphagbm.com and create a key at /api-keys.

API Endpoints

All endpoints require Authorization: Bearer $ALPHAGBM_API_KEY.

1. Quick Quote (instant, no quota cost)

GET /api/stock/quick-quote/<TICKER>

Returns: price, change%, PE, forward PE, 52-week range, sector, market cap.

Example:

bash
curl -H "Authorization: Bearer $ALPHAGBM_API_KEY" \
  https://alphagbm.zeabur.app/api/stock/quick-quote/AAPL

2. Full Stock Analysis — Synchronous (blocks 10-30s)

POST /api/stock/analyze-sync
Content-Type: application/json

{"ticker": "AAPL", "style": "balanced"}
ParameterTypeRequiredDescription
tickerstringyesStock ticker (e.g. AAPL, 0700.HK, 600519.SS)
stylestringnoquality (default), value, growth, momentum, balanced

Add ?compact=true for a condensed agent-friendly response (~500 tokens).

Response contains:

  • data — price, PE, PEG, growth, margin, target_price, stop_loss_price, market_sentiment (0-10), ev_model, sector_analysis, capital_analysis
  • risk — score (0-10), level, suggested_position%, risk flags
  • report — AI-generated narrative report (markdown, ~2000 chars)

3. Full Stock Analysis — Async (for web frontend)

POST /api/stock/analyze-async
Content-Type: application/json

{"ticker": "TSLA", "style": "growth"}

Returns {"task_id": "uuid"}. Poll task:

GET /api/tasks/<task_id>

4. Stock Search (no auth required)

GET /api/stock/search?q=AAPL&limit=8

Fuzzy search — supports US (AAPL), HK (700, 0700.HK), A-share (600519).

5. Analysis History

GET /api/stock/history?page=1&per_page=10&ticker=AAPL

6. Stock Summary (for options page linkage)

GET /api/stock/summary/<TICKER>

Returns condensed analysis. First-time analysis per ticker is free.

Analysis Model Summary

G = B + M

DimensionComponentsWeight
B (Basics)PE/PEG, growth rate, profit margin, ROE, FCFFundamental valuation
M (Momentum)VIX, technical indicators, fund flow, macroMarket sentiment 0-10

Risk Score (0-10, additive)

FactorTriggerPoints
ValuationPE > 60+2.0
GrowthGrowth < -10%+2.0
LiquidityVolume below threshold+2.0
MarketVIX > 30+1.5
TechnicalPrice < MA200+1.0

Risk >= 6 → very high risk / generally avoid · 4-<6 → high risk · 2-<4 → medium risk · < 2 → lower risk. Position sizing remains subject to the returned analysis and the user's own risk policy.

EV Expectation Model

EV = (upside_prob x upside_range) + (downside_prob x downside_range)
Weighted = 50% x 1-week + 30% x 1-month + 20% x 3-month
EVRecommendation
> +8%STRONG_BUY
+3% ~ +8%BUY
-3% ~ +3%HOLD
< -8%STRONG_AVOID

Target Price — 5 methods, industry-weighted

PE valuation · PEG valuation · Growth discount · DCF · Technical analysis. Risk adjustment: high risk → -15%, medium risk → -8%.

ATR Stop-Loss

stop = price - ATR(14) x multiplier(1.5-4.0)

Multiplier adjusts for Beta and VIX. Hard floor: -15%.

Typical Workflow

1. Quick check → GET /api/stock/quick-quote/NVDA
2. If interesting → POST /api/stock/analyze-sync {"ticker":"NVDA","style":"growth"}
3. Present: recommendation, target price, risk score, EV, AI report

Quota

  • Live analysis requires authentication and is subject to the account's current free allowance or subscription credits. Do not hardcode plan limits here.
  • Quick quote does not consume analysis credits, but live access still follows the endpoint's authentication policy.

Output Formatting Tips

When presenting results to the user, highlight:

  1. Recommendation (STRONG_BUY / BUY / HOLD / AVOID / STRONG_AVOID) + confidence
  2. Target price vs current price → upside %
  3. Risk score + level + top risk flags
  4. Stop-loss price + method
  5. EV score + weighted EV%
  6. Key excerpt from AI report (first 2-3 paragraphs)

Mock Data

When no API key is configured, this skill uses built-in market data snapshots from mock-data/. Supported offline demo tickers: AAPL, NVDA, SPY, TSLA, META. This is not live API access.

Related Skills

  • alphagbm-options-score — After stock analysis, evaluate options opportunities
  • alphagbm-compare — Compare multiple stocks side-by-side
  • alphagbm-market-sentiment — Broader market context for the analysis

Powered by AlphaGBM — Real-data options & research intelligence for traders and AI agents. 10K+ users.

Frequently asked questions

What does the Alphagbm Stock Analysis AI skill do?

AI-powered stock analysis using AlphaGBM's fundamentals, valuation, market sentiment and risk analysis with real market data. Returns an evidence-backed analysis and risk score. Use when: analyzing any stock ticker, evaluating buy/sell decisions, comparing stock fundamentals, assessing risk levels. Triggers on: "analyze AAPL", "what do you think about NVDA", "should I buy TSLA", "stock analysis for META", "is SPY overvalued", "risk assessment for GOOGL".

Why use Alphagbm Stock Analysis on TypingMind?

Because you install it once and use it with any model. Alphagbm Stock Analysis 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 Alphagbm Stock Analysis in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AlphaGBM/skills/tree/main/skills/alphagbm-stock-analysis. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Alphagbm Stock Analysis?

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 Alphagbm Stock Analysis?

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

Is the Alphagbm Stock Analysis AI skill free?

Yes. It is published on GitHub by AlphaGBM 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 👇