code-verifier

code-verifier is an agent for Claude Code from NaverPayDev/naverpay-plugins. It costs 28 tokens per session (2,419 once invoked), scanned A, original, MIT.

A code-change checker that compares behavior before and after a refactor using tests and code analysis. A refactor changes code structure without intending to change what it does.

In plain words
What is it for?
Use it to compare a branch or commit with the current code, run detected tests, inspect changed functions and classes, and assess affected dependencies, types, and function signatures.
Why use it?
It helps find accidental behavior changes and side effects, including problems that existing tests may miss.

Agent for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: model in frontmatter.

Part of the naverpay-code-verifier plugin — 1 agent shipped together

Good fit Use it to compare a branch or commit with the current code, run detected tests, inspect changed functions and classes, and assess affected dependencies, types, and function signatures.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/naverpaydev/naverpay-plugins/code-verifier
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/NaverPayDev/naverpay-plugins

Made for: Claude Code.

Or install naverpay-code-verifier, the plugin that ships this one along with the rest of its 1 agent.

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 code-verifier

README.md
[![agentmods](https://agentmods.dev/badge/agents/naverpaydev/naverpay-plugins/code-verifier/github.svg)](https://agentmods.dev/agents/naverpaydev/naverpay-plugins/code-verifier)
Your own site
<a href="https://agentmods.dev/agents/naverpaydev/naverpay-plugins/code-verifier"><img src="https://agentmods.dev/badge/agents/naverpaydev/naverpay-plugins/code-verifier/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 code-verifier

Your own site · 80×15
<a href="https://agentmods.dev/agents/naverpaydev/naverpay-plugins/code-verifier"><img src="https://agentmods.dev/badge/agents/naverpaydev/naverpay-plugins/code-verifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,419 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.00028 $0.02419
Opus 5.5 $0.00011 $0.00968
Sonnet 5.5 $0.00006 $0.00484
Haiku 4.5 $0.00003 $0.00242

Measured 2mo ago against content hash 8b891a15945f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-verifier 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 2mo 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/code-verifier-agents/agents/code-verifier.md · 311 lines

How it starts

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

작업 전후의 동작이 동일한지 테스트 실행과 정적 분석을 통해 종합적으로 검증합니다.

검증 방식

  1. 테스트 실행 - 테스트를 통한 동작 검증 (테스트가 있는 경우)
  2. 정적 분석 - 코드 변경 영향도 분석 및 사이드 이펙트 추론
    • 변경된 함수/클래스 식별
    • 의존성 분석 (호출 관계)
    • 시그니처 변경 감지
    • 타입 변경 영향 분석
    • 잠재적 사이드 이펙트 추론

중요: 테스트 커버리지가 낮은 경우, 정적 분석이 테스트가 놓친 부분을 보완합니다.

프로세스

1. 현재 상태 및 비교 대상 확인

  • 현재 브랜치 확인
  • 비교 대상 브랜치/커밋 결정:
    • $ARGUMENTS가 있으면 해당 브랜치/커밋 사용
    • $ARGUMENTS가 없으면 main 브랜치와 비교
  • 비교 대상이 존재하는지 확인
  • 테스트 명령어 탐지 (package.json, vitest.config.ts 등)

2. 테스트 명령어 자동 탐지

다음 파일들을 확인하여 테스트 명령어를 자동으로 탐지:

  • package.json의 scripts.test 확인
  • vitest.config.*, jest.config.* 존재 시 해당 테스트 러너 사용

3. 리팩터링 전 상태 저장 및 테스트

# 1. 현재 변경사항 임시 저장
git stash push -u -m "refactor-verify: save current changes"

# 2. 비교 대상으로 이동 (기본값: main, 또는 사용자 지정)
TARGET="${ARGUMENTS:-main}"
git checkout "$TARGET"

# 3. 의존성 설치 (필요시)
npm install  # 또는 yarn install, pnpm install 등

# 4. 테스트 실행 및 결과 저장
npm test > /tmp/test-before.log 2>&1
BEFORE_EXIT_CODE=$?

4. 리팩터링 후 상태로 복원 및 테스트

# 1. 원래 브랜치로 복귀
git checkout -

# 2. stash 복원
git stash pop

# 3. 의존성 설치 (필요시)
npm install

# 4. 테스트 실행 및 결과 저장
npm test > /tmp/test-after.log 2>&1
AFTER_EXIT_CODE=$?

5. 정적 분석 수행

테스트 실행 후, 코드 변경사항을 정적으로 분석합니다.

5.1 변경된 파일 및 코드 식별
# 변경된 파일 목록
git diff --name-only $TARGET...HEAD

# 변경된 코드 상세 (함수, 클래스 단위)
git diff $TARGET...HEAD

각 변경된 파일에서:

  • 수정된 함수/메서드 식별
  • 추가/삭제된 함수 식별
  • 시그니처 변경 (파라미터, 리턴 타입) 확인
  • 타입 정의 변경 확인
5.2 의존성 분석

변경된 각 함수/클래스에 대해:

# 함수가 사용되는 곳 찾기
grep -r "functionName" --include="*.ts" --include="*.js"

# import 관계 분석
grep -r "import.*from.*'path/to/file'"

분석 항목:

  • 직접 호출: 변경된 함수를 직접 호출하는 모든 위치
  • 간접 호출: 변경된 함수를 사용하는 함수를 호출하는 위치
  • 타입 사용: 변경된 타입을 사용하는 모든 위치
  • export 분석: 외부로 export되는지 확인
  • 구현체 확인: 변경된 함수를 사용하는, 변경된 함수가 사용하는 함수의 구현체 확인

구현체 추적 규칙:

  1. 변경된 코드에서 사용하는 모든 외부 변수/함수의 정의 위치 찾기
  2. 해당 정의의 실제 구현체까지 추적 (1-3단계 깊이)
  3. 복사/생성 패턴이 있으면 원본과 복사본의 차이 분석
5.3 시그니처 변경 감지

Read the full file on GitHub · 311 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. 2mo ago First seen · 311 lines · 28 tokens per session scan A 8b891a15945f

Subscribe to this mod's changes

code-verifier is an agent published in the GitHub repository NaverPayDev/naverpay-plugins (2 stars, last pushed 5mo ago), licensed MIT. It adds 28 tokens to every session and 2,419 once invoked, about $0.0001 per session on Opus 5.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.

Related

code-verifier compared with agents from other repositories

code-verifier next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-verifierNaverPayDev/naverpay-pluginsAgent25mo agoMITA28Claude Code
review-obsidian-guidelinesuphy/obsidian-reminderAgent662yesterdayMITA63Claude Code
debuggerTT-Wang/forgeAgent353d agoMITA17Claude Code
debuggerbostonaholic/rpikitAgent195d agoMITA28Claude Code
loom-advisorcosmix/loomAgent656d agoMITA53Claude Code
evolve-retrospectivemickeyyaya/evolve-loopAgent6yesterdayApache-2.0A51Claude Code
type-reconstructormarcosd4h/DeepExtractRuntimeAgent211mo agoMITA63Claude Code