role-clear

role-clear is a skill for Claude Code from Marcel-Bich/marcel-bich-claude-marketplace. It costs 123 tokens per session (389 once invoked), scanned A, original, MIT.

A session command that removes an assigned working role and returns the agent to its normal mode, where it handles all kinds of work.

In plain words
What is it for?
Ending a planning or task-specific role during a conversation. It only clears the role and does not perform other work.
Why use it?
It clears a role that is no longer wanted, so the session stops following that role's default boundaries.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the credo plugin — 26 skills, 15 commands, 6 hooks shipped together

Good fit Ending a planning or task-specific role during a conversation. It only clears the role and does not perform other work.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Marcel-Bich/marcel-bich-claude-marketplace
Claude Code
/plugin install credo

Made for: Claude Code.

Or install credo, the plugin that ships this one along with the rest of its 26 skills, 15 commands, 6 hooks.

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 role-clear

README.md
[![agentmods](https://agentmods.dev/badge/skills/marcel-bich/marcel-bich-claude-marketplace/role-clear/github.svg)](https://agentmods.dev/skills/marcel-bich/marcel-bich-claude-marketplace/role-clear)
Your own site
<a href="https://agentmods.dev/skills/marcel-bich/marcel-bich-claude-marketplace/role-clear"><img src="https://agentmods.dev/badge/skills/marcel-bich/marcel-bich-claude-marketplace/role-clear/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 role-clear

Your own site · 80×15
<a href="https://agentmods.dev/skills/marcel-bich/marcel-bich-claude-marketplace/role-clear"><img src="https://agentmods.dev/badge/skills/marcel-bich/marcel-bich-claude-marketplace/role-clear.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 389 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.
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.00123 $0.00389
Opus 5 $0.00062 $0.00195
Sonnet 5 $0.00025 $0.00078
Haiku 4.5 $0.00012 $0.00039

Measured 12d ago against content hash 8c4bd7c3babf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

role-clear 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 12d 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.

plugins/credo/skills/role-clear/SKILL.md · 43 lines

What it actually says

Session Role: clear

Clear this session's credo ROLE, returning to the default of NO role: the agent does everything, as it does when no role is set. This is safe to run even if no role is set.

When to use

  • The user runs /credo:role-clear (the explicit, deterministic, guaranteed path).
  • The user drops the role in passing (best-effort, casual path) - for example "clear the role", "no role", "forget the role", "you are no longer the plan/task agent", "back to doing everything", "rolle weg", "keine rolle mehr".

Do NOT trigger on general discussion about roles or on explanations - those are not a request to clear.

What it does

Remove the persistent, per-session role marker. With no marker, role-inject.sh injects no role line (silent):

"${CLAUDE_PLUGIN_ROOT}/hooks/role-set.sh" clear

Confirm

Confirm in one short sentence, for example:

Role cleared - back to no role, I handle everything as usual.

Do not do anything else - this skill only clears the role.

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. 12d ago First seen · 43 lines · 123 tokens per session scan A 8c4bd7c3babf

Subscribe to this mod's changes

role-clear is a skill published in the GitHub repository Marcel-Bich/marcel-bich-claude-marketplace (13 stars, last pushed today), licensed MIT. It adds 123 tokens to every session and 389 once invoked, about $0.0006 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.