lake-gate
What it does
Plan review for coding agents: request review, wait for a version-bound approval, revise.
- Connects 내 컴퓨터에서 실행
- Account or key No key needed
- Category 개발자 도구
함께 쓰기
이런 작업을 AI에게 가르치는 Skill, 이것과 함께 쓸 수 있습니다
graphify
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
archify
Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
이 순위인 이유
목록은 사용 점수(100점 만점)로 정렬되며 구성은 다음과 같습니다
| 인기 | 0/80 | GitHub 별 또는 주간 다운로드: 큰 쪽 60, 작은 쪽 20 |
|---|---|---|
| 최신성 | 12/12 | 30일 안에 릴리스나 코드 변경이 있으면 만점 |
| 응답 중 | 0/8 | 마지막 점검 때 클라우드 엔드포인트가 응답 |
| 사용 점수 | 12/100 |
품질: 기본 점검 3/3개 통과(표시만, 정렬에는 안 씀) · 상승세: 데이터 없음 (급상승 탭에서만 사용)
설치
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
검사 3/3 통과 · 내 컴퓨터에서 실행돼요 · ✓ 명령 확인 2026년 11월 16일
먼저: 어떤 AI를 쓰시나요?
쓰는 앱을 고르면 아래에 단계가 나옵니다.
Claude에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
AI에게 설치 맡기기
이 메시지를 Claude 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 Claude에 MCP server lake-gate을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "mcpServers": { "lake-gate": { "command": "npx", "args": [ "-y", "lake-gate", "mcp" ] } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 lake-gate의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
Node.js 설치 (아직 없다면)
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
node -v- 버전 번호(예: v26.13.1)가 나오면 설치된 것입니다. 이 단계는 건너뛰세요
- "command not found"(Windows는 "is not recognized")가 나오면 아직 설치하지 않았거나, 방금 설치해서 터미널을 닫았다가 다시 열어야 합니다
터미널 여는 법
Mac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다:
node -v한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다
컴퓨터용 Claude 앱 설정 파일 열기
SettingsDeveloperEdit Config
이 설정을 붙여 넣고 저장
{ "mcpServers": { "lake-gate": { "command": "npx", "args": [ "-y", "lake-gate", "mcp" ] } } }Claude를 끄고 다시 열기
해 보기
lake-gate을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude가 lake-gate을 쓰고 있다고 하거나 답에 lake-gate 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
ChatGPT는 아직 lake-gate에 연결할 수 없어요
lake-gate는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요
대신 이렇게 할 수 있어요
A · lake-gate에 연결되는 앱 쓰기
- 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
- 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
- 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
- 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
B · 개발자 도구에서 ChatGPT에 연결되는 다른 서버
같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
AI에게 설치 맡기기
이 메시지를 Claude Code 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 Claude Code에 MCP server lake-gate을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): claude mcp add --scope user lake-gate -- npx -y lake-gate mcp 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 lake-gate의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
Node.js 설치 (아직 없다면)
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
node -v- 버전 번호(예: v26.13.1)가 나오면 설치된 것입니다. 이 단계는 건너뛰세요
- "command not found"(Windows는 "is not recognized")가 나오면 아직 설치하지 않았거나, 방금 설치해서 터미널을 닫았다가 다시 열어야 합니다
터미널 여는 법
Mac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다:
node -v한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다
터미널 열기
Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기
이 명령을 붙여 넣고 Enter
claude mcp add --scope user lake-gate -- npx -y lake-gate mcpClaude Code에서 /mcp 입력
lake-gate이 목록에 있고 연결됨으로 보이면 돼요
해 보기
lake-gate을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude Code가 lake-gate을 쓰고 있다고 하거나 답에 lake-gate 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Cursor에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
AI에게 설치 맡기기
이 메시지를 Cursor 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 Cursor에 MCP server lake-gate을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "mcpServers": { "lake-gate": { "command": "npx", "args": [ "-y", "lake-gate", "mcp" ] } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 lake-gate의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
Node.js 설치 (아직 없다면)
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
node -v- 버전 번호(예: v26.13.1)가 나오면 설치된 것입니다. 이 단계는 건너뛰세요
- "command not found"(Windows는 "is not recognized")가 나오면 아직 설치하지 않았거나, 방금 설치해서 터미널을 닫았다가 다시 열어야 합니다
터미널 여는 법
Mac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다:
node -v한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다
Cursor에서 AI 채팅을 Agent 모드로 열기
해 보기
lake-gate을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Cursor가 lake-gate을 쓰고 있다고 하거나 답에 lake-gate 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
VS Code에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
AI에게 설치 맡기기
이 메시지를 VS Code 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 VS Code에 MCP server lake-gate을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "servers": { "lake-gate": { "type": "stdio", "command": "npx", "args": [ "-y", "lake-gate", "mcp" ] } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 lake-gate의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
Node.js 설치 (아직 없다면)
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
node -v- 버전 번호(예: v26.13.1)가 나오면 설치된 것입니다. 이 단계는 건너뛰세요
- "command not found"(Windows는 "is not recognized")가 나오면 아직 설치하지 않았거나, 방금 설치해서 터미널을 닫았다가 다시 열어야 합니다
터미널 여는 법
Mac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다:
node -v한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다
VS Code에서 AI 채팅을 Agent 모드로 열기
해 보기
lake-gate을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ VS Code가 lake-gate을 쓰고 있다고 하거나 답에 lake-gate 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
개발자용: 터미널 명령과 JSON 설정
컴퓨터에 설치
Claude Code
claude mcp add --scope user lake-gate -- npx -y lake-gate mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"lake-gate": {
"command": "npx",
"args": [
"-y",
"lake-gate",
"mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"lake-gate": {
"command": "npx",
"args": [
"-y",
"lake-gate",
"mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"lake-gate": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"lake-gate",
"mcp"
]
}
}
}이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
한눈에 보기
어떤 앱에서 쓸 수 있나요
이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.
내 컴퓨터에서 실행하는 앱
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
할 수 있는 일
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
기본 점검i
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 16일 점검
- ✓ 통과
제작자와 저장소 일치
레지스트리 이름이 GitHub 계정 getlake 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
- ✓ 통과
계속 관리되고 있음
코드 마지막 변경: 오늘
- ✓ 통과
라이선스 있음
MIT 사용
- – 해당 없음
엔드포인트 응답
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
- – 해당 없음
OAuth로 로그인
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
- … 아직 점검 안 함
도구 설명에 숨겨진 지시 없음
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
공개된 취약점 (OSV.dev)
아직 확인하지 않았습니다
제작자: 재확인 요청 또는 잘못된 정보 신고
제작자용: README에 배지 달기
제작자라면 이 코드를 README에 붙여 넣으세요. 배지는 이 페이지로 연결됩니다.
[](https://mcp.popnx.com/en/servers/getlake-lake-gate)토론
질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.
사용자 리뷰
아직 리뷰가 없어요
개발자 도구 카테고리의 다른 서버와 비교i
- 이 카테고리의 다른 서버 5964개 중 0%보다 스타가 많아요
- 이 카테고리의 다른 서버 5964개 중 99%보다 최근에 레지스트리에 공개됐어요
- 기본 점검 결과가 이 카테고리의 다른 서버 5964개 중 100%와 같거나 더 좋아요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
자주 묻는 질문
lake-gate, 안전한가요?
해당하는 기본 점검 3개 중 3개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
어떤 키나 코드가 필요한가요?
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
아직 관리되고 있나요?
GitHub 저장소는 마지막으로 오늘 변경됐고, 최신 버전(0.2.3)은 오늘 레지스트리에 올라왔어요.
어떤 앱에서 쓸 수 있나요?
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
대신 쓸 수 있는 건 뭐가 있나요?
같은 카테고리에는: GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
비슷하게 동작하는 다른 것
같은 카테고리, 다른 제작자, 명령 확인 완료. 공식이 먼저, 그다음 스타 순.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| 이 항목 lake-gate | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| 실행 위치 | 컴퓨터에 설치 필요 | 클라우드에서 동작, 설치 불필요 | 클라우드에서 동작, 설치 불필요 | 클라우드에서 동작, 설치 불필요 | 클라우드에서 동작, 설치 불필요 | 클라우드 또는 컴퓨터 설치 모두 가능 |
| 키 필요 | 아니요 | 아니요 | 아니요 | 아니요 | 아니요 | 아니요 |
| Claude에서 +로 추가 | 아니요 | 아니요 | 아니요 | 예 | 아니요 | 아니요 |
| 기본 점검 | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| 라이선스 | MIT | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| 가격 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 |
제작자의 README
README 열기
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
lake-gate
Your agent writes the plan. A teammate approves that exact version. Then the agent builds.
lake-gate is a small, free, open-source plan gate for teams using Claude Code and Cursor (other agents work through the CLI). It runs in your repo and on GitHub. There is no Lake server, no account and no telemetry.
- Plan export. When Claude Code leaves plan mode, the plan is saved to
.lake/plans/ .mdwith a complexity rating, a recommended model per step and a cost range. - Version-bound approval. A teammate approves on the PR with
/lake approve @. Edit one word of the plan and the approval no longer applies. - Local gate. A Claude Code
PreToolUsehook denies file edits and non-read-only shell commands until the active plan's current version is approved. Reading and exploring stay free. - PR check. A GitHub Action sets the
lake/plan-approvalstatus. Make it required and unapproved plans can't merge. - Review app. Rendered plans, comments on exact lines, review rounds per plan version with a diff between them, verdicts and an activity timeline. Approve or request changes in one click. Run it locally with
npx lake-gate ui, or use the hosted static app (it talks to the GitHub API straight from your browser). Live demo with a made-up team. - Approve from where you already are. The Lake review app, GitHub's own Approve button, or your agent chat (MCP server for Claude Code and Cursor). They all write to the same place, the PR, so there is one source of truth.
- Model and cost per step. Every plan shows which model runs each step and what that costs, with the same estimator and price table as lake-meter. Declare the model in the plan (
Model: Opus 5.5, or(model: haiku)on a step). Reviewers suggest a cheaper model, a dropped step or a cap, and the author accepts it in one click, which saves a new plan version. - Budget approval (optional). Above
budget.approverAbovedollars, one ofbudget.approvers(GitHub logins) must also approve that exact version. It shows in the app, the PR check and the MCP tools. - Small plans pass on their own. Tiny, low-complexity plans with a small diff (150 changed lines by default) are auto-approved, and quick fixes without a plan aren't gated at all. Once any version of a plan needed a human, shrinking it doesn't earn an auto pass, and the agent can't edit files in
.lake/directly. SetautoApprove.modetoshadoworoffto be stricter.
Install (about 10 minutes)
cd your-repo
npx lake-gate init # writes .lake/, the Claude Code hook, the GitHub workflow, and MCP config for Claude Code + Cursor npm i -D lake-gate # optional for JS repos: faster hook than npx git add .lake .claude .github .mcp.json .cursor && git commit -m "Add lake-gate" && git push npx lake-gate ui # the review app on localhost
Trying it alone first? npx lake-gate init --try sets up a local-only trial where you can approve your own plans with npx lake-gate approve. Nothing is posted anywhere.
Then in GitHub: Settings → Branches → branch protection → Require status checks → `lake/plan-approval` (the check appears after the first PR runs).
Requirements: Node 18.17+, git, a GitHub repo. macOS/Linux shells for the hook (Windows: use WSL for now).
PRs opened by an agent or bot with the workflow's `GITHUB_TOKEN` don't trigger other workflows, and GitHub may hold the Lake run as "Approval required" until a maintainer approves it, so lake/plan-approval doesn't appear. Open agent PRs with a personal token or a GitHub App token, or push one commit as a human.
The flow
- Plan. In Claude Code, use plan mode as usual. When the plan is accepted, the hook saves it to
.lake/plans/add-webhook-retries.mdand tells you its version and estimate. In Cursor, ask the agent to calllake_request_review. Any other agent: save the plan as markdown and runnpx lake-gate plan plan.md. - Open a PR with the plan first (a draft PR is fine). The Action posts one summary comment with the exact approve line.
- A teammate approves with a PR comment or review:
/lake approve add-webhook-retries@86eab4d0. The PR author and bots can't approve. Read-only users can't approve. - Sync and build.
npx lake-gate syncpulls approvals into your local checkout (usesGITHUB_TOKENorgh auth token). The agent can now edit. The code lands in the same PR and the check is green. - Plan changes? Edit the plan file. The version changes, the gate closes again and the PR check turns red until someone approves the new version.
Commands on the PR, one per line:
| Comment | Effect |
|---|---|
/lake approve @ | Approve this exact version |
/lake reject @ | Request changes. Blocks until the same person approves |
/lake revoke | Withdraw your approval |
Reviewing: the app, GitHub, and your agent
Everything is stored on the PR as normal comments and reviews. There's no database and nothing new to host. The review app, the Action, lake-gate sync and the MCP server all read the same comments.
Review app. npx lake-gate ui opens http://127.0.0.1:4848. It uses your gh login (or GITHUB_TOKEN) through a small local proxy: the token never reaches the page, the proxy only talks to this repo, and it only writes PR comments. It also shows plans you haven't pushed yet, as drafts, with their local history. The hosted copy at getlake.github.io/lake-gate/app/ is the same static app. It asks for a fine-grained token (Pull requests: read & write, Contents: read) and keeps it in your browser.
- Select text in a plan, or click a line, to comment on it (
c). Threads reply and resolve. - Each pushed version of the plan is a round. Comments stay attached to the round they were made on, and move forward to the current text when the quoted line still exists.
- Changes shows the diff between any two rounds. Activity is the timeline: who commented, approved or requested changes, on which version, and from where.
aapprove,rrequest changes,j/knext/previous thread,?for all shortcuts.
GitHub. Two ways, both counted by the same policy:
- GitHub's native review. Approve or Request changes on the PR with GitHub's own buttons. It counts for the plan version at the reviewed commit (turn it off with
nativeReviews: false). Line comments on the plan file show up as threads in the app. - Buttons in the summary comment. *Approve*, *Request changes* and *Open review* open the review app on the right plan with the approve sheet ready (
reviewUrl, default: the hosted app).
The typed /lake approve @ line still works everywhere.
Your agent (MCP). init registers npx -y lake-gate@0 mcp in .mcp.json (Claude Code) and .cursor/mcp.json (Cursor). Tools:
| Tool | What it does |
|---|---|
lake_request_review | Save the plan (with model and cost), optionally commit and push only the plan file, and return the review link |
lake_review_status | Status, verdicts, open threads with line numbers, reviewer suggestions, budget approval, and the model/cost view with Lake's suggestions. Works before a PR exists. wait_seconds (up to 240) waits for new feedback |
lake_submit_revision | Save a revised plan and resolve the threads it addresses (in Lake; GitHub's own review threads stay open until someone resolves them there). Or apply a suggestion in one step: thread_id, suggestion_id or model |
lake_review | For reviewers: approve, request_changes, comment (on lines), reply, or suggest a cheaper model or a cap. Approvals need the exact version and say "via Claude Code (MCP)" |
The PR author can't approve their own plan from any surface. An approval from an agent chat is posted under the human's GitHub account, so only use it when that person asked for it.
How it's stored. Comments from the app and the MCP server are PR comments with a small hidden marker, for example . Verdicts are the usual /lake approve|reject lines, so older versions of lake-gate and humans read them the same way.
What the estimate looks like
Planned model Opus 5.5: $2.53–$9.69 · Lake mix (cheapest model that fits each step): $2.31–$8.93
| # | Step | Complexity | Planned | Recommended | Est. cost | | 1 | Bounded retry queue with backoff | medium | Opus 5.5 | Sonnet 5.5 | $0.38–$1.28 | | 2 | Database migration: retry_count column | high | Opus 5.5 | Opus 5.5 | $2.10–$8.22 | | 3 | Fix typo in README | low | Opus 5.5 | Haiku 5.5 | $0.046–$0.18|
It's a rough heuristic, the same one lake-meter uses: complexity from keywords, token bands per level, public API list prices. It isn't a quote. On a subscription plan you spend quota, not these dollars. Override prices with catalog in .lake/config.json.
CLI
lake-gate init [--try] [--force] set up the repo (--try: local-only trial, self-approval allowed)
lake-gate approve [id] approve your own plan (trial mode only) lake-gate uninstall remove the hook, MCP entries and workflow (keeps .lake/) lake-gate plan [--id name] save a plan with an estimate and make it active lake-gate estimate print the estimate only lake-gate status plans, versions, approval state lake-gate sync [--pr N] pull approvals from the PR lake-gate check [--plan id] exit 0 only if the active plan's current version is approved lake-gate use switch the active plan (the hook blocks agents from doing this) lake-gate ui [--port 4848] [--no-open] the review app on localhost lake-gate mcp MCP server (stdio) for Claude Code / Cursor lake-gate hook claude the Claude Code PreToolUse hook (stdin JSON)
check is the pre-run gate for anything that isn't Claude Code, e.g. npx lake-gate check && codex exec "implement .lake/plans/x.md".
Configuration: .lake/config.json
| Key | Default | Meaning |
|---|---|---|
requiredApprovals | 1 | Distinct non-author approvals needed |
allowedAssociations | OWNER, MEMBER, COLLABORATOR | Who may approve |
ignoreLogins | [] | Logins that never count (e.g. a shared agent account) |
requirePlan | "warn" | PR changes code without a plan: off, warn, fail |
localGate | "block" | Hook behaviour: block (deny), ask (Claude Code prompts you), off |
readOnlyBash | git status/log/diff, ls, cat, rg... | Bash commands allowed before approval (regexes; chained commands are not) |
autoApprove | {mode:"on", maxUsd:1.5, maxSteps:3, maxComplexity:"low", maxCodeLines:150} | Tiny plans with a small diff pass without a human. off, shadow (only report), or on |
budget | {approverAbove:null, approvers:[]} | Above this many dollars (upper estimate of the planned model), one of approvers must also approve. Use GitHub logins, e.g. ["alice","bob"]. @org/team needs a token with read:org, which the default Action token doesn't have. When a team can't be read, the summary says so and repo admins can approve instead |
gateWithoutPlan | false | true blocks edits even when there's no plan |
provider, catalog | anthropic, lake-meter prices | Same shape as lake-meter's price catalog |
nativeReviews | true | GitHub's own Approve / Request changes count for the plan version at the reviewed commit |
reviewUrl | hosted review app | Where the summary comment's buttons point. "" hides them |
The PR check reads the config from the **current head of the base