paycheck

Calculate salary breakdowns with taxes and deductions. Use when estimating take-home pay, checking withholdings, comparing deductions, analyzing components.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "paycheck" with this command: npx skills add ckchzh/paycheck

Paycheck

Paycheck v2.0.0 — a versatile utility toolkit for recording, tracking, and managing paycheck-related data entries across multiple categories. Each command logs timestamped entries to local files, supports searching, exporting in multiple formats, and reviewing activity history. All data is stored locally with no network access required.

Commands

CommandDescription
paycheck run <input>Record a run entry (no args: show recent run entries)
paycheck check <input>Record a check entry (no args: show recent check entries)
paycheck convert <input>Record a convert entry (no args: show recent convert entries)
paycheck analyze <input>Record an analyze entry (no args: show recent analyze entries)
paycheck generate <input>Record a generate entry (no args: show recent generate entries)
paycheck preview <input>Record a preview entry (no args: show recent preview entries)
paycheck batch <input>Record a batch entry (no args: show recent batch entries)
paycheck compare <input>Record a compare entry (no args: show recent compare entries)
paycheck export <input>Record an export entry (no args: show recent export entries)
paycheck config <input>Record a config entry (no args: show recent config entries)
paycheck status <input>Record a status entry (no args: show recent status entries)
paycheck report <input>Record a report entry (no args: show recent report entries)
paycheck statsShow summary statistics across all log files
paycheck search <term>Search all entries for a keyword (case-insensitive)
paycheck recentShow the 20 most recent history entries
paycheck helpShow usage information
paycheck versionShow version (v2.0.0)

Note: The script also has utility-level _export <fmt> (json/csv/txt) and _status (health check) functions accessible via the helper paths in the case statement.

Data Storage

All data is stored locally in ~/.local/share/paycheck/:

  • {command}.log — One file per command (e.g., run.log, check.log, analyze.log, convert.log). Each line is timestamp|value.
  • history.log — Unified activity log with timestamps for every recorded action.
  • export.{json|csv|txt} — Generated export files when using the utility-level export:
    • JSON — Array of {type, time, value} objects
    • CSV — Header row type,time,value followed by data rows
    • TXT — Sections grouped by command name with all entries

The stats command reads all .log files and reports per-file entry counts, total count, and disk usage. The search command performs case-insensitive grep across all log files and displays matches grouped by category.

Requirements

  • bash 4+ (uses local, set -euo pipefail)
  • Standard POSIX utilities: date, wc, du, tail, head, grep, sed, basename, cut, cat
  • No external dependencies, no API keys, no network access

When to Use

  1. Logging paycheck calculations — Record each salary computation with paycheck run <description> to maintain a timestamped audit trail of pay calculations.
  2. Tracking pay comparisons — Use paycheck compare <details> to log side-by-side comparisons of different pay structures, tax brackets, or benefit options.
  3. Analyzing deductions — Record analysis entries with paycheck analyze <breakdown> to document detailed deduction reviews for each pay period.
  4. Generating payroll reports — Use paycheck report <summary> to log periodic payroll summaries, then paycheck search to find specific entries later.
  5. Exporting pay records — Use paycheck stats for a quick summary of all recorded entries, or the utility-level export to generate JSON/CSV/TXT files for external use.

Examples

# Record a paycheck run entry
paycheck run "Monthly salary: gross 15000, tax 2250, insurance 1500, net 11250"
#   [Paycheck] run: Monthly salary: gross 15000, tax 2250, insurance 1500, net 11250
#   Saved. Total run entries: 1

# View recent run entries (no arguments)
paycheck run
# Recent run entries:
#   2025-03-18 10:00|Monthly salary: gross 15000, tax 2250, insurance 1500, net 11250

# Record an analyze entry for deduction breakdown
paycheck analyze "Q1 average deductions: federal 15%, state 5%, 401k 6%, health 3%"
#   [Paycheck] analyze: Q1 average deductions...
#   Saved. Total analyze entries: 1

# Compare two pay structures
paycheck compare "Offer A: 120k base + 10k bonus vs Offer B: 110k base + 20k bonus"

# Search all entries for a keyword
paycheck search "bonus"
# Searching for: bonus
#   --- compare ---
#     2025-03-18 10:15|Offer A: 120k base + 10k bonus vs Offer B: 110k base + 20k bonus

# View summary statistics
paycheck stats
# === Paycheck Stats ===
#   run: 1 entries
#   analyze: 1 entries
#   compare: 1 entries
#   ---
#   Total: 3 entries
#   Data size: 4.0K

# Show recent activity from the unified history log
paycheck recent
# === Recent Activity ===
#   03-18 10:00 run: Monthly salary: gross 15000...
#   03-18 10:05 analyze: Q1 average deductions...
#   03-18 10:15 compare: Offer A vs Offer B...

Output

All results are printed to stdout. Every action that records data also appends to history.log for unified tracking. Redirect output with paycheck <command> > output.txt if needed.

Configuration

The data directory defaults to ~/.local/share/paycheck/. It is created automatically on first run.


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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

openclaw2backup

一键备份和恢复 OpenClaw 工作空间、Skills 及配置,支持快速和完整备份、选择性恢复及备份管理。

Registry SourceRecently Updated
2230Profile unavailable
General

OpenClaw Session Model Switcher

Instantly switch the current OpenClaw session model; supports gpt, claude, qianwen, minimax, current model status, configured model listing, and restoring th...

Registry SourceRecently Updated
3011Profile unavailable
General

QWeather China

基于中国气象局数据的完整天气服务,通过和风天气API提供实时天气、天气预报、生活指数、空气质量等全方位天气信息。专为中国用户优化,数据更准确,功能更全面。

Registry SourceRecently Updated
3820Profile unavailable
General

Token Optimizer Pro

Monitor OpenClaw token usage, analyze usage patterns, estimate cost, and provide practical optimization suggestions. Use when reviewing token consumption by...

Registry SourceRecently Updated
9190Profile unavailable