role-persona

role-persona is a skill for Claude Code, Codex from Dwsy/agent. It costs 109 tokens per session (1,351 once invoked), scanned B, original, no licence file.

A command-line tool for managing an AI agent’s roles, identity, memory, and knowledge. It also handles the instructions that define how the agent behaves.

In plain words
What is it for?
It is for managing roles, editing or searching agent memory, exporting memory reports, configuring role mappings, building system prompts, and managing knowledge bases.
Why use it?
It keeps identity details, past learnings, preferences, and knowledge bases organized instead of leaving them scattered or difficult to update.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

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.

agentmods
npx agentmods add skills/dwsy/agent/role-persona
Any agent
npx skills add Dwsy/agent --skill role-persona
Clone the repo
git clone --depth 1 https://github.com/Dwsy/agent

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/dwsy/agent/role-persona.svg)](https://agentmods.dev/skills/dwsy/agent/role-persona)
Your own site
<a href="https://agentmods.dev/skills/dwsy/agent/role-persona"><img src="https://agentmods.dev/badge/skills/dwsy/agent/role-persona.svg" alt="Measured on agentmods" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,351 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin unknown 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.00109 $0.01351
Opus 5 $0.00055 $0.00675
Sonnet 5 $0.00022 $0.00270
Haiku 4.5 $0.00011 $0.00135

Measured 6d ago against content hash ba1aee6f02c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade B, and why

role-persona scanned grade B with 1 finding 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 6d 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 the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

role-persona prompt # Output system prompt
skills/role-persona/SKILL.md · 202 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 6d ago First seen · 202 lines · 109 tokens per session scan B ba1aee6f02c3

Subscribe to this mod's changes

role-persona is a skill published in the GitHub repository Dwsy/agent (22 stars, last pushed 18d ago), with no licence file. It adds 109 tokens to every session and 1,351 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (asks the agent to reveal its instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

crewai-multi-agent

Multi-agent orchestration framework for autonomous AI collaboration. Use when building teams of specialized agents working together on complex tasks, when you need role-based agent collaboration with memory, or for production workflows requiring sequential/hierarchical execution. Built without LangChain dependencies…

davila7/claude-code-templates · 61 tokens

obsidian-vault

Organize Obsidian vaults with MOCs, wikilinks, frontmatter/properties, dashboards, orphan-note checks, and cleanup workflows. Use ONLY when the user explicitly refers to Obsidian — by naming "Obsidian", an Obsidian "vault", or an Obsidian-specific feature such as wikilinks ("[[ ]]"), the Dataview or Bases plugins, or…

wonderwhy-er/DesktopCommanderMCP · 171 tokens

context-manager

Context management skill providing discovery, fetching, harvesting, extraction, compression, organization, cleanup, and guided workflows for project context.

darrenhinde/OpenAgentsControl · 27 tokens

project-orchestration

Orchestrate multi-agent workflows for feature development using planning agents, context handoff, and stage management.

darrenhinde/OpenAgentsControl · 25 tokens

taiyi-compress

TaiyiForge 辅助 — Token 压缩编排:/taiyi:token compress + Superpowers subagent + ECC strategic-compact / handoff。OpenCode / Claude / Codex / Cursor 通用。.

Dong90/oh-my-taiyiforge · 51 tokens

mnemosyne

Use when curating WrongStack SAGE memory: run deterministic hygiene and anchor verification first, then review contradictions, drift, and noise; file destructive outcomes as review proposals instead of deleting directly.

WrongStack/WrongStack · 43 tokens