cashclaw 1.0.2 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,66 @@
1
+ # Changelog
2
+
3
+ ## [1.2.0] - 2026-03-15
4
+
5
+ ### Added
6
+ - **5 New Skills** — Email Outreach ($9-$29), Competitor Analyzer ($19-$49), Landing Page ($15-$39), Data Scraper ($9-$25), Reputation Manager ($19-$49). CashClaw now ships with 12 revenue-generating skills.
7
+ - 10 new mission templates for the new skills (basic + pro tiers each).
8
+ - Environment variable support: `CASHCLAW_STRIPE_SECRET_KEY` as alternative to config file.
9
+ - Corrupted mission file warnings (previously silently skipped).
10
+ - Shared version helper (`src/utils/version.js`) for consistent version display.
11
+
12
+ ### Fixed
13
+ - **Cancel status log bug** — Mission cancel audit trail now correctly shows the previous status instead of always logging "was: cancelled".
14
+ - **Short ID collision** — Multiple missions sharing the same ID prefix now show an ambiguous match warning instead of silently picking the first match.
15
+ - **Hardcoded versions** — All hardcoded version strings throughout the codebase now dynamically read from `package.json`.
16
+
17
+ ### Security
18
+ - **CORS restriction** — Dashboard API now restricts CORS to localhost origins. Agents and curl still work (no Origin header = no restriction).
19
+ - **Config API protection** — `POST /api/config` now blocks modification of sensitive keys (`stripe.secret_key`, `stripe.webhook_secret`).
20
+ - **Prototype pollution guard** — Config key traversal (both CLI and API) now rejects `__proto__`, `constructor`, and `prototype` keys.
21
+
22
+ ### Changed
23
+ - Default config now includes 10 service types (up from 5).
24
+ - Init wizard now offers 10 services for selection.
25
+ - Dashboard HTML version updated to v1.2.0 with dynamic version from health API.
26
+ - HYRVEai User-Agent header now reads version from package.json.
27
+ - Test suite expanded with version, security, and new skill tests.
28
+
29
+ ### Why This Release
30
+ CashClaw agents need more ways to earn. Five new skills expand the service catalog from 7 to 12 while security hardening protects the dashboard API — all without breaking autonomous agent operation. Every security change preserves agent bot compatibility.
31
+
32
+ ## [1.1.0] - 2026-03-14
33
+
34
+ ### Added
35
+ - **Mission Audit Trail** — Every mission step is now logged with timestamps. What was requested, what was delivered, and the full output trail. No invoice goes out without proof.
36
+ - `cashclaw missions trail <id>` — View the formatted audit trail for any mission in the terminal.
37
+ - `cashclaw missions export <id>` — Export mission proof as a markdown file for client disputes or record-keeping.
38
+ - `GET /api/missions/:id/trail` — Dashboard API endpoint returning the audit trail as JSON.
39
+
40
+ ### Changed
41
+ - Mission objects now include an `audit_trail` array tracking all state changes.
42
+ - All mission lifecycle functions (create, start, complete, cancel, step update) log trail entries automatically.
43
+ - Dashboard health endpoint now reports version `1.1.0`.
44
+ - Updated package description to mention audit trails.
45
+
46
+ ### Why This Release
47
+ Community feedback was clear: *"Without proof of actual work done, the invoice becomes negotiation."* Mission Audit Trail solves this. Every step is timestamped. Every deliverable is tracked. Dispute resolution and a work proof dashboard are on the roadmap.
48
+
49
+ ## [1.0.2] - 2026-03-10
50
+
51
+ ### Fixed
52
+ - CLI minor fixes and dependency updates.
53
+
54
+ ## [1.0.1] - 2026-03-07
55
+
56
+ ### Fixed
57
+ - Init wizard improvements and error handling.
58
+
59
+ ## [1.0.0] - 2026-03-01
60
+
61
+ ### Added
62
+ - Initial release with 7 built-in skills.
63
+ - Stripe payment integration.
64
+ - HYRVEai marketplace support.
65
+ - Web dashboard on port 3847.
66
+ - Mission lifecycle management.
package/README.md CHANGED
@@ -53,7 +53,7 @@ That is it. CashClaw will:
53
53
  1. Create your `~/.cashclaw/` workspace
54
54
  2. Set up the mission pipeline
55
55
  3. Connect to Stripe (optional, you can add it later)
56
- 4. Install all 7 skills into your OpenClaw agent
56
+ 4. Install all 12 skills into your OpenClaw agent
57
57
  5. Print your first dashboard
58
58
 
59
59
  ```bash
@@ -76,7 +76,7 @@ cashclaw audit --url "https://your-client.com" --tier standard
76
76
  +------------------+ +---------------------+ +------------------+
77
77
  | | | | | |
78
78
  | OpenClaw |---->| CashClaw Skills |---->| CashClaw Engine |
79
- | (Your Agent) | | (7 skill packs) | | (Orchestrator) |
79
+ | (Your Agent) | | (12 skill packs) | | (Orchestrator) |
80
80
  | | | | | |
81
81
  +------------------+ +---------------------+ +--------+---------+
82
82
  |
@@ -100,11 +100,43 @@ cashclaw audit --url "https://your-client.com" --tier standard
100
100
  | Layer | What It Does |
101
101
  |-------|-------------|
102
102
  | **OpenClaw** | Your AI agent runtime. Reads SKILL.md files, executes instructions. |
103
- | **CashClaw Skills** | 7 specialized skill packs (SEO, content, leads, invoicing, etc.). |
103
+ | **CashClaw Skills** | 12 specialized skill packs (SEO, content, leads, email outreach, competitor analysis, landing pages, data scraping, reputation management, invoicing, etc.). |
104
104
  | **CashClaw Engine** | The `cashclaw-core` skill that orchestrates the mission lifecycle. |
105
105
  | **Stripe** | Payment processing. Invoices, payment links, subscriptions, refunds. |
106
106
  | **HYRVEai** | Optional marketplace where clients discover and hire CashClaw agents. |
107
107
 
108
+ ## Mission Audit Trail
109
+
110
+ Every mission is logged end-to-end. No invoice goes out without proof.
111
+
112
+ ```
113
+ MISSION-20260314-021 SEO Audit (Standard) $29
114
+
115
+ Step 1 ✓ Request received 14:02:11 "Full SEO audit for techstartup.io"
116
+ Step 2 ✓ Crawl completed 14:02:34 247 pages scanned
117
+ Step 3 ✓ Analysis generated 14:03:12 report.md (2,847 words)
118
+ Step 4 ✓ Report delivered 14:03:15 Sent to client@acme.com
119
+ Step 5 ✓ Invoice created 14:03:16 INV-0047 via Stripe
120
+ Step 6 ◯ Payment pending -- Due Mar 21
121
+ ```
122
+
123
+ Your agent doesn't just send a number. It sends:
124
+ - **What was requested** — original brief, scope, deliverables
125
+ - **What was delivered** — output files, word counts, data points
126
+ - **Time + output trail** — every step timestamped and logged
127
+
128
+ ```bash
129
+ # View audit trail for any mission
130
+ cashclaw mission MISSION-20260314-021 --trail
131
+
132
+ # Export proof for client disputes
133
+ cashclaw mission MISSION-20260314-021 --export proof.pdf
134
+ ```
135
+
136
+ Timeline-first. Invoice is just the closing handshake.
137
+
138
+ > *Dispute resolution + work proof dashboard is on the roadmap. [Star the repo](https://github.com/ertugrulakben/cashclaw) to see it ship faster.*
139
+
108
140
  ## Available Services
109
141
 
110
142
  Every service has transparent, fixed pricing. No hourly rates. No surprises.
@@ -123,6 +155,16 @@ Every service has transparent, fixed pricing. No hourly rates. No surprises.
123
155
  | Social Media (1 platform) | `cashclaw-social-media` | $9/wk | -- | -- |
124
156
  | Social Media (3 platforms) | `cashclaw-social-media` | -- | $19/wk | -- |
125
157
  | Social Media (Full) | `cashclaw-social-media` | -- | -- | $49/mo |
158
+ | Email Outreach (3-seq) | `cashclaw-email-outreach` | $9 | -- | -- |
159
+ | Email Outreach (7-seq) | `cashclaw-email-outreach` | -- | $19 | $29 |
160
+ | Competitor Analysis (1) | `cashclaw-competitor-analyzer` | $19 | -- | -- |
161
+ | Competitor Analysis (5) | `cashclaw-competitor-analyzer` | -- | $35 | $49 |
162
+ | Landing Page (Copy) | `cashclaw-landing-page` | $15 | -- | -- |
163
+ | Landing Page (HTML+Copy) | `cashclaw-landing-page` | -- | $29 | $39 |
164
+ | Data Scraping (50 records) | `cashclaw-data-scraper` | $9 | -- | -- |
165
+ | Data Scraping (500 records) | `cashclaw-data-scraper` | -- | $19 | $25 |
166
+ | Reputation Audit | `cashclaw-reputation-manager` | $19 | -- | -- |
167
+ | Reputation Monthly | `cashclaw-reputation-manager` | -- | $35 | $49 |
126
168
 
127
169
  **Custom packages available.** Combine services or request enterprise pricing.
128
170
 
@@ -192,6 +234,26 @@ cashclaw invoice --list --status unpaid
192
234
  cashclaw invoice --remind --overdue
193
235
  cashclaw invoice --refund --invoice "in_xxxxx"
194
236
 
237
+ # Email Outreach
238
+ cashclaw outreach --icp "saas founders" --sequence 3 --tier basic
239
+ cashclaw outreach --icp "ecommerce" --sequence 7 --tier pro
240
+
241
+ # Competitor Analysis
242
+ cashclaw compete --target "competitor.com" --tier basic
243
+ cashclaw compete --targets "a.com,b.com,c.com" --tier pro --output report.md
244
+
245
+ # Landing Page
246
+ cashclaw landing --product "AI SaaS" --tier standard
247
+ cashclaw landing --product "Mobile App" --tier pro --ab-test
248
+
249
+ # Data Scraping
250
+ cashclaw scrape --source "https://example.com/products" --count 50
251
+ cashclaw scrape --sources "url1,url2" --count 500 --enrich --output data.csv
252
+
253
+ # Reputation Management
254
+ cashclaw reputation --brand "MyBrand" --tier basic
255
+ cashclaw reputation --brand "MyBrand" --tier pro --respond
256
+
195
257
  # Configuration
196
258
  cashclaw config # Show current config
197
259
  cashclaw config --stripe-key # Set Stripe API key
@@ -240,6 +302,11 @@ cashclaw/
240
302
  cashclaw-whatsapp-manager/ # WhatsApp automation skill
241
303
  cashclaw-social-media/ # Social media management skill
242
304
  cashclaw-invoicer/ # Stripe payment skill + scripts
305
+ cashclaw-email-outreach/ # Cold email sequence skill
306
+ cashclaw-competitor-analyzer/ # Competitor analysis skill
307
+ cashclaw-landing-page/ # Landing page copy + HTML skill
308
+ cashclaw-data-scraper/ # Web data extraction skill
309
+ cashclaw-reputation-manager/ # Online reputation skill
243
310
  templates/ # Message and report templates
244
311
  missions/ # Example mission files
245
312
  tests/ # Test suite
@@ -0,0 +1,19 @@
1
+ {
2
+ "template": "competitor-analysis-basic",
3
+ "service_type": "competitor-analysis",
4
+ "tier": "basic",
5
+ "name": "Basic Competitor Analysis",
6
+ "description": "Deep-dive analysis of a single competitor covering their product offering, pricing, online presence, strengths, weaknesses, and key takeaways for your positioning.",
7
+ "default_price_usd": 19,
8
+ "estimated_hours": 4,
9
+ "skills_required": ["cashclaw-competitor-analyzer"],
10
+ "deliverables": ["competitor-report.html", "swot-summary.json"],
11
+ "steps": [
12
+ "Identify and verify competitor domain, products, and key pages",
13
+ "Analyze competitor pricing model, feature set, and value proposition",
14
+ "Audit their online presence including website, social profiles, and reviews",
15
+ "Perform SWOT analysis with strengths, weaknesses, opportunities, and threats",
16
+ "Identify gaps and positioning opportunities for your business",
17
+ "Generate HTML report with findings and strategic recommendations"
18
+ ]
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "template": "competitor-analysis-pro",
3
+ "service_type": "competitor-analysis",
4
+ "tier": "pro",
5
+ "name": "Pro Competitor Analysis",
6
+ "description": "Comprehensive analysis of up to 5 competitors with a full market map, feature comparison matrix, pricing benchmark, traffic estimates, and strategic positioning recommendations.",
7
+ "default_price_usd": 49,
8
+ "estimated_hours": 12,
9
+ "skills_required": ["cashclaw-competitor-analyzer"],
10
+ "deliverables": ["market-map.html", "competitor-matrix.csv", "feature-comparison.json", "positioning-report.html"],
11
+ "steps": [
12
+ "Research and profile up to 5 competitors across product, pricing, and audience",
13
+ "Build feature-by-feature comparison matrix with scoring",
14
+ "Analyze each competitor's traffic sources, SEO keywords, and ad strategy",
15
+ "Create visual market map plotting competitors by price and feature depth",
16
+ "Benchmark pricing tiers and identify underserved market segments",
17
+ "Generate comprehensive report with positioning strategy and actionable next steps"
18
+ ]
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "template": "data-scrape-basic",
3
+ "service_type": "data-scrape",
4
+ "tier": "basic",
5
+ "name": "Basic Data Scrape",
6
+ "description": "Extract up to 50 structured records from a single source. Includes data cleaning, deduplication, and export in CSV format. Ideal for quick lead lists or product catalogs.",
7
+ "default_price_usd": 9,
8
+ "estimated_hours": 2,
9
+ "skills_required": ["cashclaw-data-scraper"],
10
+ "deliverables": ["scraped-data.csv", "scrape-summary.json"],
11
+ "steps": [
12
+ "Validate target source URL and identify data structure",
13
+ "Configure scraper for target fields and pagination pattern",
14
+ "Extract up to 50 records with error handling and retries",
15
+ "Clean and normalize extracted data, remove duplicates",
16
+ "Export results as structured CSV with column headers",
17
+ "Generate scrape summary with record count and quality metrics"
18
+ ]
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "template": "data-scrape-pro",
3
+ "service_type": "data-scrape",
4
+ "tier": "pro",
5
+ "name": "Pro Data Scrape",
6
+ "description": "Multi-source scraping of up to 500 records with cross-source deduplication, data enrichment (email, phone, LinkedIn), and export in CSV and JSON. Built for serious lead generation and market research.",
7
+ "default_price_usd": 25,
8
+ "estimated_hours": 6,
9
+ "skills_required": ["cashclaw-data-scraper"],
10
+ "deliverables": ["scraped-data.csv", "scraped-data.json", "enrichment-report.json", "scrape-summary.json"],
11
+ "steps": [
12
+ "Map multiple target sources and define unified data schema",
13
+ "Configure scrapers for each source with field mapping and pagination",
14
+ "Extract up to 500 records across all sources with parallel processing",
15
+ "Cross-source deduplication and record merging by matching keys",
16
+ "Enrich records with additional contact data, social profiles, and verification",
17
+ "Export clean dataset in CSV and JSON with enrichment quality report"
18
+ ]
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "template": "email-outreach-basic",
3
+ "service_type": "email-outreach",
4
+ "tier": "basic",
5
+ "name": "Basic Email Outreach",
6
+ "description": "3-email cold outreach sequence with personalized subject lines, body copy, and clear CTAs. Ideal for quick lead generation campaigns targeting a single audience segment.",
7
+ "default_price_usd": 9,
8
+ "estimated_hours": 2,
9
+ "skills_required": ["cashclaw-email-outreach"],
10
+ "deliverables": ["outreach-sequence.json", "email-templates.html"],
11
+ "steps": [
12
+ "Analyze target audience and define outreach persona",
13
+ "Write initial cold email with personalized subject line and hook",
14
+ "Create follow-up email #2 with value-add angle",
15
+ "Write final email #3 with urgency-based CTA",
16
+ "Review sequence for spam trigger words and deliverability",
17
+ "Export formatted email templates ready for sending"
18
+ ]
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "template": "email-outreach-pro",
3
+ "service_type": "email-outreach",
4
+ "tier": "pro",
5
+ "name": "Pro Email Outreach",
6
+ "description": "Full 7-email outreach sequence with A/B subject line variants, conditional follow-up branches, and performance tracking hooks. Covers multiple audience segments with tailored messaging.",
7
+ "default_price_usd": 29,
8
+ "estimated_hours": 8,
9
+ "skills_required": ["cashclaw-email-outreach"],
10
+ "deliverables": ["outreach-sequence-full.json", "email-templates.html", "ab-test-variants.json", "follow-up-logic.json"],
11
+ "steps": [
12
+ "Research target segments and build detailed outreach personas",
13
+ "Write 7-email sequence covering intro, value, proof, urgency, and breakup stages",
14
+ "Create A/B variants for subject lines and opening hooks",
15
+ "Design conditional follow-up branches based on open and reply signals",
16
+ "Optimize all copy for spam score and deliverability best practices",
17
+ "Export complete sequence with merge tags and tracking placeholders"
18
+ ]
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "template": "landing-page-basic",
3
+ "service_type": "landing-page",
4
+ "tier": "basic",
5
+ "name": "Basic Landing Page Copy",
6
+ "description": "Conversion-focused landing page copy including headline, subheadline, feature sections, social proof block, and a strong call-to-action. Text only, ready for your designer.",
7
+ "default_price_usd": 15,
8
+ "estimated_hours": 3,
9
+ "skills_required": ["cashclaw-landing-page"],
10
+ "deliverables": ["landing-page-copy.json", "copy-guidelines.txt"],
11
+ "steps": [
12
+ "Gather product details, target audience, and unique selling proposition",
13
+ "Write attention-grabbing headline and supporting subheadline",
14
+ "Create feature/benefit sections with concise persuasive copy",
15
+ "Draft social proof block with testimonial and trust signal placeholders",
16
+ "Write primary and secondary call-to-action copy",
17
+ "Export structured copy document with section labels and placement notes"
18
+ ]
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "template": "landing-page-pro",
3
+ "service_type": "landing-page",
4
+ "tier": "pro",
5
+ "name": "Pro Landing Page",
6
+ "description": "Complete landing page delivery with conversion-optimized copy, responsive HTML/CSS build, and two A/B variant layouts for split testing. Includes hero, features, testimonials, FAQ, and CTA sections.",
7
+ "default_price_usd": 39,
8
+ "estimated_hours": 8,
9
+ "skills_required": ["cashclaw-landing-page"],
10
+ "deliverables": ["landing-page-a.html", "landing-page-b.html", "copy-variants.json", "assets-guide.txt"],
11
+ "steps": [
12
+ "Research target audience pain points and map conversion journey",
13
+ "Write full-page copy covering hero, features, proof, FAQ, and CTA sections",
14
+ "Build responsive HTML/CSS landing page with clean semantic markup",
15
+ "Create A/B variant with alternate headline, layout order, and CTA placement",
16
+ "Optimize for page load speed and mobile responsiveness",
17
+ "Export both HTML variants with copy variant mapping and asset guidelines"
18
+ ]
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "template": "reputation-audit",
3
+ "service_type": "reputation-management",
4
+ "tier": "basic",
5
+ "name": "Reputation Audit",
6
+ "description": "One-time reputation audit covering review platforms, social mentions, and sentiment analysis. Delivers a score-based report with risk areas highlighted and actionable improvement steps.",
7
+ "default_price_usd": 19,
8
+ "estimated_hours": 4,
9
+ "skills_required": ["cashclaw-reputation-manager"],
10
+ "deliverables": ["reputation-report.html", "sentiment-analysis.json", "review-summary.csv"],
11
+ "steps": [
12
+ "Scan major review platforms for brand mentions and ratings",
13
+ "Collect social media mentions and public comments",
14
+ "Run sentiment analysis on all collected reviews and mentions",
15
+ "Calculate overall reputation score and identify risk areas",
16
+ "Generate HTML report with sentiment breakdown and priority issues",
17
+ "Provide actionable recommendations for reputation improvement"
18
+ ]
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "template": "reputation-monthly",
3
+ "service_type": "reputation-management",
4
+ "tier": "pro",
5
+ "name": "Monthly Reputation Monitoring",
6
+ "description": "Ongoing monthly reputation monitoring with continuous review tracking, sentiment trend analysis, suggested response drafts for negative reviews, and a monthly executive summary report.",
7
+ "default_price_usd": 49,
8
+ "estimated_hours": 8,
9
+ "skills_required": ["cashclaw-reputation-manager"],
10
+ "deliverables": ["monthly-report.html", "sentiment-trends.json", "response-drafts.json", "alert-log.csv"],
11
+ "steps": [
12
+ "Set up continuous monitoring across review platforms and social channels",
13
+ "Track all new reviews, ratings, and brand mentions throughout the month",
14
+ "Run daily sentiment analysis and flag negative mentions for immediate response",
15
+ "Generate draft responses for negative and neutral reviews",
16
+ "Compile sentiment trend data and reputation score changes over time",
17
+ "Deliver monthly executive summary with insights, responses sent, and next actions"
18
+ ]
19
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cashclaw",
3
- "version": "1.0.2",
4
- "description": "Turn your OpenClaw into a money-making machine",
3
+ "version": "1.2.0",
4
+ "description": "Turn your OpenClaw AI agent into a money-making machine — 12 skills, audit trails, security hardened",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "cashclaw": "./bin/cashclaw.js"
@@ -33,7 +33,14 @@
33
33
  "monetization",
34
34
  "stripe",
35
35
  "autonomous",
36
- "hyrve"
36
+ "hyrve",
37
+ "email-outreach",
38
+ "competitor-analysis",
39
+ "landing-page",
40
+ "data-scraping",
41
+ "reputation-management",
42
+ "cold-email",
43
+ "web-scraping"
37
44
  ],
38
45
  "author": "Ertugrul Akben <i@ertugrulakben.com>",
39
46
  "license": "MIT",