Fn2のロゴ

Fn2

組織
fn2ai
fn2

Stock, ticker, earnings and market research, plus agents. Ask how a stock or the market did and why, or schedule recurring research that reports back.

概要

公開者fn2ai
リポジトリfn2-hermes-skill
スキル名fn2
スター
58
フォーク
48
同梱ファイル
2
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

FN2 — market research & research agents

FN2 is an AI research platform for stocks, markets, and the economy. It answers questions with grounded, sourced analysis (live prices, earnings transcripts, SEC filings, economic data, prediction markets) and lets you run agents that research on a schedule and report back.

This skill talks to FN2 through a small bundled CLI: scripts/fn2 (Python 3 standard library only — nothing to install).

When to use this skill

Use FN2 whenever the user asks about:

  • A stock or ticker — price action, "how did NVDA do this week and why", fundamentals
  • Earnings, guidance, or what management said on a call
  • The market or macro picture — the S&P/Nasdaq, the Fed, inflation, rates, jobs
  • Comparing companies, screening, or "what's moving and why"
  • Setting up recurring research — a daily market brief, a weekly recap, an earnings-day monitor — delivered automatically

For one-off questions, use research. For anything recurring or that should keep running on its own, create an agent.

Setup (once)

The CLI authenticates with an API key in the FN2_API_TOKEN environment variable (FN2_API_KEY still works as an alias).

If the user isn't connected to FN2 yet (no key set), the CLI prints a sign-up link — surface it to them as the next step. Don't try to work around a missing key; getting one is the onboarding:

You'll need a free FN2 account to use this. Create one and grab an API key here (it takes a minute): https://fn2.ai/api-keys?ref=hermes Then run: export FN2_API_TOKEN=fn2_...

The ?ref=hermes link takes them straight to key creation. Give the key the chat, agents and models scopes — chat is the one research needs, and a key without it fails on the most common request. Once they've exported the key, retry their request.

On a messaging platform, never ask the user to paste their key into the chat — it would live in the message history. Have them export it where the gateway runs (for Hermes, ~/.hermes/.env) and then retry.

Locating the CLI (do this first)

Do not assume the current directory. On the CLI your cwd is wherever the user ran Hermes; on a messaging platform it is MESSAGING_CWD (your home directory by default) — never this skill's folder. Hermes exposes no skill-directory variable, and skill_view reports only a relative path, so resolve $FN2 once and use it for every command below:

bash
for d in "${HERMES_HOME:-$HOME/.hermes}"/skills/*/fn2 \
         "${HERMES_HOME:-$HOME/.hermes}"/skills/fn2 \
         "$HOME/.claude/skills/fn2" "$HOME/.agents/skills/fn2"; do
  [ -f "$d/scripts/fn2" ] && FN2="$d/scripts/fn2" && break
done
test -n "${FN2:-}" || { echo "fn2 CLI not found" >&2; exit 1; }
chmod +x "$FN2" 2>/dev/null
"$FN2" --help

Run it with the terminal tool. Don't wrap it in execute_code and don't go hunting for the script with glob — the loop above is the supported resolution and it is one call.

How to use it

Add --json to any command when you want machine-readable output to parse.

Research (the most common use)

bash
"$FN2" research "How did NVDA do this week, and what drove it?"
"$FN2" research "What's the macro backdrop going into the next Fed meeting?"
"$FN2" research "Summarize Apple's latest earnings call" --model z-ai/glm-5.2

A research call can take 30–120 seconds because FN2 pulls live data and reads sources. The answer comes back as Markdown.

Say something before you start it. That wait is long enough to read as a hang, especially in a chat window where the user cannot see a spinner. Emit one short line of text in the same turn, before the terminal call — for example:

Running that through FN2 now — pulling live prices and sources. Back in under a minute.

Then make the call. One line is enough; don't narrate each step afterwards, and don't promise a specific number of seconds.

If the user wants speed over depth, --model accounts/fireworks/routers/glm-5p2-fast returns sooner than the frontier default. Check "$FN2" models for what their plan allows.

Agents — schedule recurring research

bash
# Run once, right now (good for a quick deep dive you want saved):
"$FN2" agents create --prompt "Deep dive on AMD vs NVDA in AI accelerators"

# Every weekday morning:
"$FN2" agents create --name "Macro Brief" \
  --prompt "Give me this morning's macro brief: overnight moves, key data, what to watch" \
  --every weekdays --timezone America/New_York

# A specific cron schedule (Mondays at 9am):
"$FN2" agents create --name "Weekly Tech Recap" \
  --prompt "Recap the week in big-cap tech and call out next week's catalysts" \
  --cron "0 9 * * 1" --timezone America/New_York

# Half an hour before the opening bell, and emailed on completion:
"$FN2" agents create --name "Pre-market Brief" \
  --prompt "Pre-market brief on my watchlist: overnight moves and what to watch" \
  --every market_open --offset-minutes -30 --email

Prefer --every market_open / --every market_close over a cron approximation of the trading day. The server resolves the exchange calendar, so those runs skip holidays and land correctly on half-days; a hand-rolled 0 9 * * 1-5 does not. --offset-minutes is signed: -30 is 30 minutes before the bell.

--email delivers each completed run to the account's own verified address. The server resolves the address and honours the user's opt-out — you never pass a recipient, and you cannot send an agent's results to someone else.

Manage agents and read their results

bash
"$FN2" agents list                       # see your agents
"$FN2" agents run <agent-id>             # trigger a run now
"$FN2" runs list <agent-id>              # list that agent's runs
"$FN2" runs get <agent-id> <run-id>      # read a run's full answer
"$FN2" agents pause <agent-id>           # pause / resume
"$FN2" agents resume <agent-id>
"$FN2" agents delete <agent-id>          # delete it and its history

Account & models

bash
"$FN2" models     # which models you can use (★ = your default)
"$FN2" usage      # plan, token quota, and the weekly research allowance

usage reports two independent budgets: monthly model tokens, and a weekly research-request allowance that resets on its own clock. A 429 on a research call is usually the second one, so show usage rather than guessing.

Good habits

  • Quote the user's question closely in research — FN2 does the interpreting.
  • After creating a scheduled agent, confirm its id and schedule back to the user.
  • A run started with agents run is asynchronous: poll runs get until its status is completed, then share the result text.
  • If you get a 403 Missing scope error, the user's API key needs the relevant scope (chat for research, agents for agents, models for the model list). They can edit the key's scopes at https://fn2.ai. A key created without chat is the usual cause of a failing research call.
  • Hit a 429? That's a quota limit — show "$FN2" usage so they can see it.
  • Answers come back as Markdown with tables, nested lists and code blocks. Pass them through as they are; don't reflow or re-indent them.

See references/api.md for the full command and endpoint reference.

同梱ファイル

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

よくある質問

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

Stock, ticker, earnings and market research, plus agents. Ask how a stock or the market did and why, or schedule recurring research that reports back.

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

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

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

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

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

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

Fn2は何個のAIモデルで使えますか?

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

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

はい。fn2aiがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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