ghostex-auto-rename-session

ghostex-auto-rename-session is a skill for Claude Code, Codex from maddada/Ghostex. It costs 63 tokens per session (544 once invoked), scanned A, original, MIT.

A workflow for generating a short title for the current Ghostex session and submitting the rename command.

In plain words
What is it for?
Use it when you need to rename a thread, chat, session, or resume point based on the work completed.
Why use it?
It gives a conversation a concise label that makes the session easier to recognize later.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present.

Good fit Use it when you need to rename a thread, chat, session, or resume point based on the work completed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/maddada/ghostex/ghostex-auto-rename-session
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add maddada/Ghostex --skill ghostex-auto-rename-session
Clone the repo
git clone --depth 1 https://github.com/maddada/Ghostex

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ghostex-auto-rename-session

README.md
[![agentmods](https://agentmods.dev/badge/skills/maddada/ghostex/ghostex-auto-rename-session/github.svg)](https://agentmods.dev/skills/maddada/ghostex/ghostex-auto-rename-session)
Your own site
<a href="https://agentmods.dev/skills/maddada/ghostex/ghostex-auto-rename-session"><img src="https://agentmods.dev/badge/skills/maddada/ghostex/ghostex-auto-rename-session/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ghostex-auto-rename-session

Your own site · 80×15
<a href="https://agentmods.dev/skills/maddada/ghostex/ghostex-auto-rename-session"><img src="https://agentmods.dev/badge/skills/maddada/ghostex/ghostex-auto-rename-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 544 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.00544
Opus 5 $0.00032 $0.00272
Sonnet 5 $0.00013 $0.00109
Haiku 4.5 $0.00006 $0.00054

Measured 9d ago against content hash 35139fdffde8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

ghostex-auto-rename-session scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ghostex-auto-rename-session/SKILL.md · 55 lines

What it actually says

ghostex-auto-rename-session

Generate one title only.

After generating the title, submit the rename command in this same Ghostex session:

ghostex_session_selector="${GHOSTEX_GLOBAL_SESSION_REF:-${GHOSTEX_SESSION_ID:-${ZMX_SESSION:-}}}"
if [ -n "$ghostex_session_selector" ]; then
  ghostex send-message "$ghostex_session_selector" "/rename <generated title>"
fi

Use send-message for the current Ghostex session rename. It sends the full /rename <title> command and submits Enter in one operation, so the agent should not call send-enter separately after send-message.

Do not use send-text alone. If send-message is unavailable and send-text must be used, call send-enter for the same selector immediately after send-text.

Do not use rename-command as the default for this skill. It can report an accepted renderer request without proving the command was delivered into a hidden or unmounted current session.

Rules

  • Keep the title under 60 characters.
  • Summarize the actual work done, not the whole conversation vibe.
  • Use plain title case or compact phrase case.
  • Avoid quotes, punctuation, emojis, and extra explanation.
  • Use GHOSTEX_GLOBAL_SESSION_REF as the self-session selector when it is set. It is the exact S:P:G Ghostex session reference and avoids ambiguous bare session ids.
  • If GHOSTEX_GLOBAL_SESSION_REF is missing, use GHOSTEX_SESSION_ID when it is set. Ghostex may export either a stable session id or provider persistence name, and the CLI resolves both directly.
  • If both Ghostex selectors are missing, use ZMX_SESSION when it is set. zmx exports the provider session name for the current pane.
  • If all three self-session selectors are missing, return the title only and do not guess a session by title, alias, project, or recent activity.
  • If send-message fails with no matching session, return the title only. Do not retry with a different selector.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 55 lines · 63 tokens per session scan A 35139fdffde8

Subscribe to this mod's changes

ghostex-auto-rename-session is a skill published in the GitHub repository maddada/Ghostex (765 stars, last pushed today), licensed MIT. It adds 63 tokens to every session and 544 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.