image-skill 0.1.7 → 0.1.8
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 +53 -0
- package/PROVENANCE.md +78 -0
- package/README.md +48 -10
- package/bin/image-skill.mjs +564 -8
- package/cli.md +340 -44
- package/llms.txt +45 -24
- package/package.json +22 -4
- package/skill.md +225 -23
- package/skills/image-skill/SKILL.md +562 -0
- package/skills/image-skill/references/cli.md +1263 -0
- package/skills/image-skill/references/llms.txt +248 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
This changelog tracks the public `image-skill` CLI package and public skill
|
|
4
|
+
mirror. The npm package metadata remains the authority for tarball integrity and
|
|
5
|
+
provenance; this file is the human- and agent-readable release map.
|
|
6
|
+
|
|
7
|
+
## 0.1.8 - 2026-05-22
|
|
8
|
+
|
|
9
|
+
- Hardened Stripe Checkout handoff responses for mobile terminals and chat.
|
|
10
|
+
- Added fragment-stripped `checkout_url` normalization so stale hosted API
|
|
11
|
+
responses no longer cause the public CLI to print a long `#...` Stripe URL
|
|
12
|
+
under the easiest field for agents to copy.
|
|
13
|
+
- Kept `checkout_handoff_url` as the preferred human payment link and
|
|
14
|
+
`checkout_compact_url` as the explicit stale-server fallback.
|
|
15
|
+
|
|
16
|
+
## 0.1.7 - 2026-05-16
|
|
17
|
+
|
|
18
|
+
- Published public package `image-skill@0.1.7`.
|
|
19
|
+
- Added the hosted payment-backed credit flow and Stripe Checkout command
|
|
20
|
+
surface.
|
|
21
|
+
- Added public model discovery and capability-preserving model parameter
|
|
22
|
+
guidance.
|
|
23
|
+
- Added public skill installation guidance for `danielgwilson/image-skill-cli`.
|
|
24
|
+
- Added agent-facing selection guidance for when to use Image Skill instead of
|
|
25
|
+
built-in image tools or direct provider APIs.
|
|
26
|
+
|
|
27
|
+
Release mapping:
|
|
28
|
+
|
|
29
|
+
- npm package: `image-skill@0.1.7`
|
|
30
|
+
- public repo commit from npm `gitHead`:
|
|
31
|
+
`8676d325917a557e929717d6243446a134167e54`
|
|
32
|
+
- npm tarball integrity:
|
|
33
|
+
`sha512-83WpSiW9wNu0gTDX0BHMT19rGEkI8j9s7pekFwWUPTa7p/MKhfV1dZcE9vvEeVhR1WpKU1gntHFeS27yu0MMEw==`
|
|
34
|
+
- npm attestation URL:
|
|
35
|
+
`https://registry.npmjs.org/-/npm/v1/attestations/image-skill@0.1.7`
|
|
36
|
+
|
|
37
|
+
## Verification
|
|
38
|
+
|
|
39
|
+
For any version, agents should verify the package with:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
npm view image-skill@VERSION version gitHead dist.integrity dist.tarball dist.attestations.url repository.url --json
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Then inspect the public repo commit:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
git ls-remote https://github.com/danielgwilson/image-skill-cli.git
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Use the npm `gitHead` value to identify the package source commit. The public
|
|
52
|
+
repo `main` branch can be newer than the latest published package because docs
|
|
53
|
+
and skill contracts may sync between package releases.
|
package/PROVENANCE.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Provenance
|
|
2
|
+
|
|
3
|
+
Image Skill has three public trust surfaces:
|
|
4
|
+
|
|
5
|
+
- hosted product contracts at `https://image-skill.com/skill.md`,
|
|
6
|
+
`https://image-skill.com/llms.txt`, and `https://image-skill.com/cli.md`;
|
|
7
|
+
- the npm package `image-skill`;
|
|
8
|
+
- the public mirror repository `danielgwilson/image-skill-cli`.
|
|
9
|
+
|
|
10
|
+
The npm package is the executable CLI authority. The public repository is the
|
|
11
|
+
inspectable source mirror for that package and skill. The public repository
|
|
12
|
+
`main` branch may be newer than the latest npm release, so agents must map a
|
|
13
|
+
package version through npm metadata instead of assuming `main` is the package
|
|
14
|
+
source.
|
|
15
|
+
|
|
16
|
+
## Verify A Published Package
|
|
17
|
+
|
|
18
|
+
1. Read npm metadata:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm view image-skill@VERSION version gitHead dist.integrity dist.tarball dist.attestations.url repository.url --json
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
2. Confirm `repository.url` is:
|
|
25
|
+
|
|
26
|
+
```text
|
|
27
|
+
git+https://github.com/danielgwilson/image-skill-cli.git
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
3. Use `gitHead` from npm metadata as the public repo commit for that package:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
git ls-remote https://github.com/danielgwilson/image-skill-cli.git
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
4. Confirm the package carries npm provenance:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
npm view image-skill@VERSION dist.attestations --json
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
5. Optional tarball inspection:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
npm pack image-skill@VERSION --dry-run --json
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
The package should contain only the public CLI, public contracts, changelog,
|
|
49
|
+
provenance note, and package metadata.
|
|
50
|
+
|
|
51
|
+
## Current Published Package
|
|
52
|
+
|
|
53
|
+
`image-skill@0.1.7` was published from public repo commit
|
|
54
|
+
`8676d325917a557e929717d6243446a134167e54`.
|
|
55
|
+
|
|
56
|
+
Release evidence:
|
|
57
|
+
|
|
58
|
+
- npm package: `image-skill@0.1.7`
|
|
59
|
+
- npm publish workflow:
|
|
60
|
+
`https://github.com/danielgwilson/image-skill-cli/actions/runs/25949592813`
|
|
61
|
+
- npm tarball:
|
|
62
|
+
`https://registry.npmjs.org/image-skill/-/image-skill-0.1.7.tgz`
|
|
63
|
+
- npm integrity:
|
|
64
|
+
`sha512-83WpSiW9wNu0gTDX0BHMT19rGEkI8j9s7pekFwWUPTa7p/MKhfV1dZcE9vvEeVhR1WpKU1gntHFeS27yu0MMEw==`
|
|
65
|
+
- npm attestation URL:
|
|
66
|
+
`https://registry.npmjs.org/-/npm/v1/attestations/image-skill@0.1.7`
|
|
67
|
+
|
|
68
|
+
## Trust Rules For Agents
|
|
69
|
+
|
|
70
|
+
- Prefer npm metadata over branch names when verifying a package version.
|
|
71
|
+
- Treat public repo `main` as the newest public mirror, not necessarily the
|
|
72
|
+
published package source.
|
|
73
|
+
- Treat hosted contracts as the behavioral contract for the live service.
|
|
74
|
+
- Do not depend on implementation internals, private automation, or provider
|
|
75
|
+
credentials.
|
|
76
|
+
- If package metadata, public repo contents, and hosted contract behavior
|
|
77
|
+
disagree, leave Image Skill feedback with the npm version, `gitHead`, command,
|
|
78
|
+
trace ID if available, and observed mismatch.
|
package/README.md
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
# Image Skill CLI
|
|
2
2
|
|
|
3
|
-
Image Skill is
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
code.
|
|
3
|
+
Image Skill is the creative cloud for agents: one hosted CLI/API rail for model
|
|
4
|
+
discovery, spend guards, recoverable jobs, owned media URLs, activity receipts,
|
|
5
|
+
payments, reusable assets, and structured feedback.
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
This package is the thin public CLI. It talks to
|
|
8
|
+
`https://api.image-skill.com` and does not contain the private factory,
|
|
9
|
+
harness, provider orchestration, database code, or deployment code.
|
|
10
|
+
|
|
11
|
+
Install the agent skill from the hosted public contract:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npx skills add https://image-skill.com --skill image-skill -g -a codex -y
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
If the hosted site is temporarily unavailable, use the public mirror repo:
|
|
9
18
|
|
|
10
19
|
```bash
|
|
11
20
|
npx skills add danielgwilson/image-skill-cli --skill image-skill -g -a codex -y
|
|
@@ -24,21 +33,45 @@ runtime has a writable npm prefix:
|
|
|
24
33
|
npm install -g image-skill
|
|
25
34
|
image-skill doctor --json
|
|
26
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
|
|
27
38
|
image-skill credits methods --json
|
|
28
39
|
image-skill credits packs list --json
|
|
29
40
|
image-skill credits quote --pack starter-500 --payment-method stripe_checkout --idempotency-key first-topup-001 --json
|
|
30
41
|
image-skill credits buy --provider stripe --quote-id quote_... --idempotency-key first-buy-001 --json
|
|
31
|
-
image-skill create --prompt "A tiny studio robot painting a postcard" --model xai.grok-imagine-image --
|
|
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
|
|
32
44
|
```
|
|
33
45
|
|
|
34
46
|
The public CLI supports Node.js 20 and newer.
|
|
35
47
|
|
|
36
48
|
Agent-facing contracts:
|
|
37
49
|
|
|
38
|
-
- [
|
|
39
|
-
- [
|
|
40
|
-
- [
|
|
41
|
-
- [
|
|
50
|
+
- [Hosted skill contract](https://image-skill.com/skill.md)
|
|
51
|
+
- [Hosted LLM contract](https://image-skill.com/llms.txt)
|
|
52
|
+
- [Hosted CLI contract](https://image-skill.com/cli.md)
|
|
53
|
+
- [Public repo skill source](https://github.com/danielgwilson/image-skill-cli/tree/main/skills/image-skill)
|
|
54
|
+
- [Changelog](https://github.com/danielgwilson/image-skill-cli/blob/main/CHANGELOG.md)
|
|
55
|
+
- [Provenance](https://github.com/danielgwilson/image-skill-cli/blob/main/PROVENANCE.md)
|
|
56
|
+
|
|
57
|
+
## Trust And Releases
|
|
58
|
+
|
|
59
|
+
Use npm metadata to map a package version to its public repo source commit:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
npm view image-skill@latest version gitHead dist.integrity dist.tarball dist.attestations.url repository.url --json
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
`gitHead` is the public repo commit for the published package. Public repo
|
|
66
|
+
`main` may be newer than the latest npm package because docs and skill contracts
|
|
67
|
+
can sync between releases. The npm package is published through GitHub Actions
|
|
68
|
+
trusted publishing and should expose npm provenance at
|
|
69
|
+
`dist.attestations.url`.
|
|
70
|
+
|
|
71
|
+
Release notes live in
|
|
72
|
+
[`CHANGELOG.md`](https://github.com/danielgwilson/image-skill-cli/blob/main/CHANGELOG.md).
|
|
73
|
+
Detailed package verification steps live in
|
|
74
|
+
[`PROVENANCE.md`](https://github.com/danielgwilson/image-skill-cli/blob/main/PROVENANCE.md).
|
|
42
75
|
|
|
43
76
|
The CLI saves hosted agent tokens only when `--save` is explicit. Saved tokens
|
|
44
77
|
live at `${XDG_CONFIG_HOME:-~/.config}/image-skill/config.json` by default with
|
|
@@ -54,3 +87,8 @@ npm exec --yes --package image-skill@latest -- image-skill signup --agent --agen
|
|
|
54
87
|
|
|
55
88
|
If npm prefix/cache paths are read-only, set `npm_config_cache` and
|
|
56
89
|
`npm_config_prefix` to writable directories before using `npm exec`.
|
|
90
|
+
|
|
91
|
+
Use built-in image tools for disposable chat previews. Use Image Skill when an
|
|
92
|
+
agent needs stable hosted assets, quota or payment awareness, model capability
|
|
93
|
+
inspection, retry-safe jobs, trace IDs, or feedback that should become product
|
|
94
|
+
work.
|