Scan Tokens logo

Scan Tokens

Community
stoaaadev
scan-tokens

Scans Solana DEXes for unusual token activity — volume spikes, price breakouts, new pools, whale moves

Overview

Publisherstoaaadev
Repositorystoa
Skill namescan-tokens
Stars
26
Forks
6
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

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

Installation

Install the Scan Tokens 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/stoaaadev/stoa/tree/main/skills/scan-tokens
  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/stoaaadev/stoa.git /tmp/stoa
mkdir -p .claude/skills
cp -r /tmp/stoa/skills/scan-tokens .claude/skills/scan-tokens
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Scan Tokens 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 Scan Tokens 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 Scan Tokens 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.

scan-tokens

Priority: P0 (core scout function — runs every 30 min) Data sources: Jupiter Price API, DexScreener API, Helius API (optional), Solana RPC Output: Signal messages to analyst inbox

Instructions

You are executing the scan-tokens skill for the Scout agent.

Step 1: Load State

Read memory/scan-state.json. Expected schema:

json
{
  "last_scan": "ISO-8601",
  "tokens": {
    "SYMBOL": {
      "mint": "address",
      "last_price": 1.23,
      "avg_volume_7d": 500000,
      "last_volume_24h": 120000
    }
  }
}

If the file doesn't exist, initialize with an empty token map and proceed to populate it.

Step 2: Check Watched Tokens

For each token in ${watch_tokens}:

P0 — Price check:

  1. Fetch current price: curl -s "https://api.jup.ag/price/v2?ids={mint}"
  2. Compare to last_price in scan-state
  3. Flag as price_breakout if change > 5% in 30 min or > 10% in 1h

P1 — Volume check:

  1. Fetch from DexScreener: curl -s "https://api.dexscreener.com/tokens/v1/solana/{mint}"
  2. Extract volume.h24 from the response
  3. Flag as volume_spike if > 2x the avg_volume_7d
  4. Flag as volume_surge if > 5x (higher priority)

P2 — Liquidity check:

  1. From the same DexScreener response, check liquidity.usd
  2. Flag as liquidity_change if delta > 20% from last scan

Step 3: Scan for New Pools

bash
curl -s "https://api.dexscreener.com/token-profiles/latest/v1"

Filter for:

  • chainId = solana
  • Created in the last 30 minutes
  • Cross-reference with DexScreener pair data for TVL > $50,000

This catches new token launches and fresh liquidity that might be actionable.

Step 4: Whale Detection

Only if HELIUS_API_KEY is set. Skip gracefully if not configured.

  1. Read memory/whale-wallets.json for tracked addresses
  2. For each whale wallet, check recent transactions:
    bash
    curl -s "https://api.helius.xyz/v0/addresses/{wallet}/transactions?api-key=${HELIUS_API_KEY}&limit=5"
  3. Flag transfers > ${whale_threshold_usd} USD as whale_move
  4. Classify as accumulation (buying) or distribution (selling)

Step 5: Emit Signals

For each finding, append a message to memory/mesh/analyst.json:

json
{
  "from": "scout",
  "to": "analyst",
  "type": "signal",
  "id": "scout-{timestamp}-{index}",
  "timestamp": "{now_iso}",
  "data": {
    "signal_type": "volume_spike | volume_surge | price_breakout | new_pool | whale_move | liquidity_change",
    "token": "{symbol}",
    "token_address": "{mint}",
    "price_current": 1.23,
    "price_previous": 1.10,
    "change_pct": 11.8,
    "volume_24h": 1500000,
    "volume_avg_7d": 500000,
    "details": "{one-line human summary}",
    "raw_data": {}
  }
}

Dedup rule: Before posting, check if a signal for the same token + same signal_type already exists in the analyst inbox within the last 60 minutes. If so, skip it.

Step 6: Update State

Write updated scan-state.json with:

  • New last_scan timestamp
  • Updated prices, volumes, and 7d averages for all tokens
  • Recalculate avg_volume_7d as rolling average (weight recent data slightly more)

Anti-Patterns

  • Do NOT make trade recommendations. You report data, not opinions.
  • Do NOT call any Solana program or sign any transaction. You are read-only.
  • Do NOT fabricate data if an API call fails. Log the failure in the details field and move on.
  • Do NOT flood the analyst with noise. If nothing unusual happened, emit zero signals.

Exit Codes

  • SCAN_OK — completed normally, N signals emitted
  • SCAN_PARTIAL — some API calls failed, partial results emitted
  • SCAN_EMPTY — no unusual activity detected (this is fine)
  • SCAN_FAILED — critical failure, could not complete scan

Output

Commit message format: scout: scan-tokens — {N} signals [{types}] Example: scout: scan-tokens — 3 signals [volume_spike, price_breakout, whale_move]

Frequently asked questions

What does the Scan Tokens AI skill do?

Scans Solana DEXes for unusual token activity — volume spikes, price breakouts, new pools, whale moves

Why use Scan Tokens on TypingMind?

Because you install it once and use it with any model. Scan Tokens 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 Scan Tokens in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/stoaaadev/stoa/tree/main/skills/scan-tokens. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Scan Tokens?

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 Scan Tokens?

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

Is the Scan Tokens AI skill free?

Yes. It is published on GitHub by stoaaadev 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 👇