Fn2 logo

Fn2

Organization
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.

Overview

Publisherfn2ai
Repositoryfn2-hermes-skill
Skill namefn2
Stars
58
Forks
48
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by fn2ai on GitHub. Read the source before you install it.

Installation

Install the Fn2 AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/fn2ai/fn2-hermes-skill/tree/main/skills/fn2
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Fn2 in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Fn2 on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Fn2 is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Fn2 AI skill do?

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.

Why use Fn2 on TypingMind?

Because you install it once and use it with any model. Fn2 is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Fn2 in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/fn2ai/fn2-hermes-skill/tree/main/skills/fn2. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Fn2?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Fn2?

As many as you like. As long as a model supports skills, you can use Fn2 with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Fn2 AI skill free?

Yes. It is published on GitHub by fn2ai under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇