Logo: Codex Image To Eagle

Codex Image To Eagle

Organisatioun
vibeshotclub
codex-image-to-eagle

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.

Iwwersiicht

Editeurvibeshotclub
Repositoryvsc-skills
Skill-Nummcodex-image-to-eagle
Stären
876
Forks
139
Matgeliwwert Dateien
1
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    vibeshotclub huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Codex Image To Eagle an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/vibeshotclub/vsc-skills/tree/main/codex-image-to-eagle
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vibeshotclub/vsc-skills.git /tmp/vsc-skills
mkdir -p .claude/skills
cp -r /tmp/vsc-skills/codex-image-to-eagle .claude/skills/codex-image-to-eagle
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Codex Image To Eagle an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Codex Image To Eagle automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Codex Image To Eagle net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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_DIR if set, otherwise <current user home>/.codex/generated_images
  • Eagle connection: local Eagle MCP server on http://127.0.0.1:41596 by default. Prefer the IPv4 loopback address over localhost to 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 http to 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:

bash
node scripts/archive-codex-image-to-eagle.js --latest --prompt "PROMPT_TEXT"

The bundled script defaults to http://127.0.0.1:41596. If needed, override it explicitly:

bash
EAGLE_SERVER_URL=http://127.0.0.1:41596 node scripts/archive-codex-image-to-eagle.js --latest --prompt "PROMPT_TEXT"

Stdio MCP mode:

bash
node scripts/archive-codex-image-to-eagle.js --transport stdio --latest --prompt "PROMPT_TEXT"
node scripts/archive-codex-image-to-eagle.js --transport stdio --check-connection

Example Codex config:

toml
[mcp_servers.eagle]
command = "node"
args = ["/your/Eagle/Plugins/mcp-server/modules/mcp-proxy.js"]
env = { EAGLE_SERVER_URL = "http://127.0.0.1:41596" }

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:

  1. Resolve the root folder first.
    • Prefer EAGLE_CODEX_ROOT_FOLDER_ID or a user-provided root folder ID.
    • Otherwise call folder_get with getAllHierarchy: true, fullDetails: true and find the root folder whose name is exactly Codex 生成图 or the requested root name and whose parent/parentId is empty.
  2. Resolve the date folder only under that root folder.
    • Search children by exact name and 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.
  3. Create a missing date folder with parentId set to the resolved root folder ID.
  4. 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.
  5. For automation concurrency, prefer the bundled script because it has a local lock around folder creation.

Common options:

bash
# Import the newest Codex-generated image.
node scripts/archive-codex-image-to-eagle.js --latest --prompt "PROMPT_TEXT"

# Override the Codex generated image directory when needed.
node scripts/archive-codex-image-to-eagle.js --latest --image-dir "~/.codex/generated_images" --prompt "PROMPT_TEXT"

# Import all image files in the newest generated_images session folder.
node scripts/archive-codex-image-to-eagle.js --latest-session --prompt "PROMPT_TEXT"

# Import a specific file.
node scripts/archive-codex-image-to-eagle.js --path "/absolute/path/image.png" --prompt "PROMPT_TEXT"

# Read a long prompt from a file.
node scripts/archive-codex-image-to-eagle.js --latest --prompt-file "/absolute/path/prompt.txt"

# Choose a target Eagle folder by name or ID.
node scripts/archive-codex-image-to-eagle.js --latest --folder-name "Codex 生成图" --prompt "PROMPT_TEXT"
node scripts/archive-codex-image-to-eagle.js --latest --folder-id "FOLDER_ID" --prompt "PROMPT_TEXT"
node scripts/archive-codex-image-to-eagle.js --latest --root-folder-id "ROOT_FOLDER_ID" --prompt "PROMPT_TEXT"

# Automation: fixed folder ID skips folder_get/folder_create permission prompts.
EAGLE_CODEX_FOLDER_ID="FOLDER_ID" node scripts/archive-codex-image-to-eagle.js --latest --prompt "PROMPT_TEXT"

# Automation: fixed root folder ID still creates/reuses date subfolders under that root.
EAGLE_CODEX_ROOT_FOLDER_ID="ROOT_FOLDER_ID" node scripts/archive-codex-image-to-eagle.js --latest --prompt "PROMPT_TEXT"

# Disable date subfolders and import into the root folder directly.
node scripts/archive-codex-image-to-eagle.js --latest --no-date-subfolders --prompt "PROMPT_TEXT"

# Preview without modifying Eagle.
node scripts/archive-codex-image-to-eagle.js --latest --prompt "PROMPT_TEXT" --dry-run

# Test MCP connectivity without importing images.
node scripts/archive-codex-image-to-eagle.js --transport stdio --check-connection

Workflow

  1. 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.
  2. Capture the final prompt exactly as used to generate the image.
  3. Run the script with the prompt.
  4. Return the imported Eagle item ID(s) and the folder used.

Prompt annotation format

The script writes this structure into Eagle annotation:

text
Prompt:
...

Archive:
- source: Codex
- original_path: ...
- archived_at: ...

Safety

  • Do not delete or move source files in the Codex generated images directory.
  • Use --dry-run first 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.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Codex Image To Eagle?

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.

Firwat Codex Image To Eagle op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Codex Image To Eagle besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Codex Image To Eagle an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/vibeshotclub/vsc-skills/tree/main/codex-image-to-eagle an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Codex Image To Eagle benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Codex Image To Eagle benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Codex Image To Eagle domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Codex Image To Eagle gratis?

vibeshotclub huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇