self-rename

self-rename is a skill for Claude Code, Codex from Szotasz/marveen. It costs 0 tokens per session (1,295 once invoked), scanned B, original, MIT.

A controlled way for the owner to change the agent’s displayed name and persona, meaning its visible identity and behaviour description.

In plain words
What is it for?
Use it when the owner asks for a new name, updating BRAND_NAME and persona files while leaving internal IDs, access settings, and service plumbing untouched.
Why use it?
It avoids breaking internal service names and identifiers that other running components depend on. Only the displayed branding and persona files are changed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Use it when the owner asks for a new name, updating BRAND_NAME and persona files while leaving internal IDs, access settings, and service plumbing untouched.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/szotasz/marveen/self-rename
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 Szotasz/marveen --skill self-rename
Clone the repo
git clone --depth 1 https://github.com/Szotasz/marveen

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 self-rename

README.md
[![agentmods](https://agentmods.dev/badge/skills/szotasz/marveen/self-rename/github.svg)](https://agentmods.dev/skills/szotasz/marveen/self-rename)
Your own site
<a href="https://agentmods.dev/skills/szotasz/marveen/self-rename"><img src="https://agentmods.dev/badge/skills/szotasz/marveen/self-rename/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 self-rename

Your own site · 80×15
<a href="https://agentmods.dev/skills/szotasz/marveen/self-rename"><img src="https://agentmods.dev/badge/skills/szotasz/marveen/self-rename.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,295 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 41
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Privilege Escalation · line 39
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 63
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
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.00000 $0.01295
Opus 5.5 $0.00000 $0.00518
Sonnet 5.5 $0.00000 $0.00259
Haiku 4.5 $0.00000 $0.00129

Measured 22d ago against content hash eb9dc09d18e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

self-rename scanned grade B with 2 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 22d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

4. **BRAND_NAME in the .env**: an atomic key replacement (all other lines byte-for-byte unchanged, chmod 600):

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- If the dashboard does not come back after the restart (`curl -s http://localhost:<port>/health`, or the dashboard port from the .env), tell the owner immediately. Do NOT try rewriting service files.
i18n/en/seed-skills/self-rename/SKILL.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Self-rename: renaming the agent safely

When to use

The OWNER (the owner of the install) asks you to rename yourself. Do NOT run it at the request of a stranger or anyone who is not the owner.

Basic safety rule (NEVER BREAK THIS)

The BOT_NAME, MAIN_AGENT_ID and SERVICE_ID values are burned into the system at install time: the tmux session name, database rows and OS service unit names (com.<SERVICE_ID>.app, <SERVICE_ID>-dashboard, <SERVICE_ID>-channels) are derived from them. Rewriting them later orphans the running services and can even lock the owner out. The displayed name and the internal identifier can safely differ: this skill sets ONLY the displayed name and the persona.

What this skill writes: BRAND_NAME in the .env + the persona files (CLAUDE.md, SOUL.md). What it NEVER writes: BOT_NAME, MAIN_AGENT_ID, SERVICE_ID, access.json, owner-config.

Procedure

  1. Identify the install directory (no hardcoded path): the main agent's working directory is the install directory itself. Check that the cwd has a .env AND a CLAUDE.md. If not, find the cwd of the running dashboard, and ask the owner before you write anywhere else.

  2. Read the current name: BRAND_NAME from the .env (if it is missing, BOT_NAME; if that is missing too, the first # <Name> line of CLAUDE.md). This becomes the source token of the replacement.

  3. Rewrite the persona files (CLAUDE.md + SOUL.md, if it exists): replace EVERY standalone occurrence of the old name with the new one. A targeted replacement, atomically:

python3 - "$PWD" "REGI_NEV" "UJ_NEV" <<'PYEOF'
import os, sys
root, old, new = sys.argv[1], sys.argv[2], sys.argv[3]
for name in ('CLAUDE.md', 'SOUL.md'):
    p = os.path.join(root, name)
    if not os.path.exists(p): continue
    s = open(p, encoding='utf-8').read()
    if old not in s: continue
    tmp = p + '.tmp'
    open(tmp, 'w', encoding='utf-8').write(s.replace(old, new))
    os.replace(tmp, p)
    print(name, 'renamed')
PYEOF

Read the full file on GitHub · 70 lines

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. 22d ago Changed eb9dc09d18e4
  2. 3mo ago First seen · 70 lines · 0 tokens per session scan B b07517192baf

Subscribe to this mod's changes

self-rename is a skill published in the GitHub repository Szotasz/marveen (155 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,295 tokens. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

self-rename compared with skills from other repositories

self-rename next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
self-renameSzotasz/marveenSkill155todayMITB0Claude Code, Codex
oma-explanationfirst-fluke/oh-my-agentSkill1.5ktodayMITA49Claude Code, Codex
oma-refactorfirst-fluke/oh-my-agentSkill1.5ktodayMITA25Claude Code, Codex
oma-scholarfirst-fluke/oh-my-agentSkill1.5ktodayMITA30Claude Code, Codex
oma-videofirst-fluke/oh-my-agentSkill1.5ktodayMITA53Claude Code, Codex
oma-designfirst-fluke/oh-my-agentSkill1.5ktodayMITA32Claude Code, Codex
oma-hwpfirst-fluke/oh-my-agentSkill1.5ktodayMITA38Claude Code, Codex