Price action market structure analysis, trend vs trading range classification, Always In directional framework, buying/selling pressure analysis, market cycle phase identification, the price action…

Apache-2.0Auto-check passedBusiness, Finance & HR

Install Price Action

skills CLI
$ npx skills add agentii-ai/agentii-investment-intelligence --skill price-action -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install agentii-ai/agentii-investment-intelligence price-action --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/agentii-ai/agentii-investment-intelligence.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/vertical-plugins/technical-analysis/skills/agentii/price-action .claude/skills/price-action && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
price-action
GitHub stars
207
Token cost
~2.4k tokens
SKILL.md length
1,092 words
Files
4 (incl. references)
Skills in repo
79
Repo updated
First seen
Licence
Apache-2.0

At a glance

Price action market structure analysis, trend vs trading range classification, Always In directional framework, buying/selling pressure analysis, market cycle phase identification, the price action…

  • Works in 6 steps: Macro Context (Mode C —… → Market Structure Identification → Directional Bias → …
  • Tasks that involve Trading and backtesting
  • SKILL.md covers Defaults, Preflight, Data Source Priority and Methodology, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Price Action is an agent skill from agentii-ai/agentii-investment-intelligence. Price action market structure analysis, trend vs trading range classification, Always In directional framework, buying/selling pressure analysis, market cycle phase identification, the price action methodology

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/knowledge-frameworks.md`, `references/market-structure.md` and `references/modes.md`).

It sits in Business, Finance & HR, covering Trading and backtesting. The repository describes itself as: Claude-type skills for institutional equity research — 25 AI agent skills with SEC filings, XBRL financials, earnings calendars, DCF/comps/LBO models, and PPT generation. Powered… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Trading and backtesting

Example prompts

  • “/price-action”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Macro Context (Mode C — degrade-gracefully)
  2. Market Structure Identification
  3. Directional Bias
  4. Pressure Analysis
  5. Momentum Assessment
  6. Setup Context Handoff

What it can do on your machine

Read from SKILL.md and the folder at commit 86980e1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Price Action loads about 2.4k tokens when it runs, and up to ~5.7k if it reads all its reference files. Until then it costs about 56 tokens; SKILL.md has 1,092 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from agentii-ai/agentii-investment-intelligence at commit 86980e1, republished under its Apache-2.0 licence (© agentii-ai). 1,092 words, ~2,394 tokens.

Download SKILL.mdSave it as .claude/skills/price-action/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
price-action
description
Price action market structure analysis, trend vs trading range classification, Always In directional framework, buying/selling pressure analysis, market cycle phase identification, the price action methodology
multi_ticker_semantics
single_target
temporal_scope.default_quarters
1
temporal_scope.max_quarters
4
temporal_scope.description
Technical analysis operates on price data; 1 quarter default for short-to-medium-term setups.
retrieval_scope
structured_only
layer_tags
L4
min_tool_diversity
2
parameter_free
false

Methodology inspired by publicly taught price action trading frameworks; all text is an original paraphrase.

Defaults

ParameterDefault ValueRationale
trend_confirmation_bars3Minimum consecutive bars for trend confirmation
trading_range_threshold20 barsPullback > 20 bars becomes a full Trading Range
reversal_failure_rate80%In a trending market, ~80% of reversal attempts fail and become flags
inertia_rule60-4060% probability trend continues, 40% probability reversal

Preflight

Run canonical pre-flight per contracts/preflight.md. Include the X-Agentii-Trace header on every tool call per contracts/x-agentii-trace-header.md — carry the _run_id from your first tool result and name yourself (and your parent, if you were spawned).

Data Source Priority

  1. Price action framework — references/market-structure.md (bundled market structure methodology)
  2. Real-time price data — get_realtime_quote for OHLCV and VIX context
  3. Technical setups — search_technical_setups for matching pattern setups

Methodology

Retrieval Scope

structured_only

Retrieval Strategy

This skill follows Branch (d) Simple Lookup from contracts/retrieval.md: the methodology framework is bundled in references/market-structure.md. Real-time price data supplements via get_realtime_quote. Matched technical setups via search_technical_setups(market_condition=...). No unstructured document retrieval.

Temporal Scope

See frontmatter temporal_scope block.

Tool Allowlist

See frontmatter allowed_tools.

Protocol

This skill implements the price action trading framework: market structure analysis using price action alone — no indicators except a 20-bar EMA. The core thesis: every market is always in one of two states — Trend or Trading Range. If uncertain, it is a Trading Range. Detailed methodology, definitions, and decision rules are in references/market-structure.md.

Step 1 — Macro Context (Mode C — degrade-gracefully)

Assess the broader market environment before analyzing individual setups.

  1. Query get_realtime_quote for a broad market proxy (SPY/SPX) to assess VIX levels.
  2. Determine the macro regime from upstream analysis (expansion/contraction/stagflation/recovery).
  3. VIX assessment: elevated (> 25) → tighten position sizing, favor defined-risk setups. Low (< 15) → standard sizing.
Step 2 — Market Structure Identification

Answer the most important question in price action: Trend or Trading Range?

  1. Cycle Phase Identification:
    • Trend = Series of higher highs/lows (bull) or lower highs/lows (bear). Contains breakout→channel sub-phases.
    • Trading Range = Sideways movement. ≥ 20 bars = full TR. < 20 bars within a trend = Pullback.
    • Reversal Signal = Trading Range at a trend extreme that transitions into opposite trend.
  2. Trend Strength Classification:
    • Strong Trend (Breakout/Spike): Big bodies, small tails, consecutive bars with little overlap.
    • Weak Trend (Channel): Bars with visible tails and overlap, contained between two parallel lines.
  3. Pullback vs Trading Range Rule:
    • Pullback = < 20 bars pause; breakout likely in trend direction.
    • Trading Range = ≥ 20 bars; direction lost; breakout equally likely either way.
    • Fractal check: what appears as a pullback on this timeframe may be a trading range on a lower timeframe.
Step 3 — Directional Bias

Determine the directional bias using the Always In framework.

  1. Ask: "If forced to enter the market right now, long or short?" Your answer = Always In direction.
  2. If unclear: the market is in a Trading Range. Confusion = hallmark of TR.
  3. Directional bias rules:
    • Always In Long → only consider long setups; ignore short signals even if they look strong.
    • Always In Short → only consider short setups; ignore long signals.
    • No clear Always In → Trading Range mode: Buy Low, Sell High, scalp only.
Step 4 — Pressure Analysis

Identify which side (bulls/bears) is applying dominant pressure.

  1. Bar-by-bar assessment:
    • Close near high = bulls dominated through bar's life.
    • Close near low = bears dominated.
    • Long tail above = bears aggressively sold higher prices → failed breakout upward.
    • Long tail below = bulls aggressively bought lower prices → failed breakout downward.
  2. Every tail is a failed breakout — it was once a strong trend body that got reversed. Tails signal the failure of one side.
  3. Context override: A small body in a strong trend behaves as a trend bar. A big body in a sideways market behaves as a trading range bar. Context always overrides individual bar appearance.
Show full SKILL.md (480 more words)Show less
Step 5 — Momentum Assessment

Assess momentum using the 20-60 day framework: Technical Analysis (patterns/formations) provides the big picture over weeks to months. Price Action (momentum) provides the near-term directional signal over days to weeks. Both must align for a trade to have favorable timing.

  1. RSI (Relative Strength Index) — 14-day and 20-day:

    • Above 70 = overbought; below 30 = oversold.
    • RSI reversing from overbought = momentum fading from the upward move.
    • Avoid entering longs when RSI is overbought and falling; avoid shorts when RSI is oversold and rising.
    • Treat "overbought" and "oversold" with caution: a strong trend can stay overbought/oversold for extended periods.
  2. Moving Averages — SMA and EMA at 20, 60, 120, and 250 periods:

    • Price above rising MA = bullish momentum confirmed.
    • Price below falling MA = bearish momentum confirmed.
    • MA convergence/flattening = momentum weakening, potential transition.
  3. MACD (Moving Average Convergence Divergence):

    • Standard: (12, 26, 9). Extended: (20, 60, 10) and (20, 60, 20) for longer timeframes.
    • MACD line crossing above signal line = bullish momentum shift.
    • MACD line crossing below signal line = bearish momentum shift.
    • Divergence between MACD and price = potential reversal signal.
  4. Heikin Ashi Candles: Use for smoothing price action and identifying sustained momentum. Consecutive Heikin Ashi bars without lower shadows = strong bull momentum. Without upper shadows = strong bear momentum.

  5. Timing Assessment (Traffic-Light System):

    • Green: Market structure + momentum + Always In direction all aligned → favorable entry timing.
    • Amber: Partial alignment, some conflicting signals → caution; reduce position size or wait.
    • Red: Conflicting signals across structure/momentum/direction → do not enter; wait for clearer conditions.
Step 6 — Setup Context Handoff

Produce the market structure output to be consumed by downstream skills.

  1. Output classification:
    • market_condition: trending_up / trending_down / ranging
    • trend_strength: strong / weak / none
    • always_in_direction: long / short / neutral
    • cycle_phase: breakout / channel / trading_range / reversal
  2. Handoff to chart-patterns: The context above determines which patterns are valid. In a strong bull trend, only long patterns are valid — all short patterns are ignored regardless of how strong they appear.
  3. MCP retrieval: search_technical_setups(market_condition=<derived>) for rough matching against gold.technical_setups.

Output File

{ticker}/{YYYY-MM-DD_HHMM}_price-action_{affix}.md

Output Structure

  1. Executive Summary — Market state (Trend/TR), Always In direction, cycle phase with confidence level
  2. Market Structure Analysis — Trend strength, cycle phase, pullback vs trading range classification with specific bar counts
  3. Always In Assessment — Directional bias, rationale, confidence level
  4. Pressure Analysis — Bull/bear dominance assessment, key tail/bodie signals on recent bars
  5. Transition Signals — Early warning signals of cycle phase change (channel flattening, TR forming at extreme)
  6. Pattern Context — Valid pattern directions for downstream chart-patterns skill
  7. Coverage Gaps — Data limitations and degraded-mode annotations

Error Handling

ErrorFallback
No price data availableProceed with static market structure principles; flag degraded
search_technical_setups unreachableSkip MCP step; provide manual pattern analysis
Ambiguous market stateClassify as Trading Range; note ambiguity

Memory Load

See contracts/memory-load.md.

Snapshot

See contracts/snapshot-synthesis.md.

Final Summary (TUI)

Include ### Key Citations block with 0-10 clickable /v/ URLs.

References

  • references/market-structure.md
  • contracts/citation-and-memory.md
  • contracts/output-frontmatter-schema.md
  • contracts/memory-load.md
  • contracts/snapshot-synthesis.md
  • contracts/preflight.md
  • contracts/retrieval.md

© agentii-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in plugins/vertical-plugins/technical-analysis/skills/agentii/price-action of agentii-ai/agentii-investment-intelligence.

  • SKILL.md
  • references/knowledge-frameworks.md
  • references/market-structure.md
  • references/modes.md

Open the folder on GitHubat commit 86980e1

Compare with similar skills

Price Action next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Price Action compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Price Action this skillagentii-ai/agentii-investment-intelligence207—~2.4kAutomated safety check: PassApache-2.0
Tushare Datazillionare/zillionare3212 repos~2.3kAutomated safety check: PassNone
Tradingview MCPatilaahmettaner/tradingview-mcp5k—~1.3kAutomated safety check: PassMIT
Digital Oraclekomako-workshop/digital-oracle878—~5.9kAutomated safety check: PassMIT
Polyclawchainstacklabs/polyclaw3591 repos~2kAutomated safety check: PassApache-2.0
Markdownfacioquo/stock-indicators-dotnet1.2k—~812Automated safety check: PassApache-2.0

Similar skills

  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    321 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Tradingview MCP

    atilaahmettaner/tradingview-mcp

    AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and…

    5k GitHub stars~1.3k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Digital Oracle

    komako-workshop/digital-oracle

    Answer prediction questions using market trading data, not opinions.

    878 GitHub stars~5.9k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Polyclaw

    chainstacklabs/polyclaw

    Trade on Polymarket via split + CLOB execution. An agent skill from chainstacklabs/polyclaw.

    359 GitHub starsUsed in 1 repo~2k tokens
    Business, Finance & HRAuto-check passed
  • Markdown

    facioquo/stock-indicators-dotnet

    Format and lint Markdown in this repository against GitHub Flavored Markdown and its markdownlint-cli2 configuration — headers, lists, code fences, callouts (VitePress containers on docs-site pages…

    1.2k GitHub stars~812 tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Openmobius Skill

    MobiusQuant/OpenMobius-skill

    Provides multi-school trading Q&A, chart/OHLCV analysis, annotation, and fresh-market workflows covering ICT/SMC, ChanLun, Wyckoff, Price Action, Order Flow, VSA, and Elliott Wave.

    697 GitHub stars~7.2k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed

More from agentii-ai/agentii-investment-intelligence

All 79 skills in this repo
  • Challenge

    agentii-ai/agentii-investment-intelligence

    Adversarial verification of research theses — cross-run/cross-thesis contradiction via the entity index, pre-mortem (Klarman/Kahneman: assume the loss already happened, reverse the path), inversion…

    207 GitHub stars~735 tokensUpdated 11 days ago
    Auto-check passed
  • Chart Patterns

    agentii-ai/agentii-investment-intelligence

    Chart pattern recognition, price action patterns, candlestick signal bars, pullback bar counting H1/H2/H3/H4, trend channels, micro channels, trading ranges, breakouts, major trend reversals 5-step…

    207 GitHub stars~2k tokensUpdated 11 days ago
    Auto-check passed
  • Clarify

    agentii-ai/agentii-investment-intelligence

    The research-domain clarification skill — find underspecified items in a thesis spec.md (prose wrongif, universe rows without rationale, missing budget/expiry/pins, ambiguous pillars), ask the human…

    207 GitHub stars~839 tokensUpdated 11 days ago
    Auto-check passed
  • Constitution

    agentii-ai/agentii-investment-intelligence

    Scaffold and amend the L1 Investment Constitution — [ALLCAPS] placeholder bootstrap, SemVer bump rules, Sync Impact Report, MINOR/MAJOR re-examination dispatch after the gate-5 budget confirm.

    207 GitHub stars~596 tokensUpdated 11 days ago
    Auto-check passed
  • Converge

    agentii-ai/agentii-investment-intelligence

    Append-only gap closure and the cadence engine for research theses.

    207 GitHub stars~789 tokensUpdated 11 days ago
    Auto-check passed
  • Implement

    agentii-ai/agentii-investment-intelligence

    Execute research tasks — checklist soft gate, phase dispatch with explicit thesisdir, budget enforcement (halt + approval card on overrun), skillpin recording (versionhash content-hashed per skill…

    207 GitHub stars~583 tokensUpdated 11 days ago
    Auto-check passed

Questions about Price Action

What does Price Action do?

Price action market structure analysis, trend vs trading range classification, Always In directional framework, buying/selling pressure analysis, market cycle phase identification, the price action…. Price Action is an agent skill from agentii-ai/agentii-investment-intelligence.

When should I use Price Action?

Price Action fits situations like: tasks that involve Trading and backtesting.

How do I install Price Action in Claude Code?

Run `npx skills add agentii-ai/agentii-investment-intelligence --skill price-action -a claude-code`. Or copy the skill folder (plugins/vertical-plugins/technical-analysis/skills/agentii/price-action in agentii-ai/agentii-investment-intelligence) into .claude/skills/price-action in your project. Claude Code loads it when a task matches its description.

How do I install Price Action in Codex?

Run `npx skills add agentii-ai/agentii-investment-intelligence --skill price-action -a codex`. Or copy the skill folder (plugins/vertical-plugins/technical-analysis/skills/agentii/price-action in agentii-ai/agentii-investment-intelligence) into .agents/skills/price-action in your project. Codex loads it when a task matches its description.

Can I use Price Action in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add agentii-ai/agentii-investment-intelligence --skill price-action -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/price-action, .gemini/skills/price-action, .github/skills/price-action and .opencode/skills/price-action in your project.

What does Price Action need to run?

SKILL.md names no scripts, command-line tools or credentials: Price Action is instructions for the agent only.

Does Price Action access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Price Action safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Price Action use?

Price Action is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Price Action use?

About 2.4k tokens (SKILL.md is roughly 9.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.3k tokens, read only when the agent opens those files.

What are the alternatives to Price Action?

Skills that share tags, products or a category with Price Action: Tushare Data (zillionare/zillionare, 321 stars), Tradingview MCP (atilaahmettaner/tradingview-mcp, 5k stars), Digital Oracle (komako-workshop/digital-oracle, 878 stars) and Polyclaw (chainstacklabs/polyclaw, 359 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Price Action?

agentii-ai (a GitHub user) maintains it in agentii-ai/agentii-investment-intelligence, which has 207 GitHub stars. The repository holds 79 skills in this directory. The repository was last updated on September 29, 2026.

Source: agentii-ai/agentii-investment-intelligence on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.