Skip to main content

packet-ask

스크럽된 패킷만 서브 에이전트에 보내는 로컬 CLI입니다. 메인은 지금 세션을 돌리는 에이전트입니다.

이 도구는 고른 파일·diff만 스크럽해서, 공식 도구가 그것만 보게 하거나, 붙여넣을 packet.md를 만듭니다.

이 도구는 의도적으로 보내는 범위를 줄입니다. 유출이 없음도, 학습되지 않음도 보장하지 않습니다. 벤더 약관은 그대로입니다. 자세한 내용은 SECURITY.md를 보세요.

MIT 라이선스입니다. 전문은 LICENSE를 보세요.

저장소: github.com/ictechgy/packet-ask

필요 조건

  • Python 3.11+
  • uv 0.10.9+ (pyproject.tomluv_build 하한과 같습니다)
  • GLM / Claude 서브 실행: allowlist 경로의 claude CLI (출처 서명은 검증하지 않습니다)
  • Kimi 실행: allowlist 경로의 kimi CLI
  • paste / grok / agy 는 벤더를 띄우지 않고 패킷만 출력합니다

키는 환경변수로만 넘깁니다. 이 도구는 .env 파일을 읽지 않습니다. 명령줄에 키 값을 적지 마세요. 셸 히스토리에 남습니다. .env 는 저장소에서 무시합니다. 변수 이름은 .env.example을 참고하세요. 실행 파일을 찾는 allowlist 는 SECURITY.md를 보세요. doctor는 help에 플래그가 보이는지만 확인하며, 무도구를 증명하지 않습니다.

설치

지금은 GitHub에서 설치합니다.

uv tool install git+https://github.com/ictechgy/packet-ask
packet-ask install-skills
packet-ask doctor

첫 업로드 이후에는 PyPI에서도 됩니다.

uv tool install packet-ask

pipx install packet-askpip install packet-ask 도 첫 업로드 이후입니다.

로컬 체크아웃:

uv sync
uv run packet-ask doctor

install-skills~/.claude/skills/packet-ask, ~/.grok/skills/packet-ask, ~/.codex/skills/packet-ask, ~/.agents/skills/packet-askSKILL.md 를 넣습니다. 이후 /packet-ask 또는 「kimi로 리뷰」처럼 말하면 메인이 이 CLI를 호출합니다.

사용

packet-ask providers

# 벤더를 실행하지 않고 패킷만 본다
packet-ask review --provider paste --files src/app.py --question "이 코드의 경쟁 상태를 찾아줘"

# GLM. 키는 PACKET_ASK_GLM_KEY
packet-ask review --provider glm --diff HEAD --question "이 변경을 리뷰해줘"

# Anthropic Claude 서브. 키는 PACKET_ASK_CLAUDE_KEY. 부모 BASE_URL 은 바꾸지 않습니다
packet-ask review --provider claude --files src/app.py --question "이 코드를 리뷰해줘"

# Kimi. 키는 PACKET_ASK_KIMI_KEY
packet-ask review --provider kimi --files src/app.py --question "이 코드를 리뷰해줘"

# grok/agy 는 아직 무도구 원샷을 실행하지 않고 paste 합니다
packet-ask review --provider grok --files src/app.py --question "이 코드를 리뷰해줘"

# 리서치. 로컬 파일은 기본 금지
packet-ask research --provider paste --question "Tailwind v4 마이그레이션에서 자주 깨지는 점"

packet-ask doctor

Kimi는 공식 kimi --quiet 원샷입니다. 대화형 세션을 열지 않습니다. 도구는 tools: [] 에이전트 파일과 매칭되지 않는 [tools] enabled 로 끄고, KIMI_CODE_HOME~/.config/packet-ask/providers/kimi 격리 프로필만 씁니다. 실제 레포에서 kimi를 직접 실행하지 마세요.

GLM은 공식 claude 바이너리를 쓰되, 부모 셸의 ANTHROPIC_BASE_URL 은 바꾸지 않습니다. 자식 환경에만 Z.ai Claude Code 연동 엔드포인트와 PACKET_ASK_GLM_KEY 를 넣습니다.

패킷 임시 디렉터리는 워크트리가 아니라 OS 캐시에 만듭니다. cwd는 샌드박스가 아닙니다. .gitignore.packet-ask-tmp/packet.md 는 예전 산출물이나 실수로 만든 파일을 커밋하지 않기 위한 방어입니다.

사용자 설정 ~/.config/packet-ask/providers.tomlpaste 별명만 추가합니다. 실행 파일·argv·env 는 받지 않습니다.

version = 1
[providers.gemini]
label = "Gemini CLI"

스킬

packet-ask install-skills 가 하니스 홈에 설치합니다. 스킬은 packet-ask를 부르라고만 적습니다. 격리는 CLI가 강제합니다.

종료 코드

1014는 벤더 프로세스를 시작하지 않았다는 뜻입니다.

코드 의미
0 성공
1 내부 오류
2 인자 오류
10 정책 거부 (구현·장애 등)
11 스코프 거부
12 리댁션/재검증 실패
13 실행 조건을 확인하지 못함
14 용량 초과
20 프로바이더/키 없음
21 프로바이더 실행 실패
22 출력 가드 실패 (전용 키 유출 또는 과대 출력)

개발

uv sync --group dev
uv run pytest

기여는 CONTRIBUTING.md를 따릅니다.

라이선스

MIT Copyright (c) 2026 Coden

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

packet_ask-0.1.0.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

packet_ask-0.1.0-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file packet_ask-0.1.0.tar.gz.

File metadata

  • Download URL: packet_ask-0.1.0.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for packet_ask-0.1.0.tar.gz
Algorithm Hash digest
SHA256 433f88156a59a7a00a5f21f8ef5fd292231745aec7ad54951573c0ffb61ae4c1
MD5 289c1b3fd6c6eb3200dc4111ba22d0ba
BLAKE2b-256 dc2a3803665d6d139e1dbb2bc3a897afbee06d90277092983fb353e1cc6be2ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for packet_ask-0.1.0.tar.gz:

Publisher: release.yml on ictechgy/packet-ask

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file packet_ask-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: packet_ask-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for packet_ask-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32127e38013b60739a7807e263cdda133c7837c7d395cc0a7433b8e6e9f98276
MD5 659c4878e1938bd32824947526100a61
BLAKE2b-256 bd98cfd0df378e8d16590d2562c3678937b64b2ff468b7db5f31f4e1935695cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for packet_ask-0.1.0-py3-none-any.whl:

Publisher: release.yml on ictechgy/packet-ask

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.7.1

2 files

0.7.0

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page