clarity-api-mcp: Skill for Claude Code

.grok/skills/clarity-upscale/SKILL.md

clarity-upscale is a skill for Claude Code, Codex from thomastraum/clarity-api-mcp. It costs 72 tokens per session (359 once invoked), scanned A, original, MIT.

A skill for sending a local image or video, or a public URL, to Clarity AI for upscaling or enhancement. Upscaling increases image or video detail or resolution.

In plain words
What is it for?
Use it to enhance photos or videos with Clarity, Crystal, Crystal Video, or Clarity Pro, including files stored locally or at a public raw URL.
Why use it?
It provides a defined way to publish local files temporarily and submit them to Clarity, including rules for URLs that the service can fetch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is thomastraum/clarity-api-mcp's own configuration. It tells Claude Code and Codex how to work on clarity-api-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything clarity-api-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to thomastraum/clarity-api-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/thomastraum/clarity-api-mcp/main/.grok/skills/clarity-upscale/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/thomastraum/clarity-api-mcp

Made for: Claude Code, Codex.

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 clarity-upscale

README.md
[![agentmods](https://agentmods.dev/badge/skills/thomastraum/clarity-api-mcp/clarity-upscale/github.svg)](https://agentmods.dev/skills/thomastraum/clarity-api-mcp/clarity-upscale)
Your own site
<a href="https://agentmods.dev/skills/thomastraum/clarity-api-mcp/clarity-upscale"><img src="https://agentmods.dev/badge/skills/thomastraum/clarity-api-mcp/clarity-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 clarity-upscale

Your own site · 80×15
<a href="https://agentmods.dev/skills/thomastraum/clarity-api-mcp/clarity-upscale"><img src="https://agentmods.dev/badge/skills/thomastraum/clarity-api-mcp/clarity-upscale.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 359 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.00072 $0.00359
Opus 5.5 $0.00029 $0.00144
Sonnet 5.5 $0.00014 $0.00072
Haiku 4.5 $0.00007 $0.00036

Measured 2mo ago against content hash d658a746e4be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clarity-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 2mo 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.

Call the `clarity-api` MCP. Do not curl Clarity yourself.
.grok/skills/clarity-upscale/SKILL.md · 34 lines

What it actually says

Clarity upscale

Call the clarity-api MCP. Do not curl Clarity yourself.

Input

  • Pass a local file path or an http(s) URL as image / video.
  • The server publishes local files to a raw URL (image/video bytes, not an HTML page) then calls Clarity.
  • Default publisher is uguu (expires in 3 hours). Set publish only when the user asks:
    • litterbox — pick a 1h/12h/24h/72h host TTL
    • funnel — Tailscale Funnel, never Serve (Serve is tailnet-only; Clarity cannot fetch it)
    • none — URLs only; local paths will fail

Clarity fetches the URL from its cloud. Preview/share pages fail.

  • Dropbox ?dl=0 share pages: pass them anyway; the server rewrites to dl.dropboxusercontent.com.
  • tmpfiles.org: pass them anyway; the server adds /dl/.
  • Do not use 0x0.st from this agent (their ToS blocks AI clients).

Modes

Use clarity_list_models if you need parameter ranges. Then clarity_upscale.

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. 2mo ago First seen · 34 lines · 72 tokens per session scan A d658a746e4be

Subscribe to this mod's changes

clarity-upscale is a skill published in the GitHub repository thomastraum/clarity-api-mcp (1 stars, last pushed 2mo ago), licensed MIT. It adds 72 tokens to every session and 359 once invoked, about $0.0003 per session on Opus 5.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-08-31.

Related

clarity-upscale compared with skills from other repositories

clarity-upscale next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clarity-upscalethomastraum/clarity-api-mcpSkill12mo agoMITA72Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill100ktodayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k3d agoMITA200Claude Code, Codex
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill315k6d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code