← Back to Skills Marketplace
bytesagain3

Drawdown

by bytesagain3 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
163
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install drawdown
Description
Drawdown analysis reference — maximum drawdown, peak-to-trough, recovery time, risk metrics. Use when evaluating portfolio risk, stress-testing strategies, o...
README (SKILL.md)

Drawdown — Drawdown Analysis & Risk Measurement Reference

Quick-reference skill for understanding, calculating, and applying drawdown metrics in portfolio management and risk analysis.

When to Use

  • Measuring maximum drawdown of a portfolio or strategy
  • Comparing risk profiles of different investments
  • Setting stop-loss levels based on historical drawdowns
  • Stress-testing strategies against worst-case scenarios
  • Evaluating fund manager performance through drawdown lens

Commands

intro

scripts/script.sh intro

Overview of drawdown — definition, significance, and types.

calculate

scripts/script.sh calculate

How to calculate drawdown — formulas, step-by-step, and time series methods.

metrics

scripts/script.sh metrics

Key drawdown metrics — MDD, Calmar ratio, Ulcer Index, pain index.

historical

scripts/script.sh historical

Major historical drawdowns — market crashes, recovery timelines.

management

scripts/script.sh management

Drawdown management — position sizing, stop-losses, risk budgeting.

recovery

scripts/script.sh recovery

Recovery analysis — math of recovery, time to recover, asymmetry of losses.

comparison

scripts/script.sh comparison

Drawdown vs other risk measures — volatility, VaR, CVaR, Sortino.

examples

scripts/script.sh examples

Worked examples with calculations and strategy evaluation.

help

scripts/script.sh help

version

scripts/script.sh version

Configuration

Variable Description
DRAWDOWN_DIR Data directory (default: ~/.drawdown/)

Powered by BytesAgain | bytesagain.com | [email protected]

Usage Guidance
This skill appears to be a local reference that prints drawdown analysis guidance and examples — nothing in the provided files indicates network calls, credential use, or reading unrelated files. Before installing: (1) review the entire scripts/script.sh to confirm there are no hidden network calls, file writes, or shell execs beyond printing text (the provided excerpt was truncated), (2) if you will run it in an environment with sensitive data, ensure it runs in a sandbox or with limited privileges, and (3) if you expect the skill to read/write data, confirm what DRAWDOWN_DIR will contain and where it will write. If you can provide the full script.sh file (no truncation), I can raise confidence to high after rechecking.
Capability Analysis
Type: OpenClaw Skill Name: drawdown Version: 1.0.0 The 'drawdown' skill is a purely informational reference tool for financial risk analysis. The main script (scripts/script.sh) only outputs static educational content regarding drawdown metrics and historical market data using heredocs, with no network activity, file system modifications, or suspicious execution patterns.
Capability Assessment
Purpose & Capability
Name/description (drawdown analysis reference) match the code and SKILL.md: the skill provides documentation and examples for drawdown metrics and points to running scripts/script.sh subcommands to show content. There are no unexpected credentials, binaries, or platform requirements.
Instruction Scope
SKILL.md instructs the agent to run local commands (scripts/script.sh <command>) that correspond to the included script. The instructions only reference an optional DRAWDOWN_DIR config path and otherwise stay within the stated purpose (explanations, calculations, examples). There is no guidance to read arbitrary user files, search system state, or send data to external endpoints in the provided instructions.
Install Mechanism
No install spec is present (instruction-only + included script). Nothing is downloaded or extracted from external URLs and no package managers are invoked; risk from install mechanisms is minimal.
Credentials
The skill declares no required environment variables or credentials. SKILL.md documents a single optional DRAWDOWN_DIR for data storage, which is reasonable for a reference/example skill. The provided script content does not access environment secrets in the reviewed portion.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system-wide configuration in the provided files, and uses standard, local script execution. Autonomous invocation is allowed by platform default but is not unusual for this type of skill.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install drawdown
  3. After installation, invoke the skill by name or use /drawdown
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
publish v1.0.0
Metadata
Slug drawdown
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Drawdown?

Drawdown analysis reference — maximum drawdown, peak-to-trough, recovery time, risk metrics. Use when evaluating portfolio risk, stress-testing strategies, o... It is an AI Agent Skill for Claude Code / OpenClaw, with 163 downloads so far.

How do I install Drawdown?

Run "/install drawdown" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Drawdown free?

Yes, Drawdown is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Drawdown support?

Drawdown is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Drawdown?

It is built and maintained by bytesagain3 (@bytesagain3); the current version is v1.0.0.

💬 Comments