Xpersona
B

blog-image

CLAWHUB · Unverified

Generate a 1600px-wide webp blog thumbnail image using the pixr CLI. Use when the user provides a blog topic or blog name and wants a thumbnail image generated and saved to ~/blog-images. Requires the pixr-cli npm package (pixr command).

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17eesnw5kqz6wryn0n59ma5sx84mrsv:re-blog-image
  1. Install using `clawhub skill install s17eesnw5kqz6wryn0n59ma5sx84mrsv:re-blog-image` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/dishant0406/re-blog-image before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-dishant0406-re-blog-image/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

74,766 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: blog-image
description: Generate a 1600px-wide webp blog thumbnail image using the pixr CLI. Use when the user provides a blog topic or blog name and wants a thumbnail image generated and saved to ~/blog-images. Requires the pixr-cli npm package (pixr command).
---

# Blog Image

Use this skill to generate one blog thumbnail per run using the `pixr` CLI (npm package `pixr-cli`, version 0.3.0 or newer).

pixr works with several providers (Gemini, OpenAI-compatible, OpenRouter, fal) and has no built-in model. The provider, model, and API key come from the user's own pixr config. Never pick or change them yourself.

If the user did not provide a topic, ask for one before proceeding.

## Inputs to infer

- `TOPIC`: the subject of the blog post the image is for (e.g. "vector databases", "building a notes app in Rust")
- Optional: `--save-to` path override (default: `~/blog-images/`)
- Optional: `--prefix` for the output filename

## Prerequisite check

Before generating, run these checks in order:

**1. Confirm `pixr` is available:**

```bash
pixr --help
```

If this fails, run:

```bash
npm install -g pixr-cli
```

Then verify again. If still failing, stop and report.

**2. Confirm the API key and model are configured:**

```bash
source ~/.zshrc && pixr config --json
```

Read `hasApiKey`, `provider`, and `model` from the output.

- `hasApiKey` must be `true`. pixr reads `PIXR_API_KEY` (the older `NANO_IMAGE_API_KEY` also works), or the variable named by `apiKeyEnv` in the user's pixr config. These are defined in `~/.zshrc`.
- `model` must not be `null`. pixr has no default model.

CRITICAL NON-NEGOTIABLE: never ask the user to add or set the API key manually. It is already in `~/.zshrc`. Always source it before concluding the key is missing.
If `hasApiKey` is still `false` after sourcing, report the exact output and stop.

If `model` is `null`, list the models for the user's provider and ask the user which one to use. Do not choose one yourself:

```bash
source ~/.zshrc && pixr models --no-interactive
```

Save the model they pick with `pixr model <name>`, then run the config check again.

## Workflow

1. Confirm the topic with the user or infer it from the blog name they provided.
2. Create `~/blog-images/` if it does not exist.
3. Run the generation command using this exact structure (source `~/.zshrc` in the same shell first):

```bash
pixr generate -w 1600 -f webp --save-to ~/blog-images --no-stdin \
  "1920x1080 thumbnail on topic \"{TOPIC}\" dont just use text use proper vectors resarch on web and make and all, add more vectors then just text (less text more vectors images and all)"
```

Replace `{TOPIC}` with the actual topic. Keep the rest of the prompt exactly as written.
Do not paraphrase, shorten, or reword the prompt text. It is battle-tested.

4. Confirm the output file was written to `~/blog-images/`. pixr prints `saved image: <absolute path>`; note that exact path. Warnings are printed as `warning: ...`; report them but they

_meta.json

{
  "ownerId": "kn7cbhsh2fk7n13krej15wz1fx84my5s",
  "slug": "re-blog-image",
  "version": "1.1.6",
  "publishedAt": 1791635578848
}

references/image-generation.md

# Image Generation Reference

Use this file during the generation step.

## The canonical command

This is the only command structure to use. Do not alter it.

```bash
pixr generate -w 1600 -f webp --save-to ~/blog-images --no-stdin \
  "1920x1080 thumbnail on topic \"{TOPIC}\" dont just use text use proper vectors resarch on web and make and all, add more vectors then just text (less text more vectors images and all)"
```

Substitute `{TOPIC}` with the exact topic string. Everything else stays identical.

## Flag reference

| Flag | Value | Reason |
|------|-------|--------|
| `-w 1600` | 1600px width | Standard wide blog thumbnail width |
| `-f webp` | webp format | Best compression for web use |
| `--save-to ~/blog-images` | output dir | Consistent location across all blog posts |
| `--no-stdin` | n/a | Never wait for a prompt on stdin |
| height | auto | `-h` is omitted so aspect ratio is preserved from the 1920x1080 generation |

## Optional additions

Only use these if the user explicitly asks:

- `--prefix <name>` — adds a filename prefix to the output file
- `--model <name>` — use a different model (require the user to specify the exact name; list real ones with `pixr models`)
- `--provider <name>`, `--base-url <url>`, `--api-key-env <ENV_VAR>` — use a different provider
- `--save-to <custom-path>` — override output location

## If the command fails

1. Check the resolved config (source `~/.zshrc` first):
   ```bash
   source ~/.zshrc && pixr config --json
   ```
   `hasApiKey` must be `true`; it reads `PIXR_API_KEY` (or the older `NANO_IMAGE_API_KEY`). Never ask the user to set it; it lives in `~/.zshrc`.
2. If `model` is `null`, list the models and ask the user to pick one (never pick for them):
   ```bash
   pixr models --no-interactive
   pixr model <name>
   ```
3. If the error is `request failed (401/403)`, report it; the key does not match the provider.
4. Retry the generate command after resolving the issue.
5. If it still fails, report the exact error text.

## Never do these

- CRITICAL NON-NEGOTIABLE: never change the prompt text
- CRITICAL NON-NEGOTIABLE: never drop `-w 1600` or `-f webp`
- CRITICAL NON-NEGOTIABLE: never generate without confirming `pixr` is available first
- CRITICAL NON-NEGOTIABLE: never choose a provider or model for the user

skill-card.md

## Description:

Generates a 1600-pixel-wide WebP blog thumbnail from a supplied topic using the user's configured pixr CLI.

This skill is ready for commercial/non-commercial use.

## Publisher:

[dishant0406](https://clawhub.ai/user/dishant0406)

### License/Terms of Use:

MIT-0

## Use Case:

Blog authors and content teams use this skill to create topic-based thumbnails and link the resulting image to a matching blog metadata record when one exists.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Sourcing ~/.zshrc may execute shell-profile commands and expose configured credentials to pixr.

Mitigation: Review the shell profile and confirm credential use before sourcing it.

Risk: Installing pixr-cli globally changes the user's environment.

Mitigation: Ask for approval before a global npm installation.

Risk: Generated files and automatic blog metadata edits can change local content unexpectedly.

Mitigation: Confirm output and metadata targets before writing, and review the matching JSON update.

## Reference(s):

- [ClawHub blog-image release](https://clawhub.ai/dishant0406/skills/re-blog-image)
- [Image Generation Reference](references/image-generation.md)

## Skill Output:

**Output Type(s):** [Image files, Shell commands, Status report]

**Output Format:** [WebP image and text completion report]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Creates one 1600-pixel-wide thumbnail under ~/blog-images by default; may update the thumbnail_path in matching ~/blog-meta JSON.]

## Skill Version(s):

1.1.6 (source: ClawHub release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to blog-image and adjacent AI workflows.