Mortgage Calculator
Calculate mortgage payments with equal-principal and equal-interest comparisons. Use when comparing loans, calculating payments, evaluating prepayment.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ckchzh/mortgage-calculatorMortgage Calculator
Multi-purpose utility tool for managing structured data entries related to mortgage and financial calculations. Add, list, search, remove, and export data items — all stored locally in a simple log-based format with full history tracking.
Commands
All commands are invoked via mortgage-calculator <command> [args].
| Command | Description |
|---|---|
run <args> | Execute the main function — logs and confirms execution of the specified operation |
config | Show the configuration file path ($DATA_DIR/config.json) |
status | Show current status (reports "ready" when the tool is operational) |
init | Initialize the data directory (creates the data folder if it doesn't exist) |
list | List all data entries from the data log file |
add <text> | Add a new dated entry to the data log (auto-prefixed with YYYY-MM-DD) |
remove <item> | Remove an entry and log the removal |
search <term> | Search the data log for a keyword (case-insensitive match via grep -i) |
export | Export all data from the data log to stdout |
info | Show current version number and data directory path |
help | Show the built-in help message with all available commands |
version | Print version string (mortgage-calculator v2.0.0) |
Data Storage
- Location:
~/.local/share/mortgage-calculator/(override withMORTGAGE_CALCULATOR_DIRenvironment variable, orXDG_DATA_HOME) - Data log:
data.log— stores all entries added viaadd, one per line, prefixed withYYYY-MM-DD - History:
history.log— every command execution is recorded with a timestamp (MM-DD HH:MM command: details) for auditing - Format: Plain text, one entry per line, human-readable
Requirements
- Bash 4+
- Standard Unix utilities (
date,grep,cat,echo) - No external dependencies, no API keys, no network access needed
When to Use
- Financial record keeping — Use
mortgage-calculator addto log mortgage-related events (payments made, rate changes, lender communications) and build a local history - Payment tracking — Record monthly payments, extra payments, or escrow changes with
add, then review the full log withlist - Comparison notes — Store notes from different loan scenarios or lender quotes using
add, thensearchto find specific terms or rates - Data export for spreadsheets — Use
mortgage-calculator exportto dump all entries to stdout and redirect to a file for import into Excel or Google Sheets - Automation and scripting — Integrate
mortgage-calculator addandmortgage-calculator exportinto shell scripts or cron jobs for automated financial logging workflows
Examples
# Initialize the data directory
mortgage-calculator init
# Add a mortgage payment record
mortgage-calculator add "Monthly payment: ¥4,235.00 — principal ¥2,100 + interest ¥2,135"
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ckchzh-mortgage-calculator": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
header
Header design reference — navigation patterns, sticky headers, responsive menus, accessibility. Use when designing website headers or implementing navigation components.
docker-helper
Dockerfile生成、docker-compose编排、命令速查、调试排错、镜像优化、仓库配置. Use when you need docker helper capabilities. Triggers on: docker helper.
rsyslog
RSyslog advanced system logging reference. RainerScript configuration, input/output modules (imtcp/imfile/omfwd/omelasticsearch), templates with property replacer, content-based filtering, TLS-encrypted remote logging, queue performance tuning, and debug troubleshooting.
Fitness Plan — Science-Based Training & Workout Auditor
Track workouts, calculate BMI/1RM, and access exercise science guides. 支持科学健身计划制定、BMI/最大力量计算及运动解剖学参考。Use when planning gym sessions, calculating macro needs, or auditing training splits.
pesticide
Pesticide management reference — chemical classes, application methods, IPM strategies, residue limits, safety protocols. Use when selecting pest control products, calculating spray rates, or managing pesticide compliance.