Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Learn From Losses

ASecurity

Post-trade review — pull losing trades from the strategy tester, screenshot each entry in context, and cluster common failure patterns. Use when the user asks "why am I losing?", "review my losses", or "what's wrong with my strategy?".

6 stars
0 votes
0 copies
0 views
Added 9/20/2026
business

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add FerroxLabs/murage --skill learn-from-losses --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Learn From Losses?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Learn From Losses
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ferroxlabs-learn-from-losses-murage/badge)](https://www.skillsdirectory.com/skills/ferroxlabs-learn-from-losses-murage)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: learn-from-losses
description: Post-trade review — pull losing trades from the strategy tester, screenshot each entry in context, and cluster common failure patterns. Use when the user asks "why am I losing?", "review my losses", or "what's wrong with my strategy?".
license: MIT
---

# Learn From Losses

You are running a post-trade forensic review to identify patterns in losing trades.

## Step 1: Pull Trade History

1. `data_get_trades` — fetch trade log from the active strategy (capped 20 per request; paginate if needed)
2. Filter to losses only: `pnl < 0`
3. Sort by `abs(pnl)` descending — biggest losses first, these teach the most

If the strategy tester isn't open: `ui_open_panel` with `panel: "strategy-tester"` first.

## Step 2: Set Up Review Chart

1. `chart_get_state` — confirm symbol/timeframe match the strategy run
2. Optionally `state_snapshot` current chart state with tag `pre-review` so you can restore cleanly at the end
3. Add context indicators if missing (e.g., EMA200 for trend, ATR for volatility):
   - `chart_manage_indicator` add "Moving Average Exponential" (length 200)
   - `chart_manage_indicator` add "Average True Range"

## Step 3: Walk Each Loss

For each losing trade (limit to top 10 by size to stay focused):

1. `chart_scroll_to_date` — jump to the entry bar (ISO date from the trade record)
2. `chart_set_visible_range` — zoom to ~50 bars around the entry for context
3. `draw_shape` with `horizontal_line` at entry price (label "E")
4. `draw_shape` with `horizontal_line` at stop price (label "SL")
5. `draw_shape` with `horizontal_line` at exit price (label "X")
6. `capture_screenshot` — save the annotated context

Example — reviewing a $ES1!` long that stopped out:

```
chart_scroll_to_date({ date: "2025-03-14T09:45:00" })
chart_set_visible_range({ ... ~50 bars ... })
draw_shape({ type: "horizontal_line", point: { price: 5812.50 }, text: "E" })
draw_shape({ type: "horizontal_line", point: { price: 5805.00 }, text: "SL" })
capture_screenshot()
```

If `CHART_LOADING` errors fire between scrolls, wait 1s and retry.

## Step 4: Read Each Context

For each loss, pull the state at entry:

1. `data_get_study_values` — what were RSI, MACD, EMA readings saying at entry?
2. `data_get_pine_labels` with `study_filter` — any "Bias" or "Regime" label on that bar?
3. `data_get_ohlcv` with `summary: true, count: 20` — recent price action leading in

Collect into a per-trade record: `{date, side, entry_regime, rsi, trend_vs_ema200, atr_multiple_of_sl, outcome}`.

## Step 5: Cluster Patterns

Look for recurring failure modes across the loss set:

- **Counter-trend entries** — longs taken below EMA200 (or vice versa)
- **Overbought/oversold shorts/longs** — RSI > 70 on longs, < 30 on shorts
- **Tight stops in high vol** — SL < 1 ATR when ATR is elevated
- **Chop zone trades** — entries inside a recently flat range
- **News/session edge** — clustering around open, close, or pre-economic releases

Count frequencies. A pattern that appears in 6 of 10 losses is a real leak.

## Step 6: Report

Produce a structured writeup:

- **Top 3 failure patterns** with counts (e.g., "Counter-trend longs: 5/10, avg -$180")
- **Specific rule violations** (e.g., "40% of losses taken below EMA200 — rule says longs only above")
- **Screenshot references** for the 2-3 most illustrative examples
- **Concrete filter proposals** — e.g., "Add `close > ema200` gate; would have skipped 4 losses totaling -$620"

## Cleanup

- `draw_clear` — remove all the E/SL/X markers
- `state_restore` with the `pre-review` snapshot id to return to the prior layout
- Offer to codify the proposed filter into the Pine strategy (hand off to the `pine-develop` skill)

Attribution

FerroxLabsFerroxLabs
View sourceMore from FerroxLabs →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Solution Architect

Designs system architecture, component specifications, and technical integration strategy. Use when: designing solutions, system architecture, technology stack, or integration approaches.

192 votes

Akorchak:Venture Assessment

Generate a comprehensive VC investment assessment report for a company

72 votes

Stock Analysis

Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management (create, add, remove assets), crypto analysis (Top 20 by market cap), and periodic performance reports (daily/weekly/monthly/quarterly/yearly). 8 analysis dimensions for stocks, 3 for crypto. Use for stock analysis, portfolio tracking, earnings reactions, or crypto monitoring.

6511 votes

Just Fucking Cancel

Find and cancel unwanted subscriptions by analyzing bank transactions. Detects recurring charges, calculates annual waste, and helps you cancel with direct URLs and browser automation. Use when: 'cancel subscriptions', 'audit subscriptions', 'find recurring charges', 'what am I paying for', 'save money', 'subscription cleanup', 'stop wasting money'. Supports CSV import (Apple Card, Chase, Amex, Citi, Bank of America, Capital One, Mint, Copilot) OR Plaid API for automatic transaction pull. Out...

6511 votes

Telegram Compose

Compose rich, readable Telegram messages using HTML formatting via direct Telegram API. Use when: (1) Sending any Telegram message beyond a simple one-line reply, (2) Creating structured messages with sections, lists, or status updates, (3) Need formatting unavailable via Clawdbot's Markdown conversion (underline, spoilers, expandable blockquotes, user mentions by ID), (4) Sending alerts, reports, summaries, or notifications to Telegram, (5) Want professional, scannable message formatting wit...

6511 votes
View all in business →