문서

Krill CLI 레퍼런스

krill은 세션 데몬(krilld)에 유닉스 소켓으로 직접 붙는 단일 바이너리입니다. 앱이 꺼져 있어도 모든 명령이 동작합니다.

아래 예시는 로컬 Git 저장소 안에서 실행합니다. 에이전트는 별도로 설치·인증해야 하며, 워크트리 생성 시 저장소의 setup 명령을 검토하거나 건너뛸 수 있습니다.

빠른 시작

설치 — /Applications/Krill.app + ~/.local/bin/krill
$ curl -fsSL https://krill.page/install.sh | bash
상태 점검 · 에이전트 hook 설치
$ krill doctor
$ krill hook install claude
앱 없이 에이전트 시작
$ id=$(krill new --agent claude)
$ krill wait "$id" --for idle
$ krill read "$id" --lines 40
아무 터미널에서 같은 세션에 붙기 Ctrl-] 분리
$ krill attach "$id"

세션

krill ls [--json]세션 목록과 상태
krill new [--cwd <path>] [--worktree <name>] [--agent <profile> | -- <program>…]새 세션 생성. 에이전트 프로필 또는 임의 프로그램
krill send <id> [--enter] [--text <text>] [--stdin]세션에 입력 보내기
krill read <id> [--lines N]현재 화면·최근 출력 읽기
krill wait <id> --for idle|waiting|blocked|done|exited|pattern|quiet [--timeout <s>]상태·패턴·조용함이 될 때까지 대기
krill attach <id>일반 터미널에서 세션에 접속(Ctrl-] 분리)
krill kill <id>세션 종료(HUP → TERM → KILL)
krill --host <user@host> ls지원되는 Mac 호스트의 원격 krilld 조작
krill handoff --from <id> [--to-agent <agent>] [--prompt <text>]세션 맥락을 다른 에이전트에게 넘기기

워크트리 · 변경사항

krill worktree new <name> [--repo <path>] [--base <ref>] [--setup run|skip]git 워크트리 생성(+ 레포 setup 스크립트)
krill worktree rm <path> [--force]워크트리 삭제
krill changes [--repo <path>]변경 파일 목록
krill set --comment <text> | --workspace-status <…> | --pr <n>워크트리 메모·상태 배지·PR/이슈 연결
krill reference list | add <url> | remove <url> | find [query]세션·워크트리에 참고 URL 묶기
krill ports터미널 출력의 로컬 URL·포트와 접속 가능 여부

오케스트레이션

krill orchestration run-create --title <t>오케스트레이션 런 생성
krill orchestration task-create --run <r> --title <t> [--deps t1,t2]의존성 있는 작업(DAG 노드) 추가
krill orchestration worker-start --run <r> [--task <t>] --worker <name> [--agent <a>] [--cwd <dir>] --prompt <text>작업에 워커 에이전트 배정·기동
krill orchestration send | check [--wait] | ask | reply코디네이터↔워커 메시지, 블로킹 질문·답
krill orchestration gate-create --from <n> --question <q> [--options a,b]사람 결정 게이트 생성
krill orchestration gate-resolve <id> --decision <choice>게이트 결정
krill orchestration worker-list | worker-read | worker-stop워커 상태·출력 확인, 정지

에이전트 · 훅

krill hook install|uninstall claude|codex|agy|cursor|opencode에이전트 상태 hook 설치 — 알림·배지·Needs You
krill agent list감지된 에이전트 프로필
krill account list|switch|add|rm에이전트 계정 목록·수동 전환·추가·삭제
krill skills list|get|install <name>에이전트 스킬 설치
krill schedule add <id> --cron '…' --prompt <text> -- <exe>cron(UTC) 예약 에이전트 실행
krill statusline [install|uninstall]Claude Code 상태 줄 연동

아티팩트 운영 중

krill artifacts share <file> [--title <t>]HTML·Markdown을 share.krill.page에 공개
krill artifacts update|unshare <file>같은 링크 갱신·회수
krill artifacts list | delete <slug>내 공유물 목록·삭제

진단 · 업데이트

krill doctor [--bundle | --json]holder·krilld·소켓·hook 진단, 지원용 번들
krill update [--check] [--json]새 릴리스 확인·설치(세션 유지)
krill history clear콜드 스크롤백 기록 삭제
krill telemetry status|enable|disable텔레메트리 설정(기본 켜짐, disable로 끌 수 있음)
설치

Mac의 터미널을 열고 아래 명령을 붙여넣으세요.

curl -fsSL https://krill.page/install.sh | bash

Apple Silicon 전용 · 앱과 CLI를 설치합니다. Intel Mac은 지원하지 않습니다.

설치 전 확인

현재 빌드는 Apple 공증되지 않았으며 설치기는 SHA-256·코드 서명 검증 후 quarantine 속성을 제거합니다. 설치 스크립트 확인 · GitHub 릴리스 · 먼저 저장해서 읽기: curl -fsSL https://krill.page/install.sh -o /tmp/krill-install.sh && less /tmp/krill-install.sh

설치 스크립트

/install.sh는 GitHub 릴리스의 설치기를 받아 실행합니다: ZIP SHA-256 검증 → codesign --verify --strict → /Applications/Krill.app 제자리 교체 → ~/.local/bin/krill 연결. 인자는 그대로 전달됩니다. 현재 macOS 빌드는 Developer ID 공증이 없으며 설치기는 quarantine 속성을 제거합니다. 소스 설치는 CLI·데몬만 설치하고 GUI는 별도 번들 조립이 필요합니다.

$ curl -fsSL https://krill.page/install.sh | bash
$ curl -fsSL https://krill.page/install.sh | bash -s -- --no-open

Intel Mac·Linux는 현재 지원하지 않습니다.

모바일 연결 (PWA)

Krill 앱(Mac·Windows)의 설정 → 모바일 원격 제어에서 연결 경로(Relay · Tailscale)를 고르고 QR을 발급해 폰 카메라로 스캔합니다. 열린 페이지를 홈 화면에 추가하면 앱처럼 쓸 수 있습니다(앱 스토어 앱 아님). 전송은 ChaCha20-Poly1305 종단 간 암호화입니다.

Windows (x64)

PowerShell에서 아래 명령을 실행하면 최신 앱을 내려받아 SHA-256을 검증한 뒤 관리자 권한 없이 %LOCALAPPDATA%\Programs\Krill에 설치합니다. Authenticode 서명이 아직 없어 SmartScreen 경고가 뜰 수 있습니다.

> irm https://krill.page/install.ps1 | iex