Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/yennanliu/InvestSkillWrote 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.
[](https://agentmods.dev/rules/yennanliu/investskill/invest-skill)<a href="https://agentmods.dev/rules/yennanliu/investskill/invest-skill"><img src="https://agentmods.dev/badge/rules/yennanliu/investskill/invest-skill/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.
<a href="https://agentmods.dev/rules/yennanliu/investskill/invest-skill"><img src="https://agentmods.dev/badge/rules/yennanliu/investskill/invest-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.05054 | $0.05054 |
| Opus 5.5 | $0.02022 | $0.02022 |
| Sonnet 5.5 | $0.01011 | $0.01011 |
| Haiku 4.5 | $0.00505 | $0.00505 |
Grade A, and why
invest-skill scanned grade A with 0 findings 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 3d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 593 lines — stays where its author put it; the contents beside it link to each section on GitHub.
InvestSkill — Cursor Rules & Setup Guide
This is the InvestSkill repository — a collection of 34 professional investment analysis frameworks for US stocks. These rules automatically apply when you work in this project.
Installation & Setup
Automatic Setup
Cursor automatically loads this file when you open the InvestSkill repository. No manual installation required.
-
Clone the repository:
git clone https://github.com/yennanliu/InvestSkill.git -
Open in Cursor:
cd InvestSkill cursor . -
Open AI Chat (usually
Cmd+K)- Cursor automatically loads the investment analysis rules
- All 34 frameworks are immediately available
Verify Setup
In Cursor AI Chat, try:
@prompts/stock-valuation.md Analyze Apple (AAPL)
If the framework loads, setup is complete!
Available Analysis Frameworks (34 frameworks + 3 aliases + 1 output tool)
Core Stock Analysis (5 frameworks)
| Framework | File | Best For |
|---|---|---|
| Stock Evaluation | @prompts/stock-eval.md |
Piotroski scoring, quality metrics |
| Stock Valuation | @prompts/stock-valuation.md |
DCF + comparable companies + EV multiples |
| Technical Analysis | @prompts/technical-analysis.md |
Chart patterns, volume, indicators |
| Economics Analysis | @prompts/economics-analysis.md |
Macro indicators, recession probability |
| Head-to-Head Compare | @prompts/compare.md |
Compare 2–5 stocks head to head on one table — business quality, growth, valuation, balance sheet, momentum, risks and catalysts — then argue the pick: which one, why, what would flip it, and whether owning more than one adds anything |
Financial Report Analysis (5 frameworks)
| Framework | File | Best For |
|---|---|---|
| Financial Report Analyst | @prompts/financial-report-analyst.md |
10-K, 10-Q, annual reports |
| 10-K Report Digest | @prompts/10k-digest.md |
Structured digest doc — abstract, section summaries, metrics, refs (EN/繁中) |
| Earnings Call Analysis | @prompts/earnings-call-analysis.md |
Management tone, guidance, themes |
| Forensic Accounting | @prompts/forensic-accounting.md |
Earnings-quality forensics — Beneish M-Score, Altman Z, Sloan accruals ratio, cash-vs-earnings divergence, SBC-adjusted FCF, revenue-recognition and capitalisation checks, auditor and related-party flags, scored as a Manipulation Risk Score 0–10 |
| Credit Check | @prompts/credit-check.md |
Balance-sheet solvency and refinancing risk — debt maturity wall, interest coverage trend, leverage vs. covenants, liquidity runway, ratings and spreads, the cost of refinancing at today's rates, and an equity-holder verdict, scored as a Credit Health Score 0–10 |
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.
- 3d ago Changed · +8 lines · +320 tokens per session ddc1b3d71ab4
- 1mo ago Changed · +32 lines · +869 tokens per session cea3a341f6ba
- 1mo ago First seen · 553 lines · 3,865 tokens per session scan A 6cfce475df47
invest-skill is a cursor rule published in the GitHub repository yennanliu/InvestSkill (261 stars, last pushed 3d ago), licensed MIT. It adds 5,054 tokens to every session, about $0.0202 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other cursor rules, from other repositories
ddd-design-guide
Apply when designing or refactoring domain models, services, stores, or discussing DDD (Domain-Driven Design) architecture. Also apply when working on business logic layers, API modules, or planning domain boundaries and migrations.
backend-rules
A Cursor rule named backend-rules covering backend development, project structure, technology choices, runtime environment, and main process. Cursor is a coding editor with rules that guide how an agent works in a project.
spec-for-ut
Unit testing is essential to ensure the reliability and stability of code, especially for React components and functions. Adhering to best practices and ensuring high test coverage is critical to maintaining a robust codebase.
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.