Save thread

From nowledge-co/community · View interactive version

Save thread is an AI agent skill from the GitHub repository nowledge-co/community. Save the current Codex session so the user can find it later or resume from another tool. Trigger only when the user explicitly asks to save or preserve this conversation.

How to use this skill

Skill file

Save the actual Codex session transcript, not a summary, so it can be searched, resumed, or referenced from any connected tool.

MCP retrieval and memory-write tools do not replace this path. Real Codex thread import still goes through nmem t save --from codex.

Command

Run the platform-specific packaged runner under scripts/, resolving that path

relative to this SKILL.md as required by Codex's skill rules. The runner

locates the installed desktop or standalone CLI even when Codex Desktop uses a

controlled PATH. Do not add a Python or Node launcher; those commands can be

absent from the same controlled PATH.

On macOS and Linux:

"<skill-dir>/scripts/save_thread.sh" --json t save --from codex -p . -s "Brief summary of what was accomplished"

On Windows PowerShell:

& "<skill-dir>\scripts\save_thread.ps1" --json t save --from codex -p . -s "Brief summary of what was accomplished"

Workflow

  1. Write a concise 1-2 sentence summary of what was accomplished.
  2. Replace <skill-dir> with the absolute directory containing this SKILL.md,

then run the platform-appropriate command above.

  1. Report whether the thread was created or updated, how many messages were stored, and the thread ID.

Options

Important

This is a real session import. It captures the actual Codex transcript, not a summary. The -s flag adds searchable metadata; the full conversation is preserved.

Do not replace this with nmem t create. Do not fabricate a transcript.

When to use

Links

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.