kakaotalk-cli

kakaotalk-cli is a skill for Claude Code from bam-bam-2/solo-skills. It costs 57 tokens per session (1,774 once invoked), scanned A, original, MIT.

A command-line tool workflow for reading and sending KakaoTalk messages, the chat service widely used in South Korea.

In plain words
What is it for?
Checking KakaoTalk status and chat lists, previewing recipients, sending messages, reading recent messages, and verifying sent content.
Why use it?
It provides a defined way to find chats, send messages, and verify delivery when the normal command or app view is unreliable.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the solo-skills plugin — 26 skills shipped together

Good fit Checking KakaoTalk status and chat lists, previewing recipients, sending messages, reading recent messages, and verifying sent content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bam-bam-2/solo-skills/kakaotalk-cli
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.

Any agent
npx skills add bam-bam-2/solo-skills --skill kakaotalk-cli
Clone the repo
git clone --depth 1 https://github.com/bam-bam-2/solo-skills

Made for: Claude Code.

Or install solo-skills, the plugin that ships this one along with the rest of its 26 skills.

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 kakaotalk-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/bam-bam-2/solo-skills/kakaotalk-cli/github.svg)](https://agentmods.dev/skills/bam-bam-2/solo-skills/kakaotalk-cli)
Your own site
<a href="https://agentmods.dev/skills/bam-bam-2/solo-skills/kakaotalk-cli"><img src="https://agentmods.dev/badge/skills/bam-bam-2/solo-skills/kakaotalk-cli/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 kakaotalk-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/bam-bam-2/solo-skills/kakaotalk-cli"><img src="https://agentmods.dev/badge/skills/bam-bam-2/solo-skills/kakaotalk-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,774 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00057 $0.01774
Opus 5 $0.00028 $0.00887
Sonnet 5 $0.00011 $0.00355
Haiku 4.5 $0.00006 $0.00177

Measured 7d ago against content hash 866a56bd4272, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

kakaotalk-cli 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 7d 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.

skills/kakaotalk-cli/SKILL.md · 129 lines

How it starts

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

카카오톡 보내기·읽기

이 스킬이 시스템에 하는 일 (설치 전 확인)

  • macOS 전용입니다. 접근성(Accessibility) 권한이 필요합니다.
  • 외부 도구 kmsg/kakaocli를 통해 카카오톡 앱을 조작하고 로컬 메시지 DB를 읽습니다.
  • 메시지 내용을 외부로 전송하지 않습니다. 전부 로컬에서 처리됩니다.
  • 접근성 권한은 화면의 다른 앱도 조작할 수 있는 강한 권한입니다. 부여 전에 이해하고 결정하세요.

이 스킬이 시스템에 하는 일 (설치 전 확인)

  • macOS 전용입니다. 접근성(Accessibility) 권한이 필요합니다.
  • 외부 도구 kmsg/kakaocli를 통해 카카오톡 앱을 조작하고 로컬 메시지 DB를 읽습니다.
  • 메시지 내용을 외부로 전송하지 않습니다. 전부 로컬에서 처리됩니다.
  • 접근성 권한은 화면의 다른 앱도 조작할 수 있는 강한 권한입니다. 부여 전에 이해하고 결정하세요.

정본 도구는 kmsg다. kakaocli send는 쓰지 않는다 — 화면에 렌더링된 채팅 목록만 훑어서 아래로 밀린 방을 못 찾고, DB 키를 받는 옵션도 없다.

왜 SSH를 거치나

Aside 샌드박스는 GUI 실행·AX(손쉬운 사용)·타 프로세스 조회가 전부 막혀 있다. 그래서 모든 명령은 SSH 루프백으로 샌드박스 밖에서 실행한다.

ssh -o BatchMode=yes localhost 'export PATH=/opt/homebrew/bin:$PATH; kmsg ...'

kakaocli status가 "App state: notRunning"이라고 해도 믿지 말 것. 샌드박스가 프로세스를 못 볼 뿐 카톡은 대개 켜져 있다.

선행 조건(2026-08-15 부여 완료): /usr/libexec/sshd-keygen-wrapper에 시스템 설정 → 개인정보 보호 및 보안 → 손쉬운 사용 권한. 없으면 모든 AX 호출이 -25211로 막힌다.

절차

# 1. 상태와 열린 창 확인 — 이 단계를 건너뛰지 말 것
kmsg status --verbose

# 2. (메인 창 외에 채팅 창이 열려 있으면 닫는다)

# 3. 보낼 내용을 파일로 빼서 따옴표 문제를 피한다
kmsg send "<방이름>" "$(cat /path/msg.txt)"

# 4. 실제로 나갔는지 읽어서 확인
kmsg read "<방이름>" --limit 1 --json
  • kmsg send는 성공 후 방 창을 닫는다. 그래서 직후 kmsg read는 창이 없다며 실패한다. 발송 검증은 kakaocli messages --chat-id ... --key로 DB를 보거나, 창을 다시 열고 읽는다.
  • 방은 이름 substring 또는 --chat-id로 지정한다. kmsg chats --json로 목록.
  • 보내기 전 --dry-run으로 수신자를 한 번 확인한다.
  • 나와의 채팅은 나와의 채팅이 아니라 프로필명 내 프로필명으로 지정한다.
  • 처음 보내는 상대이거나 내용이 길면 먼저 내 프로필명으로 연습 발송해 서식을 확인한다.

AI가 보냈다는 표시 (필수)

카톡은 사용자 본인 명의로 나가므로, 대신 보내는 전달·공지·안내성 메시지에는 본문 맨 끝에 서명 한 줄을 붙인다.

— 이 메시지는 사용자을 대신해 AI가 정리해서 보냈습니다

사용자가 2026-08-15에 직접 요청했다("디스코드 봇은 그렇게 해주잖아"). 디스코드는 커뮤니티봇 봇 계정이라 이미 드러나지만 카톡은 안 드러난다는 게 이유. 개인 브랜드 콘텐츠(블로그·스레드·링크드인)는 예외.

단톡방에 보낼 때

  • 진짜 @멘션은 걸 수 없다. 카톡 멘션은 @ 입력 시 뜨는 멤버 선택 팝업에서 골라야 생기고, 자동 입력은 그 팝업 때문에 문장이 깨질 위험이 있다. 이름을 본문에 나열하는 방식으로 쓰고, 하이라이트가 필요하면 사용자가 직접 단다.
  • 여러 명이 읽는 메시지는 먼저 내 프로필명으로 연습 발송해 서식을 확인하고, 사용자 승인을 받은 뒤 보낸다.

Read the full file on GitHub · 129 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. 7d ago Changed · +26 lines 866a56bd4272
  2. 11d ago First seen · 103 lines · 57 tokens per session scan A 442477b3f220

Subscribe to this mod's changes

kakaotalk-cli is a skill published in the GitHub repository bam-bam-2/solo-skills (362 stars, last pushed 8d ago), licensed MIT. It adds 57 tokens to every session and 1,774 once invoked, about $0.0003 per session on Opus 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-30.