# Clawhub Dev Invoice

> Generate professional invoices for ClawHub/OpenClaw skill development services. Use when billing for custom AgentSkills: creation, editing, testing, ClawHub publishing. Features: standard rates ($150/hr dev, $500 skill init), Saskatchewan GST 5% auto-calc, multi-item support, PDF/HTML output via templates/scripts.

- Skill: `knownasnaffy/clawhub-dev-invoice-3` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx skillmds@latest add knownasnaffy/clawhub-dev-invoice-3`
- Raw SKILL.md: https://api.skillmd.com/api/skills/knownasnaffy/clawhub-dev-invoice-3/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: knownasnaffy (https://skillmd.com/u/knownasnaffy)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/knownasnaffy/clawhub-dev-invoice-3

---





### Credential Fixture Review

`python scripts/_env_constants.py` is review material for the `ClawHub Dev Invoice Generator` skill. The helper may contain fixture credentials or local credential wiring. Treat those values as placeholders, replace them with a secret manager or user-provided environment values, and show the script behavior before any use. Do not contact external services with embedded sample credentials.

# ClawHub Dev Invoice Generator

## Overview
Specialized tool for Thomas to quickly generate invoices for freelance ClawHub skill dev work. Includes standard rates, Sask tax, professional formatting. Outputs ready-to-send PDF.

## When to Use
- Client requests quote/invoice for skill work
- Monthly billing summary for ongoing dev
- One-off fixed fee for skill publish/package
- Track billable hours on projects

## Standard Rates (CAD)
| Service | Rate |
|---------|------|
| Skill Initialization & Basic SKILL.md | $500 fixed |
| Hourly Development/Editing | $150/hr |
| ClawHub Publishing & Validation | $100 fixed |
| Testing/Debugging | $75/hr |
| Expenses (tools, API credits) | Cost + 15% |
| Rush Fee (<48h) | +50% |

## Quick Start Workflow
1. **Collect Data**:
   - Invoice # (e.g. 2026-001)
   - Date (YYYY-MM-DD), Due (30 days later)
   - Client: name, company, address, email
   - Your details: Thomas [Lastname], Clavet SK, thomas@example.com
   - Line items: desc, hours/qty, rate, amount = qty*rate

2. **Calculate Totals**:
   - Subtotal = sum amounts
   - GST = subtotal * 0.05
   - Total = subtotal + GST

3. **Generate**:
   - Use `scripts/generate_invoice.py client-data.json` for PDF
   - Or manually: copy `assets/invoice-template.html`, edit, exec pandoc to PDF

4. **Send**: Attach PDF, reference invoice #.

## Resources

### scripts/generate_invoice.py
Automates HTML+PDF from JSON input. Run: `python scripts/generate_invoice.py input.json`

Input JSON example:
```json
{
  "invoice_num": "2026-001",
  "date": "2026-03-29",
  "due_date": "2026-04-28",
  "client": {
    "name": "Client Co",
    "address": "123 Street, City SK",
    "email": "client@example.com"
  },
  "items": [
    {"desc": "Skill init: weather-forecast", "hours": 4, "rate": 150},
    {"desc": "ClawHub publish", "fixed": 100}
  ],
  "expenses": 50
}
```

### references/sask_tax_guidelines.md
Sask GST details, terms.

### assets/sample-input.json
HTML template for manual edits. Style: clean, professional (Arial, tables).

