macro-impact
Skill2 starsChanged 5 months agoMITView on GitHub
Run a McKinsey-style macro economic impact briefing on the user's portfolio. Use when the user asks about rate impact, inflation, CAD/USD, recession risk, Fed/BoC policy, or how macro affects their holdings.
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adversarial-researchSkill
- auto-rebalanceSkill
- cash-deploymentSkill
- daily-briefingSkill
- dividend-strategySkill
- earnings-analyzerSkill
- earnings-postmortemSkill
- employer-stockSkill
- health-checkSkill
- momentum-scannerSkill
- optimize-allocationSkill
- pead-trackerSkill
- perf-optimizerSkill
- portfolio-healthSkill
- portfolio-reviewSkill
- position-reviewSkill
- pre-trade-checkSkill
- profile-setupSkill
- risk-assessmentSkill
- sector-rotationSkill
- stock-analysisSkill
- stock-compareSkill
- tax-loss-reviewSkill
- top-trades-todaySkill
- trade-journalSkill
- trading-deskSkill
- weekly-mirrorSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 2 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Call mcp__aifolimizer__get_profile - actual account types and capital.
- Very specific: line 19
Call mcp__aifolimizer__get_portfolio - current holdings
- Very specific: line 20
Call mcp__aifolimizer__get_macro_snapshot - live FRED data (Fed funds, 10Y yield, US/Canada CPI, CAD/USD, BoC rate, unemployment)
- Very specific: line 21
Call mcp__aifolimizer__get_boc_snapshot - authoritative Bank of Canada data (BoC overnight target, USD/CAD, GoC 2/5/10y yields, 10y-2y …
- Very specific: line 22
Call mcp__aifolimizer__get_statcan_snapshot - official StatCan CPI YoY inflation + unemployment (use over FRED's Canadian mirror)
- Very specific: line 23
Call mcp__aifolimizer__get_factor_snapshot - which Fama-French style factors (value/size/momentum/quality) lead now.
- Very specific: line 24
Call mcp__aifolimizer__get_market_breadth - VIX, SPY regime (bull/bear vs SMA200), composite market_regime signal
- Very specific: line 27
Before issuing any ADD in section 9, call mcp__aifolimizer__get_positioning_signals (symbols=[those names]) - macro tailwinds alone don't …
- Very specific: line 28
Use market_regime to calibrate portfolio risk stance (bull_low_fear → risk-on.
- Distinctive: line 48
Timeline: - when these factors most likely impact this portfolio
- Distinctive: line 54
Use current real macro data (search for it), not stale assumptions
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Macro Impact Analysis (McKinsey style)
Decision Memory Protocol (load first, log after)
Before forming any view, load prior decisions so verdicts stay consistent across sessions:
mcp__aifolimizer__get_cross_ticker_lessons(max_lessons=3) - portfolio-level win/loss patterns- For any name you issue a per-ticker BUY/SELL/TRIM/HOLD/ADD on, also load
mcp__aifolimizer__get_ticker_decision_history(ticker=…, max_decisions=5) andmcp__aifolimizer__get_ticker_reflection(symbol=…, n=3). If a prior decision exists and this run flips it, state explicitly WHY (new data / catalyst / price); never silently contradict a logged decision.
After output, log every actionable verdict: for each BUY/SELL/TRIM/ADD/HOLD issued, call mcp__aifolimizer__log_recommendation (skill="macro-impact", ticker, action, conviction, rationale, target_pct, stop_pct). Skipping breaks the cross-session feedback loop and causes drift.
How to run
- Call
mcp__aifolimizer__get_profile- actual account types and capital. CAD/USD macro impact matters more for USD-heavy accounts - Call
mcp__aifolimizer__get_portfolio- current holdings - Call
mcp__aifolimizer__get_macro_snapshot- live FRED data (Fed funds, 10Y yield, US/Canada CPI, CAD/USD, BoC rate, unemployment) - Call
mcp__aifolimizer__get_boc_snapshot- authoritative Bank of Canada data (BoC overnight target, USD/CAD, GoC 2/5/10y yields, 10y-2y curve slope). Prefer over FRED's lagged BoC mirror for Canadian rates; citecurve_signal(inverted/normal) - Call
mcp__aifolimizer__get_statcan_snapshot- official StatCan CPI YoY inflation + unemployment (use over FRED's Canadian mirror) - Call
mcp__aifolimizer__get_factor_snapshot- which Fama-French style factors (value/size/momentum/quality) lead now; feeds the sector-rotation call in section 8 - Call
mcp__aifolimizer__get_market_breadth- VIX, SPY regime (bull/bear vs SMA200), composite market_regime signal - WebSearch only if you need details the above don't cover (geopolitics, breaking news)
- Map each macro factor to specific holdings in portfolio
- Before issuing any ADD in section 9, call
mcp__aifolimizer__get_positioning_signals(symbols=[those names]) - macro tailwinds alone don't justify adding to a crowded name. Defer ADDs withcrowding_score >= 70(consensus-crowded, negative expected alpha); favorcrowding_score <= 30(contrarian edge). - Use
market_regimeto calibrate portfolio risk stance (bull_low_fear → risk-on; bear_high_fear → defensive)
Investor profile
- Canadian retail investor
- Account types and capital: always read from
get_profile- never hardcode - Holds equities, ETFs, crypto across registered + non-registered accounts
- Long-term wealth building with some short-term trading
Output structure
- Interest rate environment (BoC + Fed) - impact on growth vs value holdings
- Inflation trend - which holdings benefit or suffer
- CAD/USD outlook - impact on USD-denominated positions
- GDP forecast (Canada + US) - implications for corporate earnings
- Employment + consumer spending - what they mean for consumer-facing stocks
- BoC policy outlook (next 6 months) - impact on rate-sensitive positions
- Global risk factors - geopolitics, trade, supply chains
- Sector rotation recommendation based on current cycle phase
- 3 specific portfolio adjustments - name actual tickers from portfolio
- Timeline - when these factors most likely impact this portfolio
Rules
- Executive briefing format with action plan table at top
- Under 500 words
- Use current real macro data (search for it), not stale assumptions
Gotchas
get_macro_snapshotcached 12h - Fed/BoC decision days break this. If user mentions recent rate move, WebSearch to confirm before using MCP data.- FRED has NO geopolitics, NO earnings, NO breaking news - WebSearch mandatory for those factors, do NOT extrapolate from rates alone.
market_regimeis composite (VIX + SPY vs SMA200) - bear_high_fear ≠ recession; state components, not just label.- CAD/USD impact applies only to USD-denominated holdings; .TO tickers already CAD-quoted - don't double-count FX.
- BoC and Fed rate differentials matter more than absolute levels for CAD/USD direction; cite spread, not just one rate.
get_boc_snapshot/get_statcan_snapshotare official Canadian sources - when they disagree withget_macro_snapshot's FRED mirror, trust BoC/StatCan and note the FRED lag.get_factor_snapshotreturns US factors (Ken French) - read factor leadership as a global style signal, not a Canada-specific one.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

