What it does
Create high-fidelity Codex companions from 2+ photos with local open-weight neural editing and no OpenAI API key.
- Connects Instruction files the AI reads, with steps that call an outside service
- Account or key Some steps need a key for OpenAI (per the README)
- Category Automation and agents
For makers: add a badge to your README
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/skills/six-nut-pocketmen-with-you)Similar Skills
Same kind of work, ordered like the Skills list
1 skills (instruction sets) by six-nut that an AI reads and follows · not an MCP server
How a Skill differs from MCP
MCP = the hands
Connects the AI to an outside service or data, such as reading Notion or creating an invoice. A program or server has to be running.
Skill = the manual
A text file that teaches the AI how to do a task. It connects to nothing.
Some overlap: a few Skills run scripts that call tools, and a few MCP servers only send knowledge. Start from the task you want done.
Works with
Codex
From the maker’s README and the folders in the repo
Install
Is it safe?
- Who made it
GitHub account six-nut (person), 6 years old
- Use and upkeep
★ 294 stars, few users so far · code last changed Oct 13, 2026
- Any scripts?
22 scripts that can run on a computer: runtime/pocketmen/__init__.py, runtime/pocketmen/atlas.py, runtime/pocketmen/backends/__init__.py, runtime/pocketmen/backends/base.py and 18 more
- Uses the internet?
Could not check every script (some are too large); read them first
- Changes machine-wide settings?
Scripts that touch settings folders (~/.claude or settings.json): runtime/pocketmen/install.py
Checked automatically from the repo files at commit b566598 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself
First: which AI do you use?
Pick your app and this page shows only how to install it there
Option 1Upload to claude.ai (web and app)
Uploading to claude.ai would fail: the description is over 200 characters (363). Use "Let the AI install it" instead
Option 1Let Claude Code install it
Copy this sentence and paste it into a Claude Code chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Restart Claude Code, then type /pocketmen-with-you or ask for a matching task and Claude picks it up
Checked against official docs Nov 12, 2026 · Source: code.claude.com
For Terminal users
A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.
Open Terminal
Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead
Copy the skill folder to ~/.claude/skills
This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md
Checking the commands · copy buttons appear once they pass
Restart Claude Code, then type /pocketmen-with-you or ask for a matching task and Claude picks it up
ChatGPT desktop app
The ChatGPT desktop app has Codex built in, and Codex reads skills from ~/.agents/skills
Option 1Let ChatGPT install it
Open Codex in the ChatGPT desktop app and paste this sentence into the chat
The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Option 2Put the folder there yourself
Put the pocketmen-with-you folder at ~/.agents/skills/pocketmen-with-you
~ is your home folder ($HOME)
For Terminal users
A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.
Open Terminal
Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead
Copy the skill folder to ~/.agents/skills
This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md
Checking the commands · copy buttons appear once they pass
After installing
- ChatGPT desktop app: open Skills in the sidebar to see that the skill is there
- To use it: in ChatGPT type @ and pick the skill · in Codex CLI or the IDE extension run /skills or type $ and the skill name
- Codex picks up newly installed skills by itself; if one does not show up, restart Codex
Checked against official docs Nov 15, 2026 · Source: learn.chatgpt.com
ChatGPT on the web and mobile
Skills you install yourself do not work here; only skills that come with a plugin from the directory
To use this skill with ChatGPT, use the ChatGPT desktop app as above
Checked against official docs Nov 15, 2026 · Source: learn.chatgpt.com
Option 1Let Codex install it
Copy this sentence and paste it into a Codex chat · Works in Codex inside the ChatGPT desktop app, Codex CLI and the IDE extension
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Codex picks up newly installed skills by itself; if one does not show up, restart Codex · To use it: in ChatGPT type @ and pick the skill · in Codex CLI or the IDE extension run /skills or type $ and the skill name
Checked against official docs Nov 15, 2026 · Source: learn.chatgpt.com
For Terminal users
A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.
Open Terminal
Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead
Copy the skill folder to ~/.agents/skills
This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md
Checking the commands · copy buttons appear once they pass
Restart Codex, then ask for a matching task; Codex lists the skill
Option 1Let Cursor install it
Copy this sentence and paste it into a Cursor chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
In Cursor’s Agent chat, type / and pick pocketmen-with-you
Checked against official docs Nov 12, 2026 · Source: cursor.com
For Terminal users
A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.
Open Terminal
Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead
Copy the skill folder to ~/.cursor/skills
This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md
Checking the commands · copy buttons appear once they pass
In Cursor’s Agent chat, type / and pick pocketmen-with-you
Option 1Let the AI install it
For other apps that read skills. The sentence gives the paths for Claude Code, Codex and Cursor so the AI picks the one for your app · Copy this sentence into the app’s chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Checked against official docs Nov 12, 2026 · Source: code.claude.com, learn.chatgpt.com, cursor.com
For Terminal users
Other apps that support Agent Skills (such as Gemini CLI or GitHub Copilot) use different folders. Check that app’s guide, then copy the folder with the SKILL.md there.
Skill folders checked against the official Claude Code, Codex and Cursor guides on Nov 11, 2026
View the original SKILL.md
The text below comes from the maker’s repo, not from PopNx MCP
Showing the first 8,000 characters · Open the full file on 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.
## 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
Discussion
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
From GitHub
- GitHub stars
- 294
- Maker
- six-nut
- License
- MIT
- Last code change
- Oct 13, 2026
- SKILL.md files in the repo (including translated copies and templates)
- 1
- Topics
- agent-skill, ai-pet, character-consistency, codex, codex-skill, computer-vision, desktop-pet, flux2, image-editing, image-generation, local-ai, multimodal