@v587d/capital-generation 2.7.12 → 2.8.0

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 (148) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +3 -2
  3. package/chart-ui/package.json +1 -1
  4. package/config/package.json +1 -1
  5. package/lib/agents/bash-guard.d.ts +22 -17
  6. package/lib/agents/bash-guard.js +32 -28
  7. package/lib/agents/root-tool-policy.d.ts +29 -3
  8. package/lib/agents/root-tool-policy.js +100 -14
  9. package/lib/index.js +14 -8
  10. package/lib/web-retriever/local-fetch.d.ts +1 -1
  11. package/lib/web-retriever/local-fetch.js +1 -1
  12. package/lib/web-retriever/wind-client.d.ts +1 -1
  13. package/lib/web-retriever/wind-client.js +1 -1
  14. package/package.json +1 -1
  15. package/preset/capital-generation/README.md +22 -15
  16. package/preset/capital-generation/agent.patch.yml +14 -1
  17. package/selected-skills/InvestSkill/UPSTREAM.md +17 -0
  18. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/SKILL.md +10 -296
  19. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/references/10-retrieving-the-filing.md +130 -0
  20. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/references/11-key-metrics-table.md +129 -0
  21. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/references/12-language-mode.md +60 -0
  22. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/bear-case/SKILL.md +5 -3
  23. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/SKILL.md +10 -284
  24. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/references/10-persona.md +113 -0
  25. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/references/11-section-c-company-specific.md +108 -0
  26. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/references/12-section-f-90-day.md +85 -0
  27. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/SKILL.md +11 -433
  28. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/references/10-overview.md +82 -0
  29. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/references/11-porter-s-five-forces.md +137 -0
  30. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/references/12-innovation-disruption-assessment.md +112 -0
  31. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/references/13-input-formats.md +130 -0
  32. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/SKILL.md +12 -639
  33. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/references/10-analysis-framework.md +138 -0
  34. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/references/11-dividend-history-and-reliability.md +131 -0
  35. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/references/12-share-buyback-analysis.md +125 -0
  36. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/references/13-fcf-deployment-scorecard.md +133 -0
  37. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/references/14-output.md +149 -0
  38. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/SKILL.md +10 -411
  39. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/references/10-analysis-framework.md +194 -0
  40. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/references/11-data-sources.md +196 -0
  41. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/references/12-thesis-invalidation.md +43 -0
  42. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/SKILL.md +11 -234
  43. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/references/10-overview.md +86 -0
  44. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/references/11-phase-4-the-implied.md +60 -0
  45. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/references/12-output-format.md +83 -0
  46. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/references/13-standard-signal-output.md +34 -0
  47. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/SKILL.md +10 -304
  48. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/references/10-key-economic-indicators.md +98 -0
  49. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/references/11-credit-market-indicators.md +114 -0
  50. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/references/12-recession-probability-scoring.md +114 -0
  51. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/SKILL.md +11 -236
  52. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/references/10-overview.md +83 -0
  53. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/references/11-phase-5-overlap-with.md +69 -0
  54. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/references/12-output-format.md +79 -0
  55. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/references/13-standard-signal-output.md +34 -0
  56. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/SKILL.md +11 -243
  57. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/10-overview.md +61 -0
  58. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/11-phase-2-source-hierarchy.md +54 -0
  59. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/12-phase-5-consistency.md +90 -0
  60. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/13-notes.md +68 -0
  61. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/SKILL.md +11 -499
  62. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/references/10-overview.md +143 -0
  63. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/references/11-phase-3-financial-statement.md +167 -0
  64. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/references/12-phase-6-management-tone.md +176 -0
  65. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/references/13-thesis-invalidation.md +43 -0
  66. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/SKILL.md +10 -291
  67. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/references/10-overview.md +117 -0
  68. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/references/11-step-3-position-locator.md +112 -0
  69. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/references/12-visualization-support.md +84 -0
  70. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/SKILL.md +10 -457
  71. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/references/10-analysis-framework.md +185 -0
  72. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/references/11-pattern-recognition.md +175 -0
  73. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/references/12-interpretation-guidelines.md +120 -0
  74. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/SKILL.md +11 -503
  75. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/references/10-analysis-framework.md +132 -0
  76. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/references/11-ownership-concentration-analysis.md +166 -0
  77. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/references/12-red-flags-warning-signs.md +192 -0
  78. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/references/13-thesis-invalidation.md +43 -0
  79. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/SKILL.md +11 -264
  80. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/10-overview.md +63 -0
  81. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/11-phase-2-explanation-card.md +108 -0
  82. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/12-output-format.md +88 -0
  83. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/13-standard-signal-output.md +34 -0
  84. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/SKILL.md +11 -448
  85. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/references/10-analysis-framework.md +109 -0
  86. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/references/11-implied-volatility-iv-analysis.md +102 -0
  87. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/references/12-earnings-play-analysis.md +109 -0
  88. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/references/13-data-sources.md +159 -0
  89. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/SKILL.md +11 -435
  90. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/references/10-phase-1-portfolio-snapshot.md +124 -0
  91. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/references/11-phase-6-correlation-diversification.md +124 -0
  92. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/references/12-phase-9-rebalancing-decision.md +153 -0
  93. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/references/13-data-verification.md +62 -0
  94. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/SKILL.md +11 -372
  95. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/references/10-overview.md +102 -0
  96. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/references/11-phase-3-the-trim.md +88 -0
  97. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/references/12-phase-6-the-thesis.md +105 -0
  98. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/references/13-input-formats.md +105 -0
  99. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/SKILL.md +10 -250
  100. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/references/10-overview.md +92 -0
  101. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/references/11-phase-4-correlation-spike.md +116 -0
  102. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/references/12-notes.md +65 -0
  103. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/SKILL.md +11 -381
  104. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/references/10-sector-overview.md +123 -0
  105. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/references/11-sector-correlation-matrix.md +90 -0
  106. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/references/12-peer-benchmarking-within-sector.md +92 -0
  107. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/references/13-consumer-staples.md +105 -0
  108. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/SKILL.md +10 -352
  109. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/references/10-analysis-framework.md +110 -0
  110. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/references/11-bearish-thesis-evaluation.md +118 -0
  111. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/references/12-data-sources.md +148 -0
  112. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/SKILL.md +16 -603
  113. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/10-analysis-components.md +122 -0
  114. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/11-dupont-decomposition.md +121 -0
  115. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/12-quality-scoring-framework.md +115 -0
  116. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/13-dcf-framework.md +113 -0
  117. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/14-analyst-consensus-tracking.md +127 -0
  118. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/15-thesis-invalidation.md +43 -0
  119. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-screener/SKILL.md +5 -3
  120. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/SKILL.md +12 -595
  121. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/references/10-overview.md +133 -0
  122. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/references/11-method-2-comparable-company.md +127 -0
  123. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/references/12-football-field-summary-valuation.md +140 -0
  124. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/references/13-terminal-value-two-methods.md +121 -0
  125. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/references/14-when-dcf-is.md +110 -0
  126. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/SKILL.md +12 -304
  127. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/references/10-overview.md +73 -0
  128. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/references/11-phase-3-dividends-qualified.md +67 -0
  129. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/references/12-framework-non-us-module.md +61 -0
  130. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/references/13-scoring-tax-efficiency-score.md +83 -0
  131. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/references/14-thesis-invalidation.md +55 -0
  132. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/SKILL.md +16 -612
  133. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/10-chart-pattern-analysis.md +172 -0
  134. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/11-chart-visualization-support.md +181 -0
  135. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/12-multi-timeframe-analysis-mtf.md +95 -0
  136. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/13-advanced-indicators-ichimoku-cloud.md +61 -0
  137. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/14-options-flow-integration.md +95 -0
  138. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/15-thesis-invalidation.md +45 -0
  139. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/SKILL.md +10 -274
  140. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/references/10-overview.md +94 -0
  141. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/references/11-phase-5-the-pre.md +113 -0
  142. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/references/12-example.md +90 -0
  143. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-catalyst-calendar/SKILL.md +5 -3
  144. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-idea-generation/SKILL.md +5 -3
  145. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-sector-overview/SKILL.md +5 -3
  146. package/selected-skills/investment-skills/skills/buffett-investment-framework/SKILL.md +1 -1
  147. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/SKILL.md +5 -3
  148. package/watchlist/package.json +1 -1
@@ -40,463 +40,16 @@ Data & Sources
40
40
 
41
41
  Comprehensive analysis of insider transaction activity to identify investment signals, patterns, and potential red flags from SEC Form 4 filings.
42
42
 
43
- ## Analysis Framework
43
+ ## Read the Parts
44
44
 
45
- ### 1. Transaction Summary (Last 6-12 Months)
45
+ Everything below the surface of this file lives in `references/`. **whole, with no line window** — quoting a rule or a template out of a slice of one is how a
46
+ file gets reported as read when it was only skimmed. The file names below are the only
47
+ addressing this entry has.
46
48
 
47
- Provide overview of insider trading activity:
49
+ - `references/10-analysis-framework.md` — Analysis Framework
50
+ - `references/11-pattern-recognition.md` — (continued) Analysis Framework; Input Formats; Output
51
+ - `references/12-interpretation-guidelines.md` — Interpretation Guidelines; Usage Examples; Integration Notes; Standard Signal Output; Thesis Invalidation
48
52
 
49
- **Transaction Counts**
50
- - Total transactions: [Number]
51
- - Buys: [Number] ([%] of total)
52
- - Sells: [Number] ([%] of total)
53
- - Exercises/Awards: [Number] (non-market transactions)
54
-
55
- **Transaction Volume**
56
- - Total value traded: $[Amount]
57
- - Buy volume: $[Amount]
58
- - Sell volume: $[Amount]
59
- - Net insider sentiment: $[Net Amount] (Buy - Sell)
60
-
61
- **Active Period Analysis**
62
- - Most active month: [Month]
63
- - Clustered activity periods: [Dates]
64
- - Quiet periods: [Dates]
65
-
66
- ### 2. Insider Sentiment Analysis
67
-
68
- Calculate and interpret net insider sentiment:
69
-
70
- **Net Sentiment Calculation**
71
- ```
72
- Net Sentiment = (Buy $ - Sell $) / (Buy $ + Sell $)
73
-
74
- Ranges:
75
- +0.5 to +1.0 = Strongly Bullish
76
- +0.2 to +0.5 = Moderately Bullish
77
- -0.2 to +0.2 = Neutral
78
- -0.5 to -0.2 = Moderately Bearish
79
- -1.0 to -0.5 = Strongly Bearish
80
- ```
81
-
82
- **Sentiment Context**
83
- - Current sentiment vs. historical baseline
84
- - Sentiment trend (improving/deteriorating)
85
- - Significance level (number and size of transactions)
86
- - Comparison to peer company insiders
87
-
88
- **Reliability Factors**
89
- - Sample size (number of insiders trading)
90
- - Transaction size relative to holdings
91
- - Timing relative to information events
92
- - Consistency across multiple insiders
93
-
94
- ### 3. Significant Transactions
95
-
96
- Highlight meaningful insider trades:
97
-
98
- **Criteria for Significance**
99
- - Transaction size > $1 million
100
- - Position change > 10% of holdings
101
- - Unusual timing (near lows/highs, before announcements)
102
- - CEO or CFO transactions
103
- - Multiple insiders trading in same direction within short period
104
-
105
- **For Each Significant Transaction**
106
-
107
- | Date | Insider | Position | Transaction | Shares | Value | % of Holdings | Price | Notes |
108
- |------|---------|----------|-------------|--------|-------|---------------|-------|-------|
109
- | [Date] | [Name] | [Title] | Buy/Sell | [#] | $[Amount] | [%] | $[Price] | [Context] |
110
-
111
- **Transaction Analysis**
112
- - **Bullish Signals**: Large insider buys, clustered buying, CEO purchases, buying near 52-week lows
113
- - **Bearish Signals**: Large insider sells, clustered selling, executive selling before bad news
114
- - **Neutral Signals**: Small routine sells for diversification, 10b5-1 plan executions
115
-
116
- ### 4. Insider Categories
117
-
118
- Analyze transactions by insider role:
119
-
120
- **Executive Officers (CEO, CFO, COO)**
121
- - Highest signal value due to information access
122
- - Large transactions particularly meaningful
123
- - Sales less concerning if part of regular compensation
124
-
125
- **Board of Directors**
126
- - Independent directors' purchases carry strong signals
127
- - Less frequent trading but often meaningful
128
- - May have strategic visibility beyond operations
129
-
130
- **Major Shareholders (>10% owners)**
131
- - Often have board seats or strategic influence
132
- - Large transactions can move markets
133
- - Sales may be for portfolio rebalancing
134
-
135
- **Other Insiders (VPs, Senior Managers)**
136
- - Weaker signal but useful in aggregate
137
- - Clustered activity more meaningful than individual trades
138
- - May indicate operational knowledge
139
-
140
- ### 5. Transaction Types & SEC Forms
141
-
142
- Interpret different transaction codes:
143
-
144
- **Form 4 Transaction Codes**
145
- - **P (Purchase)**: Open market buy - BULLISH SIGNAL
146
- - **S (Sale)**: Open market sell - BEARISH SIGNAL (but often routine)
147
- - **M (Exercise)**: Option exercise - Neutral
148
- - **F (Tax Payment)**: Shares surrendered for taxes - Neutral
149
- - **A (Award)**: Stock grant/award - Neutral
150
- - **G (Gift)**: Gift transfer - Neutral
151
- - **D (Disposition)**: Return to company - Neutral
152
-
153
- **Form 3 vs. Form 4 vs. Form 5**
154
- - **Form 3**: Initial statement of beneficial ownership (new insider)
155
- - **Form 4**: Changes in ownership (filed within 2 business days)
156
- - **Form 5**: Annual statement of changes (deferred reporting)
157
-
158
- **10b5-1 Trading Plans**
159
- - Pre-arranged trading plans to avoid insider trading allegations
160
- - Marked in filings if transaction was under 10b5-1
161
- - Less signal value than discretionary trades
162
- - Look for plan adoption/termination patterns
163
-
164
- ### 6. Ownership Trends
165
-
166
- Track changes in insider ownership percentage:
167
-
168
- **Current Ownership Structure**
169
- - Total insider ownership: [%]
170
- - CEO ownership: [%]
171
- - Top 5 insiders combined: [%]
172
-
173
- **Ownership Trend (12 months)**
174
- ```
175
- Quarter Total Insider % Change from Prior
176
- [Qn YYYY] [%] [±%]
177
- [Qn-1 YYYY] [%] [±%]
178
- [Qn-2 YYYY] [%] [±%]
179
- [Qn-3 YYYY] [%] [±%]
180
- ```
181
-
182
- **Interpretation**
183
- - **Increasing ownership**: Insiders accumulating = Bullish
184
- - **Stable ownership**: Confidence maintained = Neutral to Bullish
185
- - **Decreasing ownership**: Distribution = Bearish (but check reasons)
186
-
187
- **Skin in the Game Assessment**
188
- - High insider ownership (>20%): Strong alignment
189
- - Medium ownership (10-20%): Adequate alignment
190
- - Low ownership (<10%): Weaker alignment
191
- - CEO ownership relative to compensation
192
-
193
- ### 7. Timing Analysis
194
-
195
- Evaluate timing of insider transactions:
196
-
197
- **Relative to Stock Price**
198
- - Buying near 52-week lows: Strong bullish signal
199
- - Buying after significant decline: Contrarian confidence
200
- - Selling near 52-week highs: Less bearish (profit-taking)
201
- - Selling before decline: Red flag if not disclosed later
202
-
203
- **Relative to Information Events**
204
- - Before earnings release
205
- - Before major announcements (M&A, product launches)
206
- - During blackout periods (should be restricted)
207
- - After significant news (reaction to public information)
208
-
209
- **Seasonal Patterns**
210
- - Post-earnings window trading (common)
211
- - Year-end tax-loss selling
212
- - Quarterly option exercise cycles
213
- - Annual equity grant patterns
214
-
215
- **Red Flag Timing**
216
- - Trading during supposed blackout periods
217
- - Selling shortly before bad news announcement
218
- - Exercising and immediately selling (vs. holding)
219
- - Rapid succession of sells by multiple insiders
220
-
221
- ### 8. Pattern Recognition
222
-
223
- Identify meaningful patterns in trading activity:
224
-
225
- **Bullish Patterns**
226
- - Clustered buying by multiple insiders within 1-2 weeks
227
- - First-time purchases by long-tenured executives
228
- - Buying during period of stock weakness or negative sentiment
229
- - Insiders increasing position size significantly (>25%)
230
- - CEO making largest purchase of tenure
231
-
232
- **Bearish Patterns**
233
- - Clustered selling by multiple insiders
234
- - CEO or CFO selling large percentage of holdings
235
- - First-time sells by insiders who previously only bought
236
- - Selling despite stock decline (urgency to exit)
237
- - Executive departures followed by sales
238
-
239
- **Neutral Patterns**
240
- - Regular quarterly option exercises and sells
241
- - Small percentage sells for diversification (<5% of holdings)
242
- - Tax payment share forfeitures
243
- - Routine 10b5-1 plan executions
244
- - Gift transfers to family trusts
245
-
246
- ### 9. Red Flags & Warning Signs
247
-
248
- Identify concerning patterns:
249
-
250
- **High-Severity Red Flags**
251
- - CEO or CFO selling >50% of holdings
252
- - Clustered selling before earnings miss or guidance cut
253
- - Trading during blackout window
254
- - Late Form 4 filing (>2 days) without explanation
255
- - Pattern of selling before negative news
256
-
257
- **Medium-Severity Red Flags**
258
- - Increasing rate of insider selling
259
- - Multiple executives selling simultaneously
260
- - Selling despite recent insider buying by others
261
- - Large sales shortly after option vesting
262
- - Board member resignations followed by sales
263
-
264
- **Context Matters**
265
- - Insider selling is common and often benign
266
- - Check for 10b5-1 plans (pre-arranged sales)
267
- - Consider personal circumstances (divorce, estate planning)
268
- - Look at historical patterns for that individual
269
- - Assess whether selling is proportional to holdings
270
-
271
- ### 10. Data Sources & Research Tools
272
-
273
- Reference the following sources for insider trading data:
274
-
275
- **Primary Source - SEC EDGAR**
276
- - Form 4 filings: https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&type=4&company=[TICKER]
277
- - Form 3 filings: Initial beneficial ownership
278
- - Form 5 filings: Annual statements
279
- - File within 2 business days of transaction (Form 4)
280
-
281
- **Aggregator Websites**
282
- - **OpenInsider.com**: Free, comprehensive database with filters
283
- - Cluster analysis tools
284
- - Screeners for significant transactions
285
- - Historical data back 10+ years
286
-
287
- - **SEC Form 4 Tracker**: Real-time Form 4 monitoring
288
- - **Finviz Insider**: Basic insider data with visualizations
289
- - **GuruFocus Insider**: Premium insider analysis
290
-
291
- **Premium Tools**
292
- - **Bloomberg Terminal**: Comprehensive insider data and analytics
293
- - **FactSet**: Insider transaction database
294
- - **S&P Capital IQ**: Detailed ownership and transaction data
295
-
296
- **Key Data Points to Extract**
297
- - Insider name and title
298
- - Transaction date and filing date
299
- - Shares bought/sold
300
- - Price per share
301
- - Shares owned after transaction
302
- - Transaction code (P, S, M, etc.)
303
- - Form 4 footnotes (10b5-1 plan indicator)
304
-
305
- ## Input Formats
306
-
307
- ### Format 1: Ticker Symbol
308
- ```
309
- User: /insider-trading AAPL
310
-
311
- Claude retrieves recent Form 4 data from SEC EDGAR and analyzes
312
- ```
313
-
314
- ### Format 2: Specific Time Period
315
- ```
316
- User: /insider-trading TSLA --period 2024-Q4
317
-
318
- Claude focuses on Q4 2024 insider transactions
319
- ```
320
-
321
- ### Format 3: Custom Data Paste
322
- ```
323
- User: /insider-trading --data
324
-
325
- [Paste Form 4 data table or CSV from OpenInsider/SEC]
326
-
327
- Claude analyzes provided data
328
- ```
329
-
330
- ## Output
331
-
332
- Provide comprehensive insider trading analysis report with:
333
-
334
- ### 1. Executive Summary
335
- - **Overall Insider Sentiment**: Bullish / Neutral / Bearish
336
- - **Confidence Level**: High / Medium / Low
337
- - **Key Takeaways**: 3-5 most important findings
338
- - **Investment Signal**: Buy / Hold / Sell indication
339
- - **Time Period Analyzed**: [Date range]
340
-
341
- ### 2. Transaction Summary Table
342
- ```
343
- Period: Last 6 Months
344
- Total Transactions: [N]
345
- Total Buy Transactions: [N] ($[Amount])
346
- Total Sell Transactions: [N] ($[Amount])
347
- Net Insider Activity: $[Amount]
348
- Net Sentiment Score: [+0.XX or -0.XX]
349
- ```
350
-
351
- ### 3. Significant Transactions (Top 10)
352
- Detailed table with context for each major transaction
353
-
354
- ### 4. Insider Category Breakdown
355
- Analysis by executive officers, board members, and major shareholders
356
-
357
- ### 5. Ownership Trend Analysis
358
- Current ownership % and historical trend (4 quarters)
359
-
360
- ### 6. Timing & Pattern Analysis
361
- - Stock price context during trading periods
362
- - Identified bullish or bearish patterns
363
- - Seasonal or cyclical factors
364
-
365
- ### 7. Red Flags & Concerns
366
- - List any identified warning signs
367
- - Severity assessment
368
- - Recommended monitoring
369
-
370
- ### 8. Comparison to Peers
371
- Brief comparison of insider sentiment vs. industry peers (if available)
372
-
373
- ### 9. Historical Context
374
- - How current activity compares to historical baseline
375
- - Notable changes in behavior
376
- - Track record of insider signals
377
-
378
- ### 10. Investment Implications
379
- - Overall assessment and confidence level
380
- - Key bullish factors from insider activity
381
- - Key bearish factors or concerns
382
- - Recommended action
383
- - Monitoring plan for future activity
384
-
385
- ### 11. Data Sources Used
386
- - SEC EDGAR filings referenced
387
- - Date range of analysis
388
- - Number of Form 4 filings reviewed
389
-
390
- ## Interpretation Guidelines
391
-
392
- ### When Insider Buying is STRONGLY Bullish
393
- 1. Multiple insiders buying in 1-2 week period
394
- 2. CEO making unusually large purchase
395
- 3. Buying after significant stock decline (>20%)
396
- 4. Insiders buying with personal cash (not option exercises)
397
- 5. First-time buyers or return to buying after long gap
398
-
399
- ### When Insider Buying is MODERATELY Bullish
400
- 1. Single insider making meaningful purchase
401
- 2. Regular accumulation pattern
402
- 3. Buying at all-time highs (conviction in further growth)
403
- 4. Board member purchases
404
-
405
- ### When Insider Selling is LESS Concerning
406
- 1. 10b5-1 pre-arranged plan sales
407
- 2. Small percentage of holdings (<5%)
408
- 3. Regular quarterly pattern
409
- 4. Diversification after large stock appreciation
410
- 5. Tax payments or estate planning
411
-
412
- ### When Insider Selling is CONCERNING
413
- 1. Clustered selling by multiple executives
414
- 2. CEO/CFO selling >25% of holdings
415
- 3. Selling despite stock decline
416
- 4. No 10b5-1 plan indicated
417
- 5. Selling shortly before negative news
418
-
419
- ### Signal Reliability Factors
420
- - **Sample size**: More insiders trading = stronger signal
421
- - **Magnitude**: Larger $ amounts = stronger signal
422
- - **Timing**: Unusual timing = stronger signal
423
- - **Context**: Contrarian trades (buying weakness) = stronger signal
424
- - **Track record**: Historically accurate insiders = stronger signal
425
-
426
- ## Usage Examples
427
-
428
- ### Example 1: Basic Analysis
429
- ```
430
- User: /insider-trading NVDA
431
-
432
- Claude: Pulls the last 6 months of NVDA Form 4 filings and reports net
433
- open-market buys vs. sells, separates 10b5-1 plan sales from discretionary
434
- trades, flags clustered buying, and closes with the signal block.
435
- ```
436
-
437
- ### Example 2: Before Earnings
438
- ```
439
- User: /insider-trading AAPL --period "before-earnings"
440
-
441
- Claude: Examines trading in the 30–60 days before the most recent earnings
442
- release and states whether anything beyond scheduled 10b5-1 sales occurred.
443
- ```
444
-
445
- ### Example 3: Red Flag Detection
446
- ```
447
- User: /insider-trading ABC --focus red-flags
448
-
449
- Claude: Checks each red-flag pattern above (large % of holdings sold,
450
- clustered director exits, selling into a decline) and reports which fired,
451
- with the filing dates that support each.
452
- ```
453
-
454
- ## Integration Notes
455
-
456
- - Combine with /stock-eval for complete due diligence
457
- - Use /institutional-ownership for full insider + institutional picture
458
- - Feed analysis to /report-generator for visual charts of insider activity
459
- - Best used monthly or after significant insider filing activity
460
- - Particularly valuable when analyzing small-mid cap stocks (insiders have more edge)
461
-
462
- ## Standard Signal Output
463
-
464
- All analysis concludes with this standardized block:
465
-
466
- ```
467
- ## Thesis Invalidation
468
-
469
- After delivering the analysis signal, specify what would reverse it:
470
-
471
- **If signal is BULLISH — thesis breaks if:**
472
- - 3+ insiders file Form 4 sells within a 30-day window OR CEO sells >5% of holdings
473
- - [One or two more triggers drawn from this analysis's own drivers, each with a threshold]
474
-
475
- **If signal is BEARISH — thesis breaks if:**
476
- - CEO/CFO initiate new purchases >$1M within 30 days
477
- - [One or two more triggers drawn from this analysis's own drivers, each with a threshold]
478
-
479
- **Re-run this analysis when:**
480
- - [ ] Next earnings release
481
- - [ ] Price moves ±15% from current level
482
- - [ ] 60 days have elapsed
483
- - [ ] Material news event (acquisition, leadership change, regulatory decision)
484
-
485
- ╔══════════════════════════════════════════════╗
486
- ║ INVESTMENT SIGNAL ║
487
- ╠══════════════════════════════════════════════╣
488
- ║ Signal: BULLISH / NEUTRAL / BEARISH ║
489
- ║ Confidence: HIGH / MEDIUM / LOW ║
490
- ║ Horizon: SHORT / MEDIUM / LONG-TERM ║
491
- ║ Score: X.X / 10 ║
492
- ╠══════════════════════════════════════════════╣
493
- ║ Action: BUY / HOLD / SELL ║
494
- ║ Conviction: STRONG / MODERATE / WEAK ║
495
- ╚══════════════════════════════════════════════╝
496
- ```
497
-
498
- **Score Guide**: 8.0–10.0 Strongly Bullish | 6.0–7.9 Moderately Bullish | 4.0–5.9 Neutral | 2.0–3.9 Moderately Bearish | 0.0–1.9 Strongly Bearish
499
- **Confidence**: HIGH (strong data, clear signals) | MEDIUM (mixed signals) | LOW (limited data, conflicting signals)
500
- **Horizon**: SHORT-TERM (1 week–3 months) | MEDIUM-TERM (3 months–1 year) | LONG-TERM (1+ years)
501
-
502
- **Disclaimer:** Educational analysis only. Not financial advice.
53
+ Loading this file is not reading the skill: the steps, templates, and thresholds exist only
54
+ in the parts above. Say which parts you opened, name the ones you did not, and never report a
55
+ step or a template you have not read in this session.
@@ -0,0 +1,185 @@
1
+ # Analysis Framework
2
+
3
+ Part 1 of 3 for `insider-trading` — Analysis Framework
4
+ See `SKILL.md` for what to read and when; this part is procedure, not routing.
5
+
6
+ ## Analysis Framework
7
+
8
+ ### 1. Transaction Summary (Last 6-12 Months)
9
+
10
+ Provide overview of insider trading activity:
11
+
12
+ **Transaction Counts**
13
+ - Total transactions: [Number]
14
+ - Buys: [Number] ([%] of total)
15
+ - Sells: [Number] ([%] of total)
16
+ - Exercises/Awards: [Number] (non-market transactions)
17
+
18
+ **Transaction Volume**
19
+ - Total value traded: $[Amount]
20
+ - Buy volume: $[Amount]
21
+ - Sell volume: $[Amount]
22
+ - Net insider sentiment: $[Net Amount] (Buy - Sell)
23
+
24
+ **Active Period Analysis**
25
+ - Most active month: [Month]
26
+ - Clustered activity periods: [Dates]
27
+ - Quiet periods: [Dates]
28
+
29
+ ### 2. Insider Sentiment Analysis
30
+
31
+ Calculate and interpret net insider sentiment:
32
+
33
+ **Net Sentiment Calculation**
34
+ ```
35
+ Net Sentiment = (Buy $ - Sell $) / (Buy $ + Sell $)
36
+
37
+ Ranges:
38
+ +0.5 to +1.0 = Strongly Bullish
39
+ +0.2 to +0.5 = Moderately Bullish
40
+ -0.2 to +0.2 = Neutral
41
+ -0.5 to -0.2 = Moderately Bearish
42
+ -1.0 to -0.5 = Strongly Bearish
43
+ ```
44
+
45
+ **Sentiment Context**
46
+ - Current sentiment vs. historical baseline
47
+ - Sentiment trend (improving/deteriorating)
48
+ - Significance level (number and size of transactions)
49
+ - Comparison to peer company insiders
50
+
51
+ **Reliability Factors**
52
+ - Sample size (number of insiders trading)
53
+ - Transaction size relative to holdings
54
+ - Timing relative to information events
55
+ - Consistency across multiple insiders
56
+
57
+ ### 3. Significant Transactions
58
+
59
+ Highlight meaningful insider trades:
60
+
61
+ **Criteria for Significance**
62
+ - Transaction size > $1 million
63
+ - Position change > 10% of holdings
64
+ - Unusual timing (near lows/highs, before announcements)
65
+ - CEO or CFO transactions
66
+ - Multiple insiders trading in same direction within short period
67
+
68
+ **For Each Significant Transaction**
69
+
70
+ | Date | Insider | Position | Transaction | Shares | Value | % of Holdings | Price | Notes |
71
+ |------|---------|----------|-------------|--------|-------|---------------|-------|-------|
72
+ | [Date] | [Name] | [Title] | Buy/Sell | [#] | $[Amount] | [%] | $[Price] | [Context] |
73
+
74
+ **Transaction Analysis**
75
+ - **Bullish Signals**: Large insider buys, clustered buying, CEO purchases, buying near 52-week lows
76
+ - **Bearish Signals**: Large insider sells, clustered selling, executive selling before bad news
77
+ - **Neutral Signals**: Small routine sells for diversification, 10b5-1 plan executions
78
+
79
+ ### 4. Insider Categories
80
+
81
+ Analyze transactions by insider role:
82
+
83
+ **Executive Officers (CEO, CFO, COO)**
84
+ - Highest signal value due to information access
85
+ - Large transactions particularly meaningful
86
+ - Sales less concerning if part of regular compensation
87
+
88
+ **Board of Directors**
89
+ - Independent directors' purchases carry strong signals
90
+ - Less frequent trading but often meaningful
91
+ - May have strategic visibility beyond operations
92
+
93
+ **Major Shareholders (>10% owners)**
94
+ - Often have board seats or strategic influence
95
+ - Large transactions can move markets
96
+ - Sales may be for portfolio rebalancing
97
+
98
+ **Other Insiders (VPs, Senior Managers)**
99
+ - Weaker signal but useful in aggregate
100
+ - Clustered activity more meaningful than individual trades
101
+ - May indicate operational knowledge
102
+
103
+ ### 5. Transaction Types & SEC Forms
104
+
105
+ Interpret different transaction codes:
106
+
107
+ **Form 4 Transaction Codes**
108
+ - **P (Purchase)**: Open market buy - BULLISH SIGNAL
109
+ - **S (Sale)**: Open market sell - BEARISH SIGNAL (but often routine)
110
+ - **M (Exercise)**: Option exercise - Neutral
111
+ - **F (Tax Payment)**: Shares surrendered for taxes - Neutral
112
+ - **A (Award)**: Stock grant/award - Neutral
113
+ - **G (Gift)**: Gift transfer - Neutral
114
+ - **D (Disposition)**: Return to company - Neutral
115
+
116
+ **Form 3 vs. Form 4 vs. Form 5**
117
+ - **Form 3**: Initial statement of beneficial ownership (new insider)
118
+ - **Form 4**: Changes in ownership (filed within 2 business days)
119
+ - **Form 5**: Annual statement of changes (deferred reporting)
120
+
121
+ **10b5-1 Trading Plans**
122
+ - Pre-arranged trading plans to avoid insider trading allegations
123
+ - Marked in filings if transaction was under 10b5-1
124
+ - Less signal value than discretionary trades
125
+ - Look for plan adoption/termination patterns
126
+
127
+ ### 6. Ownership Trends
128
+
129
+ Track changes in insider ownership percentage:
130
+
131
+ **Current Ownership Structure**
132
+ - Total insider ownership: [%]
133
+ - CEO ownership: [%]
134
+ - Top 5 insiders combined: [%]
135
+
136
+ **Ownership Trend (12 months)**
137
+ ```
138
+ Quarter Total Insider % Change from Prior
139
+ [Qn YYYY] [%] [±%]
140
+ [Qn-1 YYYY] [%] [±%]
141
+ [Qn-2 YYYY] [%] [±%]
142
+ [Qn-3 YYYY] [%] [±%]
143
+ ```
144
+
145
+ **Interpretation**
146
+ - **Increasing ownership**: Insiders accumulating = Bullish
147
+ - **Stable ownership**: Confidence maintained = Neutral to Bullish
148
+ - **Decreasing ownership**: Distribution = Bearish (but check reasons)
149
+
150
+ **Skin in the Game Assessment**
151
+ - High insider ownership (>20%): Strong alignment
152
+ - Medium ownership (10-20%): Adequate alignment
153
+ - Low ownership (<10%): Weaker alignment
154
+ - CEO ownership relative to compensation
155
+
156
+ ### 7. Timing Analysis
157
+
158
+ Evaluate timing of insider transactions:
159
+
160
+ **Relative to Stock Price**
161
+ - Buying near 52-week lows: Strong bullish signal
162
+ - Buying after significant decline: Contrarian confidence
163
+ - Selling near 52-week highs: Less bearish (profit-taking)
164
+ - Selling before decline: Red flag if not disclosed later
165
+
166
+ **Relative to Information Events**
167
+ - Before earnings release
168
+ - Before major announcements (M&A, product launches)
169
+ - During blackout periods (should be restricted)
170
+ - After significant news (reaction to public information)
171
+
172
+ **Seasonal Patterns**
173
+ - Post-earnings window trading (common)
174
+ - Year-end tax-loss selling
175
+ - Quarterly option exercise cycles
176
+ - Annual equity grant patterns
177
+
178
+ **Red Flag Timing**
179
+ - Trading during supposed blackout periods
180
+ - Selling shortly before bad news announcement
181
+ - Exercising and immediately selling (vs. holding)
182
+ - Rapid succession of sells by multiple insiders
183
+
184
+
185
+ This section is not finished here: `Analysis Framework` continues in `references/11-pattern-recognition.md`.