Market Brief Setupのロゴ

Market Brief Setup

コミュニティ
somnus0x
market-brief-setup

信頼性の高い毎日のリアルタイムデータブリーフを作成します。決定論的な取得スクリプトで正確な数値をAIに渡し、AIがページを読み込みきらないまま閲覧しながら文章を書くのを防ぎます。朝の市場動向や指標の要約にご利用ください。

Add to TypingMind

概要

公開者somnus0x
リポジトリagt-skill-pack
スキル名market-brief-setup
スター
74
フォーク
17
同梱ファイル
2
ライセンスApache-2.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Live-Data Brief Setup — stop making AI guess from half-loaded pages

You want AI to summarize live data every morning — market prices, metrics, whatever updates daily. The obvious way is to let it browse and fetch while it writes the summary. That way is wrong, and it's why your numbers come out garbled.

This skill gives you the pattern that fixes it: separate the fetch from the generation.

Why your numbers come out wrong

When you ask AI to "go check the price and summarize," it fetches a page mid-generation, reads whatever loaded, and writes confidently from incomplete data. It doesn't know the page wasn't done loading. So it guesses — yesterday's number, a half-rendered value, or a hallucinated one — and presents it like fact.

The AI isn't dumb. It just has nothing complete to read, so it fills the gap. The fix isn't a smarter model. It's not asking it to fetch and reason at the same time.

The pattern — two beats, never one

Beat 1 — fetch ahead of time (cron). Pull each data source, write it to a JSON file. This runs before you (or the AI) need the brief.

Beat 2 — one prompt reads the files. The AI never touches the network. It reads the cached files and summarizes. Complete data in, no guessing.

cron (fetch) ──> data/*.json ──> one prompt (read + summarize) ──> brief

When to use

Any recurring "summarize live data" job: morning market brief, daily metrics digest, ops dashboard summary, anything where AI reasons over numbers that change.

Say: "setup data brief", "morning brief pipeline", "stop AI guessing numbers", "cron data cache for AI".

Step 1 — The default source stack, write fetchers

These 6 free sources are the working default for a crypto/macro morning brief. All free, two need no key. Start here, then drop the ones you don't read and add the ones you do — but you start with a stack that works, not a blank file.

  1. Prices — CoinGecko (no key)
  2. Fear & Greed — alternative.me (no key)
  3. MACD / RSI — derived from historical candles (CoinGecko market_chart)
  4. Long/Short ratio — Binance Futures (open)
  5. Rates + yield curve — FRED (free key, 1-min signup)
  6. Stocks / VIX / gold — yfinance (free)

Each fetcher does one thing: hit the source, write the response to a file. No parsing, no logic.

bash
mkdir -p data

# 1. prices — free, no key
curl -s 'https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum,solana&vs_currencies=usd&include_24hr_change=true' \
  > data/crypto-prices.json

# 2. fear & greed — free, no key
curl -s 'https://api.alternative.me/fng/' > data/fear-greed.json

# 3. candles for MACD/RSI — free, no key (derive indicators from this)
curl -s 'https://api.coingecko.com/api/v3/coins/bitcoin/market_chart?vs_currency=usd&days=90&interval=daily' \
  > data/candles.json

# 4. long/short ratio — free, no key
curl -s 'https://fapi.binance.com/futures/data/globalLongShortAccountRatio?symbol=BTCUSDT&period=1d&limit=1' \
  > data/long-short.json

# 5. rates + yield curve — needs FRED key (see below)
curl -s "https://api.stlouisfed.org/fred/series/observations?series_id=T10Y2Y&api_key=${FRED_API_KEY}&file_type=json&sort_order=desc&limit=1" \
  > data/fred.json

# 6. stocks/VIX/gold — yfinance, run via python (see fetch-macro.py)
python3 fetch-macro.py > data/macro.json

This is a default, not a law. The first four need no key and run immediately — wire those, see the brief, then decide if FRED and macro earn their place. Swap in whatever your domain needs (a metrics API, a status endpoint, a CSV feed) the same way: hit it, write the file.

Secrets: never hardcode keys

Sources that need a key — read it from the environment, never inline:

python
import os
FRED_API_KEY = os.environ.get("FRED_API_KEY", "")   # from .env, not in the code

Put the key in .env, add .env to .gitignore, load it before the fetch runs. A key committed to a repo is a key you have to rotate.

Step 2 — Schedule the fetch

Run the fetchers on cron, before you need the brief. They land in one folder.

bash
# crontab -e  →  fetch at 06:50, brief reads it after
50 6 * * *  cd /path/to/project && bash fetch-all.sh

The fetch and the brief are now decoupled. If a source is down, that one file is stale or empty — it doesn't block the others, and the brief still runs.

Step 3 — One prompt reads the cache

This is the whole generation step. The AI reads files, summarizes, never fetches.

Read every file in data/ :
- crypto-prices.json — price + 24h change
- fear-greed.json    — sentiment index (fear/greed)
- candles.json       — historical candles → derive MACD/RSI
- long-short.json    — Binance long/short ratio
- fred.json          — rates (DFF) + yield curve (T10Y2Y)
- macro.json         — S&P, VIX, gold

Summarize into a short brief with sections:
📊 MARKET PULSE — how prices moved, risk-on or risk-off
📈 TECHNICALS   — what MACD/RSI say
🏛️ MACRO        — rates + yield curve tightening or easing

If a file is missing or empty, write "n/a" for that item.
Do NOT guess any number. If it's not in the files, it's n/a.

The last two lines matter most. "Do not guess" is the guardrail — when a feed is down, the AI writes n/a instead of inventing a value. That single instruction is the difference between a brief you can trust and one that lies to you on a bad-data day.

Step 4 — Verify it's not guessing

Test the failure case on purpose: empty one file, run the brief.

bash
echo '{}' > data/crypto-prices.json   # simulate a dead feed
# run the brief prompt

The brief should say n/a for price, not produce a number. If it invents one, your "do not guess" line is missing or too weak — strengthen it and re-test. A pipeline you haven't tested broken is a pipeline you can't trust.

Step 5 — Grow one source at a time

Add a source only after you've read the brief enough to know you'd actually use it. Each new source is: a fetcher (Step 1) + a line in the cron + a line in the prompt. Three small additions, no architecture change.

Resist wiring everything up front. A brief with 3 sources you read beats a brief with 15 you skim.

The principle

The bug was never "AI can't read data." It was "AI fetching while it reasons guesses from incomplete pages." Split the two beats — cache first, read second — and the guessing stops. Not because the model got smarter, but because you stopped asking it to do two things at once.

Add to your CLAUDE.md

markdown
### Live-data briefs
When summarizing live data, never fetch during generation.
1. Fetch sources to data/*.json ahead of time (cron)
2. The summary prompt reads files only — no network access
3. Always include "do not guess numbers; missing = n/a" in the prompt
4. Add sources one at a time, only after confirming you read them

Output discipline

When this skill is invoked:

  1. Help the user pick 2-3 starting sources (not ten)
  2. Write the fetchers (one job each: hit source, write file)
  3. Set up the cron schedule
  4. Write the read-only summary prompt WITH the "do not guess" guard
  5. Test the broken-feed case before calling it done

Don't build the analysis layer for them — that's their domain edge. Ship the pipeline; the judgment on top is theirs.

同梱ファイル

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

よくある質問

AIスキル「Market Brief Setup」では何ができますか?

信頼性の高い毎日のリアルタイムデータブリーフを作成します。決定論的な取得スクリプトで正確な数値をAIに渡し、AIがページを読み込みきらないまま閲覧しながら文章を書くのを防ぎます。朝の市場動向や指標の要約にご利用ください。

TypingMindでMarket Brief Setupを使うメリットは何ですか?

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

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

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

Market Brief Setupを使えるAIモデルはどれですか?

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

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

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

AIスキル「Market Brief Setup」は無料ですか?

はい。somnus0xがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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