Market Data Ingestion and Indexing

VerifiedCaution

Ingest and normalize market data into OHLCV vectors, then store with HNSW indexing for pattern search.

Sby Skills Guide Bot
Data & AIIntermediate
8/29/2026
Claude Code
#market-data#ohlcv#vector-indexing#hnsw#data-ingestion

Recommended for

Automated summary

Fetches market data for a symbol, normalizes it into OHLCV vectors, and stores it in an HNSW index for fast similar-pattern search.

Strengths

  • Clear six-step pipeline from raw data retrieval through vector indexing
  • Explicit normalization formulas (relative changes for OHLC, rolling z-score for volume)
  • Calls out real tooling pitfalls: embeddings_generate vs the non-existent embeddings_embed, and memory_* vs agentdb_hierarchical-* routing
  • Includes a CLI fallback via npx when the MCP tools are unavailable

Limitations

  • Fully dependent on the ruflo-core MCP plugin and its tools, which are not bundled with the skill
  • Vectors are 64 dimensions but only 5 values are populated, so padding can skew HNSW distance results
  • Covers ingestion and indexing only — no pattern detection or backtesting
When to use it

Use it when you need to prepare a symbol's OHLCV data before running pattern detection or similarity comparison.

When not to use it

Avoid it if the ruflo-core plugin is not installed, or if you only need pattern analysis without building a vector index.

Security analysis

Caution
Quality score78/100

The skill is a straightforward data-ingestion workflow: fetch OHLCV, normalize, vectorize, and persist via namespace-scoped MCP memory and HNSW tools. No exfiltration, obfuscation, or destructive operations appear, and the tool usage matches the stated purpose. The only real concern is the Bash-allowed `npx ...@latest` CLI alternative, which runs an unpinned remote package — a common but non-trivial supply-chain surface, hence caution rather than safe.

Findings
  • •Declares Bash and includes an `npx @claude-flow/cli@latest` invocation, which executes an unpinned, network-fetched package at runtime
  • •Step 1 fetches data from external REST APIs/CSV, so network access is implied though endpoints are not specified
  • •No secrets, tokens, or environment variables are read or transmitted; no destructive commands present
How this analysis is made

Examples

Ingest a single symbol
Ingest the last 2 years of daily OHLCV data for AAPL from the REST API, normalize it, and index the vectors for pattern search.
Ingest from a CSV file
Load the OHLCV CSV at ./data/msft_daily.csv, normalize each candle, store it under the market-data namespace, and add the vectors to the HNSW index.
Verify what was ingested
Search the market-data namespace for NVDA entries and report how many candles were ingested, the date range, and the average volume.

name: market-ingest description: Ingest and normalize market data into OHLCV vectors with HNSW indexing argument-hint: "<symbol> [--source api]" allowed-tools: Bash mcp__plugin_ruflo-core_ruflo__memory_store mcp__plugin_ruflo-core_ruflo__memory_search mcp__plugin_ruflo-core_ruflo__ruvllm_hnsw_create mcp__plugin_ruflo-core_ruflo__ruvllm_hnsw_add mcp__plugin_ruflo-core_ruflo__embeddings_generate

Market Ingest

Fetch market data for a symbol, normalize to OHLCV vectors, and store with HNSW indexing for fast pattern search.

When to use

When you need to ingest raw market data (price and volume) for a symbol and prepare it for pattern detection and similarity search. This is the first step before running pattern detection or comparison.

Steps

  1. Fetch data -- retrieve OHLCV data for the symbol from the configured data source (REST API, CSV file, or manual input)
  2. Normalize -- convert raw prices to relative values:
    • Open: (open - prev_close) / prev_close
    • High: (high - open) / open
    • Low: (low - open) / open
    • Close: (close - open) / open
    • Volume: Z-score against rolling mean/std
  3. Vectorize -- encode each candle as a 64-dimension padded vector (5 normalized OHLCV values + padding). For semantic embeddings of pattern descriptions, use mcp__plugin_ruflo-core_ruflo__embeddings_generate (NOT embeddings_embed — that tool name does not exist).
  4. Store -- call mcp__plugin_ruflo-core_ruflo__memory_store --namespace market-data to persist normalized OHLCV data with symbol+date keys. The memory_* tool family routes by namespace; the agentdb_hierarchical-* family routes by tier (working|episodic|semantic) and ignores namespace strings, so use memory_* here.
  5. Index -- call mcp__plugin_ruflo-core_ruflo__ruvllm_hnsw_add to add vectors to the HNSW index for nearest-neighbor search.
  6. Report -- summarize: candles ingested, date range, price range, average volume

CLI alternative

npx @claude-flow/cli@latest memory store --namespace market-data --key "symbol-SYMBOL-DATE" --value "OHLCV_JSON"

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/market-data-ingestion-and-indexing-mte1lht9/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/market-data-ingestion-and-indexing-mte1lht9' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/market-data-ingestion-and-indexing-mte1lht9/download' --output '.skill-downloads/market-data-ingestion-and-indexing-mte1lht9/SKILL.md.part' && mv '.skill-downloads/market-data-ingestion-and-indexing-mte1lht9/SKILL.md.part' '.skill-downloads/market-data-ingestion-and-indexing-mte1lht9/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Bash mcp__plugin_ruflo-core_ruflo__memory_store mcp__plugin_ruflo-core_ruflo__memory_search mcp__plugin_ruflo-core_ruflo__ruvllm_hnsw_create mcp__plugin_ruflo-core_ruflo__ruvllm_hnsw_add mcp__plugin_ruflo-core_ruflo__embeddings_generate

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/market-data-ingestion-and-indexing-mte1lht9/SKILL.md' && test -s '.skill-downloads/market-data-ingestion-and-indexing-mte1lht9/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/market-ingest' && cp -R '.skill-downloads/market-data-ingestion-and-indexing-mte1lht9' '.claude/skills/market-ingest'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/market-data-ingestion-and-indexing-mte1lht9'

openskills read 'market-data-ingestion-and-indexing-mte1lht9'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/market-data-ingestion-and-indexing-mte1lht9/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills