lstm-price-prediction-guide

lstm-price-prediction-guide is a skill for Claude Code, Codex from nirholas/three.ws. It costs 48 tokens per session (1,640 once invoked), scanned A, original, Apache-2.0.

A guide to predicting cryptocurrency prices with LSTM neural networks, a type of machine-learning model designed for sequences of changing values.

In plain words
What is it for?
It is for preparing crypto time-series data, training and evaluating LSTM models, backtesting results, and serving predictions through an API or MCP.
Why use it?
It lays out the steps from collecting historical prices to testing and deploying a prediction model, including technical indicators and sentiment data.

Skill for Claude CodeCodex

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

Good fit It is for preparing crypto time-series data, training and evaluating LSTM models, backtesting results, and serving predictions through an API or MCP.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nirholas/three.ws/lstm-price-prediction-guide
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 nirholas/three.ws --skill lstm-price-prediction-guide
Clone the repo
git clone --depth 1 https://github.com/nirholas/three.ws

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 lstm-price-prediction-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/three.ws/lstm-price-prediction-guide/github.svg)](https://agentmods.dev/skills/nirholas/three.ws/lstm-price-prediction-guide)
Your own site
<a href="https://agentmods.dev/skills/nirholas/three.ws/lstm-price-prediction-guide"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/lstm-price-prediction-guide/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 lstm-price-prediction-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/nirholas/three.ws/lstm-price-prediction-guide"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/lstm-price-prediction-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,640 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00048 $0.01640
Opus 5.5 $0.00019 $0.00656
Sonnet 5.5 $0.00010 $0.00328
Haiku 4.5 $0.00005 $0.00164

Measured 1mo ago against content hash a8b9e1862000, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

lstm-price-prediction-guide 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 1mo 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.

data/skills/analysis/lstm-price-prediction-guide/SKILL.md · 190 lines

How it starts

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

LSTM Price Prediction Guide

A guide to building LSTM (Long Short-Term Memory) neural networks for cryptocurrency price prediction. Covers the full pipeline from data collection to model deployment.

Reference notebook

The companion repo is nirholas/lstm-bitcoin-prediction.ipynb, a single self-contained Jupyter notebook that predicts the daily BTC/USD close. It fetches 2000 daily candles from the public CryptoCompare histoday endpoint (no key), holds out the last 10% by time with no shuffling, builds overlapping 7-day windows normalised to each window's first entry, and trains a Keras Sequential of LSTM(20), Dropout(0.25), Dense(1) with MAE loss and Adam for 50 epochs at batch size 4 (np.random.seed(42)). It then plots actual against predicted prices and daily returns. The repo is proprietary (all rights reserved): read it, do not copy it. The deeper multi-feature pipeline below is a larger design than the notebook.

Pipeline Overview

Data Collection → Feature Engineering → Preprocessing → Model Training → Evaluation → Deployment
     │                    │                  │                │               │            │
 CoinGecko,         Indicators,         Normalize,       LSTM layers,    RMSE/MAE,    REST API
 Binance API      Sentiment, Volume     Sequence data    Dropout, Dense   Backtesting   or MCP

Data Collection

import pandas as pd
from cryptodatapy import DataRequest

# Fetch historical OHLCV data
dr = DataRequest(
    tickers=['BTC'],
    fields=['open', 'high', 'low', 'close', 'volume'],
    freq='1h',
    start_date='2023-01-01',
    source='binance'
)
data = dr.fetch()

Feature Engineering

Technical Indicators

import ta

def add_features(df):
    # Moving averages
    df['sma_7'] = ta.trend.sma_indicator(df['close'], window=7)
    df['sma_25'] = ta.trend.sma_indicator(df['close'], window=25)
    df['ema_12'] = ta.trend.ema_indicator(df['close'], window=12)
    
    # RSI
    df['rsi'] = ta.momentum.rsi(df['close'], window=14)
    
    # MACD
    macd = ta.trend.MACD(df['close'])
    df['macd'] = macd.macd()
    df['macd_signal'] = macd.macd_signal()
    
    # Bollinger Bands
    bb = ta.volatility.BollingerBands(df['close'])
    df['bb_upper'] = bb.bollinger_hband()
    df['bb_lower'] = bb.bollinger_lband()
    
    # Volume indicators
    df['volume_sma'] = df['volume'].rolling(window=20).mean()
    df['volume_ratio'] = df['volume'] / df['volume_sma']
    
    # Returns
    df['returns'] = df['close'].pct_change()
    df['log_returns'] = np.log(df['close'] / df['close'].shift(1))
    
    return df.dropna()

Read the full file on GitHub · 190 lines

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. 1mo ago Changed · +3 lines a8b9e1862000
  2. 3mo ago First seen · 187 lines · 48 tokens per session scan A 9cc11c93a61c

Subscribe to this mod's changes

lstm-price-prediction-guide is a skill published in the GitHub repository nirholas/three.ws (287 stars, last pushed yesterday), licensed Apache-2.0. It adds 48 tokens to every session and 1,640 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

lstm-price-prediction-guide compared with skills from other repositories

lstm-price-prediction-guide next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lstm-price-prediction-guidenirholas/three.wsSkill287yesterdayApache-2.0A48Claude Code, Codex
finlabkoreal6803/finlab-aiSkill4273d agononeA236Claude Code
pay-x402-servicenirholas/x402-payments-mcpSkill919d agoApache-2.0A51Claude Code
granite-pay-per-callnirholas/ibm-x402-mcpSkill919d agoApache-2.0A49Claude Code
opsai-capacity-costaws/tools-for-devops-agentSkill153yesterdayApache-2.0A229Claude Code, Codex
qiskit-machine-learningxi-zhao/OpenQuantumSkill75yesterdayMITA51Claude Code, Codex
crestapps-core-azure-ai-inferenceCrestApps/CrestApps.AgentSkillsSkill147d agoMITA173Claude Code