Agent skill

Magic Hour Image Editing

by hashgraph-online in hashgraph-online/awesome-codex-plugins

Edit an existing image with Magic Hour while protecting details outside the requested change.

MITAuto-check passedMedia & Creative

Install Magic Hour Image Editing

skills CLI
$ npx skills add hashgraph-online/awesome-codex-plugins --skill magic-hour-image-editing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hashgraph-online/awesome-codex-plugins magic-hour-image-editing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/magichourhq/skills/skills/magic-hour-image-editing .claude/skills/magic-hour-image-editing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
magic-hour-image-editing
GitHub stars
1.3k
Token cost
~1.8k tokens
SKILL.md length
900 words
Files
4 (incl. references)
Skills in repo
714
Repo updated
First seen
Licence
MIT

At a glance

Edit an existing image with Magic Hour while protecting details outside the requested change.

  • Background replacement
  • SKILL.md covers Establish the edit boundary, Prompt the change, then… and Execute once and compare
  • Reaches mcp.magichour.ai
  • Reframing when Magic Hour is requested

What it does

Magic Hour Image Editing is an agent skill from hashgraph-online/awesome-codex-plugins. Edit an existing image with Magic Hour while protecting details outside the requested change. Use for background replacement, cleanup, relighting, recoloring or reframing when Magic Hour is requested or is the project's chosen provider. Requires a source image; not prompt-only creation.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `agents/openai.yaml` and `references/faithful-edits.md`).

It sits in Media & Creative, covering Image editing. The repository describes itself as: A curated list of awesome OpenAI Codex / ChatGPT plugins, skills, and resources. The 1 Codex Marketplace. See live plugins at: https://hol.org/plugins/best-codex-plugins. The licence is MIT.

When your agent uses it

  • Background replacement
  • Reframing when Magic Hour is requested
  • Is the projects chosen provider

Example prompts

  • “/magic-hour-image-editing”

What it can do on your machine

Read from SKILL.md and the folder at commit 9e7b281. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • mcp.magichour.ai

    Also links to:

    • github.com
    • docs.magichour.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Magic Hour Image Editing loads about 1.8k tokens when it runs, and up to ~2.5k if it reads all its reference files. Until then it costs about 78 tokens; SKILL.md has 900 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~78
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from hashgraph-online/awesome-codex-plugins at commit 9e7b281, republished under its MIT licence (© hashgraph-online). 900 words, ~1,786 tokens.

Download SKILL.mdSave it as .claude/skills/magic-hour-image-editing/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
magic-hour-image-editing
description
Edit an existing image with Magic Hour while protecting details outside the requested change. Use for background replacement, cleanup, relighting, recoloring or reframing when Magic Hour is requested or is the project's chosen provider. Requires a source image; not prompt-only creation.
license
MIT
metadata.author
magichourhq
metadata.version
1.3.0

Magic Hour image editing

Deliver the requested change without redesigning the source. A convincing image can still be a failed edit if it changes the subject's face, shape, label, or other protected detail.

Infer the edit from the supplied image and plain-language request; recommend one treatment if needed. Choose technical settings yourself, reuse existing spending authorization and inspect the result before delivery. Do not insert draft approvals when the user delegated creative decisions. Show the image first and retain technical records in the project. For relighting, new backgrounds or difficult aspect ratios, read faithful edits.

Establish the edit boundary

Inspect the source. Separate change (background, color, lighting, object, framing) from preserve (identity, geometry, pose, clothing, exact text, unaffected surroundings). Infer from the request; ask only when ambiguity changes the result. Do not describe unseen details as verified.

Keep the source as the identity reference. If multiple references are supported, identify each role: subject, setting, or style. A style reference must not replace the subject. Check the chosen model's reference limit rather than assuming the endpoint's maximum applies to every model.

  • If a crop already meets the composition, use an available local image tool; do not pay to regenerate the subject.
  • For new backgrounds, lighting, colors, or missing canvas, use ai_image_editor_create_image with the real source. Do not reconstruct an exact product or person using text-to-image.
  • For background-only changes, preserve viewpoint and pose. A new angle asks the model to invent unseen details.
  • Do not claim masking, exact pixel preservation, transparent output, or a negative-prompt field unless the current tool supports it. “Keep unchanged” is an instruction, not a guarantee.

Prompt the change, then protect the source

Use this order: requested edit; output framing; protected details; shadows/reflections; rejection conditions. Keep the prompt proportional to the edit. Do not add cinematic styling to a simple cleanup.

Replace only the wet stone and dark setting with a clean white studio background and a soft contact shadow. Reframe to a square with the complete bottle centered and breathing room on every edge. Preserve the reference bottle's silhouette, cap dimensions, blue glass, camera angle, and single label reading “AURORA”. Remove the colored background light while keeping the blue material recognizable. No extra objects, duplicated labels, or new text.

For a personal transformation, use the same change/preserve boundary: “Move this person into a midnight platform with golden fish swimming through the air. Keep their face, hair, coat and pose. Place the nearest fish beside the shoulder without covering the face. Match the new lighting.” Preserve the person's actual features; do not add beauty, age or body changes unless requested. If video is next, solve the final canvas, visible limbs and effect placement here before paying for motion.

Do not paste the original generation prompt wholesale: it may request the background being replaced. Keep promotional copy in a separate layout layer when a suitable tool is available. Text already printed on the subject is protected content.

Show full SKILL.md (412 more words)Show less

Execute once and compare

Use the connected creation MCP at https://mcp.magichour.ai/; setup. For API fallback, keep credentials outside chat/source code. Read the live schema for model eligibility, resolution, aspect ratio, reference count, and cost. Web-app settings do not prove API support.

For local inputs, call video_assets_generate_presigned_url, PUT raw bytes to upload_url, verify success, and use its file_path. Never send the API bearer token to storage. Direct API creation is POST /v1/ai-image-editor; retrieval is GET /v1/image-projects/{id}. Retain the ID, use wait_for_image_project or retrieve that same job, and never repeat an ambiguous creation request automatically.

Use one output at a resolution that reveals the critical detail. A tiny preview cannot validate small label text. Stay within the existing authorized budget; ask only when it does not cover the intended work. Do not buy credits or upgrade. A model/resolution change needs a fresh cost check, not automatic reconfirmation when already authorized.

Compare the completed result beside the source, including a close view of protected details:

  • Did the requested change happen everywhere, including reflections and contact areas?
  • Are identity, silhouette, proportions, label, and unaffected content still correct?
  • Do hair, glass, edges, shadows, and removed-object regions look natural?
  • Does the downloaded file have the required dimensions and detail? A requested aspect ratio can be ignored. Crop only if it preserves the full subject and copy area; otherwise choose a supported reframing/model route within budget. Never stretch or silently deliver the wrong size.

If it fails, name the failure. Revise from the original when identity drifted; use an accepted edit for minor cleanup only after its protected details pass inspection. Do not chain unreviewed edits. Stop at the budget limit and disclose unresolved defects.

FailureChange on the next authorized attempt
Wrong dimensions despite a ratio settingVerify model support; use a safe crop or a different supported reframing route, not another adjective-heavy prompt.
Correct setting but altered face, cap, label, or viewpointReturn to the original, remove competing appearance instructions, and consider a model with better reference control.
Correct identity but wrong placementKeep model and source; specify subject scale and a clear boundary for the copy area.
Floating object or retained old reflectionDescribe the new contact surface and shadow/reflection treatment; keep unrelated details fixed.

Use the exact download URL, retrieve the same project if it expires, and save a durable file when requested. Return the edited image, project ID, and limitations. If you cannot inspect the image, say so rather than reporting it as verified.

© hashgraph-online, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in plugins/magichourhq/skills/skills/magic-hour-image-editing of hashgraph-online/awesome-codex-plugins.

  • SKILL.md
  • LICENSE.txt
  • agents/openai.yaml
  • references/faithful-edits.md

Open the folder on GitHubat commit 9e7b281

Compare with similar skills

Magic Hour Image Editing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Magic Hour Image Editing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Magic Hour Image Editing this skillhashgraph-online/awesome-codex-plugins1.3k—~1.8kAutomated safety check: PassMIT
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
Generate Imageynulihao/AgentSkillOS61710 repos~1.7kAutomated safety check: NotesNone
GPT Image Generation CLIwuyoscar/GPT-Image2-Skill5.7k—~2.5kAutomated safety check: NotesMIT
HyperFrames Media Useheygen-com/hyperframes59k—~2.4kAutomated safety check: PassApache-2.0
Media Useedenfunf/reelmimic1.8k1 repos~2kAutomated safety check: PassMIT

Similar skills

  • Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.

    47k GitHub stars~1.3k tokensUpdated today
    Media & CreativeAuto-check passed
  • Generate Image

    ynulihao/AgentSkillOS

    Generate or edit images using AI models (FLUX, Gemini). An agent skill from ynulihao/AgentSkillOS.

    617 GitHub starsUsed in 10 repos~1.7k tokens
    Media & CreativeAuto-check: notes
  • GPT Image Generation CLI

    wuyoscar/GPT-Image2-Skill

    Generates and edits images with GPT Image 2 or 2.5 through a packaged CLI and a prompt gallery, after settling which model fits the request.

    5.7k GitHub stars~2.5k tokensUpdated 9 days ago
    Media & CreativeAuto-check: notes
  • HyperFrames Media Use

    heygen-com/hyperframes

    Finds, generates and edits media for HyperFrames video projects: music, sound effects, images, icons, logos, voiceovers, captions and color grades.

    59k GitHub stars~2.4k tokensUpdated today
    Media & CreativeAuto-check passed
  • Media Use

    edenfunf/reelmimic

    Agent Media OS, the single skill for every media need in a HyperFrames project.

    1.8k GitHub starsUsed in 1 repo~2k tokens
    Media & CreativeAuto-check passed
  • BlockRun Image Generation

    BlockRunAI/ClawRouter

    Generates or edits images through ClawRouter's local image API, with a choice of models and sizes and payment handled automatically through x402.

    6.6k GitHub stars~2.1k tokensUpdated 4 days ago
    Media & CreativeAuto-check passed

More from hashgraph-online/awesome-codex-plugins

All 714 skills in this repo
  • Anime Reaction Gif

    hashgraph-online/awesome-codex-plugins

    Create original anime-style reaction stickers as looping GIFs and MP4 previews, using generated character pose sheets and timed key poses.

    1.3k GitHub stars~922 tokensUpdated today
    Auto-check passed
  • Calibredb

    hashgraph-online/awesome-codex-plugins

    Manage and query Calibre libraries with the calibredb CLI (local paths or Calibre Content server URLs).

    1.3k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Rust API Test Harness

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when adding, changing, testing, or debugging Rust HTTP APIs and services, especially when Codex needs black-box integration tests, random-port app startup, real database test…

    1.3k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Art

    hashgraph-online/awesome-codex-plugins

    Make a studio's game look like something at build time — a cover from a real frame of the game (free), painted covers, backdrops, textures and character plates from image models through the…

    1.3k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Calle

    hashgraph-online/awesome-codex-plugins

    Use CALL-E from Codex through the calle CLI. An agent skill from hashgraph-online/awesome-codex-plugins.

    1.3k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Game Balance Economy

    hashgraph-online/awesome-codex-plugins

    Balance game difficulty, resources, rewards, probability, progression, economies, and dominant strategies.

    1.3k GitHub stars~618 tokensUpdated today
    Auto-check passed

Questions about Magic Hour Image Editing

What does Magic Hour Image Editing do?

Edit an existing image with Magic Hour while protecting details outside the requested change. Magic Hour Image Editing is an agent skill from hashgraph-online/awesome-codex-plugins. Edit an existing image with Magic Hour while protecting details outside the requested change.

When should I use Magic Hour Image Editing?

Magic Hour Image Editing fits situations like: background replacement; reframing when Magic Hour is requested; is the projects chosen provider.

How do I install Magic Hour Image Editing in Claude Code?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill magic-hour-image-editing -a claude-code`. Or copy the skill folder (plugins/magichourhq/skills/skills/magic-hour-image-editing in hashgraph-online/awesome-codex-plugins) into .claude/skills/magic-hour-image-editing in your project. Claude Code loads it when a task matches its description.

How do I install Magic Hour Image Editing in Codex?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill magic-hour-image-editing -a codex`. Or copy the skill folder (plugins/magichourhq/skills/skills/magic-hour-image-editing in hashgraph-online/awesome-codex-plugins) into .agents/skills/magic-hour-image-editing in your project. Codex loads it when a task matches its description.

Can I use Magic Hour Image Editing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hashgraph-online/awesome-codex-plugins --skill magic-hour-image-editing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/magic-hour-image-editing, .gemini/skills/magic-hour-image-editing, .github/skills/magic-hour-image-editing and .opencode/skills/magic-hour-image-editing in your project.

What does Magic Hour Image Editing need to run?

SKILL.md names no scripts, command-line tools or credentials: Magic Hour Image Editing is instructions for the agent only.

Does Magic Hour Image Editing access the network?

SKILL.md names 3 domains. In commands or code: mcp.magichour.ai; the agent is likely to contact it when it follows the instructions. As links in the text: github.com and docs.magichour.ai. This is read from the text; nothing was executed.

Is Magic Hour Image Editing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Magic Hour Image Editing use?

Magic Hour Image Editing is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Magic Hour Image Editing use?

About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 743 tokens, read only when the agent opens those files.

What are the alternatives to Magic Hour Image Editing?

Skills that share tags, products or a category with Magic Hour Image Editing: AI Image Generation and Editing (zhayujie/CowAgent, 47k stars), Generate Image (ynulihao/AgentSkillOS, 617 stars), GPT Image Generation CLI (wuyoscar/GPT-Image2-Skill, 5.7k stars) and HyperFrames Media Use (heygen-com/hyperframes, 59k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Magic Hour Image Editing?

hashgraph-online (a GitHub organization) maintains it in hashgraph-online/awesome-codex-plugins, which has 1,255 GitHub stars. The repository holds 714 skills in this directory. The repository was last updated on October 9, 2026.

Source: hashgraph-online/awesome-codex-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.