@v587d/capital-generation 2.7.2 → 2.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/README.md +7 -6
  3. package/THIRD_PARTY_NOTICES.md +65 -26
  4. package/capital-config/client.js +2 -2
  5. package/capital-config/package.json +1 -1
  6. package/capital-watchlist/package.json +1 -1
  7. package/chart-ui/package.json +1 -1
  8. package/lib/web-retriever/local-fetch.d.ts +1 -1
  9. package/lib/web-retriever/local-fetch.js +1 -1
  10. package/lib/web-retriever/wind-client.d.ts +1 -1
  11. package/lib/web-retriever/wind-client.js +1 -1
  12. package/package.json +2 -1
  13. package/selected-skills/InvestSkill/UPSTREAM.md +9 -0
  14. package/selected-skills/catalog.js +177 -0
  15. package/selected-skills/china-stock-research-skills/UPSTREAM.md +2 -1
  16. package/selected-skills/investment-skills/UPSTREAM.md +2 -1
  17. package/selected-skills/peter-lynch-skill/UPSTREAM.md +4 -3
  18. package/selected-skills/trading-skills/LICENSE +21 -0
  19. package/selected-skills/trading-skills/UPSTREAM.md +111 -0
  20. package/selected-skills/trading-skills/skills/catalyst-map/SKILL.md +119 -0
  21. package/selected-skills/trading-skills/skills/catalyst-map/references/catalyst-framework.md +68 -0
  22. package/selected-skills/trading-skills/skills/earnings-preview/SKILL.md +124 -0
  23. package/selected-skills/trading-skills/skills/earnings-preview/references/data-providers.md +26 -0
  24. package/selected-skills/trading-skills/skills/earnings-preview/references/providers/fmp.md +49 -0
  25. package/selected-skills/trading-skills/skills/earnings-preview/references/providers/polygon.md +45 -0
  26. package/selected-skills/trading-skills/skills/earnings-preview/references/providers/tradingeconomics.md +49 -0
  27. package/selected-skills/trading-skills/skills/earnings-preview/references/relevance-ranking.md +24 -0
  28. package/selected-skills/trading-skills/skills/earnings-trade-prep/SKILL.md +134 -0
  29. package/selected-skills/trading-skills/skills/earnings-trade-prep/references/workflow-framework.md +65 -0
  30. package/selected-skills/trading-skills/skills/evidence-gap-check/SKILL.md +120 -0
  31. package/selected-skills/trading-skills/skills/evidence-gap-check/references/gap-framework.md +66 -0
  32. package/selected-skills/trading-skills/skills/execution-plan-check/SKILL.md +121 -0
  33. package/selected-skills/trading-skills/skills/execution-plan-check/references/execution-checklist.md +70 -0
  34. package/selected-skills/trading-skills/skills/journal-pattern-analyzer/SKILL.md +120 -0
  35. package/selected-skills/trading-skills/skills/journal-pattern-analyzer/references/calculation-helpers.md +16 -0
  36. package/selected-skills/trading-skills/skills/journal-pattern-analyzer/references/pattern-framework.md +74 -0
  37. package/selected-skills/trading-skills/skills/macro-event-analysis/SKILL.md +122 -0
  38. package/selected-skills/trading-skills/skills/macro-event-analysis/references/data-providers.md +23 -0
  39. package/selected-skills/trading-skills/skills/macro-event-analysis/references/interpretation-guide.md +22 -0
  40. package/selected-skills/trading-skills/skills/macro-event-analysis/references/providers/fmp.md +28 -0
  41. package/selected-skills/trading-skills/skills/macro-event-analysis/references/providers/tradingeconomics.md +40 -0
  42. package/selected-skills/trading-skills/skills/market-regime-analysis/SKILL.md +117 -0
  43. package/selected-skills/trading-skills/skills/market-regime-analysis/references/data-providers.md +26 -0
  44. package/selected-skills/trading-skills/skills/market-regime-analysis/references/providers/fmp.md +46 -0
  45. package/selected-skills/trading-skills/skills/market-regime-analysis/references/providers/polygon.md +36 -0
  46. package/selected-skills/trading-skills/skills/market-regime-analysis/references/providers/tradingeconomics.md +46 -0
  47. package/selected-skills/trading-skills/skills/market-regime-analysis/references/regime-framework.md +23 -0
  48. package/selected-skills/trading-skills/skills/portfolio-concentration/SKILL.md +119 -0
  49. package/selected-skills/trading-skills/skills/portfolio-concentration/references/concentration-framework.md +72 -0
  50. package/selected-skills/trading-skills/skills/portfolio-risk-review/SKILL.md +126 -0
  51. package/selected-skills/trading-skills/skills/portfolio-risk-review/references/workflow-framework.md +57 -0
  52. package/selected-skills/trading-skills/skills/position-management/SKILL.md +120 -0
  53. package/selected-skills/trading-skills/skills/position-management/references/management-framework.md +70 -0
  54. package/selected-skills/trading-skills/skills/position-sizing/SKILL.md +83 -0
  55. package/selected-skills/trading-skills/skills/position-sizing/assets/trade-plan-template.md +15 -0
  56. package/selected-skills/trading-skills/skills/position-sizing/references/calculation-helpers.md +13 -0
  57. package/selected-skills/trading-skills/skills/position-sizing/references/methodology.md +28 -0
  58. package/selected-skills/trading-skills/skills/post-trade-debrief/SKILL.md +99 -0
  59. package/selected-skills/trading-skills/skills/post-trade-debrief/references/workflow-framework.md +51 -0
  60. package/selected-skills/trading-skills/skills/post-trade-review/SKILL.md +82 -0
  61. package/selected-skills/trading-skills/skills/post-trade-review/references/review-rubric.md +34 -0
  62. package/selected-skills/trading-skills/skills/pre-trade-check/SKILL.md +136 -0
  63. package/selected-skills/trading-skills/skills/pre-trade-check/references/workflow-framework.md +61 -0
  64. package/selected-skills/trading-skills/skills/risk-reward-sanity-check/SKILL.md +81 -0
  65. package/selected-skills/trading-skills/skills/risk-reward-sanity-check/references/calculation-helpers.md +14 -0
  66. package/selected-skills/trading-skills/skills/risk-reward-sanity-check/references/failure-modes.md +9 -0
  67. package/selected-skills/trading-skills/skills/thesis-validation/SKILL.md +123 -0
  68. package/selected-skills/trading-skills/skills/thesis-validation/references/thesis-checklist.md +56 -0
  69. package/selected-skills/trading-skills/skills/watchlist-review/SKILL.md +119 -0
  70. package/selected-skills/trading-skills/skills/watchlist-review/references/review-framework.md +57 -0
  71. package/selected-skills/InvestSkill/ADDING-NEW-SKILLS.md +0 -546
  72. package/selected-skills/InvestSkill/CHANGELOG.md +0 -373
  73. package/selected-skills/InvestSkill/CI-CD-GUIDE.md +0 -432
  74. package/selected-skills/InvestSkill/CLAUDE.md +0 -148
  75. package/selected-skills/InvestSkill/CONTRIBUTING.md +0 -291
  76. package/selected-skills/InvestSkill/DEPLOYMENTS.md +0 -321
  77. package/selected-skills/InvestSkill/FAQ.md +0 -509
  78. package/selected-skills/InvestSkill/GEMINI.md +0 -419
  79. package/selected-skills/InvestSkill/PLATFORM-COMPATIBILITY.md +0 -529
  80. package/selected-skills/InvestSkill/README-claude-code.md +0 -435
  81. package/selected-skills/InvestSkill/README-cursor.md +0 -475
  82. package/selected-skills/InvestSkill/README-gemini.md +0 -532
  83. package/selected-skills/InvestSkill/README-ollama.md +0 -106
  84. package/selected-skills/InvestSkill/README-zh-TW.md +0 -461
  85. package/selected-skills/InvestSkill/README.md +0 -311
  86. package/selected-skills/InvestSkill/RELEASE-QUICK-REFERENCE.md +0 -230
  87. package/selected-skills/InvestSkill/RELEASE_NOTES.md +0 -121
  88. package/selected-skills/InvestSkill/SECURITY.md +0 -232
  89. package/selected-skills/InvestSkill/TODO.md +0 -28
  90. package/selected-skills/InvestSkill/package.json +0 -64
  91. package/selected-skills/InvestSkill/plugins/us-stock-analysis/README.md +0 -119
  92. package/selected-skills/china-stock-research-skills/.github/ISSUE_TEMPLATE/bug_report.md +0 -35
  93. package/selected-skills/china-stock-research-skills/.github/ISSUE_TEMPLATE/skill_request.md +0 -28
  94. package/selected-skills/china-stock-research-skills/.github/PULL_REQUEST_TEMPLATE.md +0 -15
  95. package/selected-skills/china-stock-research-skills/CHANGELOG.md +0 -59
  96. package/selected-skills/china-stock-research-skills/CONTRIBUTING.md +0 -121
  97. package/selected-skills/china-stock-research-skills/GITHUB_PUBLISHING.md +0 -259
  98. package/selected-skills/china-stock-research-skills/INSTALL.md +0 -151
  99. package/selected-skills/china-stock-research-skills/PUBLISH_CHECKLIST.md +0 -165
  100. package/selected-skills/china-stock-research-skills/README.en.md +0 -209
  101. package/selected-skills/china-stock-research-skills/README.md +0 -209
  102. package/selected-skills/china-stock-research-skills/RELEASE_ASSETS.md +0 -222
  103. package/selected-skills/china-stock-research-skills/ROADMAP.md +0 -45
  104. package/selected-skills/china-stock-research-skills/SKILLS.md +0 -85
  105. package/selected-skills/china-stock-research-skills/examples/full-report-flow.md +0 -20
  106. package/selected-skills/china-stock-research-skills/examples/module-select-cases.md +0 -26
  107. package/selected-skills/china-stock-research-skills/examples/quickstart-prompts.md +0 -25
  108. package/selected-skills/investment-skills/.github/workflows/validate.yml +0 -25
  109. package/selected-skills/investment-skills/.tbd/config.yml +0 -107
  110. package/selected-skills/investment-skills/README.md +0 -253
  111. package/selected-skills/investment-skills/docs/development.md +0 -37
  112. package/selected-skills/investment-skills/docs/roadmap.md +0 -25
  113. package/selected-skills/peter-lynch-skill/README.md +0 -305
@@ -0,0 +1,68 @@
1
+ # Catalyst Framework
2
+
3
+ Use this framework to map events and milestones into a smaller set of catalysts that actually deserve attention.
4
+
5
+ ## What counts as a catalyst
6
+
7
+ A catalyst is not just a calendar event.
8
+
9
+ It can be:
10
+
11
+ - earnings
12
+ - macro releases
13
+ - central-bank decisions
14
+ - product launches
15
+ - investor days
16
+ - guidance updates
17
+ - regulatory or legal milestones
18
+ - trial results
19
+ - policy announcements
20
+ - commodity or supply-chain developments
21
+
22
+ ## What makes a catalyst useful
23
+
24
+ A useful catalyst map answers:
25
+
26
+ - what matters
27
+ - when it matters
28
+ - who it affects
29
+ - how it transmits
30
+ - what preparation still needs to be done
31
+
32
+ ## Ranking questions
33
+
34
+ For each catalyst, ask:
35
+
36
+ - Is it inside the user's real decision window?
37
+ - Can it change the thesis, holding period, or risk budget?
38
+ - Does it affect one name or a whole cluster?
39
+ - Does it overlap with other catalysts?
40
+ - Does it require deeper work now?
41
+
42
+ ## Typical transmission paths
43
+
44
+ - direct issuer effect
45
+ - peer sympathy or read-through
46
+ - supplier or customer chain
47
+ - sector ETF or index effect
48
+ - rates, FX, energy, or commodity channel
49
+ - sentiment and positioning shift
50
+
51
+ ## Typical mistakes
52
+
53
+ - listing every event instead of the few that matter
54
+ - ignoring shared dependency on the same catalyst
55
+ - failing to connect macro events to single-name risk
56
+ - treating a catalyst as a forecast
57
+ - forgetting that some catalysts matter only because of timeframe
58
+
59
+ ## Boundaries
60
+
61
+ This framework does not decide:
62
+
63
+ - whether a trade should be entered
64
+ - what order type should be used
65
+ - how much size should be allocated
66
+ - whether the portfolio is too concentrated
67
+
68
+ It only organizes what could move the relevant names or exposures.
@@ -0,0 +1,124 @@
1
+ ---
2
+ name: earnings-preview
3
+ description: Prepare for an upcoming earnings report or earnings week by identifying the reports that matter, framing the key debates, and surfacing the read-through risk that could affect the user's watchlist or positions.
4
+ ---
5
+
6
+ # Earnings Preview
7
+
8
+ Use this skill when the user needs to prepare before one company reports or before an earnings-heavy week.
9
+
10
+ This skill will not:
11
+
12
+ - predict the post-report price move with certainty
13
+ - confuse a benchmark company's importance with a guaranteed read-through
14
+ - replace missing fundamentals with narrative filler
15
+
16
+ ## Role
17
+
18
+ Act like a skeptical earnings prep analyst. Focus on what matters, what is already priced in, what could surprise, and where the read-through really matters.
19
+
20
+ ## When to use it
21
+
22
+ Use it when the user wants to:
23
+
24
+ - prioritize which upcoming reports actually deserve attention
25
+ - prepare for a single company report with peer and sector context
26
+ - identify likely read-through names around a benchmark report
27
+ - decide whether a report is worth holding through, fading, or avoiding
28
+
29
+ ## Inputs and context
30
+
31
+ Ask for:
32
+
33
+ - the company, peer group, sector, or watchlist
34
+ - the date window or specific report being discussed
35
+ - the user's thesis, exposure, or planned trade posture
36
+ - what matters most this quarter: growth, margins, guidance, backlog, capex, demand, pricing, AI spend, consumer health, and so on
37
+ - whether the user cares more about the report itself, sector read-through, or index impact
38
+
39
+ Helpful but optional:
40
+
41
+ - consensus expectations or prior-quarter context
42
+ - known positioning or sentiment concerns
43
+ - whether the user plans to hold through the event
44
+
45
+ Use the user's materials first: pasted schedules, watchlists, company notes, guidance excerpts, estimate tables, transcripts, screenshots, or provider details already mentioned in the conversation.
46
+
47
+ ## If critical data is missing
48
+
49
+ If you already have enough timing and context to do the analysis, do not fetch anything.
50
+
51
+ If key schedule or estimate context is missing:
52
+
53
+ - check whether the user already named a supported provider or already shared usable access details in the conversation
54
+ - if they already indicated `FMP`, `TradingEconomics`, or `Polygon`, use [references/providers/fmp.md](references/providers/fmp.md), [references/providers/tradingeconomics.md](references/providers/tradingeconomics.md), or [references/providers/polygon.md](references/providers/polygon.md) directly
55
+ - otherwise consult [references/data-providers.md](references/data-providers.md) and ask which supported provider they want to use
56
+ - once the missing facts are gathered, continue the preview and disclose the source used
57
+
58
+ ## Analysis process
59
+
60
+ 1. Identify the reports that matter most for the user's names or theme.
61
+ 2. Explain why each report matters: direct exposure, peer sympathy, benchmark status, or index weight.
62
+ 3. Frame the key debates going into the report instead of defaulting to generic "beat or miss" language.
63
+ 4. Separate pre-report setup risk from business-quality judgment.
64
+ 5. Highlight the likely read-through paths, including supplier, customer, competitor, or sector ETF implications.
65
+ 6. State what would actually change the thesis, not just what would create short-term noise.
66
+ 7. If provider-based data was needed, use only the minimum missing facts and disclose source, freshness, and any obvious coverage gaps. Otherwise stay fully grounded in the user's material.
67
+
68
+ Use [references/relevance-ranking.md](references/relevance-ranking.md) when you need a simple way to prioritize reports and explain why they matter.
69
+
70
+ ## Core Assessment Framework
71
+
72
+ Assess each report on four anchors before ranking it:
73
+
74
+ - `Benchmark Relevance`: whether the company can move a sector, supplier chain, customer set, or broad index. Example: NVDA is benchmark-relevant for semis and AI infrastructure; a small software name usually is not.
75
+ - `Debate Intensity`: whether the quarter has one or two live disagreements that matter more than the headline beat or miss. Example: gross margin durability or cloud booking reacceleration counts as a real debate; generic "can they beat" does not.
76
+ - `Read-Through Strength`: whether peers or related industries will plausibly react to the same datapoints. Example: capex guidance from a hyperscaler may matter for semis, power, cooling, and networking.
77
+ - `Positioning Risk`: whether sentiment, recent price action, or the user's exposure makes the event more dangerous to hold through.
78
+
79
+ Use the anchors to classify:
80
+
81
+ - `must-watch`: benchmark relevance is high and at least one of debate intensity, read-through strength, or positioning risk is also high
82
+ - `watch`: relevant event, but consequences are narrower or easier to absorb
83
+ - `background`: useful context, but low priority unless it directly affects the user's book
84
+
85
+ ## Evidence That Would Invalidate This Analysis
86
+
87
+ - the report date or session changes enough to alter the planning window
88
+ - the quarter's key debate changes because management, industry data, or a peer report reframes the issue
89
+ - read-through assumptions break because the peer set, supplier chain, or benchmark relationship was overstated
90
+ - the user's exposure or holding plan changes, making the current priority ranking less relevant
91
+ - estimate, guidance, or schedule fields turn out to be stale, incomplete, or sourced from the wrong provider snapshot
92
+
93
+ ## Output structure
94
+
95
+ Prefer this output order:
96
+
97
+ 1. `Priority List`
98
+ 2. `Core Assessment Framework`
99
+ 3. `Key Debates`
100
+ 4. `Read-Through Map`
101
+ 5. `Plan Risk`
102
+ 6. `Evidence That Would Invalidate This Analysis`
103
+ 7. `Source And Caveats`
104
+
105
+ Always return:
106
+
107
+ - a prioritized report list or single-name preview
108
+ - why each report matters in plain language
109
+ - the key debates or watch items going into the print
110
+ - the likely read-through map for peers, suppliers, customers, or sector leadership
111
+ - the main pre-report risk to the user's plan
112
+ - explicit caveats around missing dates, incomplete estimates, stale data, or example-mode data when relevant
113
+
114
+ ## Best practices
115
+
116
+ - do not turn "important report" into "predictable trade"
117
+ - do not confuse sector importance with a guaranteed stock move
118
+ - distinguish between what matters for fundamentals and what matters for positioning
119
+ - if timing, estimates, or coverage are incomplete, say that early rather than burying it
120
+
121
+ ## Usage examples
122
+
123
+ - "Use `earnings-preview` for NVDA next week. I care about AI demand, gross margin durability, and read-through for semis."
124
+ - "Use `earnings-preview` for AAPL, AMZN, and COST over the next ten days and tell me which reports matter most for index and sector read-through."
@@ -0,0 +1,26 @@
1
+ # Data Providers
2
+
3
+ Use this only if the user did not already provide enough schedule or estimate context.
4
+
5
+ Supported providers:
6
+
7
+ - `FMP`: best default for forward earnings dates, report timing, and estimate fields through `/stable/earnings-calendar`
8
+ - `TradingEconomics`: useful for earnings dates, release session, forecast fields, and revenue context through `/earnings-revenues`
9
+ - `Polygon`: useful when the user already works in Polygon and needs recent reported financials, but not the best default for forward earnings schedule confirmation
10
+
11
+ If the user already named one of these providers or already shared usable access details, use that provider path directly.
12
+
13
+ Otherwise ask: "Which provider do you want to use for the missing earnings context: FMP, TradingEconomics, or Polygon?"
14
+
15
+ Fallback strategy:
16
+
17
+ - start with `FMP` when the missing piece is the upcoming earnings date, session, or consensus-style estimate fields
18
+ - use `TradingEconomics` when the user already works there or when revenue forecast context matters
19
+ - use `Polygon` when the user already uses Polygon for fundamentals and the missing piece is prior reported context rather than the upcoming schedule
20
+ - if the user insists on `Polygon` but the exact upcoming date or session still cannot be confirmed, say that clearly and ask whether to supplement with `FMP` or `TradingEconomics`
21
+
22
+ Provider notes:
23
+
24
+ - [FMP](providers/fmp.md)
25
+ - [TradingEconomics](providers/tradingeconomics.md)
26
+ - [Polygon](providers/polygon.md)
@@ -0,0 +1,49 @@
1
+ # FMP
2
+
3
+ Use this path only when the user already indicated `FMP` or chose it from the supported provider list.
4
+
5
+ Use the smallest request that fills the missing earnings facts.
6
+
7
+ ## Best endpoint for a date window
8
+
9
+ Call the official earnings calendar endpoint:
10
+
11
+ ```bash
12
+ curl "https://financialmodelingprep.com/stable/earnings-calendar?from=2026-03-09&to=2026-03-20&apikey=<FMP_API_KEY>"
13
+ ```
14
+
15
+ Use this when the user gave a date window and you need report timing or estimate context for one or more names.
16
+
17
+ Pull only the fields you need for the preview:
18
+
19
+ - `date`
20
+ - `symbol`
21
+ - `name`
22
+ - `time`
23
+ - `epsEstimated`
24
+ - `revenueEstimated`
25
+ - `epsActual`
26
+ - `revenueActual`
27
+ - `lastUpdated`
28
+
29
+ ## Best endpoint for a single company
30
+
31
+ If the user only cares about one company and you already know the symbol, use:
32
+
33
+ ```bash
34
+ curl "https://financialmodelingprep.com/stable/earnings?symbol=AAPL&apikey=<FMP_API_KEY>"
35
+ ```
36
+
37
+ This is useful when the user wants one-name context rather than a calendar sweep.
38
+
39
+ ## How to use the result
40
+
41
+ - confirm the report date and timing first
42
+ - use estimate fields only to frame the debate, not to imply direction
43
+ - if `time`, EPS estimates, or revenue estimates are missing, say that explicitly
44
+ - disclose that FMP supplied the missing schedule or estimate data
45
+
46
+ Official docs:
47
+
48
+ - [FMP earnings calendar API](https://site.financialmodelingprep.com/developer/docs/stable/earnings-calendar)
49
+ - [FMP earnings report API](https://site.financialmodelingprep.com/developer/docs/earnings-historical-earnings)
@@ -0,0 +1,45 @@
1
+ # Polygon
2
+
3
+ Use this path only when the user already indicated `Polygon` or chose it from the supported provider list.
4
+
5
+ Polygon is useful here for recent reported fundamentals and prior-quarter anchors. It is not the best default source for exact upcoming earnings date or session confirmation.
6
+
7
+ ## Best endpoint for recent reported financials
8
+
9
+ Call the official financials endpoint:
10
+
11
+ ```bash
12
+ curl "https://api.polygon.io/vX/reference/financials?ticker=AAPL&timeframe=annual&limit=4&apiKey=<POLYGON_API_KEY>"
13
+ ```
14
+
15
+ Use this when the user already knows the company and you need recent reported revenue, EPS-related fields, margin context, or balance-sheet anchors to frame the debate.
16
+
17
+ Pull only the fields you need:
18
+
19
+ - `ticker`
20
+ - `fiscal_period`
21
+ - `fiscal_year`
22
+ - `financials.income_statement`
23
+ - `financials.balance_sheet`
24
+ - `financials.cash_flow_statement`
25
+ - `filing_date`
26
+
27
+ ## Optional market-reaction context
28
+
29
+ If the user also needs to know how the stock behaved around the last report, pair the fundamentals call with aggregate bars:
30
+
31
+ ```bash
32
+ curl "https://api.polygon.io/v2/aggs/ticker/AAPL/range/1/day/2026-01-15/2026-02-15?adjusted=true&sort=asc&limit=500&apiKey=<POLYGON_API_KEY>"
33
+ ```
34
+
35
+ ## How to use the result
36
+
37
+ - use Polygon to anchor what the company last reported and where the debate may start
38
+ - do not pretend Polygon solved the forward schedule problem if the exact upcoming report date or session is still unclear
39
+ - if the user needs forward timing confirmation and Polygon does not provide it cleanly, say so and ask whether to supplement with `FMP` or `TradingEconomics`
40
+ - disclose that Polygon supplied the historical fundamental context
41
+
42
+ Official docs:
43
+
44
+ - [Polygon financials API](https://polygon.io/docs/rest/stocks/fundamentals/financials)
45
+ - [Polygon aggregate bars API](https://polygon.io/docs/rest/stocks/aggregates/custom-bars)
@@ -0,0 +1,49 @@
1
+ # TradingEconomics
2
+
3
+ Use this path only when the user already indicated `TradingEconomics` or chose it from the supported provider list.
4
+
5
+ Use the smallest request that fills the missing earnings facts.
6
+
7
+ ## Best endpoint for a date window
8
+
9
+ Call the official earnings and revenues endpoint:
10
+
11
+ ```bash
12
+ curl "https://api.tradingeconomics.com/earnings-revenues?c=<TE_API_KEY>&d1=2026-03-09&d2=2026-03-20&f=json"
13
+ ```
14
+
15
+ Use this when the user gave a time window and you need the report date, session, or forecast fields for more than one company.
16
+
17
+ Pull only the fields you need for the preview:
18
+
19
+ - `Date`
20
+ - `Symbol`
21
+ - `Name`
22
+ - `Forecast`
23
+ - `RevenueForecast`
24
+ - `Previous`
25
+ - `RevenuePrevious`
26
+ - `MarketRelease`
27
+ - `Importance`
28
+ - `LastUpdate`
29
+
30
+ ## Best endpoint for a single company
31
+
32
+ If the user only cares about one company and you already know the provider symbol, use:
33
+
34
+ ```bash
35
+ curl "https://api.tradingeconomics.com/earnings-revenues/symbol/aapl:us?c=<TE_API_KEY>&d1=2025-01-01&d2=2026-12-31&f=json"
36
+ ```
37
+
38
+ TradingEconomics symbols are provider-specific, such as `aapl:us`.
39
+
40
+ ## How to use the result
41
+
42
+ - confirm the report date and `MarketRelease` timing
43
+ - use `Forecast` and `RevenueForecast` only as context, not as a prediction signal
44
+ - if the provider lacks a field the analysis needs, say so clearly and continue with the available information
45
+ - disclose that TradingEconomics supplied the missing schedule or estimate data
46
+
47
+ Official docs:
48
+
49
+ - [TradingEconomics earnings and revenues docs](https://docs.tradingeconomics.com/financials/earnings_revenues/)
@@ -0,0 +1,24 @@
1
+ # Relevance Ranking
2
+
3
+ The v1 ranking is deliberately simple and explainable.
4
+
5
+ ## Inputs to the score
6
+
7
+ - whether the symbol is directly requested
8
+ - market-cap bucket
9
+ - whether the company is a benchmark name in a watched sector
10
+ - whether the report has broad read-through implications
11
+ - whether timing and estimate fields are present
12
+
13
+ ## What the score is not
14
+
15
+ - a prediction of the stock move
16
+ - a conviction score
17
+ - a measure of trade quality
18
+
19
+ ## Reporting guidance
20
+
21
+ Always pair the numeric score with a short reason, for example:
22
+
23
+ - "Mega-cap benchmark with index weight and supplier read-through."
24
+ - "Mid-cap peer read-through is useful, but broad market impact is limited."
@@ -0,0 +1,134 @@
1
+ ---
2
+ name: earnings-trade-prep
3
+ description: Orchestrate a disciplined earnings-event workflow by deciding which names deserve prep, mapping the key debates and read-through paths, pressure-testing the thesis and structure, and ending with a clear pre-earnings hold, avoid, or trade decision.
4
+ ---
5
+
6
+ # Earnings Trade Prep
7
+
8
+ Use this workflow skill when the user is preparing to trade around earnings or deciding whether to hold an existing or planned position into an earnings event.
9
+
10
+ This workflow will not:
11
+
12
+ - predict the post-earnings price move
13
+ - treat a strong narrative as enough reason to hold through the event
14
+ - force a hold-through decision if the real answer is to reduce, avoid, or wait
15
+
16
+ ## Role
17
+
18
+ Act like an earnings-event gatekeeper. Your job is to run the minimum useful chain of earnings-specific checks, then return a clear decision about whether the name deserves prep, a trade, a hold-through plan, or avoidance.
19
+
20
+ ## When to use it
21
+
22
+ Use it when the user wants to:
23
+
24
+ - prepare one name or a small peer group for an upcoming earnings report
25
+ - decide whether to hold through earnings, trade the setup before the event, or avoid it
26
+ - organize the key debates, read-through paths, and event-specific risks in one place
27
+ - stop running disconnected checks manually before every earnings-heavy week
28
+
29
+ ## Inputs and context
30
+
31
+ Ask for:
32
+
33
+ - the company or peer group
34
+ - the earnings window or known report timing
35
+ - whether the user is flat, already in a position, or planning a new trade
36
+ - the main pre-earnings thesis or concern
37
+ - whether the user cares more about the single name, sector read-through, or both
38
+
39
+ Helpful but optional:
40
+
41
+ - current entry, stop, target, or existing position details
42
+ - portfolio overlap with peers or sector ETFs
43
+ - execution constraints such as regular-hours only or no hold-through-event policy
44
+
45
+ Use the user's materials first.
46
+
47
+ If the user has not yet identified which name matters most, start by ranking the group rather than assuming every report deserves equal work.
48
+
49
+ ## Workflow routing
50
+
51
+ Use the smallest useful chain:
52
+
53
+ 1. If the user starts with several earnings names, run `watchlist-review`.
54
+ 2. If the event picture across the group is still fuzzy, run `catalyst-map`.
55
+ 3. Run `earnings-preview` on the selected name or peer set.
56
+ 4. If the idea is still under-researched, run `evidence-gap-check`.
57
+ 5. Run `thesis-validation` on the event thesis or hold-through logic.
58
+ 6. If the broader tape matters, run `market-regime-analysis`.
59
+ 7. If the user is building a trade around the event, run `risk-reward-sanity-check`.
60
+ 8. If entry or exit mechanics matter, run `execution-plan-check`.
61
+ 9. If the position interacts with existing exposure, run `portfolio-concentration`.
62
+ 10. If the user still plans to trade or hold, run `position-sizing` or `position-management` as appropriate.
63
+
64
+ Stop the workflow when the event thesis, execution plan, or hold-through logic becomes indefensible.
65
+
66
+ ## Decision logic
67
+
68
+ Classify the result as:
69
+
70
+ - `prep only`: the name deserves further monitoring or notes, but not an immediate trade or hold-through commitment
71
+ - `trade before event only`: the setup may be valid, but holding through the report is not justified
72
+ - `hold through with conditions`: holding through earnings is defensible only under explicit constraints
73
+ - `avoid`: the event-specific risk, uncertainty, or overlap is too high for the current plan
74
+
75
+ ## Output structure
76
+
77
+ Prefer this output order:
78
+
79
+ 1. `Earnings Prep Verdict`
80
+ 2. `Checks Run`
81
+ 3. `Key Debate And Read-Through`
82
+ 4. `Hold-Through Decision`
83
+ 5. `What Still Needs Work`
84
+ 6. `Updated Trade Context`
85
+ 7. `Next Skill Or Action`
86
+
87
+ Always include:
88
+
89
+ - the minimum set of checks actually used
90
+ - the key earnings debate
91
+ - the main hold-through or avoid reason
92
+ - whether the user should prep only, trade before the event, hold through with conditions, or avoid
93
+ - a compact updated trade context block when enough information exists
94
+
95
+ ## Updated Trade Context
96
+
97
+ When enough context exists, carry forward a compact block like this:
98
+
99
+ ```markdown
100
+ ## Trade Context
101
+
102
+ - instrument:
103
+ - direction:
104
+ - timeframe:
105
+ - thesis:
106
+ - key_debate:
107
+ - read_through_map:
108
+ - upcoming_events:
109
+ - invalidation:
110
+ - entry_idea:
111
+ - stop_idea:
112
+ - target_idea:
113
+ - position_size_hint:
114
+ - portfolio_impact:
115
+ - confidence_notes:
116
+ - open_questions:
117
+ - source_freshness:
118
+ - assumptions:
119
+ - next_recommended_skill:
120
+ ```
121
+
122
+ Only populate fields supported by the checks that actually ran.
123
+
124
+ ## Best practices
125
+
126
+ - do not let "important report" become "must hold through"
127
+ - do not ignore sector or ETF overlap around benchmark earnings
128
+ - do not hide event-specific execution risk behind a good-looking setup
129
+ - do not continue the workflow once the hold-through logic is broken
130
+
131
+ ## Usage examples
132
+
133
+ - "Use `earnings-trade-prep` on NVDA for next week and tell me whether this is a prep-only name, a pre-event trade, or a hold-through candidate."
134
+ - "Use `earnings-trade-prep` on my semiconductor watchlist for the next earnings-heavy week and route the most important name through the minimum checks."
@@ -0,0 +1,65 @@
1
+ # Earnings Trade Prep Framework
2
+
3
+ Use this framework to decide whether an earnings-related trade or hold plan is actually defensible.
4
+
5
+ ## Core question
6
+
7
+ The question is not only:
8
+
9
+ - "Is this report important?"
10
+
11
+ The real questions are:
12
+
13
+ - Which report matters most?
14
+ - What is the actual debate?
15
+ - Does the user want a pre-event trade, a hold-through decision, or just better preparation?
16
+ - What breaks the plan?
17
+
18
+ ## Typical routing
19
+
20
+ If the user starts with many names:
21
+
22
+ - `watchlist-review`
23
+ - `catalyst-map`
24
+
25
+ For the selected name or group:
26
+
27
+ - `earnings-preview`
28
+ - `evidence-gap-check` if the idea is still underdeveloped
29
+ - `thesis-validation`
30
+
31
+ If broader conditions matter:
32
+
33
+ - `market-regime-analysis`
34
+
35
+ If the user wants an actual trade plan:
36
+
37
+ - `risk-reward-sanity-check`
38
+ - `execution-plan-check`
39
+ - `portfolio-concentration`
40
+ - `position-sizing` or `position-management`
41
+
42
+ ## Stop conditions
43
+
44
+ Stop when:
45
+
46
+ - the debate is not clear
47
+ - the hold-through logic is weak
48
+ - the structure depends on unrealistic event behavior
49
+ - the portfolio overlap is too high
50
+ - the user is trying to force a yes on an avoid case
51
+
52
+ ## Wrapper discipline
53
+
54
+ The workflow should:
55
+
56
+ - identify the few checks that matter most
57
+ - stop at the first real blocker
58
+ - return a clear event decision
59
+ - carry forward a compact trade context only when justified
60
+
61
+ ## Boundaries
62
+
63
+ This workflow does not predict the earnings reaction.
64
+
65
+ It only decides whether the user has a defensible event-prep or event-trade plan.