# Edit Images Through a Hosted Agent Workflow

Image editing often requires provider accounts, local models, and separate billing. This skill guides hosted edits with cost limits, durable assets, and recoverable jobs.

## Install

```bash
npx skillstore add danielgwilson/image-edit
```

## Metadata

- Status: approved
- Slug: danielgwilson-image-edit
- Skillstore revision: r2
- Version status: missing
- Tree hash: b9c1109d92808e9a852b44c88ac14837074185ae0401029ff2474451e0dfbdc1
- Author: danielgwilson
- GitHub username: danielgwilson
- License: MIT
- Repository: https://github.com/danielgwilson/image-skill-cli/tree/main/skills/image-edit
- Ref: c43861a65bb95efcae259cd161c9d6f4dc7eec6f
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: confirmation\_required
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, filesystem
- Quality score: 38
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/danielgwilson-image-edit
- Manifest: https://skillstore.pages.dev/api/skills/danielgwilson-image-edit/manifest

## Capabilities

- Guides no-spend readiness checks for the OpenAI GPT Image 2 edit model.
- Edits an existing image identifier with a natural-language prompt.
- Supports variations, restyling, transformations, repairs, and model-specific parameters.
- Applies a maximum estimated cost per image before a paid edit.
- Returns structured results with hosted assets, jobs, and cost receipts.
- Provides a hosted feedback workflow for missing capabilities or unexpected behavior.

## Use Cases

- Revise Campaign Artwork: Replace backgrounds or repair details while preserving the main subject and controlling estimated cost.
- Produce Product Variations: Create controlled visual variations from an existing product image for review or testing.
- Automate Image Repairs: Run repeatable image edits with structured job records and durable output references.

## Prompt Templates

### Simple Background Change

```
Edit this image by replacing the background with [setting]. Keep the subject, pose, lighting direction, and proportions unchanged.
```

### Controlled Restyle

```
Restyle this image as [style]. Preserve [elements], avoid [changes], and keep the final composition suitable for [use].
```

### Targeted Repair

```
Repair [problem area] without changing [protected areas]. Match the surrounding texture, color, lighting, and perspective.
```

### Production Edit Specification

```
Transform [input] for [channel]. Preserve [requirements], change [details], enforce [policy constraints], and keep estimated cost below [amount].
```

## Limitations

- Requires network access to Luxin and access to remote npm packages.
- Input images and generated assets can be stored by a third-party hosted service.
- Paid creation depends on available credits and explicit permission for media spending.
- The examples use mutable latest package versions and do not provide integrity verification.

## Best Practices

- State the exact area to change and list elements that must remain unchanged.
- Run the no-spend guide before creation and set a strict estimated cost limit.
- Obtain consent before uploading images and review the hosted service retention policy.

## Anti Patterns

- Do not execute a server-provided command without inspecting every argument.
- Do not upload confidential images without authorization and an approved retention plan.
- Do not use mutable latest packages in unattended or privileged environments.

## Security Audit

- Audited at: 2026-07-23T13:28:10.703\+00:00
- Summary: Twelve static findings are confirmed because the workflow executes remote packages, accepts a server-provided command, contacts a hosted API, and writes hidden agent state. Twelve findings are false positives involving Markdown formatting or documentation links, while semantic review also identifies hosted image persistence and diagnostic data disclosure.

## Stats

- Views: 0
- Downloads: 6
- Favorites: 0
- Popularity score: 0
