- Home
- Skills
- Trading & Investing
- Stock Four Lens
Stock Four Lens
by kevin
A 股「四把尺子」——把 stock_value_invest_tool 里 select / cycle / quality / top 四个模块的 判定逻辑抽出来,剥掉取数、渲染、落库,只留纯计算。
$10
Stock Four Lens
Example session with this skill installed
Run the quality lens on the bundled stock data in bundle.json to check Q-scores, V-scores, and the 14-point risk list.
- Read your context and instructions
- Compiled the stock four lens
The quality analysis for the provided dataset is complete. The engine evaluated the business health (Q), valuation (V), and performed the 14-point risk scan.
Quality and Risk Assessment Result
| Metric | Value / Status | Description |
|---|---|---|
| Stock Code | sh600519 | Kweichow Moutai |
| Q-Score | 82 | Strong business quality, high moat |
| V-Score | 45 | Neutral valuation |
| Risk: Financial Leverage | Pass | Asset-liability ratio within safety bounds |
| Risk: Pledging | Pass | Low major shareholder pledge ratio |
| Risk: Cash Flow | Pass | Net operating cash flow > Net profit |
| Risk: Governance | Warning | Recent management turnover detected |
| Cycle Tag | Non-Cyclical | Low gross margin volatility (CV < 0.15) |
| Capacity Position | Neutral | Current utilization at 75th percentile |
| Final Verdict | Watch | High quality but valuation gap exists |
Next steps
- Review the governance warning in the annual report for details on management changes.
- Execute the
toplens to check if the current turnover rate suggests a short-term peak. - Compare these results against the historical Q-score trend in your local database.
Connects securely to your tools. The creator never sees your data.
About this skill
Analyzing A-share stocks requires more than just glancing at a chart. This skill implements the Four Lenses framework to filter candidates, assess cyclicality, score quality, and detect market tops using strict, proven thresholds.
What it does
- Multi-Factor Selection: Filters A-share candidates using MA20 crossovers, volume surges, and a seven-rule verdict system.
- Cyclical Elasticity Assessment: Determines if a stock is cyclical, measures its elasticity via gross margin and profit, and identifies capacity utilization levels.
- Quality and Value Scoring: Calculates Q-scores for business health and V-scores for valuation while scanning for 14 distinct risk factors.
- Market Top Detection: Evaluates momentum, turnover, performance, and price-volume factors to identify potential topping zones.
- Strict Data Handling: Distinguishes between zero values and missing data (NA), ensuring missing metrics never masquerade as passing grades.
How it works
- Select: Run the
selectcommand to generate a list of candidates meeting specific price and volume triggers. - Analyze: Pass specific stock codes from your candidate list into the
cycleorqualitymodules for deeper fundamental vetting. - Monitor: Use the
topcommand to check if current holdings are entering high-risk momentum or turnover stages. - Inspect: Query the calculation engine directly via JSON inputs to retrieve explicit tags like
strong/weakorlow/high.
Frameworks & tools
The skill utilizes a Python-based calculation engine that operates on local JSON data or a shared.db SQLite instance. It relies on standard libraries to ensure zero external network dependencies for financial calculations.
Why this beats prompting it yourself
Generic prompts struggle with strict threshold enforcement and often hallucinate financial verdicts. This skill uses a hardened calculation engine with hardcoded thresholds and explicit failure semantics, ensuring that "missing data" is never interpreted as "passing quality."
Use cases
- Filter a weekly pool of A-shares based on MA20 crossovers and volume.
- Determine if a company is a cyclical play and identify its current capacity position.
- Perform a risk audit on a potential investment using the 14-point risk checklist.
- Monitor whether a surging stock is hitting momentum and turnover ceilings.
Known limitations
Does not perform data fetching; requires local JSON or shared.db input. Calculations require raw price data (non-adjusted) to maintain threshold accuracy. Minimum data history requirements apply for quality and cycle assessments.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 days ago
- Software
Python
Permissions
What's inside
Creator
kevin
3 skills on Agensi
Frequently Asked Questions
New in Trading & Investing
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Trading & Investing.