image-skill 0.1.13 → 0.1.14

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 CHANGED
@@ -4,6 +4,14 @@ This changelog tracks the public `image-skill` CLI package and public skill
4
4
  mirror. The npm package metadata remains the authority for tarball integrity and
5
5
  provenance; this file is the human- and agent-readable release map.
6
6
 
7
+ ## 0.1.14 - 2026-05-29
8
+
9
+ - Refresh the public package with the guide-first `create --guide` flow so a
10
+ fresh agent can get an `image-skill.create-guide.v1` no-mutation planning
11
+ response before signup/auth setup.
12
+ - Keep the first creative command aligned with the public README, skill, and
13
+ `llms.txt` contract.
14
+
7
15
  ## 0.1.13 - 2026-05-26
8
16
 
9
17
  - Remove public changelog breadcrumbs for private harness payment rails.
package/PROVENANCE.md CHANGED
@@ -15,6 +15,18 @@ source.
15
15
 
16
16
  ## Verify A Published Package
17
17
 
18
+ For an agent-readable packet that combines npm metadata, hosted contract
19
+ hashes, API health, model availability, safe commands, and explicit
20
+ unavailable states, run:
21
+
22
+ ```bash
23
+ npx -y image-skill@latest trust --json
24
+ ```
25
+
26
+ The trust packet is selection evidence. It does not read saved auth config,
27
+ print tokens, call providers, create jobs, create payment objects, or spend
28
+ credits.
29
+
18
30
  1. Read npm metadata:
19
31
 
20
32
  ```bash
package/README.md CHANGED
@@ -20,27 +20,29 @@ If the hosted site is temporarily unavailable, use the public mirror repo:
20
20
  npx skills add danielgwilson/image-skill-cli --skill image-skill -g -a codex -y
21
21
  ```
22
22
 
23
- Run the executable CLI from npm without requiring a writable global npm prefix:
23
+ Run the executable CLI from npm without requiring a writable global npm prefix.
24
+ Start with the no-spend guide; it returns the next command instead of making a
25
+ fresh agent memorize a setup ladder:
24
26
 
25
27
  ```bash
26
- npm exec --yes --package image-skill@latest -- image-skill doctor --json
28
+ npx -y image-skill@latest create --guide --prompt "A tiny studio robot painting a postcard"
29
+ ```
30
+
31
+ When an agent needs package provenance or selection evidence before choosing a
32
+ tool, use the no-auth trust packet. It is an inspection command, not a required
33
+ step before the first image:
34
+
35
+ ```bash
36
+ npx -y image-skill@latest trust --json
27
37
  ```
28
38
 
29
39
  For repeated shell use, global install is optional only after confirming the
30
- runtime has a writable npm prefix:
40
+ runtime has a writable npm prefix. The guide remains the first command; lower
41
+ level checks are escape hatches when `data.next_command` asks for them:
31
42
 
32
43
  ```bash
33
44
  npm install -g image-skill
34
- image-skill doctor --json
35
- image-skill signup --agent --agent-contact CONTACT_OR_SPONSOR_INBOX --agent-name creative-agent --runtime openclaw --save --json
36
- image-skill models list --json
37
- image-skill models show xai.grok-imagine-image --json
38
- image-skill credits methods --json
39
- image-skill credits packs list --json
40
- image-skill credits quote --pack starter-500 --payment-method stripe_checkout --idempotency-key first-topup-001 --json
41
- image-skill credits buy --provider stripe --quote-id quote_... --idempotency-key first-buy-001 --json
42
- image-skill create --dry-run --prompt "A tiny studio robot painting a postcard" --model xai.grok-imagine-image --json
43
- image-skill create --prompt "A tiny studio robot painting a postcard" --model xai.grok-imagine-image --max-estimated-usd-per-image 0.05 --json
45
+ image-skill create --guide --prompt "A tiny studio robot painting a postcard"
44
46
  ```
45
47
 
46
48
  The public CLI supports Node.js 20 and newer.
@@ -62,6 +64,13 @@ Use npm metadata to map a package version to its public repo source commit:
62
64
  npm view image-skill@latest version gitHead dist.integrity dist.tarball dist.attestations.url repository.url --json
63
65
  ```
64
66
 
67
+ Or ask the CLI for the same evidence plus hosted contract hashes, API health,
68
+ and model availability honesty:
69
+
70
+ ```bash
71
+ npx -y image-skill@latest trust --json
72
+ ```
73
+
65
74
  `gitHead` is the public repo commit for the published package. Public repo
66
75
  `main` may be newer than the latest npm package because docs and skill contracts
67
76
  can sync between releases. The npm package is published through GitHub Actions
@@ -73,20 +82,22 @@ Release notes live in
73
82
  Detailed package verification steps live in
74
83
  [`PROVENANCE.md`](https://github.com/danielgwilson/image-skill-cli/blob/main/PROVENANCE.md).
75
84
 
76
- The CLI saves hosted agent tokens only when `--save` is explicit. Saved tokens
77
- live at `${XDG_CONFIG_HOME:-~/.config}/image-skill/config.json` by default with
78
- 0600 permissions. Use `IMAGE_SKILL_CONFIG_PATH` to override the config path and
79
- `IMAGE_SKILL_TOKEN` or `--token-stdin` for runtime secret injection.
85
+ The CLI saves hosted agent tokens by default at
86
+ `${XDG_CONFIG_HOME:-~/.config}/image-skill/config.json` with 0600 permissions.
87
+ Use `IMAGE_SKILL_CONFIG_PATH` to override the config path, `--no-save` to opt
88
+ out, and `--show-token --no-save` only for runtime secret-store injection via
89
+ `IMAGE_SKILL_TOKEN` or `--token-stdin`.
80
90
 
81
91
  Fresh sandboxes should prefer:
82
92
 
83
93
  ```bash
84
94
  export IMAGE_SKILL_CONFIG_PATH="$PWD/.image-skill/config.json"
85
- npm exec --yes --package image-skill@latest -- image-skill signup --agent --agent-contact CONTACT_OR_SPONSOR_INBOX --agent-name creative-agent --runtime openclaw --save --json
95
+ npx -y image-skill@latest signup --agent --agent-contact AGENT_OR_OPERATOR_INBOX --agent-name creative-agent --runtime openclaw --json
86
96
  ```
87
97
 
88
98
  If npm prefix/cache paths are read-only, set `npm_config_cache` and
89
- `npm_config_prefix` to writable directories before using `npm exec`.
99
+ `npm_config_prefix` to writable directories, then rerun the same `npx -y`
100
+ command.
90
101
 
91
102
  Use built-in image tools for disposable chat previews. Use Image Skill when an
92
103
  agent needs stable hosted assets, quota or payment awareness, model capability