us-stock-analysis

us-stock-analysis is a skill for Claude Code, Codex from KCNyu/clawock. It costs 97 tokens per session (9,180 once invoked), scanned A, original, MIT.

A workspace-specific guide for analysing shares listed in the United States, combining local price data with fundamental, technical and news analysis.

In plain words
What is it for?
Use it to analyse a US stock, check earnings, review signals or compare companies such as AAPL, RKLB, TSLA and NVDA.
Why use it?
It provides a defined process for ticker analysis and avoids relying on stale workspace prices or generic search alone.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node /root/.openclaw/workspace/skills/tavily-search/scripts/search.mjs "{TICKER} stock sentiment" --topic news --days 3 --bucket report.

Good fit Use it to analyse a US stock, check earnings, review signals or compare companies such as AAPL, RKLB, TSLA and NVDA.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/KCNyu/clawock
agentmods
npx agentmods add skills/kcnyu/clawock/us-stock-analysis

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for us-stock-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/kcnyu/clawock/us-stock-analysis/github.svg)](https://agentmods.dev/skills/kcnyu/clawock/us-stock-analysis)
Your own site
<a href="https://agentmods.dev/skills/kcnyu/clawock/us-stock-analysis"><img src="https://agentmods.dev/badge/skills/kcnyu/clawock/us-stock-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for us-stock-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/kcnyu/clawock/us-stock-analysis"><img src="https://agentmods.dev/badge/skills/kcnyu/clawock/us-stock-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,180 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.09180
Opus 5 $0.00048 $0.04590
Sonnet 5 $0.00019 $0.01836
Haiku 4.5 $0.00010 $0.00918

Measured 9d ago against content hash 1280f8bea79a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

us-stock-analysis scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sH "User-Agent: openclaw/1.0" \
skills/us-stock-analysis/SKILL.md · 341 lines

How it starts

The opening of the file, as written. The whole thing — 341 lines — stays where its author put it; the contents beside it link to each section on GitHub.

US Stock Analysis

Workspace-native US stock analyst. Always uses kcn's local pipeline for price/RSI/MA/signal — uses web search only for news, peer data, fundamentals.

Required reads before answering

In this order:

  1. /root/.openclaw/workspace/MEMORY.md — data rules and traps (especially the "禁止用 portfolio.json 缓存价" rule)
  2. /root/.openclaw/workspace/TOOLS.md — script paths, provider fallback chains, skill routing table
  3. /root/.openclaw/workspace/INVESTMENT_SOP.md — standard startup sequence for investment questions
  4. /root/.openclaw/workspace/portfolio.json — if the ticker is in the active book, cost basis and PnL matter

Data source rule (non-negotiable)

Default path — use the workspace script, not web search:

# Full analysis: refreshes price + RSI-14 / MA20 / MA50 + Finnhub news + signal
/root/.local/bin/clawock analyze-us {TICKER}
/root/.local/bin/clawock analyze-us {TICKER} --no-news    # skip news (save Finnhub quota)

# Price-only refresh
/root/.local/bin/clawock us-quotes {TICKER}

The script internally runs the 7-route fallback (Nasdaq API → Eastmoney → Finnhub → Yahoo v8 → yfinance → Alpha Vantage → Polygon), pulls prev_close independently from Polygon's /prev endpoint (so today_change is trustworthy after close), and writes back to portfolio.json if the ticker is held. Bypassing it re-introduces every bug it was written to fix.

Web search is only for: earnings transcripts, SEC filings, analyst notes, sector news, peer fundamentals, qualitative thesis material — never primary price quotes.

Forbidden: Sina US quotes API (境外 403), raw Yahoo scraping when the script already covers it, reading portfolio.json cached current_price without first refreshing.

Four analysis modes

Pick the smallest mode that answers the question. Default to Quick Read unless the user explicitly asks for deep analysis.

Mode 1 — Quick Read (most common)

When: "What's RKLB at?" / "How's NVDA doing today?"

  1. Run clawock analyze-us {TICKER} --no-news for price + RSI/MA/signal
  2. If in active book, pull cost basis + PnL from portfolio.json
  3. One short paragraph: price, today's move, RSI/MA stance, one-line verdict

Read the full file on GitHub · 341 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 341 lines · 97 tokens per session scan A 1280f8bea79a

Subscribe to this mod's changes

us-stock-analysis is a skill published in the GitHub repository KCNyu/clawock (14 stars, last pushed today), licensed MIT. It adds 97 tokens to every session and 9,180 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

tushare

A Python interface to Tushare, a financial-data service providing market, company, fund, futures, and other finance-related data. It shows how to authenticate and query the service into pandas tables.

skloxo/TideTrading · 79 tokens

financial-expense-automation

An expense-receipt workflow that reads PDF and image attachments, extracts their details, checks whether they are valid expense receipts, and records them in Feishu Bitable, a cloud table service.

DjangoPeng/agentic-ai · 100 tokens

credit-analysis

A framework for analysing bonds and other fixed-income investments, including issuer credit quality, interest-rate sensitivity, credit spreads, and default risk. A credit rating estimates how likely an issuer or specific bond is to repay its debt.

skloxo/TideTrading · 36 tokens

crypto-monitor

A scheduled cryptocurrency price checker that uses CoinGecko, a service providing market data. It tracks Bitcoin, Ethereum, and Litecoin in US dollars and Chinese yuan, including their change over the past 24 hours.

DjangoPeng/agentic-ai · 121 tokens

vibe-trading

Professional finance research toolkit — backtesting (7 engines + benchmark comparison panel), factor analysis, Alpha Zoo (452 pre-built alphas across qlib158/alpha101/gtja191/academic), options pricing, 79 finance skills, 29 multi-agent swarm teams, Trade Journal analyzer, and Shadow Account (extract → backtest →…

skloxo/TideTrading · 139 tokens

quant-statistics

Quantitative statistical methods: ADF unit-root / cointegration tests, GARCH volatility modeling, regression diagnostics (heteroskedasticity / autocorrelation), Bootstrap, and hypothesis testing.

skloxo/TideTrading · 41 tokens