Index of every page on this site: llms.txt
All skills
shinchven avatar

/photo-restoration

@d93dc85
Run it yourself

Restores vintage and blurry photos to high-definition 8k images while preserving identity.

Use this Skill: https://skilld.dev/gh/shinchven/nano-banana-skills/photo-restoration

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈27 tokens for metadata: the name and description. ≈465 when used: this file.

Description uses 1.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈110 characters, or 1.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Photo Restoration

Capability

Transform blurry, vintage, or low-quality images into crystal-clear, 8k resolution modern photographs while preserving the original identity, pose, and composition.

Triggers

  • "Restore this photo."
  • "Fix this blurry image."
  • "Make this vintage photo look modern."
  • "Upscale and sharpen this picture."

Instructions

  1. Analyze the User's Image:

    • Note the subject's identity, pose, and composition.
    • Identify areas needing restoration: blur, grain, focus, lighting.
  2. Construct the Image Generation Prompt:

    • Core Command: "High-fidelity restoration of this vintage photograph. Transform this blurry image into a crystal-clear, 8k resolution modern photograph."
    • Enhancements: "Sharpen all details, remove film grain, and correct focus. Enhance facial features to be lifelike and highly detailed, ensuring realistic skin texture and eye clarity. Fix lighting to be balanced and natural."
    • Preservation: "Upscale to high definition while preserving the original identity, pose, and composition."
    • Style: "Professional portrait photography, shot on a 85mm lens, f/1.8, photorealistic, cinematic lighting."
    • Constraint: "While largely improving the quality of the photo, the restored image should remain identical to the original."
  3. Generate the Image:

    • Use the image generation tool.
    • Pass the constructed prompt.
    • Pass the user's uploaded image path in the reference image parameter to use as a reference/control.

Tools / Commands

  • Image generation tool: To generate the restored image based on the input.

Examples

User: "Restore this old photo." (User attaches [image]) Action:

  1. Construct prompt using the standard restoration template.
  2. Call the image generation tool with the constructed prompt and image paths.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo4 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides a set of instructions for restoring and upscaling vintage or blurry photos using image generation tools. No security risks or malicious patterns were detected.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer9mo

    1/1 file flagged

Signed by skilld at d93dc85. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 9 months ago

README badge

README badge for shinchven/nano-banana-skills/photo-restoration