Agent skill

Stock

by MagicCube in MagicCube/agentara

Query stock quotes for US stocks, Hong Kong stocks, and A-shares.

No licenceAuto-check passedBusiness, Finance & HR

Install Stock

skills CLI
$ npx skills add MagicCube/agentara --skill stock -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install MagicCube/agentara stock --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/MagicCube/agentara.git skills-src && mkdir -p .claude/skills && cp -r skills-src/user-home/.claude/skills/stock .claude/skills/stock && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
stock
GitHub stars
516
Token cost
~1.1k tokens
SKILL.md length
477 words
Files
2
Skills in repo
21
Repo updated
First seen
Licence
None found

At a glance

Query stock quotes for US stocks, Hong Kong stocks, and A-shares.

  • Works in 5 steps: Identify Stock & Market → Fetch Data → Analyze & Detect Anomalies → …
  • The user asks about a stock price
  • SKILL.md covers Step 1 — Identify Stock & Market, Step 2 — Fetch Data, Step 3 — Analyze & Detect… and Step 4 — Format Output, plus 2 more sections
  • Runs Python scripts from its folder; calls python3 and pip3

What it does

Stock is an agent skill from MagicCube/agentara. Query stock quotes for US stocks, Hong Kong stocks, and A-shares. Use when the user asks about a stock price, market quote, or stock performance — including phrases like "查一下 BABA", "BABA 现在多少", "阿里巴巴股价", "茅台今天", "港股 9988", "美股行情", or any mention of a specific stock ticker or company name wanting price/change data. Also trigger for market overview requests like "大盘怎么样", "美股今天", "港股行情".

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `fetch_stock.py`).

It sits in Business, Finance & HR, covering Stock and market analysis. The repository describes itself as: Your 24/7 personal assistant powered by Claude Code and OpenAI Codex. Multi-channel messaging, long-term memory, skills, task scheduling, session management, and more — all…

When your agent uses it

  • The user asks about a stock price
  • Stock performance — including phrases like 查一下 BABA
  • Any mention of a specific stock ticker
  • Company name wanting price/change data

Example prompts

  • “查一下 BABA”
  • “BABA 现在多少”
  • “阿里巴巴股价”
  • “/stock”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Identify Stock & Market
  2. Fetch Data
  3. Analyze & Detect Anomalies
  4. Format Output
  5. Currency

What it can do on your machine

Read from SKILL.md and the folder at commit 5621a96. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • pip3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip3, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Stock loads about 1.1k tokens when it runs. Until then it costs about 99 tokens; SKILL.md has 477 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~99
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 477 words (~1,067 tokens).

“Fetch latest stock price, change, and anomaly detection for US stocks, HK stocks, and A-shares. Uses stooq.com as data source — reliable, no auth, bypasses system proxy automatically. Data is T+1 for all markets (previous trading day close). This is…”

— opening of SKILL.md by MagicCube
name
stock

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in user-home/.claude/skills/stock of MagicCube/agentara.

  • SKILL.md
  • fetch_stock.py

Open the folder on GitHubat commit 5621a96

Compare with similar skills

Stock next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Stock compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Stock this skillMagicCube/agentara516—~1.1kAutomated safety check: PassNone
Stock APIzhangxiangliang/stock-api2k—~507Automated safety check: PassMIT
Tushare Datazillionare/zillionare3192 repos~2.3kAutomated safety check: PassNone
Tradingview MCPatilaahmettaner/tradingview-mcp5k—~1.3kAutomated safety check: PassMIT
Digital Oraclekomako-workshop/digital-oracle870—~5.9kAutomated safety check: PassMIT
Longbridge Researchhelsome/folio2693 repos~2.1kAutomated safety check: PassMIT

Similar skills

  • Stock API

    zhangxiangliang/stock-api

    Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets.

    2k GitHub stars~507 tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    319 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Tradingview MCP

    atilaahmettaner/tradingview-mcp

    AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and…

    5k GitHub stars~1.3k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Digital Oracle

    komako-workshop/digital-oracle

    Answer prediction questions using market trading data, not opinions.

    870 GitHub stars~5.9k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Longbridge Research

    helsome/folio

    Institution ratings, consensus price targets, EPS/revenue forecasts, finance calendar, shareholder data, fund holders, insider trades (SEC Form 4), short interest, industry rankings, peer group…

    269 GitHub starsUsed in 3 repos~2.1k tokens
    Business, Finance & HRAuto-check passed
  • Longbridge Earnings

    helsome/folio

    Earnings analysis — pre- and post-earnings. An agent skill from helsome/folio.

    269 GitHub starsUsed in 1 repo~2.5k tokens
    Business, Finance & HRAuto-check passed

More from MagicCube/agentara

All 21 skills in this repo
  • Ecom Shot

    MagicCube/agentara

    Generate Nano Banana Pro (Gemini 3 Pro Image) prompts for e-commerce product photography.

    516 GitHub stars~1.5k tokensUpdated 5 mo ago
    Auto-check passed
  • Video Character Design

    MagicCube/agentara

    Create character design documentation and character design sheet images for video, storyboard, advertising, animation, or AI video-generation workflows.

    516 GitHub starsUsed in 1 repo~3k tokens
    Auto-check passed
  • Video Plan

    MagicCube/agentara

    Plan short-form video, vlog, travel, lifestyle, documentary, or cinematic social video scripts by negotiating duration, choosing a story arc and visual style, then splitting the film into timed…

    516 GitHub starsUsed in 1 repo~2.6k tokens
    Auto-check passed
  • Pulse

    MagicCube/agentara

    📡 Pulse — Twice-daily tech briefing for group distribution.

    516 GitHub stars~2.1k tokensUpdated 5 mo ago
    Auto-check: warnings
  • Video Poster Design

    MagicCube/agentara

    Create cinematic movie poster concepts and final poster images from a user's brief, existing video plan, storyboard, character design, or project context.

    516 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Lab Interpreter

    MagicCube/agentara

    Interpret medical lab/test reports (blood panels, urine, liver/kidney function, thyroid, tumor markers, coagulation, cardiac enzymes, hormones, etc.) uploaded as images, PDFs, or text.

    516 GitHub starsUsed in 1 repo~2.8k tokens
    Auto-check: warnings

Questions about Stock

What does Stock do?

Query stock quotes for US stocks, Hong Kong stocks, and A-shares. Stock is an agent skill from MagicCube/agentara. Query stock quotes for US stocks, Hong Kong stocks, and A-shares.

When should I use Stock?

Stock fits situations like: the user asks about a stock price; stock performance — including phrases like 查一下 BABA; any mention of a specific stock ticker; company name wanting price/change data.

How do I install Stock in Claude Code?

Run `npx skills add MagicCube/agentara --skill stock -a claude-code`. Or copy the skill folder (user-home/.claude/skills/stock in MagicCube/agentara) into .claude/skills/stock in your project. Claude Code loads it when a task matches its description.

How do I install Stock in Codex?

Run `npx skills add MagicCube/agentara --skill stock -a codex`. Or copy the skill folder (user-home/.claude/skills/stock in MagicCube/agentara) into .agents/skills/stock in your project. Codex loads it when a task matches its description.

Can I use Stock in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MagicCube/agentara --skill stock -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/stock, .gemini/skills/stock, .github/skills/stock and .opencode/skills/stock in your project.

What does Stock need to run?

Going by SKILL.md and its folder, Stock needs Python for the scripts in its folder and the command-line tools its instructions call (python3 and pip3). Our summary lists: Python 3.

Does Stock access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Stock safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Stock use?

No licence was found for Stock or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Stock use?

About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Stock?

Skills that share tags, products or a category with Stock: Stock API (zhangxiangliang/stock-api, 2k stars), Tushare Data (zillionare/zillionare, 319 stars), Tradingview MCP (atilaahmettaner/tradingview-mcp, 5k stars) and Digital Oracle (komako-workshop/digital-oracle, 870 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Stock?

MagicCube (a GitHub user) maintains it in MagicCube/agentara, which has 516 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on May 11, 2026.

Source: MagicCube/agentara on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.