Not in the top 1,000 by GitHub stars

Xiazhixuan119748/codex-pet-and-imagegen

让 Codex 在不修改原有配置的情况下,通过第三方 OpenAI 兼容中转站、Google Gemini、xAI Grok Imagine 或 Agnes AI 生成图片,并创建可在 Codex Desktop 中使用的动态 Pet。

History

Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.

View weekly changes

.system/imagegen/SKILL.md

Week of Nov 2, 2026 · +0 / −0 lines

Before Network or broad shell → After Network or broad shell

509a3c824098 → 509a3c824098

Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.

Compare on GitHub

Week of Oct 26, 2026 · Line counts unavailable

Before Not checked yet → After Network or broad shell

First observation → 509a3c824098

No earlier version was observed for comparison.

Compare on GitHub

hatch-pet/SKILL.md

Week of Nov 2, 2026 · +0 / −0 lines

Before Local scripts → After Local scripts

509a3c824098 → 509a3c824098

Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.

Compare on GitHub

Week of Oct 26, 2026 · Line counts unavailable

Before Not checked yet → After Local scripts

First observation → 509a3c824098

No earlier version was observed for comparison.

Compare on GitHub

View on GitHubAdd to my skills

Verified commit 509a3c8240987ec09ee5c4a7df22b73d75a3da2c

177GitHub stars
-2stars in 7 days
2skills in this repository
0commits in 30 days

Heat

0.1
  • Star growth, last 7 daysNot available
  • Star growth, last 24 hoursNot available
  • Rank movement, last 7 daysNot available
  • Commits, last 30 daysNot available
  • Accounts asking about it through MCP, last 7 daysNot available
  • Hot votes this weekNot available

Heat never changes the order by stars, and sponsorship never touches it. How heat works

Stars over time

Oct 25, 2026Nov 3, 2026179

30-day change not yet available: not enough history.

Individual skills in this repository

How it works

imagegen

When your agent uses it

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG/vector/code-native assets, extending an established icon or logo system, or building the visual directly in HTML/CSS/canvas.

What it loads into context

Frontmatter

119 tokens

Always available to the agent

SKILL.md

6,729 tokens

When the skill is activated

Reference documents

14,496 tokens

Loaded on request

Token counts are estimates. Scripts run separately; they are not counted as reference context.

The playbook

  1. Top-level modes and rules
  2. When to use
  3. When not to use
  4. Decision tree
  5. Workflow
  6. Transparent image requests
  7. Prompt augmentation
  8. Use-case taxonomy (exact slugs)
  9. Shared prompt schema
  10. Examples
  11. Prompting best practices
  12. Guidance by asset type
  13. gpt-image-2 guidance for CLI fallback
  14. CLI modes only
  15. Reference map

Scripts executed separately

  • scripts/agnes_image_gen.py
  • scripts/gemini_image_gen.py
  • scripts/grok_image_gen.py
  • scripts/image_gen.py
  • scripts/image_gen_with_codex_env.py
  • scripts/remove_chroma_key.py

Files

  • LICENSE.txtdoc10,776 bytes
  • SKILL.mdcore30,651 bytes
  • SKILL.mdcore30,651 bytes
  • SKILL.mdcore30,651 bytes
  • SKILL.mdcore30,651 bytes
  • SKILL.mdcore30,651 bytes
  • SKILL.mdcore30,651 bytes
  • SKILL.mdcore30,651 bytes
  • SKILL.mdcore30,651 bytes
  • agents/openai.yamlasset275 bytes
  • assets/imagegen-small.svgasset2,889 bytes
  • assets/imagegen.pngasset1,711 bytes
  • references/cli.mddoc17,997 bytes
  • references/codex-network.mddoc1,779 bytes
  • references/image-api.mddoc11,350 bytes
  • references/prompting.mddoc10,061 bytes
  • references/sample-prompts.mddoc19,385 bytes
  • scripts/agnes_image_gen.pyruns28,198 bytes
  • scripts/gemini_image_gen.pyruns27,744 bytes
  • scripts/grok_image_gen.pyruns31,005 bytes
  • scripts/image_gen.pyruns45,478 bytes
  • scripts/image_gen_with_codex_env.pyruns4,653 bytes
  • scripts/remove_chroma_key.pyruns13,835 bytes

No excerpt is shown for this license. Read the source on GitHub.

View the complete source on GitHub

Skills included

  • imagegen
  • hatch-pet

Repository facts

License
No license detected
Created
Jul 15, 2026
Last pushed
Jul 20, 2026
Forks
0
Open issues
0
Project activity
Slowing

Before you install

Network or broad shell

Automated signals, not a guarantee

Checked Nov 6, 2026

Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.

Show 60 notes
  • .system/imagegen/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • .system/imagegen/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • .system/imagegen/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • .system/imagegen/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • .system/imagegen/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • .system/imagegen/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • .system/imagegen/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • hatch-pet/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • hatch-pet/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • hatch-pet/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • hatch-pet/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • hatch-pet/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • hatch-pet/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • hatch-pet/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • hatch-pet/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • hatch-pet/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • hatch-pet/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • hatch-pet/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • hatch-pet/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • hatch-pet/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
Show all 107 signals by file

.system/imagegen/LICENSE.txt

  • Network accessline 1
    Apache License Version 2.0, January 2004 http://www.apache.org/licenses/
  • Network accessline 3
    http://www.apache.org/licenses/
  • Network accessline 195
    http://www.apache.org/licenses/LICENSE-2.0

.system/imagegen/SKILL.md

  • Access to secretsline 16
    [Credential-related source omitted]
  • Access to secretsline 29
    [Credential-related source omitted]
  • Access to secretsline 172
    [Credential-related source omitted]
  • Access to secretsline 351
    [Credential-related source omitted]
  • Access to secretsline 356
    [Credential-related source omitted]

.system/imagegen/assets/imagegen-small.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">

.system/imagegen/references/cli.md

  • Network accessline 25
    [Credential-related source omitted]
  • Access to secretsline 25
    [Credential-related source omitted]
  • Network accessline 26
    # Optional for the official endpoint; set this for an OpenAI-compatible relay. # OPENAI_BASE_URL=https://your-image-api.example/v1 OPENAI_IMAGE_MODEL=gpt-image-2
  • Network accessline 27
    # OPENAI_BASE_URL=https://your-image-api.example/v1
  • Access to secretsline 35
    [Credential-related source omitted]
  • Network accessline 36
    GEMINI_IMAGE_MODEL=gemini-3.1-flash-image GEMINI_API_MODE=generate-content # GEMINI_BASE_URL=https://your-gemini-relay.example
  • Network accessline 38
    # GEMINI_BASE_URL=https://your-gemini-relay.example
  • Network accessline 45
    [Credential-related source omitted]
  • Access to secretsline 45
    [Credential-related source omitted]
  • Network accessline 47
    # XAI_BASE_URL=https://api.x.ai/v1
  • Network accessline 54
    [Credential-related source omitted]
  • Access to secretsline 54
    [Credential-related source omitted]
  • Network accessline 56
    # AGNES_BASE_URL=https://apihub.agnes-ai.com/v1
  • Access to secretsline 92
    [Credential-related source omitted]
  • Access to secretsline 156
    [Credential-related source omitted]
  • Dangerous shell operationline 339
    rm -f tmp/imagegen/prompts.jsonl

.system/imagegen/references/image-api.md

  • Network accessline 115
    Configured Grok mode defaults to `grok-imagine-image-quality` and uses the JSON endpoints `POST /v1/images/generations` and `POST /v1/images/edits`. It accepts the official `grok-imagine-image` and `grok-imagine-image-quality` models plus t
  • Network accessline 125
    Configured Agnes mode supports `agnes-image-2.0-flash` and the preferred `agnes-image-2.1-flash` at `https://apihub.agnes-ai.com/v1`. Every workflow posts JSON to `/images/generations`, including edits. This differs from OpenAI edit: ordere

.system/imagegen/scripts/agnes_image_gen.py

  • Executable scriptline 1
    #!/usr/bin/env python3
  • Network accessline 22
    DEFAULT_MODEL = "agnes-image-2.1-flash" DEFAULT_BASE_URL = "https://apihub.agnes-ai.com/v1"
  • Network accessline 23
    DEFAULT_BASE_URL = "https://apihub.agnes-ai.com/v1"
  • Network accessline 311
    "httpx is not installed. Install it with `py -m pip install --upgrade httpx`."         ) from exc     return httpx.Client(timeout=120.0, follow_redirects=True, max_redirects=3)
  • Network accessline 313
    return httpx.Client(timeout=120.0, follow_redirects=True, max_redirects=3)
  • Access to secretsline 317
    [Credential-related source omitted]
  • Access to secretsline 319
    [Credential-related source omitted]
  • Possible obfuscationline 415
    raw = base64.b64decode(encoded, validate=True)

.system/imagegen/scripts/gemini_image_gen.py

  • Executable scriptline 1
    #!/usr/bin/env python3
  • Possible obfuscationline 272
    return data if isinstance(data, bytes) else base64.b64decode(data, validate=True)
  • Access to secretsline 323
    [Credential-related source omitted]
  • Access to secretsline 324
    [Credential-related source omitted]
  • Access to secretsline 325
    [Credential-related source omitted]
  • Access to secretsline 332
    [Credential-related source omitted]

.system/imagegen/scripts/grok_image_gen.py

  • Executable scriptline 1
    #!/usr/bin/env python3
  • Network accessline 23
    DEFAULT_MODEL = "grok-imagine-image-quality" DEFAULT_BASE_URL = "https://api.x.ai/v1"
  • Network accessline 24
    DEFAULT_BASE_URL = "https://api.x.ai/v1"
  • Network accessline 306
    "httpx is not installed. Install it with `py -m pip install --upgrade httpx`."         ) from exc     return httpx.Client(timeout=120.0, follow_redirects=True, max_redirects=3)
  • Network accessline 308
    return httpx.Client(timeout=120.0, follow_redirects=True, max_redirects=3)
  • Access to secretsline 312
    [Credential-related source omitted]
  • Access to secretsline 314
    [Credential-related source omitted]
  • Possible obfuscationline 451
    raw = base64.b64decode(encoded, validate=True)

.system/imagegen/scripts/image_gen.py

  • Executable scriptline 1
    #!/usr/bin/env python3
  • Access to secretsline 74
    [Credential-related source omitted]
  • Access to secretsline 75
    [Credential-related source omitted]
  • Access to secretsline 78
    [Credential-related source omitted]
  • Access to secretsline 80
    [Credential-related source omitted]
  • Possible obfuscationline 470
    raw = base64.b64decode(image_b64)
  • Possible obfuscationline 537
    raw = base64.b64decode(image_b64)

.system/imagegen/scripts/image_gen_with_codex_env.py

  • Executable scriptline 1
    #!/usr/bin/env python3
  • Access to secretsline 13
    [Credential-related source omitted]
  • Access to secretsline 18
    [Credential-related source omitted]
  • Access to secretsline 24
    [Credential-related source omitted]
  • Access to secretsline 29
    [Credential-related source omitted]
  • Access to secretsline 44
    [Credential-related source omitted]
  • Access to secretsline 86
    [Credential-related source omitted]
  • Access to secretsline 87
    [Credential-related source omitted]
  • Access to secretsline 88
    [Credential-related source omitted]
  • Access to secretsline 89
    [Credential-related source omitted]
  • Access to secretsline 96
    [Credential-related source omitted]

.system/imagegen/scripts/remove_chroma_key.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/LICENSE.txt

  • Network accessline 1
    Apache License Version 2.0, January 2004 http://www.apache.org/licenses/
  • Network accessline 3
    http://www.apache.org/licenses/
  • Network accessline 195
    http://www.apache.org/licenses/LICENSE-2.0

hatch-pet/SKILL.md

  • Access to secretsline 53
    [Credential-related source omitted]
  • Network accessline 239
    "$PYTHON" "$SKILL_DIR/scripts/prepare_pet_run.py"    --pet-name "<Name>"    --description "<one sentence>"    --reference /absolute/path/to/reference.png    --output-dir /absolute/path/to/run    --pet-notes "<stable pet description>"    --b
  • Network accessline 246
    --brand-name "<optional researched brand name>" \   --brand-brief "<optional compact researched brand cue sentence>" \   --brand-source "https://example.com/source" \
  • Network accessline 247
    --brand-brief "<optional compact researched brand cue sentence>" \   --brand-source "https://example.com/source" \   --style-preset auto \
  • Network accessline 248
    --brand-source "https://example.com/source" \
  • Access to secretsline 331
    [Credential-related source omitted]
  • Access to secretsline 334
    [Credential-related source omitted]
  • Dangerous shell operationline 358
    rm -f "$SOURCE"
  • Access to secretsline 462
    [Credential-related source omitted]
  • Access to secretsline 466
    [Credential-related source omitted]
  • Access to secretsline 544
    [Credential-related source omitted]
  • Access to secretsline 550
    [Credential-related source omitted]
  • Access to secretsline 560
    [Credential-related source omitted]
  • Access to secretsline 564
    [Credential-related source omitted]
  • Access to secretsline 574
    [Credential-related source omitted]
  • Access to secretsline 578
    [Credential-related source omitted]
  • Access to secretsline 587
    [Credential-related source omitted]
  • Access to secretsline 590
    [Credential-related source omitted]

hatch-pet/scripts/assemble_extended_atlas.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/scripts/combine_direction_blind_verdicts.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/scripts/compose_atlas.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/scripts/compose_cardinal_anchor_strip.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/scripts/derive_running_left_from_running_right.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/scripts/despill_chroma_edges.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/scripts/extract_cardinal_anchors.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/scripts/extract_strip_frames.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/scripts/inspect_frames.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/scripts/make_contact_sheet.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/scripts/make_direction_blind_qa_sheet.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/scripts/make_direction_qa_sheet.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/scripts/measure_direction_continuity.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/scripts/pack_grok_references.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/scripts/prepare_pet_run.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/scripts/render_animation_previews.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/scripts/validate_atlas.py

  • Executable scriptline 1
    #!/usr/bin/env python3

hatch-pet/scripts/validate_direction_blind_verdicts.py

  • Executable scriptline 1
    #!/usr/bin/env python3

How the signals fit together

Facts from a static read of the files at the pinned commit. They describe what the code does, not why.

Some files could not be read; the facts below still hold.

Signal confidence: 106 facts

and 56 more

Works with

Agent compatibility, from the files in this repository
AgentStatusEvidenceInstall to
Claude CodeCompatibleStandard SKILL.md .system/imagegen/SKILL.md.claude/skills/<skill-name>/
CodexCompatibleStandard SKILL.md .system/imagegen/SKILL.md.agents/skills/<skill-name>/
CursorCompatibleStandard SKILL.md .system/imagegen/SKILL.md.cursor/skills/<skill-name>/
Gemini CLICompatibleStandard SKILL.md .system/imagegen/SKILL.md.gemini/skills/<skill-name>/
GitHub CopilotCompatibleStandard SKILL.md .system/imagegen/SKILL.md.github/skills/<skill-name>/
OpenCodeCompatibleStandard SKILL.md .system/imagegen/SKILL.md.opencode/skills/<skill-name>/
  • Native The repository ships a manifest, folder or frontmatter field for this agent.
  • Compatible A standard SKILL.md that this agent can read.
  • Unknown No evidence either way.

Derived automatically from paths, manifests and frontmatter. Not tested on each agent.