본문 바로가기

Claude Code 2.1.178

Claude Code 2.1.178에서는 권한 규칙에 새로운 Tool(param:value) 구문을 추가하여 도구의 입력 매개변수를 와일드카드와 함께 매칭할 수 있게 되었습니다. 중첩된 .claude/ 디렉터리의 스킬, 에이전트, 워크플로우가 작업 디렉터리에서 가장 가까운 것을 우선 로드하도록 개선되었습니다.

글

Claude 공식 릴리스 노트의 새 항목을 AI가 분석·정리한 글입니다. 정확한 내용은 하단 원문에서 확인해 주세요.

🤖 AI 분석 (Claude)

Claude Code 2.1.178에서는 권한 규칙에 새로운 Tool(param:value) 구문을 추가하여 도구의 입력 매개변수를 와일드카드와 함께 매칭할 수 있게 되었습니다. 중첩된 .claude/ 디렉터리의 스킬, 에이전트, 워크플로우가 작업 디렉터리에서 가장 가까운 것을 우선 로드하도록 개선되었습니다.

자동 모드에서 서브에이전트 생성이 차단된 작업 요청을 미리 검토하도록 강화되었으며, /doctor 명령의 인터페이스와 /bug 명령의 제출 프로세스가 개선되었습니다. 원격 제어 오류 메시지는 더 명확하게 표시되고, 워크플로우 프롬프트 키워드의 트리거 조건이 명시적 구문으로만 작동하도록 변경되었습니다.

왜 중요한가

권한 규칙과 디렉터리 구조 개선으로 더 세밀한 접근 제어가 가능해지고, 서브에이전트 검토 강화로 의도하지 않은 작업 실행을 미리 차단할 수 있습니다. 워크플로우 트리거 조건 변경으로 의도하지 않은 워크플로우 실행 빈도가 줄어듭니다.

이전과 다른 점

이전에는 단순 도구 이름으로만 권한을 제어했으나, 이제 입력 매개변수별로 더 세분화된 제어가 가능합니다. 워크플로우 프롬프트 키워드는 단순 언급이 아닌 '워크플로우 실행' 같은 명시적 표현에서만 반응하도록 변경되었습니다.

실제로 써보려면

권한 규칙을 작성할 때 `Agent(model:opus)` 같은 `Tool(param:value)` 형식을 사용합니다. .claude/skills, .claude/workflows 등 중첩 디렉터리에 파일을 배치하면 해당 위치에서 자동으로 로드됩니다. `/doctor`와 `/bug` 명령은 Claude Code에서 직접 사용합니다.

⚠️ AI가 원문을 바탕으로 생성한 분석입니다. 사실 확인은 아래 원문에서 해 주세요.

핵심 정리 Claude Code 2.1.178 1 Tool(param:value) 구문으로 권한 규칙에서 도구 입력 매개변수 매칭 가능 (와일드카드 지원) 2 중첩 .claude/ 디렉터리에서 가장 가까운 스킬·에이전트·워크플로우 우선 로드, 이름 충돌 시 <dir>:<name> 표기 3 서브에이전트 생성 전 차단된 작업 자동 검토로 보안 강화 4 워크플로우 키워드 트리거를 명시적 구문(예: 'run a workflow')으로만 제한

변경 내용 (원문)

- Added `Tool(param:value)` syntax for permission rules to match a tool's input parameters (with `*` wildcard), e.g. `Agent(model:opus)` to block Opus subagents - Skills in nested `.claude/skills` directories now load when working on files there; on a name clash, the nested skill appears as `<dir>:<name>` so both stay available - Nested `.claude/` directories: the agent, workflow, and output-style closest to the working directory now wins when names collide; project-scope workflow saves now target the closest existing `.claude/workflows/` - Improved auto mode: subagent spawns are now evaluated by the classifier before launch, closing a gap where a subagent could request a blocked action without review - Improved `/doctor` with consistent flat tree layout across all sections, clearer section status icons, and highlighted command names - Improved the skill listing truncation warning to show how many skill descriptions are affected - Changed the workflow prompt keyword to use a purple shimmer highlight and trigger only on explicit phrases like "run a workflow" or "workflow:", not on any mention of the word - Improved Remote Control error messages: connection failures now show a persistent red "/rc failed" indicator in the footer, and the "not yet enabled" error now explains whether it's a gate, a check failure, stale entitlement, or org policy - `/bug` now requires a description before submitting, and no longer uses model-refusal text as the GitHub issue title - Fixed a crash (o

출처: Claude Code 변경로그 (원문 보기)

이 글이 도움이 됐나요?

이어서 읽어보세요