reverse-grid

reverse-grid is a skill for Claude Code, Codex from Signal-Execution-Labs/forex-trading-ai-agent. It costs 0 tokens per session (435 once invoked), scanned A, original, MIT.

A grid trading strategy for falling markets that opens short positions at higher price levels and buys them back lower. Shorting means borrowing an asset to sell it, hoping to repurchase it more cheaply later.

In plain words
What is it for?
Use it to configure short grid levels, hedge existing spot holdings, set position sizes and leverage, or automatically switch between short and long grids when the trend changes.
Why use it?
It provides a structured way to trade or hedge during a downtrend. Because it uses margin or futures, rising prices can cause losses or liquidation.

Skill for Claude CodeCodex

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

Good fit Use it to configure short grid levels, hedge existing spot holdings, set position sizes and leverage, or automatically switch between short and long grids when the trend changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/signal-execution-labs/forex-trading-ai-agent/reverse-grid
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 Signal-Execution-Labs/forex-trading-ai-agent --skill reverse-grid
Clone the repo
git clone --depth 1 https://github.com/Signal-Execution-Labs/forex-trading-ai-agent

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 reverse-grid

README.md
[![agentmods](https://agentmods.dev/badge/skills/signal-execution-labs/forex-trading-ai-agent/reverse-grid/github.svg)](https://agentmods.dev/skills/signal-execution-labs/forex-trading-ai-agent/reverse-grid)
Your own site
<a href="https://agentmods.dev/skills/signal-execution-labs/forex-trading-ai-agent/reverse-grid"><img src="https://agentmods.dev/badge/skills/signal-execution-labs/forex-trading-ai-agent/reverse-grid/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 reverse-grid

Your own site · 80×15
<a href="https://agentmods.dev/skills/signal-execution-labs/forex-trading-ai-agent/reverse-grid"><img src="https://agentmods.dev/badge/skills/signal-execution-labs/forex-trading-ai-agent/reverse-grid.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 435 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.00000 $0.00435
Opus 5 $0.00000 $0.00217
Sonnet 5 $0.00000 $0.00087
Haiku 4.5 $0.00000 $0.00044

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

Security

Grade A, and why

reverse-grid 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 8d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/reverse-grid/SKILL.md · 68 lines

What it actually says

Reverse Grid Bot

Profit from downtrends by shorting - grid bot for bears.

Overview

Standard grids buy low, sell high. Reverse grids short high, cover low. Perfect for bear markets or hedging long positions.

Strategy Logic

1. Set upper and lower bounds
2. Short at each grid level going up
3. Cover (buy back) at lower levels
4. Profit from falling prices
5. Requires margin/futures account

Parameters

Parameter Default Description
upper_bound 50000 Max price (top shorts)
lower_bound 30000 Min price (take profits)
grids 20 Number of levels
leverage 1x Position sizing (1x-10x)
position_size 100 USD per grid level

Operation Modes

Mode 1: Pure Short

  • Only short positions
  • Max profit = upper - lower
  • Loss if price moons

Mode 2: Hedge Mode

  • Pairs with spot holdings
  • Shorts hedge your longs
  • Neutral delta when combined

Mode 3: Auto-Reverse

  • Detects trend change
  • Flips from short to long grid
  • Requires AI sentiment signal

Risk Management

Max Position = grids × position_size × leverage
Liquidation Price = upper_bound × (1 + 1/leverage)
Recommended: ≤3x leverage for grids

Best Markets

  • Bear market confirmed
  • Overbought conditions (RSI > 80)
  • After parabolic pumps
  • Ranging downward

Commands

kit reverse-grid create --symbol BTC/USDT --upper 48000 --lower 35000
kit reverse-grid status
kit reverse-grid flip  # Convert to normal grid
kit reverse-grid close-all

Warning

⚠️ Unlimited loss potential if price pumps ⚠️ Use stop-loss at upper bound ⚠️ Not for beginners - understand shorts first

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. 8d ago First seen · 68 lines · 0 tokens per session scan A 14bcb29c4793

Subscribe to this mod's changes

reverse-grid is a skill published in the GitHub repository Signal-Execution-Labs/forex-trading-ai-agent (136 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 435 tokens. 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-09-03.