edit

edit is a command for Claude Code from sodam-ai/SoDam-Persona. It costs 44 tokens per session (1,018 once invoked), scanned A, original, Apache-2.0.

An interview-style command for editing the trigger words used by existing personas. Personas are predefined viewpoints, such as a developer, designer, or lawyer, that guide how work is approached.

In plain words
What is it for?
Use it to add, change, or remove trigger words for a selected persona.
Why use it?
It keeps trigger-word changes consistent across the persona files and related configuration.

Command for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: $skill-name invocation.

Part of the sodam-persona plugin — 9 skills, 2 commands, 2 hooks shipped together

Good fit Use it to add, change, or remove trigger words for a selected persona.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sodam-ai/sodam-persona/edit
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.

Clone the repo
git clone --depth 1 https://github.com/sodam-ai/SoDam-Persona

Made for: Claude Code.

Or install sodam-persona, the plugin that ships this one along with the rest of its 9 skills, 2 commands, 2 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 edit

README.md
[![agentmods](https://agentmods.dev/badge/commands/sodam-ai/sodam-persona/edit/github.svg)](https://agentmods.dev/commands/sodam-ai/sodam-persona/edit)
Your own site
<a href="https://agentmods.dev/commands/sodam-ai/sodam-persona/edit"><img src="https://agentmods.dev/badge/commands/sodam-ai/sodam-persona/edit/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 edit

Your own site · 80×15
<a href="https://agentmods.dev/commands/sodam-ai/sodam-persona/edit"><img src="https://agentmods.dev/badge/commands/sodam-ai/sodam-persona/edit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,018 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.00044 $0.01018
Opus 5 $0.00022 $0.00509
Sonnet 5 $0.00009 $0.00204
Haiku 4.5 $0.00004 $0.00102

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

Security

Grade A, and why

edit 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/sodam-persona/commands/edit.md · 47 lines

What it actually says

$persona-edit — 기존 페르소나 트리거 단어 편집 (인터뷰 방식)

이 명령이 실행되면 아래 순서를 하나씩, 인터뷰 형식으로 진행한다.

0단계. 현재 목록 보여주기

plugins/sodam-persona/skills/persona-triggers/SKILL.md## B. 섹션 표를 읽어, 1번부터 마지막 번호까지 전체 관점 목록(번호+이름)을 그대로 사용자에게 보여준다. (create로 새로 만든 페르소나가 있다면 여기 자동으로 포함되어 있다.)

1단계. 인터뷰 (한 번에 하나씩)

  1. "몇 번(또는 어떤 이름) 페르소나를 수정할까요?"
  2. "무엇을 하시겠어요? 추가 / 수정(기존 단어 → 새 단어) / 제거 중 하나"
  3. "어떤 트리거 단어를 대상으로 할까요? (추가면 새 단어, 수정이면 '기존단어 → 새단어', 제거면 지울 단어)"

2단계. 대상 분류 (자동 판별, 사용자에게 묻지 않음)

선택된 번호가 아래 중 어디에 해당하는지 파일을 직접 확인해 판별한다:

  • 기본 관점 (전용 스킬 파일 없음, 예: #1 개발자, #2 보안, #7 디자이너 등) → 편집 범위는 persona-triggers/SKILL.md## B.해당 행 한 줄뿐.
  • 도메인 페르소나 (#11 법률, #13 투자자, #14 회계세무, #15 마케팅, 그리고 create로 만들어진 것들 — 전용 스킬 파일이 있고 persona-triggers.md에 별도 알파벳 섹션이 있음) → 아래 4곳을 전부 동기화해서 편집해야 함:
    1. persona-triggers/SKILL.md의 해당 도메인 알파벳 섹션(J/K/S/T/…) 트리거 단어군
    2. persona-triggers/SKILL.md## B. 표 해당 행
    3. plugins/sodam-persona/hooks/persona_core.md의 해당 도메인 트리거 단어 목록
    4. plugins/sodam-persona/hooks/persona_marker.txt의 해당 도메인 트리거 단어 목록
    5. 전용 plugins/sodam-persona/skills/persona-<이름>/SKILL.md의 트리거 단어군 줄

3단계. 편집 실행

  • 추가: 위 대상 파일(들)의 트리거 단어 목록에 새 단어를 자연스러운 위치에 삽입.
  • 수정: 목록 안의 기존 단어를 새 단어로 교체 (기존 단어가 여러 곳에 있으면 전부 동일하게 교체).
  • 제거: 목록에서 해당 단어만 제거. 단, 제거로 인해 그 관점의 트리거 단어가 0개가 되면 안 되므로, 그런 경우 사용자에게 먼저 확인한다.
  • 편집 전후로 변경될 줄을 그대로 보여주고 진행 여부를 확인한 뒤 실제로 파일을 고친다.

4단계. 검증

node validate.mjs를 실행한다. 트리거 단어 자체의 추가/삭제는 보통 "관점 수·패턴 수·스킬 수" 자체를 바꾸지 않으므로 대부분 그대로 ✅ PASS가 나와야 한다. 혹시 ❌ FAIL이 뜨면(예: 실수로 표 구조를 깨뜨린 경우) 원인을 확인하고 고친다.

5단계. 마무리 안내

  • 무엇이 어느 파일에서 어떻게 바뀌었는지 간단히 요약해서 보고한다.
  • 설치된 캐시 반영이 필요함을 안내: /plugin marketplace update sodam-persona/plugin uninstall sodam-persona@sodam-persona/plugin install sodam-persona@sodam-persona/reload-plugins.
  • git 커밋은 바뀐 파일만 정확히 지정해 add, conventional commit. 실제 push·PR은 사용자의 명시적 승인 없이는 실행하지 않는다.
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 · 47 lines · 44 tokens per session scan A 7f1f4e9bca91

Subscribe to this mod's changes

edit is a command published in the GitHub repository sodam-ai/SoDam-Persona (17 stars, last pushed 11d ago), licensed Apache-2.0. It adds 44 tokens to every session and 1,018 once invoked, about $0.0002 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.