recovery-retrain-loop

recovery-retrain-loop is a skill for Claude Code, Codex from djblack1209-coder/OpenClaw-Bot. It costs 26 tokens per session (219 once invoked), scanned A, original, Apache-2.0.

A recovery process for trading systems whose results miss their target, suffer a drawdown, or develop negative expected returns.

In plain words
What is it for?
Separate market-condition problems from execution problems, analyze entries and exits, adjust trading rules, reduce risk, run paper tests, and relaunch with guardrails.
Why use it?
It turns poor performance into a structured review and reduces exposure while changes are tested.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Separate market-condition problems from execution problems, analyze entries and exits, adjust trading rules, reduce risk, run paper tests, and relaunch with guardrails.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/djblack1209-coder/openclaw-bot/recovery-retrain-loop
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 djblack1209-coder/OpenClaw-Bot --skill recovery-retrain-loop
Clone the repo
git clone --depth 1 https://github.com/djblack1209-coder/OpenClaw-Bot

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 recovery-retrain-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/djblack1209-coder/openclaw-bot/recovery-retrain-loop/github.svg)](https://agentmods.dev/skills/djblack1209-coder/openclaw-bot/recovery-retrain-loop)
Your own site
<a href="https://agentmods.dev/skills/djblack1209-coder/openclaw-bot/recovery-retrain-loop"><img src="https://agentmods.dev/badge/skills/djblack1209-coder/openclaw-bot/recovery-retrain-loop/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 recovery-retrain-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/djblack1209-coder/openclaw-bot/recovery-retrain-loop"><img src="https://agentmods.dev/badge/skills/djblack1209-coder/openclaw-bot/recovery-retrain-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 219 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.00026 $0.00219
Opus 5 $0.00013 $0.00110
Sonnet 5 $0.00005 $0.00044
Haiku 4.5 $0.00003 $0.00022

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

Security

Grade A, and why

recovery-retrain-loop 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.

apps/openclaw/skills/recovery-retrain-loop/SKILL.md · 36 lines

What it actually says

Recovery Retrain Loop

Use when performance is below target or when losses indicate regime mismatch.

Trigger conditions

  • Daily/weekly profit target miss.
  • Drawdown breach.
  • Strategy expectancy turns negative.

Loop

  1. Diagnose
    • Separate market regime issue vs execution issue.
  2. Decompose losses
    • Entry quality, exit quality, sizing, timing, risk leakage.
  3. Retrain rules
    • Remove weak patterns.
    • Reinforce high-expectancy patterns.
  4. Compress risk
    • Temporarily reduce exposure while validating updates.
  5. Validate
    • Dry-run or paper-run before full return to size.
  6. Relaunch
    • Resume only with explicit guardrails.

Language policy

  • Interpret "no profit = fail" as an operational urgency signal, not a reason to abandon risk discipline.
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 · 36 lines · 26 tokens per session scan A 3568b7d9aa3e

Subscribe to this mod's changes

recovery-retrain-loop is a skill published in the GitHub repository djblack1209-coder/OpenClaw-Bot (5 stars, last pushed 4d ago), licensed Apache-2.0. It adds 26 tokens to every session and 219 once invoked, about $0.0001 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

copilotkit-debug

Use when diagnosing CopilotKit issues -- runtime connectivity failures, agent not responding, streaming errors, tool execution problems, transcription failures, version mismatches, and AG-UI event tracing.

CopilotKit/CopilotKit · 42 tokens

copilotkit-agui

Use when building custom agent backends, implementing the AG-UI protocol, debugging streaming issues, or understanding how agents communicate with frontends. Covers event types, SSE transport, AbstractAgent/HttpAgent patterns, state synchronization, tool calls, and human-in-the-loop flows.

CopilotKit/CopilotKit · 61 tokens

inspector-workbench

Runs Inspector UI work on the standalone Threads state lab so the agent can see the overlay. Use when a CopilotKit employee asks an agent to fix, polish, add, or debug Inspector UI, chrome, panes, overlay actions, launcher, Home, Threads, Playground, Memory, or any visual behavior in @copilotkit/web-inspector. Don't…

CopilotKit/CopilotKit · 112 tokens

mcp-apps-builder

MANDATORY for ALL MCP server work - mcp-use framework best practices and patterns. READ THIS FIRST before any MCP server work, including: Creating new MCP servers Modifying existing MCP servers (adding/updating tools, resources, prompts, widgets) Debugging MCP server issues or errors Reviewing MCP server code for…

CopilotKit/CopilotKit · 139 tokens

triage

Operator-persona alert triage. Diagnose an alert plus curated database state into one short paragraph the brain dispatcher posts to the operator. Use when the firefighter service responds to a system alert.

Glad-Labs/poindexter · 40 tokens

react-stability

Prioritize hardening React UI components against runtime crashes across this scenario.

Vrooli/Vrooli · 0 tokens