微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🏠

本地房贷日志管家,安全离线记录每一笔

Mortgage Calculator · v2.0.1
这个包缺安装入口,装上也不会生效 缺 SKILL.md 或 frontmatter 不完整(BAD_NAME)。我们仍保留下载,方便你自行查看内容。
专业技能 安全 S 级 作者 ckchzh 公开目录收录
1.1k 下载 0 安装 3.5k 收藏 10 浏览

简介

纯本地 Bash 工具,用于记录房贷相关事件、追踪还款与利率变动,支持搜索导出,无网络依赖,适合长期财务日志管理。

原始描述

Calculate mortgage payments with equal-principal and equal-interest comparisons. Use when comparing loans, calculating payments, evaluating prepayment.

通过你的 Agent 添加

安装目录:mortgage-calculator/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/mortgage-calculator/
Codex CLI~/.codex/skills/mortgage-calculator/
DeepSeek Harness~/.agents/skills/mortgage-calculator/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


version: "2.0.0" name: Mortgage Calculator description: "Calculate mortgage payments with equal-principal and equal-interest comparisons. Use when comparing loans, calculating payments, evaluating prepayment." author: BytesAgain homepage: https://bytesagain.com source: https://github.com/bytesagain/ai-skills

Mortgage 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 with MORTGAGE_CALCULATOR_DIR environment variable, or XDG_DATA_HOME)
  • Data log: data.log — stores all entries added via add, one per line, prefixed with YYYY-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

  1. Financial record keeping — Use mortgage-calculator add to log mortgage-related events (payments made, rate changes, lender communications) and build a local history
  2. Payment tracking — Record monthly payments, extra payments, or escrow changes with add, then review the full log with list
  3. Comparison notes — Store notes from different loan scenarios or lender quotes using add, then search to find specific terms or rates
  4. Data export for spreadsheets — Use mortgage-calculator export to dump all entries to stdout and redirect to a file for import into Excel or Google Sheets
  5. Automation and scripting — Integrate mortgage-calculator add and mortgage-calculator export into 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"

# Add a rate change note
mortgage-calculator add "Rate adjusted from 3.85% to 3.50% effective 2025-01-01"

# Add a prepayment record
mortgage-calculator add "Prepayment: ¥50,000 applied to principal, new balance ¥680,000"

# List all entries
mortgage-calculator list

# Search for entries about rate changes
mortgage-calculator search "rate"

# Search for prepayment records
mortgage-calculator search "prepayment"

# Export all data to a file
mortgage-calculator export > mortgage-history.txt

# Check current status
mortgage-calculator status

# Show version and data path
mortgage-calculator info

# Run a custom operation
mortgage-calculator run "quarterly review"

Output

All command output goes to stdout. Redirect to save:

mortgage-calculator list > all-records.txt
mortgage-calculator export > backup.txt

Configuration

Set the MORTGAGE_CALCULATOR_DIR environment variable to change the data directory:

export MORTGAGE_CALCULATOR_DIR="$HOME/my-mortgage-data"
mortgage-calculator init

Default location: ~/.local/share/mortgage-calculator/


Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

mortgagefinanceloggingbashlocal-storageprivacy-firstcli-tool

同类 Skill