Agent skill

Pocketmen With You

by six-nut in six-nut/PocketMen-with-you

Turn 2+ user reference images into a high-fidelity animated Codex companion using PocketMen's own local stack.

MITAuto-check passedAI & LLM Engineering

Install Pocketmen With You

skills CLI
$ npx skills add six-nut/PocketMen-with-you --skill pocketmen-with-you -a claude-code

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

GitHub CLI
$ gh skill install six-nut/PocketMen-with-you pocketmen-with-you --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/six-nut/PocketMen-with-you.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/pocketmen-with-you .claude/skills/pocketmen-with-you && 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
pocketmen-with-you
GitHub stars
310
Token cost
~2.6k tokens
SKILL.md length
1,124 words
Files
33 (incl. scripts, references, assets)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Turn 2+ user reference images into a high-fidelity animated Codex companion using PocketMen's own local stack.

  • Works in 6 steps: inspect the references visually and… → run PocketMen hardware doctor; → if compatible neural runtime/hardware is… → …
  • Tasks that involve LLM API integration
  • SKILL.md covers Product goal, Engine order, First step: visual Identity Lock and Style choice, plus 12 more sections
  • Runs Python scripts from its folder; calls python; needs OPENAI_API_KEY

What it does

Pocketmen With You is an agent skill from six-nut/PocketMen-with-you. Turn 2+ user reference images into a high-fidelity animated Codex companion using PocketMen's own local stack. Prefer the open-weight Neural Local Studio (FLUX.2 klein 4B; optional Qwen-Image-Edit-2511 Identity-Max) on compatible hardware; otherwise fall back to the deterministic local renderer. Never require hatch-pet or OPENAIAPIKEY for the normal workflow.

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 38 other files, including scripts, reference files and assets (for example `agents/openai.yaml`, `references/motion-contract.md` and `references/privacy-ip.md`).

It sits in AI & LLM Engineering, covering LLM API integration. It works with Qwen, OpenAI and Python. The repository describes itself as: Create high-fidelity Codex companions from 2+ photos with local open-weight neural editing and no OpenAI API key. The licence is MIT.

When your agent uses it

  • Tasks that involve LLM API integration

Example prompts

  • “/pocketmen-with-you”

Requirements

  • Python 3
  • A credential in OPENAI_API_KEY

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. inspect the references visually and build an Identity Lock;
  2. run PocketMen hardware doctor;
  3. if compatible neural runtime/hardware is available, use neural-local;
  4. if the neural runtime is missing but an NVIDIA GPU with roughly 13 GB+ VRAM is present, bootstrap the skill-local neural profile once…
  5. if neural inference is unavailable or fails, fall back to the deterministic local renderer;
  6. never route failure into hatch-pet or OpenAI API-key setup.

What it can do on your machine

Read from SKILL.md and the folder at commit b566598. 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

    Ships 1 file in scripts/ (Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python

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

  • Network

    No URLs in SKILL.md.

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

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENAI_API_KEY

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

Context cost

Pocketmen With You loads about 2.6k tokens when it runs, and up to ~3.3k if it reads all its reference files. Until then it costs about 96 tokens; SKILL.md has 1,124 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

The full file from six-nut/PocketMen-with-you at commit b566598, republished under its MIT licence (© six-nut). 1,124 words, ~2,618 tokens.

Download SKILL.mdSave it as .claude/skills/pocketmen-with-you/SKILL.md (or your agent's skills folder). This skill also uses 32 other files; get the full folder from GitHub.
name
pocketmen-with-you
description
Turn 2+ user reference images into a high-fidelity animated Codex companion using PocketMen's own local stack. Prefer the open-weight Neural Local Studio (FLUX.2 klein 4B; optional Qwen-Image-Edit-2511 Identity-Max) on compatible hardware; otherwise fall back to the deterministic local renderer. Never require hatch-pet or OPENAI_API_KEY for the normal workflow.

PocketMen with You — Neural Local Studio

Create a Codex companion from at least two user-provided reference images. The normal workflow is self-contained and must not invoke $hatch-pet or request OPENAI_API_KEY.

Product goal

The user should be able to upload 2+ images and get a polished, identity-consistent Codex companion with minimal setup. PocketMen should aim for hosted-image-editor-like quality within this narrow companion-creation task, while being honest that local open-weight models are not guaranteed to equal a proprietary frontier model on every visual task.

Engine order

Use this decision order:

  1. inspect the references visually and build an Identity Lock;
  2. run PocketMen hardware doctor;
  3. if compatible neural runtime/hardware is available, use neural-local;
  4. if the neural runtime is missing but an NVIDIA GPU with roughly 13 GB+ VRAM is present, bootstrap the skill-local neural profile once, then retry;
  5. if neural inference is unavailable or fails, fall back to the deterministic local renderer;
  6. never route failure into hatch-pet or OpenAI API-key setup.
Default neural backend

flux2-klein-4b

  • open-weight local generation/editing;
  • multi-reference editing;
  • commercial-friendly Apache-2.0 weights;
  • intended for consumer NVIDIA GPUs;
  • preferred for most users.
Identity-Max backend

qwen-image-edit-2511

Use only when the user prioritizes identity consistency over setup size/latency or when FLUX state outputs visibly drift. This backend is heavier and should not be silently installed unless needed.

Deterministic fallback

local-deterministic-motion-puppet

Guaranteed no-model path. It preserves supplied pixels and produces a valid Codex atlas, but cannot invent unseen anatomy/poses at neural quality.

First step: visual Identity Lock

Before running any command, inspect all supplied references and summarize only stable visible details.

Record:

  • subject_type: person, animal, creature, mascot, or auto;
  • face/head shape;
  • hair/fur/material and stable markings;
  • eye color and eye shape;
  • silhouette/body proportions;
  • fixed accessories (collar, earrings, glasses, watch, ribbon, backpack, etc.);
  • stable outfit details when the user wants them locked;
  • personality cues relevant to motion;
  • any traits that vary between images and must not be locked.

Turn these into one concise --identity-notes string. This is important: the local neural backend sees image references, but explicit stable identity notes substantially reduce drift across animation states.

Do not infer sensitive identity attributes. Describe only visible appearance needed for rendering.

Style choice

Allowed styles:

  • soft-real — photo-faithful humans/animals; preserve fur/hair/eyes/markings/accessories;
  • hero-chibi — premium 3D toy-like chibi, handsome/cute balance, roughly 2.7–3 heads tall;
  • plush — premium collectible plush interpretation;
  • capsule-creature — original PocketMen pocket-creature styling using PocketMen's own red/yellow Companion Capsule;
  • auto — conservative; use soft-real unless the user clearly requests stylization.

For a real deceased or memorial pet, prioritize identity fidelity over cuteness and do not imply the digital pet is literally the deceased animal.

Quality choice

  • draft: one neural canonical master + deterministic nine-state motion;
  • balanced: canonical master + state-specific neural key poses; recommended default;
  • max: independently generate every state key pose; best for publication-quality showcases and important personal companions.

Use max when the user explicitly asks for maximum quality, ImageGen-like results, or very high fidelity.

Runtime discovery

Resolve the installed skill directory first.

Runtime Python:

Windows:

text
<skill-dir>\.venv\Scripts\python.exe

macOS/Linux:

text
<skill-dir>/.venv/bin/python

If the virtual environment does not exist, run:

bash
python <skill-dir>/scripts/setup_runtime.py --skill-dir <skill-dir> --profile core

Hardware doctor

Run:

bash
<python> <skill-dir>/scripts/create_local_pet.py doctor

If recommended_engine is neural-local but the neural dependencies are missing, run once:

bash
python <skill-dir>/scripts/setup_runtime.py --skill-dir <skill-dir> --profile neural

The first real neural creation may download black-forest-labs/FLUX.2-klein-4B into the normal Hugging Face cache. This is a local model download, not an OpenAI API call, and no OpenAI key is required.

If the user explicitly requests Identity-Max, use:

bash
python <skill-dir>/scripts/setup_runtime.py --skill-dir <skill-dir> --profile identity-max

Creation command — default high-quality path

bash
<python> <skill-dir>/scripts/create_local_pet.py create \
  --reference /absolute/path/ref1.jpg \
  --reference /absolute/path/ref2.jpg \
  --name "<display name>" \
  --pet-id "<stable-id>" \
  --subject-type <person|animal|creature|mascot|auto> \
  --identity-notes "<stable visible identity details>" \
  --style <soft-real|hero-chibi|plush|capsule-creature|auto> \
  --engine auto \
  --backend auto \
  --quality balanced \
  --output /absolute/path/to/output \
  --install

For maximum local quality:

text
--engine neural --backend flux2-klein-4b --quality max

For identity-sensitive heavy mode:

text
--engine neural --backend qwen-image-edit-2511 --quality max

Do not ask for API credentials if these fail. If neural fallback is allowed, PocketMen will use the deterministic path and report the reason.

Neural rendering design

PocketMen owns the full pipeline:

  1. choose a chroma color maximally separated from the references;
  2. use 2–3 references as identity anchors;
  3. generate a canonical master in the requested style;
  4. generate semantically correct state-specific key poses from canonical + raw references;
  5. use a strict structured prompt: purpose → subject → identity lock → action → style → composition → background → constraints;
  6. render on a perfectly flat opaque chroma background;
  7. remove only chroma-like pixels connected to the frame border, protecting same-colored eyes/accessories inside the subject;
  8. use deterministic micro-motion between key poses to reduce identity flicker;
  9. build, validate, preview and package the 8×9 Codex atlas.
Show full SKILL.md (432 more words)Show less

Motion contract

Rows and frame counts:

  1. idle — 6
  2. running-right — 8
  3. running-left — 8
  4. waving — 4
  5. jumping — 5
  6. failed — 8
  7. waiting — 6
  8. running — 6, meaning Codex is actively working, not physical locomotion
  9. review — 6

The neural engine generates a true semantic key pose for each state in balanced/max modes. Deterministic transforms are reserved for subtle breathing, bounce, lean and timing—not for pretending a static cutout is a completely new pose.

For animals, waving should use a raised front paw with natural anatomy. For people, use a real hand wave. running should depict focused work with a compact plain laptop. review should depict inspection of a plain paper/blueprint. No readable brand logos or UI text.

QA gates

Expected output:

text
<output>/
  package/<pet-id>/
    pet.json
    spritesheet.webp
  run/final/
    spritesheet.webp
    validation.json
  run/qa/
    identity-lock.json
    neural-generation.json        # neural runs only
    neural-raw/*.png              # local QA artifacts
    neural-cutouts/*.png          # local QA artifacts
    contact-sheet.png
    review.json
    run-summary.json
    previews/*.gif

Before installation acceptance:

  1. validation.json must report ok: true;
  2. inspect contact-sheet.png visually;
  3. inspect at least idle, running-right, waving, jumping, running, and review GIFs when available;
  4. reject severe identity drift, wrong eye/fur/hair color, missing fixed accessories, extra limbs, extra subjects, bad cutout residue, crop, or action semantics mismatch;
  5. if one state is visibly wrong in neural mode, rerun that creation with stronger identity notes or Identity-Max rather than switching to an OpenAI API fallback;
  6. do not publish or commit raw personal reference images.

Failure policy

Neural dependency/model failure
  • report the local error briefly;
  • use deterministic fallback unless the user explicitly disabled it;
  • never suggest OPENAI_API_KEY as the default recovery path.
Out-of-memory
  • keep CPU offload enabled;
  • close other GPU-heavy apps;
  • use balanced or draft quality;
  • if still failing, use deterministic fallback.
Identity drift
  • strengthen --identity-notes;
  • use the cleanest 2–3 references;
  • use qwen-image-edit-2511 --quality max when the hardware can support it;
  • regenerate only the pet creation, not unrelated repository assets.

Independence rule

Normal PocketMen output must report:

text
api_key_required: false
hatch_pet_required: false
openai_imagegen_used: false

Do not invoke $hatch-pet. Do not inspect or request OPENAI_API_KEY. Do not silently call an external paid image endpoint.

Model licensing

PocketMen code is MIT. Model weights are downloaded separately and are not redistributed by this repository.

  • FLUX.2 [klein] 4B: Apache-2.0.
  • Qwen-Image-Edit-2511: Apache-2.0.
  • Do not make FLUX.2 [dev] a default backend; its model license is non-commercial.

Privacy

Raw reference images remain local. Do not copy them into Git commits, public releases, bug reports or example datasets without explicit user permission. Final pet packages should contain only the required install assets unless the user asks to retain QA files.

Final report

Report:

  • pet ID and display name;
  • engine actually used;
  • backend/model actually used;
  • style and quality profile;
  • hardware summary;
  • package path and install path;
  • validation result;
  • contact sheet and preview paths;
  • neural fallback reason, if any;
  • hatch_pet_required=false;
  • api_key_required=false;
  • openai_imagegen_used=false.

© six-nut, 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 32 other files (scripts, references, assets) in .agents/skills/pocketmen-with-you of six-nut/PocketMen-with-you.

  • SKILL.md
  • agents/openai.yaml
  • assets/logo-large.png
  • assets/logo-small.svg
  • references/motion-contract.md
  • references/privacy-ip.md
  • references/style-presets.md
  • requirements-identity-max.txt
  • requirements-local.txt
  • requirements-neural.txt
  • runtime/pocketmen/__init__.py
  • runtime/pocketmen/atlas.py
  • runtime/pocketmen/backends/__init__.py
  • runtime/pocketmen/backends/base.py
  • runtime/pocketmen/backends/flux2_klein.py
  • … and 18 more

Open the folder on GitHubat commit b566598

Compare with similar skills

Pocketmen With You 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.

Pocketmen With You compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pocketmen With You this skillsix-nut/PocketMen-with-you310—~2.6kAutomated safety check: PassMIT
Dingo VerifyMigoXLab/dingo757—~833Automated safety check: PassApache-2.0
Azure Openai To Responsesmicrosoft/ai-agents-for-beginners77k—~6kAutomated safety check: NotesMIT
Visionxiincs/claude-code-vision-skill170—~1.2kAutomated safety check: PassMIT
Mmsp PythonPrism-Shadow/model-message-stream-protocol113—~1.4kAutomated safety check: PassApache-2.0
Azure Openai To Responsesmicrosoft/ai-agents-for-beginners77k—~6kAutomated safety check: NotesMIT

Similar skills

  • Dingo Verify

    MigoXLab/dingo

    A skill your agent uses when the user wants to fact-check an article or verify factual claims in a document.

    757 GitHub stars~833 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Azure Openai To Responses

    microsoft/ai-agents-for-beginners

    Official

    Migrate Python apps from Azure OpenAI Chat Completions to the Responses API.

    77k GitHub stars~6k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes
  • Vision

    xiincs/claude-code-vision-skill

    Call vision models (Doubao, Qwen, DeepSeek, OpenAI) to analyze images.

    170 GitHub stars~1.2k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Mmsp Python

    Prism-Shadow/model-message-stream-protocol

    Guidance for using the MMSP Python SDK (mmsp). An agent skill from Prism-Shadow/model-message-stream-protocol.

    113 GitHub stars~1.4k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Azure Openai To Responses

    microsoft/ai-agents-for-beginners

    Official

    Shift Python apps dem from Azure OpenAI Chat Completions go Responses API.

    77k GitHub stars~6k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes
  • Official

    Reference for building on Microsoft Foundry with the azure-ai-projects Python SDK: project clients, versioned agents, evaluations, connections, datasets and indexes.

    3.1k GitHub stars~2.8k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed

Questions about Pocketmen With You

What does Pocketmen With You do?

Turn 2+ user reference images into a high-fidelity animated Codex companion using PocketMen's own local stack. Pocketmen With You is an agent skill from six-nut/PocketMen-with-you. Turn 2+ user reference images into a high-fidelity animated Codex companion using PocketMen's own local stack.

When should I use Pocketmen With You?

Pocketmen With You fits situations like: tasks that involve LLM API integration.

How do I install Pocketmen With You in Claude Code?

Run `npx skills add six-nut/PocketMen-with-you --skill pocketmen-with-you -a claude-code`. Or copy the skill folder (.agents/skills/pocketmen-with-you in six-nut/PocketMen-with-you) into .claude/skills/pocketmen-with-you in your project. Claude Code loads it when a task matches its description.

How do I install Pocketmen With You in Codex?

Run `npx skills add six-nut/PocketMen-with-you --skill pocketmen-with-you -a codex`. Or copy the skill folder (.agents/skills/pocketmen-with-you in six-nut/PocketMen-with-you) into .agents/skills/pocketmen-with-you in your project. Codex loads it when a task matches its description.

Can I use Pocketmen With You 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 six-nut/PocketMen-with-you --skill pocketmen-with-you -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pocketmen-with-you, .gemini/skills/pocketmen-with-you, .github/skills/pocketmen-with-you and .opencode/skills/pocketmen-with-you in your project.

What does Pocketmen With You need to run?

Going by SKILL.md and its folder, Pocketmen With You needs Python for the scripts in its folder, the command-line tools its instructions call (python) and credentials named OPENAI_API_KEY. Our summary lists: Python 3; A credential in OPENAI_API_KEY.

Does Pocketmen With You access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Pocketmen With You 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Pocketmen With You use?

Pocketmen With You is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pocketmen With You use?

About 2.6k tokens (SKILL.md is roughly 10k 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 651 tokens, read only when the agent opens those files.

What are the alternatives to Pocketmen With You?

Skills that share tags, products or a category with Pocketmen With You: Dingo Verify (MigoXLab/dingo, 757 stars), Azure Openai To Responses (microsoft/ai-agents-for-beginners, 77k stars), Vision (xiincs/claude-code-vision-skill, 170 stars) and Mmsp Python (Prism-Shadow/model-message-stream-protocol, 113 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pocketmen With You?

six-nut (a GitHub user) maintains it in six-nut/PocketMen-with-you, which has 310 GitHub stars. The repository was last updated on October 1, 2026.

Source: six-nut/PocketMen-with-you on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.