Capital Rotationのロゴ

Capital Rotation

組織
kansoku-trade
capital-rotation

米国市場の複数セクターにおける当日の資金フローを読み取り、資金の循環先を特定するときに使用します。例:「今日の資金の流れ」「セクターの強弱」「rotation map」「半導体を売ってクラウドを買う」「今日はどこに資金が動いている?」「セクター間の資金フローを調べる」。指数、半導体、ソフトウェア・クラウド、メガテック、AIアプリケーションなどのグループ別に純流入を横断的にまとめ、主な市場テーマを特定し、日付入りの記録ファイルを作成します。単一のウォッチリストを場中にリアルタイム監視する`market-session-tracker`とは異なり、これはセッション終了時に一度だけ資金循環を読み取るものです。

概要

公開者kansoku-trade
リポジトリkansoku
スキル名capital-rotation
スター
329
フォーク
40
同梱ファイル
1
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    kansoku-tradeがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Capital Rotation」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/kansoku-trade/kansoku/tree/main/.claude/skills/capital-rotation
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kansoku-trade/kansoku.git /tmp/kansoku
mkdir -p .claude/skills
cp -r /tmp/kansoku/.claude/skills/capital-rotation .claude/skills/capital-rotation
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCapital Rotationを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCapital Rotationを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Capital Rotationは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Capital Rotation Scanner (US-only)

Scans capital flow across standard US cohorts in one session, identifies rotation direction, classifies winners / losers, names the dominant narrative, and logs a journal file.

Scope: US-only. Do NOT query HK / CN / SG markets (user preference). Sources: Longbridge capital, market-temp. Cite as 长桥证券. Units: ambiguous — see TD-UNIT-01 in trading-discipline. Longbridge does not label the unit. Record the raw API number and the unit you inferred; do NOT silently convert (no 亿).

When to use

  • "今天的资金流向", "板块强弱", "rotation map"
  • "卖芯买云", "AI 资金挪去哪了"
  • "软件 / 云强不强", "半导体板块今天主力撤了吗"
  • End-of-session debrief or pre-Asia-open prep
  • Not for single-symbol deep-dive (use longbridge-capital-flow directly)
  • Not for live intraday tracking (use market-session-tracker)

Standard cohorts

CohortSymbols
IndicesSPY, QQQ, DIA, IWM
SemisNVDA, AMD, MU, MRVL, TSM, AVGO, SMH, SOXX, AMKR, ASX
Software / CloudNOW, ORCL, CRM, ADBE, SNOW, DDOG, MDB, PLTR, PANW, CRWD, NET, IGV, CLOU
Mega-techAAPL, MSFT, GOOGL, AMZN, META, TSLA
Risk-off proxyVXX, TLT, GLD (optional, for cross-asset confirmation)

User watchlist override: read stocks/ directory for symbols the user already tracks; promote those to first-tier in their respective cohort.

Workflow

  1. Time check — date + confirm US session state (pre / intraday / post / closed). Adjust analysis date in filename: use the US session date, not Asia local date.

  2. Market temperature — single call:

    bash
    longbridge market-temp US --format json

    Report Temperature / Valuation / Sentiment.

  3. Index baseline — snapshot mode (gives large/medium/small breakdown):

    bash
    longbridge capital SPY.US --format json
    longbridge capital QQQ.US --format json

    Net large = capital_in.large - capital_out.large. Flag distribution if large net ≪ 0 while small net > 0 (主力—散户背离).

  4. Cohort scan — for each cohort, longbridge capital <SYM> --flow --format json | tail -8 to grab the latest cumulative inflow value (the last array element is the running total in 万 USD). Parallelize across symbols.

  5. Rotation classification — for each cohort, sum net flows; rank symbols within cohort; identify:

    • Cohort net (sector-level direction)
    • Cohort leader (largest +)
    • Cohort outlier (largest −, especially if cohort net is positive)
    • Cross-cohort rotation: which cohort gained vs lost net flow
  6. Narrative identification — pick ONE of:

    • 卖芯买云 (semis − / software +)
    • 卖云买芯 (inverse)
    • 全板派发 (all cohorts negative + indices large-out)
    • 全板吸金 (all positive + indices large-in)
    • 窄口集中 (one cohort dominated by 1-2 names; rest flat)
    • 风险偏好切换 (cyclicals out / defensives in)
    • AI 已变现 vs 未变现 (rank by AI revenue maturity, see §Narrative criteria)
  7. Write journal file — ~/git/trade/journal/YYYY-MM-DD-flow.md using the US session date. Use templates/rotation-snapshot.md as scaffold. If the file exists (e.g. re-run same day), append a new section with timestamp; do not overwrite.

  8. Surface 3 insights + tomorrow watch — concise, actionable. No vague "市场分化", always name the split.

Distribution detection rules

Use these triggers to label index behavior:

PatternLabel
SPY large net < 0 AND |large net| > 5 × small net机构派发
All 3 buckets (large / medium / small) net < 0全档抛压
Large net < 0, small net > 0, magnitudes similar主力—散户背离
Large net > 0, small net < 0主力吸筹
All 3 buckets > 0全档吸金

Always state the pattern explicitly; do not say "weak / strong" vaguely.

Narrative criteria — "AI 已变现 vs 未变现"

A common useful narrative axis. Classify cohort flow winners / losers by AI revenue maturity:

  • 已变现 (likely to attract flow): MU (HBM revenue confirmed), NOW (AI workflow ARR), ORCL (AI cloud bookings), AMD (MI-series sales), AMZN (AWS Bedrock), PLTR (gov + commercial AIP)
  • 未变现 / 纯叙事: SNOW, MRVL (AI guidance hasn't translated), CRWD (AI security narrative), AAPL (Apple Intelligence vague), GOOGL (Gemini monetization weak)

When flow winners cluster in "已变现" and losers in "未变现", call out "narrative 收敛至 AI 已变现窄口" — this is a key macro signal of late-cycle AI selectivity.

CLI quick reference

bash
longbridge market-temp US --format json
longbridge capital SPY.US --format json                       # snapshot (large/med/small)
longbridge capital QQQ.US --flow --format json | tail -8      # time-series cumulative
longbridge capital --flow --format json < SYM > .US | tail -8 # per-symbol

The --flow last-row inflow field is the cumulative net for the session in 万 USD. No date parameter — today's data only.

Failure modes

  • Error: request timeout / connect timeout → retry 1-2 times; do not block the report. Mark unavailable symbols with n/a and proceed.
  • Cohort scan during US pre-market (04:00–09:30 ET) → data exists but thin; flag report as "pre-market preliminary, not full-session".
  • Symbol unavailable on Longbridge (e.g. .SOX.US) → substitute ETF proxy (SMH/SOXX).

Output format (chat reply)

  1. Header: market state + session date
  2. Index baseline table
  3. Cohort tables (one per cohort)
  4. Narrative label in bold
  5. 3 insights — each with a number and 1-2 sentence claim
  6. Tomorrow watch — 4-6 bullets, each with explicit symbol + condition

Tone: 中文白话, no jargon — see TD-LANG-01 / TD-LANG-02 in trading-discipline.

Anti-patterns

  • ❌ Querying HK / CN / SG markets (user said US-only)
  • ❌ Reporting "市场分化" without naming the split
  • ❌ Treating one-symbol-dominated cohort net as broad strength (e.g. semis "+3.4 亿" but MU alone is +4.2 亿)
  • ❌ Skipping the journal write step
  • ❌ Skipping the narrative label (must pick one)
  • ❌ Single-point prediction; use scenario language for tomorrow watch

Related skills

  • market-session-tracker — live intraday monitoring of one watchlist
  • longbridge-capital-flow — single-symbol drill-down
  • longbridge-market-temp — sentiment-only snapshot
  • stock-deep-dive — multi-lens single-name research

File layout

capital-rotation/
├── SKILL.md
└── templates/
    └── rotation-snapshot.md

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Capital Rotation」では何ができますか?

米国市場の複数セクターにおける当日の資金フローを読み取り、資金の循環先を特定するときに使用します。例:「今日の資金の流れ」「セクターの強弱」「rotation map」「半導体を売ってクラウドを買う」「今日はどこに資金が動いている?」「セクター間の資金フローを調べる」。指数、半導体、ソフトウェア・クラウド、メガテック、AIアプリケーションなどのグループ別に純流入を横断的にまとめ、主な市場テーマを特定し、日付入りの記録ファイルを作成します。単一のウォッチリストを場中にリアルタイム監視する`market-session-tracker`とは異なり、これはセッション終了時に一度だけ資金循環を読み取るものです。

TypingMindでCapital Rotationを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Capital Rotationはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCapital Rotationをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/kansoku-trade/kansoku/tree/main/.claude/skills/capital-rotationを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Capital Rotationを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Capital Rotationで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCapital Rotationを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Capital Rotation」は無料ですか?

kansoku-tradeがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇