asset-upscale

asset-upscale is a skill for Claude Code from pwdev-solucoes/pwdev-claude-marketplace. It costs 80 tokens per session (698 once invoked), scanned A, original, Apache-2.0.

An image-enhancement workflow that enlarges small images and improves their apparent sharpness using Freepik or Magnific, or guides a manual process without an API key.

In plain words
What is it for?
It helps prepare image assets for larger designs while preserving the original file and requiring confirmation before spending credits.
Why use it?
It helps distinguish low resolution from problems such as bad focus, heavy compression, or a pixelated logo, so paid processing is not wasted.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pwdev-social-media plugin — 19 skills, 5 commands, 4 agents shipped together

Good fit It helps prepare image assets for larger designs while preserving the original file and requiring confirmation before spending credits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pwdev-solucoes/pwdev-claude-marketplace/asset-upscale
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pwdev-solucoes/pwdev-claude-marketplace --skill asset-upscale
Clone the repo
git clone --depth 1 https://github.com/pwdev-solucoes/pwdev-claude-marketplace

Made for: Claude Code.

Or install pwdev-social-media, the plugin that ships this one along with the rest of its 19 skills, 5 commands, 4 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for asset-upscale

README.md
[![agentmods](https://agentmods.dev/badge/skills/pwdev-solucoes/pwdev-claude-marketplace/asset-upscale/github.svg)](https://agentmods.dev/skills/pwdev-solucoes/pwdev-claude-marketplace/asset-upscale)
Your own site
<a href="https://agentmods.dev/skills/pwdev-solucoes/pwdev-claude-marketplace/asset-upscale"><img src="https://agentmods.dev/badge/skills/pwdev-solucoes/pwdev-claude-marketplace/asset-upscale/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for asset-upscale

Your own site · 80×15
<a href="https://agentmods.dev/skills/pwdev-solucoes/pwdev-claude-marketplace/asset-upscale"><img src="https://agentmods.dev/badge/skills/pwdev-solucoes/pwdev-claude-marketplace/asset-upscale.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 698 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00080 $0.00698
Opus 5 $0.00040 $0.00349
Sonnet 5 $0.00016 $0.00140
Haiku 4.5 $0.00008 $0.00070

Measured 8d ago against content hash 69eb21e3ec9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

asset-upscale scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`FREEPIK_API_KEY` via `Bash` + `curl`. Nunca peça, escreva ou imprima a chave.
plugins/pwdev-social-media/skills/asset-upscale/SKILL.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Upscale de Ativo

Você recupera resolução. Antes disso, verifica se o problema é mesmo resolução.

Princípio central

Upscale não recupera informação que não existe. Recupera nitidez e tamanho — não conserta foto desfocada, mal enquadrada ou de baixa qualidade.

Antes de gastar crédito

Diagnostique. Muita gente pede upscale para problema que não é resolução:

Sintoma Causa provável Upscale resolve?
Serrilhado ao ampliar resolução baixa sim
Borrado uniforme foco errado na captura não
Blocos e artefatos compressão JPEG agressiva parcialmente
Ruído em foto escura ISO alto parcialmente
Logo pixelado usaram raster em vez de vetor não — busque o SVG

Logo pixelado é o caso mais comum e o mais desnecessário. Antes de fazer upscale de logo, procure o vetor no brand kit. Sempre existe.

Portão de custo

Igual a image-gen: diga o que vai processar, estime o custo, espere confirmação, só então execute.

Path A — Chave configurada

FREEPIK_API_KEY via Bash + curl. Nunca peça, escreva ou imprima a chave.

Salve como {{original}}_up{{fator}}.png, preservando o original. Nunca sobrescreva o arquivo de origem.

Path B — Sem chave

Oriente o processo manual na interface e diga que nada foi processado.

Alternativas locais que resolvem casos simples sem custo: exportar de novo do Figma na escala correta (sempre a melhor opção quando a origem é vetorial), ou reexportar do arquivo original em resolução maior.

Antes de qualquer upscale, pergunte: existe o arquivo original em resolução maior? Na maioria das vezes existe, e o upscale era desnecessário.

Formato de saída

Origem: {{arquivo}} — {{dimensão}}
Diagnóstico: {{causa}} — upscale resolve: sim | parcialmente | não
Processado: {{arquivo}} — {{dimensão}} — fator {{n}}×
Custo: {{estimado}}

Quando o diagnóstico for "não", diga isso antes de processar e proponha o caminho certo.

Limites

  • Não gera imagem nova — ver image-gen
  • Não corrige foco, enquadramento nem exposição
  • Não sobrescreve o original
  • Não gasta crédito sem confirmação

Read the full file on GitHub · 81 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 81 lines · 80 tokens per session scan A 69eb21e3ec9d

Subscribe to this mod's changes

asset-upscale is a skill published in the GitHub repository pwdev-solucoes/pwdev-claude-marketplace (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 80 tokens to every session and 698 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens