Skip to content

Commit 17cd49d

Browse files
fix(skills): cite the cost model instead of repeating prices
The multipliers live in cost-control. Repeating the numbers in three more skills means they go stale in three more places the next time pricing moves, and a skill that quotes a wrong price is worse than one that quotes none. The wording keeps what made the change work: the cost warning stays at the point of temptation, next to the flag, and it still says which direction is expensive. Only the figure moves to the one file that owns it.
1 parent 991af48 commit 17cd49d

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

‎skills/extract/SKILL.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ zenrows extract <url> --validate # fail if not valid JSON
3131
- If Autoparse misses fields, switch to `--css` with explicit selectors. Auto
3232
mode already renders JS when the target needs it, so reach for
3333
`--manual --js-render` only after auto mode has returned an incomplete page:
34-
it costs 5 credits per request against 1, and it makes the escalation yours.
34+
it costs several times a basic call ([[cost-control]]) and it makes the
35+
escalation yours.
3536

3637
See [[protected-fetch]] for retrieval semantics.

‎skills/protected-fetch/SKILL.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,14 @@ Manual mode exists for the rare case where auto mode has already failed and a
3131
trace shows why. It costs more and it makes the escalation your problem:
3232

3333
```
34-
zenrows fetch <url> --manual --js-render --premium-proxy # 25 credits per request
34+
zenrows fetch <url> --manual --js-render --premium-proxy # the most expensive path, see [[cost-control]]
3535
```
3636

3737
## Rules
3838
- Start with **auto mode**. Enabling `--js-render` and `--premium-proxy` yourself
39-
costs 25 credits per request against 1 for a basic call, and auto mode reaches
40-
the same configuration only when the target actually needs it.
39+
is the most expensive configuration this API offers, by a wide margin, and auto
40+
mode reaches the same place only when the target actually needs it. The
41+
multipliers are in [[cost-control]].
4142
- A hard target is not a reason to skip auto mode. It is the reason auto mode
4243
exists.
4344
- In auto mode `js_render` and `premium_proxy` are managed for you. Passing them

‎skills/trace-debug/SKILL.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ zenrows trace export <run-id> # JSON for sharing
2222
- `FETCH_FAILED` / empty content → first retry in auto mode (`mode=auto`), which
2323
escalates for you and bills only for what succeeds. For slow pages add
2424
`--wait-for <selector>`. Only when auto mode has failed on its own, take
25-
manual control with `--manual --js-render` (5 credits per request), then
26-
`--premium-proxy` (25 with both, against 1 for a basic call).
25+
manual control with `--manual --js-render`, then `--premium-proxy`. Each step
26+
multiplies the cost of the request, and both together are the most expensive
27+
configuration available ([[cost-control]]).
2728
- `REQUEST_TIMEOUT` → the CLI stopped waiting; the API was reached. Raise
2829
`--timeout` (default 120000ms, above the API's own 90s budget), or drop
2930
`--wait-for` so the request finishes inside that budget and the API returns

0 commit comments

Comments
 (0)