chartink-query

chartink-query is a skill for Claude Code, Codex from shahparthiv/chartink-mcp. It costs 212 tokens per session (1,915 once invoked), scanned A, original, MIT.

A helper for writing and running Chartink stock-scanner queries for India's NSE and BSE markets. A stock scanner filters shares using conditions such as price, volume, or technical indicators.

In plain words
What is it for?
Building scans such as price-above-moving-average or RSI conditions, and returning both the readable conditions and the query string.
Why use it?
It turns plain-language screening ideas into Chartink's required query format and can validate or run them when the Chartink connection is available.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Building scans such as price-above-moving-average or RSI conditions, and returning both the readable conditions and the query string.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shahparthiv/chartink-mcp/chartink-query
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add shahparthiv/chartink-mcp --skill chartink-query
Clone the repo
git clone --depth 1 https://github.com/shahparthiv/chartink-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for chartink-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/shahparthiv/chartink-mcp/chartink-query/github.svg)](https://agentmods.dev/skills/shahparthiv/chartink-mcp/chartink-query)
Your own site
<a href="https://agentmods.dev/skills/shahparthiv/chartink-mcp/chartink-query"><img src="https://agentmods.dev/badge/skills/shahparthiv/chartink-mcp/chartink-query/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for chartink-query

Your own site · 80×15
<a href="https://agentmods.dev/skills/shahparthiv/chartink-mcp/chartink-query"><img src="https://agentmods.dev/badge/skills/shahparthiv/chartink-mcp/chartink-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 212 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,915 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00212 $0.01915
Opus 5 $0.00106 $0.00958
Sonnet 5 $0.00042 $0.00383
Haiku 4.5 $0.00021 $0.00192

Measured 9d ago against content hash ee4fb9d4b7ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

chartink-query scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/chartink-query/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Chartink Query Builder

Generate valid Chartink scan_clause strings from a plain-English description of what to screen for, then (optionally) validate and run them via the chartink MCP server.

What a Chartink scan_clause looks like

A scan clause is a single string with this overall shape:

( {segment} ( <condition> [and|or <condition>] ... ) )
  • The outer ( ... ) and {segment} are mandatory. Default segment is {cash} (all NSE cash stocks).
  • Conditions are joined with lowercase and / or. Group with extra nested parentheses to control precedence.
  • Every token is lowercase. Spaces around operators, commas, and parentheses are expected — write sma( latest close , 50 ), not sma(latest close,50).

A condition is built as:

[timeframe] [attribute-or-indicator] [comparison-operator] [timeframe] [value-or-indicator]

Examples:

( {cash} ( latest close > latest sma( latest close , 50 ) ) )

( {cash} ( latest rsi( 14 ) > 60 and latest close > 1 day ago close ) )

( {cash} ( latest close > latest open and latest volume > latest sma( latest volume , 20 ) and latest close > 50 ) )

Always output BOTH forms

Every time you produce a query, give the user two versions side by side:

  1. MCP / API form (run_screener scan_clause) — the fully wrapped string including segment:
    ( {cash} ( latest close > latest sma( latest close , 50 ) ) )
    
  2. Chartink.com form (paste into the Scan conditions box at chartink.com/screener) — the inner conditions only, no outer ( {cash} ( ... ) ) wrapper, since the segment is chosen from the page's dropdown:
    latest close > latest sma( latest close , 50 )
    
    Also state which segment dropdown to select (e.g. "Cash" for {cash}, "Intraday" for an intraday timeframe).

The two are the same conditions — the only difference is that the MCP form wraps them in ( {segment} ( ... ) ) and the website supplies the segment via its UI. Label each clearly so the user knows which to use where.

Read the full file on GitHub · 96 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 96 lines · 212 tokens per session scan A ee4fb9d4b7ff

Subscribe to this mod's changes

chartink-query is a skill published in the GitHub repository shahparthiv/chartink-mcp (3 stars, last pushed 2mo ago), licensed MIT. It adds 212 tokens to every session and 1,915 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

weekly-fno-trade-planner

Weekly F&O trade planning skill for Indian markets. Analyzes news/macro events, identifies trending sectors and instruments, determines probable direction, suggests option strategy with entry/exit levels, and manages stop-loss and profit booking after position entry. Use when user wants a weekly trade idea, F&O…

ajeeshworkspace/indian-trading-skills · 86 tokens

india-news-tracker

Track and analyze Indian stock market news, corporate announcements, SEBI circulars, bulk/block deals, and earnings calendars. Auto-fetches headlines from MoneyControl, Economic Times, LiveMint, BSE/NSE filings. Use when the user asks about recent news, corporate actions, upcoming events, or wants a daily market news…

ajeeshworkspace/indian-trading-skills · 76 tokens

india-stock-analysis

Use when user requests analysis of Indian stocks, fundamental assessment, technical review, comparisons, or investment reports for NSE/BSE listed companies.

ajeeshworkspace/indian-trading-skills · 31 tokens

options-strategy-advisor

Options strategy analysis for Indian F&O markets (NSE). Use when user requests options strategy recommendations, P/L analysis, Greeks calculation, risk management, or F&O strategy planning for Nifty, Bank Nifty, or stock options.

ajeeshworkspace/indian-trading-skills · 53 tokens

india-market-breadth

Analyze Indian market breadth health using advance/decline data, stocks above moving averages, new highs/lows, and sector participation. Use when assessing rally quality, market participation width, or equity exposure levels for NSE/BSE.

ajeeshworkspace/indian-trading-skills · 51 tokens

backtest-expert

Expert guidance for systematic backtesting of trading strategies on Indian markets (NSE/BSE). Use when developing strategies, testing robustness, avoiding overfitting, or validating trading ideas.

ajeeshworkspace/indian-trading-skills · 41 tokens