user-context · openai — Codex skill: what it does, how to install
Stores product and design references for future Product Design work. Use it when an agent needs the same files, links, and preferences across tasks.
npx skills add openai/plugins --skill user-context -a codexWhat user-context does
user-context keeps the references that Product Design uses in later work: product links, Figma files, screenshots, images, codebase paths, Storybook, tokens, design systems, and brand assets. The skill can also show saved entries, update them, and remember product or design preferences.
The context is stored in $CODEX_HOME/state/plugins/product-design/user-context.md; images go in the neighboring assets/ directory. Before saving, python3 scripts/user_context_preflight.py checks local shell access and the target directory. Setup uses python3 scripts/init_user_context.py. Secrets, credentials, and API keys should not be stored there.
Install it when Product Design repeatedly relies on the same sources. A one-off task with no persistent context does not need this skill.
What it helps with
- save product and Figma references
- attach screenshots to future design work
- record design tokens and system rules
- inspect what Product Design remembers
- update stored product preferences
Example prompts for the agent
- Set up Product Design and save this Figma file to context.
- Show me what Product Design remembers about my product.
- Remember the Storybook path and use it in later tasks.
How to install user-context
1Skills CLI (Vercel)
npx skills add openai/plugins --skill user-context -a codex2Manually: put the files in place
.agents/skills/user-context/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add openai/plugins --skill user-context -a claude-code2Manually: put the files in place
~/.claude/skills/user-context/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/user-context/
Manually: put the files in place
.cursor/skills/user-context/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install openai/plugins user-context2Manually: put the files in place
.github/skills/user-context/SKILL.mdPlatform CLI
gemini skills install https://github.com/openai/plugins --path plugins/product-design/skills/user-contextManually: put the files in place
.devin/skills/user-context/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set201
The whole set →Other versions of user-context
Similar
Questions about user-context
How do I install user-context in Codex?
Run npx skills add openai/plugins --skill user-context. The skill file will be available at .agents/skills/user-context/SKILL.md.
What does user-context do?
It stores product and design references for later Product Design work. It can also load, display, and update the saved context.
What is required to save context?
Local shell access is required, along with a resolvable $CODEX_HOME and a writable $CODEX_HOME/state/plugins/product-design/ directory. Setup runs python3 scripts/user_context_preflight.py first.