agentsclimarketplace

Case 03396

Skill knownasnaffy/prompthound/dataset/case_03396

A fast, offline static risk analysis CLI for AI agent skill files. Detects malicious instructions, steganographic payloads, and dangerous capability chains.

Install
npx -y skills add knownasnaffy/prompthound --skill case_03396

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Three-factor stock analysis combining DCF valuation, Livermore trend trading rules, and VIX market sentiment to generate high-confidence buy signals for US equities. Use when analyzing US stocks for investment decisions, determining optimal entry points, or evaluating buy opportunities with multi-factor confirmation.

SKILL.md

4.5 KB, 870 tokens by cl100k_base, as published. Nobody here has run it

πŸ“ˆ US Stock Analyzer - Three-Factor Buy Signal System

A comprehensive stock analysis system that combines Value Investing (DCF), Trend Trading (Livermore Rules), and Market Sentiment (VIX) to generate buy signals only when all three factors align.

Quick Start

# Install dependencies
pip3 install yfinance pandas numpy matplotlib pyyaml requests

# Set API key (optional, for enhanced financial data)
export FMP_API_KEY="your_key_here"

# Run analysis
python3 scripts/decision_engine.py AAPL

Three-Factor Framework

1️⃣ Value Factor (DCF) - 40% Weight

  • Buy Condition: Price < Intrinsic Value Γ— (1 - Margin of Safety)
  • Key Metrics: Free Cash Flow, WACC, growth rates, ROE, debt levels
  • Output: Value score 0-100, fair value estimate

2️⃣ Trend Factor (Livermore) - 35% Weight

  • Buy Conditions:
    • Break above resistance with volume confirmation (1.5x avg)
    • Sector alignment (ETF in uptrend)
    • Price > MA20 > MA60
  • Output: Trend score 0-100, key support/resistance levels

3️⃣ Sentiment Factor (VIX) - 25% Weight

  • Buy Conditions:
    • VIX < 25 (non-panic)
    • VIX percentile < 70% (not expensive)
    • Market breadth positive (SPY uptrend)
  • Output: Sentiment score 0-100, market regime

Final Buy Signal

BUY = Value β‰₯ 60 AND Trend β‰₯ 60 AND Sentiment β‰₯ 60 AND Composite β‰₯ 70

Usage

Basic Analysis

from scripts.decision_engine import StockAnalyzer

analyzer = StockAnalyzer(config_path="config.yaml")
result = analyzer.analyze("TSLA")
print(result['report'])

With Chart Output

analyzer.plot_analysis(result['result'], save_path="tsla_analysis.png")

Data Sources

DataSourceRequired
Price/VolumeYahoo Finance (yfinance)Free
FinancialsFMP APIOptional (free tier)
VIXCBOE via YahooFree
Sector ETFsYahoo FinanceFree

Configuration

Edit config.yaml to customize:

  • DCF discount rate (default: 10%)
  • Margin of safety threshold (default: 20%)
  • VIX panic threshold (default: 30)
  • Factor weights
  • Position sizing rules

Output

The system generates a formatted report including:

  • Executive summary with composite score
  • Individual factor scores with visual bars
  • Buy/hold signal with confidence level
  • Position sizing recommendation
  • Target price and stop loss levels
  • Risk assessment

File Structure

us-stock-analyzer/
β”œβ”€β”€ SKILL.md                 # This file
β”œβ”€β”€ config.yaml             # Configuration
β”œβ”€β”€ requirements.txt        # Python dependencies
β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ data_fetcher.py    # Data retrieval
β”‚   β”œβ”€β”€ dcf_analyzer.py    # DCF valuation
β”‚   β”œβ”€β”€ trend_analyzer.py  # Livermore trend analysis
β”‚   β”œβ”€β”€ sentiment_analyzer.py # VIX sentiment
β”‚   └── decision_engine.py # Three-factor engine
β”œβ”€β”€ references/
β”‚   └── methodology.md     # Detailed methodology
└── examples/
    └── sample_report.md   # Example output

Methodology

See references/methodology.md for:

  • Detailed DCF calculation methodology
  • Livermore trading rules implementation
  • VIX sentiment scoring algorithm
  • Position sizing formulas

Disclaimer

This tool is for informational purposes only and does not constitute investment advice. Always conduct your own research and consider consulting a financial advisor before making investment decisions.

License

MIT-0 (Public Domain)

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.