vibeshotclub/vsc-skills/codex-image-to-eagle
Claude Code and agent skill by vibeshotclub/vsc-skills
- community
Checking that the SKILL.md file is still in the repository.
Archive Codex-generated images from the current user's Codex generated_images directory into Eagle with the prompt saved as annotation. Use when the user asks to save, archive, import, or sync Codex generated images to Eagle with prompts, tags, and folders.
Install
npx vskill@latest install vibeshotclub/vsc-skills/codex-image-to-eagleSKILL.md
Codex Image to Eagle
Archive images generated by Codex into Eagle and preserve the prompt as searchable metadata.
Default behavior
- Image source:
CODEX_GENERATED_IMAGES_DIRif set, otherwise<current user home>/.codex/generated_images - Eagle connection: local Eagle MCP server on
http://127.0.0.1:41596by default. Prefer the IPv4 loopback address overlocalhostto avoid IPv6/hostname resolution issues. - Stdio mode: the script reads the current user's
~/.codex/config.toml, prefers[mcp_servers.eagle], and can auto-detect other Eagle-like stdio MCP entries. Use--transport httpto force the legacy HTTP path. - Import method: Eagle MCP
item_add - Prompt storage: Eagle item
annotation - Default tags:
Codex,AI生成,Prompt - Default folder: use the folder requested by the user as the root; if none is specified, create or reuse
Codex 生成图 - Default organization: put each image into a local-date subfolder under the root, e.g.
Codex 生成图/2026-4-26 - Folder safety: resolve folders by exact parent-child path, not by name alone. Folder creation is guarded by a local lock to avoid duplicate date folders when several automation jobs run at the same time.
Script
Use the bundled script:
The bundled script defaults to http://127.0.0.1:41596. If needed, override it explicitly:
Stdio MCP mode:
Example Codex config:
Important: the script can read ~/.codex/config.toml, but it cannot automatically reuse MCP tools already connected to Codex. If the script is launched inside a network-restricted automation shell, a child stdio proxy may still inherit that sandbox. The strongest automation path is to call the configured Eagle MCP tool directly from Codex instead of shelling out to this script.
When using Eagle MCP tools directly, folder handling must follow this exact rule:
- Resolve the root folder first.
- Prefer
EAGLE_CODEX_ROOT_FOLDER_IDor a user-provided root folder ID. - Otherwise call
folder_getwithgetAllHierarchy: true, fullDetails: trueand find the root folder whosenameis exactlyCodex 生成图or the requested root name and whoseparent/parentIdis empty.
- Resolve the date folder only under that root folder.
- Search children by exact
nameand exact parent ID. - Never search by date name globally.
- Never create a date folder at Eagle root level unless the requested root itself is intentionally the Eagle root.
- Create a missing date folder with
parentIdset to the resolved root folder ID. - If more than one matching date folder already exists under the same root, reuse the oldest existing folder ID and report the duplicate instead of creating another one.
- For automation concurrency, prefer the bundled script because it has a local lock around folder creation.
Common options:
Workflow
- Identify the image path.
- If the user refers to the latest generated image, use
--latest. - If a generation produced multiple images, use
--latest-session. - If the user provides a path, use
--path.
- Capture the final prompt exactly as used to generate the image.
- Run the script with the prompt.
- Return the imported Eagle item ID(s) and the folder used.
Prompt annotation format
The script writes this structure into Eagle annotation:
Safety
- Do not delete or move source files in the Codex generated images directory.
- Use
--dry-runfirst when the prompt, folder, or image selection is uncertain. - If Eagle is not running or the MCP plugin is disabled, ask the user to start Eagle and enable Eagle MCP.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcodex-image-to-eagle/SKILL.md
Popularity
- Repository stars
- 221
- Repository forks
- 39
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 13 Jun 2026, 4 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vibeshotclub/vsc-skills/codex-image-to-eagle)