re-agent

re-agent is a command for Claude Code from sodam-ai/SoDam-Reverse-Eng. It costs 33 tokens per session (525 once invoked), scanned A, original, Apache-2.0.

A command for analysing the structure of an AI coding agent and its Claude Code or Codex configuration, using only owned or authorised files.

In plain words
What is it for?
Use it to document an agent's setup, tools, access scope, and behaviour, with masked secrets and a report saved under `./.sodam-re/agent/`.
Why use it?
It provides a read-only, safety-focused review of components, permissions, triggers, and flows without executing the analysed target.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions Claude Code; mentions Codex.

Part of the sodam-reverse plugin — 6 skills, 7 commands, 1 hook shipped together

Good fit Use it to document an agent's setup, tools, access scope, and behaviour, with masked secrets and a report saved under ./.sodam-re/agent/.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sodam-ai/sodam-reverse-eng/re-agent
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-Reverse-Eng

Made for: Claude Code.

Or install sodam-reverse, the plugin that ships this one along with the rest of its 6 skills, 7 commands, 1 hook.

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 re-agent

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/sodam-ai/sodam-reverse-eng/re-agent"><img src="https://agentmods.dev/badge/commands/sodam-ai/sodam-reverse-eng/re-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 525 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.00033 $0.00525
Opus 5 $0.00016 $0.00262
Sonnet 5 $0.00007 $0.00105
Haiku 4.5 $0.00003 $0.00052

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

Security

Grade A, and why

re-agent 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.

commands/re-agent.md · 28 lines

What it actually says

/re-agent — AI 코딩 에이전트 구조 분석

분석 대상 (내 설정 폴더 또는 지정 repo): $ARGUMENTS

re-analyze-agent 스킬의 순서를 그대로 따르세요:

  1. 안전 스코프(1층) — 크랙·우회·추출·프롬프트 탈취 요청이면 보고서 대신 즉시 거부 + 방어적 대안 제안.
  2. 동의 게이트 — 내 설정이면 2문항(① 본인 소유/허가? ② 책임은 사용자?), 남의 repo면 3문항 강화(+방어·교육 목적?). 하나라도 '아니오'/무응답 → 중단.
  3. 읽기 전용 분석 — 대상을 실행하지 않고 소스만 읽음(외부 도구 없음). ..·심볼릭·동의범위밖 경로 거부, 발견한 키/토큰은 •••• 마스킹.
  4. 표준 한국어 보고서 — 한 줄 요약·에이전트 개요·구성요소 목록·권한/도구 범위·트리거/흐름·쉬운 설명(교육)·근거 위치·불확실한 점·다음 확인사항·⚠️ 안전.
  5. 저장./.sodam-re/agent/ 로컬 전용.

안전 경계

요청 결과
"내 claude 플러그인·스킬 구조 이해하고 싶어" ✅ 동의 후 진행
"이 에이전트가 어떤 권한·도구를 쓰는지 알려줘" ✅ 동의 후 진행
크랙·우회·키/시크릿 추출 방법 🛑 1층 거부
남의 에이전트 시스템 프롬프트 탈취·jailbreak 우회 🛑 1층 거부
타사 repo 무단 분석 🛑 동의 게이트 차단

소스레벨(외부 도구 없음)이라 안드로이드/바이너리와 달리 라이브 검증이 AI만으로 가능합니다.

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 · 28 lines · 33 tokens per session scan A 6bc4ef83fbb5

Subscribe to this mod's changes

re-agent is a command published in the GitHub repository sodam-ai/SoDam-Reverse-Eng (4 stars, last pushed 8d ago), licensed Apache-2.0. It adds 33 tokens to every session and 525 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-31.