Skip to content
Skillpedia
Analysis & spreadsheets81k · #1644

market-pattern

What it does

This skill looks through price candles for well-known chart patterns and labels each one by type and direction. It is for people studying market charts who want a quick, ranked list of patterns.

When to use it

  • ✓When you want to find candlestick patterns in a symbol's price history.
  • ✓When you want the detected patterns ranked by a reliability score.
  • ✓When you want to save pattern results for later comparison.

Skill link

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-market-data/skills/market-pattern/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-market-data/skills/market-pattern/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Find the candlestick patterns in this stock's data from last quarter and rank them by reliability.”

5 new skills a week. 1 minute to read.

How it works

The skill reads the stored candles for the symbol and period, looks for single, two, three and multi-candle shapes, and gives each match a name, type, direction and a reliability score from 0 to 1. It then sorts the results and stores them.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Market Pattern

Scan ingested OHLCV data for known candlestick patterns, classify them by type and reliability, and store for future reference.

When to use

When you need to identify candlestick patterns (doji, hammer, engulfing, head-shoulders, etc.) in market data. Requires data to be ingested first via market-ingest.

Steps

  1. Load candles -- call mcp__plugin_ruflo-core_ruflo__memory_search (or memory_list) on the market-data namespace to retrieve normalized OHLCV data for the symbol and period. The memory_* tool family routes by namespace; the agentdb_hierarchical-* family does NOT (it routes by tier), so use memory_* for namespaced reads.
  2. Scan for patterns -- iterate through candle sequences looking for:
    • Single-candle: doji (open ~= close), hammer (long lower wick), inverted hammer
    • Two-candle: bullish/bearish engulfing
    • Three-candle: morning star, evening star, three white soldiers, three black crows
    • Multi-candle: head & shoulders, double top/bottom, cup & handle
  3. Classify -- for each detection, assign: pattern name, type (reversal/continuation), direction (bullish/bearish), reliability score (0.0-1.0)
  4. Rank -- sort by reliability score descending
  5. Store -- two paths (per ruflo-cost-tracker ADR-0001 dual-path pattern):
    • Pattern-store (typed, recommended): mcp__plugin_ruflo-core_ruflo__agentdb_pattern-store with type: 'market-pattern'. Don't pass a namespace arg — ReasoningBank routes it; on bridge unavailability the fallback writes to the reserved pattern namespace with controller: 'memory-store-fallback' (see ruflo-agentdb ADR-0001).
    • Plain store (namespace-routable): mcp__plugin_ruflo-core_ruflo__memory_store --namespace market-patterns — this DOES respect the market-patterns namespace because memory_* is namespace-routed.
  6. Report -- display: pattern name, date range, direction, reliability, suggested action

CLI alternative

npx @claude-flow/cli@latest memory search --query "bullish reversal patterns" --namespace market-patterns
npx @claude-flow/cli@latest memory store --key "pattern-AAPL-2026-05-04-doji" --value '{...}' --namespace market-patterns
FAQ

Does the skill need data first?

Yes. The price data must be loaded with the market ingest skill before this one runs.

What does the reliability score mean?

It is a number from 0.0 to 1.0 given to each match, and the list is sorted with the highest first.

Do these patterns predict future prices?

No. The skill labels patterns found in past data and does not predict what prices will do.

Details

Original description by the author

Detect and classify candlestick patterns from ingested OHLCV data

repo: ruvnet/ruflo

Popularity

GitHub stars
81k
Ranking position
#1644
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills