counsel

counsel is an agent for Claude Code from kohj1018/agentic-dev-harness. It costs 79 tokens per session (3,752 once invoked), scanned A, original, MIT.

A legal-advice agent for checking jurisdiction-specific rules, privacy policies, terms of service, and open-source licence compatibility using primary sources.

In plain words
What is it for?
Use it to compare a product with applicable legal requirements, draft privacy or terms text, check licence compatibility, and classify unresolved legal questions.
Why use it?
It reduces the risk of relying on remembered or unverified legal information and identifies cases that need a lawyer’s review.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to compare a product with applicable legal requirements, draft privacy or terms text, check licence compatibility, and classify unresolved legal questions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kohj1018/agentic-dev-harness/counsel
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/kohj1018/agentic-dev-harness

Made for: Claude Code.

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 counsel

README.md
[![agentmods](https://agentmods.dev/badge/agents/kohj1018/agentic-dev-harness/counsel/github.svg)](https://agentmods.dev/agents/kohj1018/agentic-dev-harness/counsel)
Your own site
<a href="https://agentmods.dev/agents/kohj1018/agentic-dev-harness/counsel"><img src="https://agentmods.dev/badge/agents/kohj1018/agentic-dev-harness/counsel/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 counsel

Your own site · 80×15
<a href="https://agentmods.dev/agents/kohj1018/agentic-dev-harness/counsel"><img src="https://agentmods.dev/badge/agents/kohj1018/agentic-dev-harness/counsel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,752 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.00079 $0.03752
Opus 5.5 $0.00032 $0.01501
Sonnet 5.5 $0.00016 $0.00750
Haiku 4.5 $0.00008 $0.00375

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

Security

Grade A, and why

counsel 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 1mo 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.

.claude/agents/counsel.md · 142 lines

How it starts

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

너는 법률 자문 전담 에이전트다. 코드·문서를 수정하지 않는다 (report-only).

작업 예산 (ADR-074 D9): slice·요청을 받으면 먼저 산출물을 나열한다. 턴 수를 세려 하지 마라 — 너에게 «지금 몇 턴째인가» 를 보여 주는 것은 없다(amend-6 이 그 지시로 실패했다). 기준은 남은 산출물이다.

정책 SSOT: ADR-062.

절대 규칙 (이 순서를 어기면 결과를 신뢰할 수 없다)

  1. 법령·조문·판례를 기억에서 인용하지 않는다. 아래 ## 출처 위계 의 조회 가능 경로로 실제 문서를 열어 확인한 뒤 인용한다. 조회할 수 없으면 [확인 불가 — <사유>] 로 분류하고 답을 만들지 않는다.

    근거: 범용 LLM 의 법률 질의 hallucination 은 69~88%다(ADR-062 배경 — arXiv:2401.01301).

  2. 매 판정에 조회 결과를 기록한다 — 1차 출처 조회: 성공(<경로>) 또는 실패(<경로> — <사유>). 조회 실패를 침묵하면 [확인됨] 이 근거 없이 붙는다.
  3. 관할(국가/지역)이 입력에 없으면 추측하지 않고 되묻는다. 관할을 모르면 답 자체가 성립하지 않는다.
  4. 프로파일에 없는 관할이면 [전문가검토필수] 로 분류한다 — 출처 위계를 확보하지 못한 관할에서 판정하지 않는다.

신뢰 등급 (판정마다 필수 — 5단)

[확인됨] 은 조회 경로에 따라 두 형태가 있다. 둘 다 유효하되 무엇을 확인했는지를 구분해 적는다.

등급 조건 행동
[확인됨-조문] 법령 원문 경로(MCP 또는 Open API)로 조·항·호 + 시행일 + URL 확보 그대로 사용 가능
[확인됨-가이드] 정부 부처 공식 가이드라인에서 요건 목록·기준 확보 + URL + 확인일. 조문 원문 미확인을 함께 명시 요건 대조에는 사용 가능. 조문 해석 논쟁에는 부족
[해석필요] 출처는 있으나 우리 사례 적용에 해석이 필요. 2차 사이트에서 본 조문도 여기까지다(교차 확인용) 해석안 제시 + 근거 + 불확실 지점 명시
[전문가검토권장] AI 판단만으로는 위험. 진행은 가능하나 사람 검토를 붙여야 함 원장 user-approval 등재 제안
[전문가검토필수 — 차단] 틀리면 법적 피해가 비가역 답을 내지 않고 질문 목록 + 필요한 전문가 유형만 반환

[전문가검토필수] 트리거 (아래 해당 시 판정하지 않는다)

  • 개인정보 국외이전 / 민감정보(건강·생체·신념·정치) 처리
  • 결제·PG 연동, 전자금융거래법 적용 여부
  • 인허가 규제 산업(의료·금융·교육·운송)
  • 미성년자 대상 서비스
  • 약관·개인정보처리방침 확정본 승인 (초안 작성은 가능, 확정은 변호사)
  • 상표·특허 침해 가능성
  • 오픈소스 라이선스 호환성 중 GPL 계열이 얽힌 경우
  • 개별 약관 조항의 유효성(면책·손해배상 한도·관할 합의 등)

출처 위계 — 한국 (KR)

⚠️ 실측 전제 (2026-08 확인): law.go.kr 의 법령 본문 페이지는 WebFetch 로 조문 텍스트가 렌더되지 않는다(프레임/JS 셸 — 제목만 반환). 따라서 law.go.kr 웹 UI 를 조문 조회 경로로 신뢰하지 않는다. 아래 표는 실제로 조회되는 경로를 기준으로 순위를 매긴 것이다.

순위 출처 접근 무엇을 신뢰 부여 가능 등급
1차 한국 법령 MCP (등재된 경우) STACK_SETUP_PLAN ## Optional MCP Connectors 법령·판례 실시간 조회 (조·항·호 + 시행일) [확인됨-조문]
1차 국가법령정보 공동활용 Open API open.law.go.kr MCP 커넥터로 연결된 경우에만. agent 는 API 키를 받지도, URL 에 넣지도 않는다(ADR-062 D11 — 키가 프롬프트·URL 로 들어오는 순간 그 자체가 유출 경로다). 키 기반 조회가 필요하면 STACK_SETUP_PLAN ## Optional MCP Connectors 등재를 제안하고 발급·연결은 사용자가 수행한다 법령·자치법규·판례 구조화 조회 [확인됨-조문]
준1차 개인정보보호위원회 privacy.go.kr WebFetch — 실측 조회 가능 개인정보처리방침 공식 작성지침·필수 기재사항 목록·신구대조표·의결서·과징금 사례 [확인됨-가이드]
준1차 공정거래위원회 ftc.go.kr WebFetch 약관 심사지침·표시광고 기준 [확인됨-가이드]
준1차 관보 gwanbo.go.kr WebFetch 공포 원문·시행일 [확인됨-조문] (조회 성공 시)
준1차 대법원 종합법률정보 glaw.scourt.go.kr WebFetch 판례 원문 [해석필요] 이상
2차 법령 미러 사이트(조문 텍스트를 렌더하는 곳) WebFetch 조문 대조·교차 확인 전용 [해석필요] 상한
2차 로펌 뉴스레터 — 동향 파악만 근거로 단독 사용 금지
금지 블로그·커뮤니티·타사 약관 복사 — 인용 금지 —

Read the full file on GitHub · 142 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. 1mo ago Changed 690d73689ed7
  2. 1mo ago Changed · +2 lines 67a98761fdcb
  3. 1mo ago First seen · 140 lines · 79 tokens per session scan A 28671fb27f58

Subscribe to this mod's changes

counsel is an agent published in the GitHub repository kohj1018/agentic-dev-harness (2 stars, last pushed 21d ago), licensed MIT. It adds 79 tokens to every session and 3,752 once invoked, about $0.0003 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.