Borrowing it
Nothing to install: this file belongs to tusharagg1/aifolimizer. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/tusharagg1/aifolimizer/master/.claude/skills/stock-compare/SKILL.mdgit clone --depth 1 https://github.com/tusharagg1/aifolimizerWrote 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/skills/tusharagg1/aifolimizer/stock-compare)<a href="https://agentmods.dev/skills/tusharagg1/aifolimizer/stock-compare"><img src="https://agentmods.dev/badge/skills/tusharagg1/aifolimizer/stock-compare/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/skills/tusharagg1/aifolimizer/stock-compare"><img src="https://agentmods.dev/badge/skills/tusharagg1/aifolimizer/stock-compare.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.00073 | $0.01628 |
| Opus 5 | $0.00036 | $0.00814 |
| Sonnet 5 | $0.00015 | $0.00326 |
| Haiku 4.5 | $0.00007 | $0.00163 |
Grade A, and why
stock-compare 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 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.
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 — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Stock Compare (Head-to-Head)
Stage 0 - Decision Memory (load BEFORE forming any verdict)
Before fetching market data, load prior decisions on each ticker (A and B) so the verdict stays consistent across sessions:
mcp__aifolimizer__get_ticker_decision_historywithticker=Athenticker=B(max_decisions=5) - prior actions, outcomes, reflectionsmcp__aifolimizer__get_ticker_reflectionwithsymbol=A/symbol=B(n=3) - prior recs + realized alphamcp__aifolimizer__get_cross_ticker_lessonswithmax_lessons=3- portfolio-level win/loss patterns
Reconciliation rule: if a prior decision exists and your new read flips it, state explicitly WHY it changed (new data / catalyst / price move). Never silently contradict a logged decision - that drift is exactly what this prevents.
How to run
- Call
mcp__aifolimizer__get_profile- account types, capital, tax context. Frame placement recommendation at end (TFSA vs RRSP vs Non-Reg) - Identify two tickers from user query (Ticker A, Ticker B). If user names only one and asks "vs sector leader", pick obvious peer and state choice explicitly
- Call
mcp__aifolimizer__get_portfolio- flag which tickers user already holds, with current weight and cost basis - Call
mcp__aifolimizer__get_fundamentalswithsymbols=[A, B]in one call - P/E, EPS, dividend yield, payout, market cap, analyst target, beta - Call
mcp__aifolimizer__get_technicalswithsymbols=[A, B]in one call - SMA20/50/200, RSI, MACD, Bollinger Bands, trend, Minervini stage + score, 52-week context - Call
mcp__aifolimizer__get_news_headlinesfor each ticker - recent catalyst differential - WebSearch only for: sector peer multiples, recent analyst upgrade/downgrade asymmetry, or gaps in MCP response
Investor profile
- Canadian retail investor
- Time horizons: short-term trading + long-term (10yr+) holding
- Strategy lens: confirm with user (growth / income / value); default to growth if unstated
- Account types and capital: always read from
get_profile- never hardcode
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.
- 9d ago First seen · 110 lines · 73 tokens per session scan A 48034eea5b48
stock-compare is a skill published in the GitHub repository tusharagg1/aifolimizer (2 stars, last pushed 8d ago), licensed MIT. It adds 73 tokens to every session and 1,628 once invoked, about $0.0004 per session on Opus 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-31.
Other skills, from other repositories
quantoracle
63 deterministic quantitative finance calculators + 10 composite workflows via MCP. Options pricing, Greeks, exotic derivatives, risk metrics, portfolio optimization, Monte Carlo, statistics, crypto/DeFi, FX/macro, TVM, strategy backtesting, rebalance planning, options strategy selection, hedging. 1,000 free…
gitee-expert
You have access to Gitee (gitee.com), China's largest GitHub-style platform. This skill teaches the effective workflows for discovery, intel, translation and webhook monitoring.
transcribe-filing
Transcribe an insurance rate filing or internal rating manual into an OpenRater workbook, then validate, build, verify, and rate it through the OpenRater MCP tools. Use when the user shares a filing/manual (PDF or pages) and wants it executable — "build this filing", "digitize this rating manual", "make this rateable"…
tushare
A Python interface for Tushare, a financial data service that provides market and company information for stocks, funds, futures, and digital assets. It returns queried data as pandas tables.
social-media-intelligence
Social media intelligence: financial signal extraction from Twitter/X, Telegram, Discord, and Reddit for sentiment-driven trading strategies.
geopolitical-risk
Geopolitical risk analysis: quantify crisis signals, identify precursors, and build event-driven strategies for war, sanctions, and supply disruption scenarios.