Install Fundamentals
Pick your agent. Every command is ready to paste.
npx skills add staskh/trading_skills --skill fundamentalsThe open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads fundamentals when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the fundamentals skill”. In Codex, type $fundamentals.
Fundamentals
Fetch fundamental financial data from Yahoo Finance.
Instructions
Note: If
uvis not installed orpyproject.tomlis not found, replaceuv run pythonwithpythonin all commands below.
uv run python scripts/fundamentals.py SYMBOL [--type TYPE]
Arguments
SYMBOL- Ticker symbol--type- Data type: all, financials, earnings, info (default: all)
Output
Returns JSON with:
info- Key metrics (market cap, PE, EPS, dividend, etc.)financials- Recent quarterly/annual income statement dataearnings- Historical and estimated earnings
Present key metrics clearly. Compare actual vs estimated earnings if relevant.
Piotroski F-Score
Calculate Piotroski's F-Score to evaluate a company's financial strength using 9 fundamental criteria.
Instructions
uv run python scripts/piotroski.py SYMBOL
What is Piotroski F-Score?
Piotroski's F-Score is a fundamental analysis tool developed by Joseph Piotroski that evaluates a company's financial strength using 9 criteria. Each criterion scores 1 point if passed, 0 if failed, for a maximum score of 9.
The 9 Criteria
- Positive Net Income - Company is profitable
- Positive ROA - Assets are generating returns
- Positive Operating Cash Flow - Company generates cash from operations
- Cash Flow > Net Income - High-quality earnings (cash exceeds accounting profit)
- Lower Long-Term Debt - Decreasing leverage (improving financial position)
- Higher Current Ratio - Improving liquidity
- No New Shares Issued - No dilution (or share buybacks)
- Higher Gross Margin - Improving profitability efficiency
- Higher Asset Turnover - More efficient use of assets
Score Interpretation
- 8-9: Excellent - Very strong financial health
- 6-7: Good - Strong financial health
- 4-5: Fair - Moderate financial health
- 0-3: Poor - Weak financial health
Output
Returns JSON with:
score- F-Score (0-9)max_score- Maximum possible score (9)criteria- Detailed breakdown of each criterion with pass/fail status and valuesinterpretation- Text description of financial health leveldata_available- Boolean indicating if year-over-year comparison data is available for criteria 5-9
Implementation Details
- Criteria 1-4 use quarterly financial data (most recent year)
- Criteria 5-9 use annual financial data for year-over-year comparisons
- Compares most recent fiscal year vs previous fiscal year
Use Cases
Use Piotroski F-Score when:
- Evaluating fundamental financial strength
- Screening for value stocks with improving fundamentals
- Assessing financial health trends
- Comparing financial strength across companies
- Identifying companies with strong fundamentals but undervalued prices
Dependencies
pandasyfinance
Timezone
All timestamps and time-based calculations must use the America/New_York timezone. All JSON output must include generated_at (NY time string) and data_delay fields.
Tips for Fundamentals
- • Start a fresh session after installing so your agent picks up the new skill.
- • This skill ships scripts. Read them before the first run, and run it in a project without secrets first.
- • It is part of a pack with 30 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about Fundamentals
What does the Fundamentals skill do?
Get fundamental financial data including financials, earnings, and key metrics. Use when user asks about financials, earnings, revenue, profit, balance sheet, income statement, or company fundamentals.
How do I install Fundamentals?
Run "npx skills add staskh/trading_skills --skill fundamentals" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does Fundamentals work in Cursor and Codex?
Yes. Fundamentals uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
Is Fundamentals free?
Fundamentals is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.
Who made Fundamentals?
Fundamentals is published by staskh in the staskh/trading_skills repository, together with 29 other skills.



