Compound for Openclaw

A professional CLI-based financial engine for calculating compound interest, investment growth, and savings goals.

xueyetianya
v1.0.0
Mar 19, 2026
0
983
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install compound

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install compound using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Compound?

Compound is a robust command-line financial tool designed to simplify complex wealth projections and investment planning. As part of the Openclaw Skills ecosystem, it provides developers and financial planners with a precise way to calculate growth using standard financial formulas, allowing for detailed analysis of principal, interest rates, and compounding frequencies.

Beyond simple math, this skill enables users to build full amortization schedules, compare different rate scenarios side-by-side, and visualize growth through ASCII charting. Whether you are planning long-term savings or comparing investment vehicles, Compound offers a structured, data-driven approach to financial decision-making.

Compound Use Cases

  • Planning long-term retirement savings or wealth accumulation based on monthly contributions.
  • Comparing multiple investment opportunities by viewing side-by-side interest rate scenarios.
  • Determining the exact interest rate required to reach a specific financial target within a set timeframe.
  • Generating detailed growth schedules to understand how interest accrues over the lifecycle of an investment.
  • Visualizing financial trajectories directly in the terminal using ASCII charts.

How Compound Works

  1. The user provides financial inputs such as principal, rate, and time via environment variables.
  2. The skill executes the specified command (e.g., calculate, compare, or goal) using Python-based financial logic.
  3. Calculation results are displayed in the terminal as formatted text, tables, or ASCII charts.
  4. Every operation is automatically logged as a JSONL record in the local user directory for persistent history.
  5. Users can export these records into CSV or JSON formats for external reporting and analysis.

Compound Setup

To integrate this tool into your Openclaw Skills library, ensure you have Python 3.8+ installed. Follow these steps to begin calculating:

# Example: Calculate growth for $10,000 at 7.5% interest over 20 years
PRINCIPAL=10000 RATE=7.5 YEARS=20 FREQUENCY=monthly bash scripts/script.sh calculate

# Example: View calculation history
LIMIT=10 SORT=date bash scripts/script.sh history

Compound Data Schema & Taxonomy

The skill maintains a structured data repository at ~/.compound/data.jsonl. Each entry follows this schema:

Field Description
id Unique identifier for the calculation
timestamp ISO 8601 creation time
type The command used (e.g., calculate, compare, goal)
params Dictionary of input variables used (Principal, Rate, etc.)
result Final output values including total interest and ending balance

Compound Advanced Features

  • Multi-scenario comparison: Use the compare command to evaluate up to 10 different interest rates simultaneously.
  • Reverse Goal Calculation: Determine required time or interest rates based on a specific target amount.
  • Data Persistence: Automatic JSONL logging allows for historical auditing of all financial projections.
  • Custom Exporting: Bridge terminal data with spreadsheets by exporting history to CSV or JSON formats.
  • Visual Analytics: Built-in ASCII charting with configurable height and width for terminal-based data visualization.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*