Skip to content

About

Practical Codex workflow skills for context recovery, debugging discipline, model chat, and Xiaohongshu handoff

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

Codex Workflow Skills

Practical Codex skills extracted from real local workflows. These skills focus on recovering context, improving debugging discipline, consulting a second model, enforcing explicit failure contracts, and running Xiaohongshu content workflows through Figma plus browser handoff.

Skills

Skill Scenario
codex-conversation-lookup Recover and summarize a specific local Codex thread by UUID without dumping raw transcripts.
codex-session-distill-search Summarize recent Codex work across many sessions and turn logs into a safe activity recap.
observability-first-debugging Debug unclear failures by adding targeted evidence before changing behavior.
no-fallback-policy Require explicit failure instead of hidden fallback unless fallback is approved for the current task.
cli-model-chat Ask a focused second-model question through a local one-to-one chat wrapper.
delegate-to-luna-max Forward the current task to a Luna Max subagent and verify its result.
xhs-figma-cards Turn blog posts, product notes, or launch notes into Xiaohongshu card designs in Figma.
xhs-publish-handoff Validate an approved Xiaohongshu image-post package and optionally fill the creator page, stopping before final publish.

Requirements

  • Codex or another agent runtime that can load SKILL.md directories.
  • Python 3 for helper scripts.
  • git, rg, and ordinary Unix shell tools.
  • For cli-model-chat: an OpenAI-compatible API key such as DEEPSEEK_API_KEY, or explicit use of the Codex provider.
  • For codex-session-distill-search: local Codex session logs and, optionally, a local OpenAI-compatible distill endpoint.
  • For Xiaohongshu/Figma work: a Figma automation path that can inspect pages, create or update frames, edit text layers, and import assets. This workflow was tested with qoli/figma-mcp-go, but other Figma MCP or automation adapters can work if they expose equivalent read/write capabilities. Without a working Figma adapter, the agent can draft copy or validate exported images, but it cannot claim canvas updates.
  • For Xiaohongshu browser filling: an existing CDP-enabled browser session, commonly Arc or Chrome at http://localhost:9222.

Install

Copy or symlink the skill directories you want into your agent's global skills directory. For Codex, that is usually:

mkdir -p "$HOME/.codex/skills"
ln -s "$PWD/skills/codex-conversation-lookup" "$HOME/.codex/skills/codex-conversation-lookup"
ln -s "$PWD/skills/codex-session-distill-search" "$HOME/.codex/skills/codex-session-distill-search"
ln -s "$PWD/skills/observability-first-debugging" "$HOME/.codex/skills/observability-first-debugging"
ln -s "$PWD/skills/no-fallback-policy" "$HOME/.codex/skills/no-fallback-policy"
ln -s "$PWD/skills/cli-model-chat" "$HOME/.codex/skills/cli-model-chat"
ln -s "$PWD/skills/delegate-to-luna-max" "$HOME/.codex/skills/delegate-to-luna-max"
ln -s "$PWD/skills/xhs-figma-cards" "$HOME/.codex/skills/xhs-figma-cards"
ln -s "$PWD/skills/xhs-publish-handoff" "$HOME/.codex/skills/xhs-publish-handoff"

If a skill already exists at the destination, inspect it before replacing it.

Validate

If your Codex installation includes the skill creator validator:

python3 "$HOME/.codex/skills/.system/skill-creator/scripts/quick_validate.py" skills/codex-conversation-lookup
python3 "$HOME/.codex/skills/.system/skill-creator/scripts/quick_validate.py" skills/codex-session-distill-search
python3 "$HOME/.codex/skills/.system/skill-creator/scripts/quick_validate.py" skills/observability-first-debugging
python3 "$HOME/.codex/skills/.system/skill-creator/scripts/quick_validate.py" skills/no-fallback-policy
python3 "$HOME/.codex/skills/.system/skill-creator/scripts/quick_validate.py" skills/cli-model-chat
python3 "$HOME/.codex/skills/.system/skill-creator/scripts/quick_validate.py" skills/delegate-to-luna-max
python3 "$HOME/.codex/skills/.system/skill-creator/scripts/quick_validate.py" skills/xhs-figma-cards
python3 "$HOME/.codex/skills/.system/skill-creator/scripts/quick_validate.py" skills/xhs-publish-handoff

Blog Angles

See docs/blog-material.md for writing angles and concrete scenarios these skills came from.

Privacy Notes

The context-recovery skills are designed to summarize local Codex logs safely. They should not publish raw transcripts, shell snapshots, secrets, private prompts, or large tool outputs.

About

Practical Codex workflow skills for context recovery, debugging discipline, model chat, and Xiaohongshu handoff

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages