uptrend-analyzer

uptrend-analyzer is a skill for Claude Code, Codex from ntaffzii/Skill-Agents. It costs 121 tokens per session (887 once invoked), scanned A, original, MIT.

A CSV-based stock screen that measures how many stocks have an established stage 2 uptrend, meaning the price is above its 50-day moving average and that average is above the 200-day average.

In plain words
What is it for?
It helps calculate uptrend participation for a supplied stock universe and prepare a descriptive market-regime or candidate screen without using a market-data API.
Why use it?
It distinguishes a sustained trend structure from a stock that is only above one moving average or briefly bouncing.

Skill for Claude CodeCodex

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

Good fit It helps calculate uptrend participation for a supplied stock universe and prepare a descriptive market-regime or candidate screen without using a market-data API.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ntaffzii/skill-agents/uptrend-analyzer
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 ntaffzii/Skill-Agents --skill uptrend-analyzer
Clone the repo
git clone --depth 1 https://github.com/ntaffzii/Skill-Agents

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 uptrend-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/ntaffzii/skill-agents/uptrend-analyzer.svg)](https://agentmods.dev/skills/ntaffzii/skill-agents/uptrend-analyzer)
Your own site
<a href="https://agentmods.dev/skills/ntaffzii/skill-agents/uptrend-analyzer"><img src="https://agentmods.dev/badge/skills/ntaffzii/skill-agents/uptrend-analyzer.svg" alt="Measured on agentmods" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 887 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.00121 $0.00887
Opus 5 $0.00060 $0.00443
Sonnet 5 $0.00024 $0.00177
Haiku 4.5 $0.00012 $0.00089

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

Security

Grade A, and why

uptrend-analyzer 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (uptrend.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/trading/uptrend-analyzer/SKILL.md · 51 lines

How it starts

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

Uptrend Analyzer

Overview

market-breadth-analyzer asks "is price above one moving average?" This skill asks a stricter question: is the stock in an established uptrend structure — price above its 50-day MA, and the 50-day MA itself above the 200-day MA. That two-part test (a well-known heuristic associated with Stan Weinstein's stage analysis, also used in CANSLIM/Minervini-style trend approaches) filters out stocks that are merely bouncing from a downtrend but haven't structurally turned yet.

Not financial advice. This is a descriptive screen over data you supply, not a buy signal.

When to use

  • คัดหุ้นที่อยู่ใน uptrend จริงๆ (ไม่ใช่แค่ราคาสูงกว่า MA เส้นเดียว)
  • Scoring what fraction of a watchlist/index is in a "stage 2" structure
  • Part of a market-regime or swing-candidate pre-screen (combine with a fundamental/technical screener like dividend-value-screener for the value side, or a breakout screener for the momentum side)

When NOT to use

  • The user wants a short-term momentum/breakout signal — this skill measures structural trend state, not entry timing
  • Only one moving average is available (no 50-day and 200-day both) — this test specifically needs both; use market-breadth-analyzer instead with whatever single MA is available

Core knowledge

Definition: price > 50-day MA AND 50-day MA > 200-day MA. Both legs matter — price above a declining or flat 50-day MA that hasn't yet crossed above the 200-day MA is typically still a base or early recovery, not an established uptrend by this definition.

This is one of several published trend-classification heuristics (Weinstein's four-stage model is the origin; CANSLIM and Minervini-style trend templates use variations with additional legs — e.g. price also above the 150-day MA, MAs in the correct order, price a meaningful distance above a 52-week low). This skill implements the simplified two-leg version; treat the result as a starting filter, not a complete trend-template screen.

Read the full file on GitHub · 51 lines

Files

What ships with it

1 file 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. 7d ago First seen · 51 lines · 121 tokens per session scan A 1c1782377b7b

Subscribe to this mod's changes

uptrend-analyzer is a skill published in the GitHub repository ntaffzii/Skill-Agents (4 stars, last pushed 5d ago), licensed MIT. It adds 121 tokens to every session and 887 once invoked, about $0.0006 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.