@trawlme/skills 1.1.0 → 1.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trawlme/skills",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Claude Code skills for the Trawl CLI — teaches Claude how to manage scraps via @trawlme/cli",
5
5
  "type": "module",
6
6
  "bin": {
@@ -61,14 +61,15 @@ trawl scraps data <id> --json # last run output (the scraped data)
61
61
 
62
62
  ```bash
63
63
  trawl scraps create -t "Daily prices" -u "https://example.com/products" \
64
- -r '<puppeteer script>' -s puppeteer
64
+ -d "Tracks product prices on Example.com daily" \
65
+ -r '<puppeteer script>'
65
66
  ```
66
67
 
67
68
  Flags:
68
69
  - `-t, --title` (required) — display name
69
70
  - `-u, --url` — target URL (also exposed as `TRAWL.url` in the script)
71
+ - `-d, --description` — what the scrap does (used by wizard few-shot examples + future marketplace listing)
70
72
  - `-r, --request` — the Puppeteer script body (must call `returnData(arr)`)
71
- - `-s, --scrapper` — engine, defaults to `puppeteer`
72
73
 
73
74
  For the script body, see the `trawl-scrap-design` skill.
74
75
 
@@ -76,6 +77,7 @@ For the script body, see the `trawl-scrap-design` skill.
76
77
 
77
78
  ```bash
78
79
  trawl scraps update <id> -t "New title" --cron "0 9 * * *"
80
+ trawl scraps update <id> -d "Updated description" # update what it does
79
81
  trawl scraps update <id> --no-cron # disable schedule
80
82
  trawl scraps update <id> --alert ops@example.com # email on failure
81
83
  trawl scraps update <id> --no-alert # disable alerts
@@ -118,7 +120,7 @@ trawl scraps watch <id> # if running, see live errors
118
120
 
119
121
  **"Create a job that runs every morning"**
120
122
  ```bash
121
- trawl scraps create -t "Morning crawl" -u "https://..." -r '...' -s puppeteer
123
+ trawl scraps create -t "Morning crawl" -u "https://..." -d "Daily crawl at 8am" -r '...'
122
124
  trawl scraps update <new-id> --cron "0 8 * * *"
123
125
  ```
124
126
 
@@ -136,6 +138,7 @@ Scrap object shape:
136
138
  {
137
139
  "_id": "507f1f77bcf86cd799439011",
138
140
  "title": "...",
141
+ "description": "What this scrap does",
139
142
  "url": "https://...",
140
143
  "request": "var page = ...",
141
144
  "scrapper": "puppeteer",