openkakao-cli: Instructions file for Codex

AGENTS.md

openkakao-cli AGENTS.md is an instructions file for Codex, OpenCode from JungHoonGhae/openkakao-cli. It costs 1,098 tokens per session, scanned A, original, MIT.

Instructions for using openkakao-cli, a command-line tool for reading and managing KakaoTalk chats. KakaoTalk is a messaging app, and the instructions distinguish safe read-only actions from actions that send, edit, react to, or delete messages.

In plain words
What is it for?
Use them to read local chats, search messages, inspect account and friend data, preview message changes, and optionally send, edit, react to, or delete messages after opting in.
Why use it?
They make the tool safer for AI agents by keeping message-changing actions disabled unless explicitly enabled. They also provide previews before risky actions are carried out.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: $skill-name invocation.

This is JungHoonGhae/openkakao-cli's own configuration. It tells Codex and OpenCode how to work on openkakao-cli itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything openkakao-cli configures →

Reuse

Borrowing it

Nothing to install: this file belongs to JungHoonGhae/openkakao-cli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/JungHoonGhae/openkakao-cli/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/JungHoonGhae/openkakao-cli

Made for: Codex, OpenCode.

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 openkakao-cli AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/junghoonghae/openkakao-cli/agents-md/github.svg)](https://agentmods.dev/instructions/junghoonghae/openkakao-cli/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/junghoonghae/openkakao-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/junghoonghae/openkakao-cli/agents-md/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 openkakao-cli AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/junghoonghae/openkakao-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/junghoonghae/openkakao-cli/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,098 This file is loaded in full into every session.
When invoked 1,098 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.01098 $0.01098
Opus 5.5 $0.00439 $0.00439
Sonnet 5.5 $0.00220 $0.00220
Haiku 4.5 $0.00110 $0.00110

Measured 26d ago against content hash 362119a395c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openkakao-cli AGENTS.md 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 26d 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.

AGENTS.md · 122 lines

How it starts

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

AI Agent Integration Guide

openkakao-cli is designed for AI agent integration. All commands support --json for structured output.

Safety Model

LOCO write operations (send, delete, edit, react) are disabled by default to prevent account bans.

Safe commands (always available, no server contact)

# Read chats from local KakaoTalk database (SQLCipher, no network)
openkakao-cli local-chats --json
openkakao-cli local-read <chat_id> -n 30 --json
openkakao-cli local-search "keyword" --json
openkakao-cli local-schema

# Preview actions without executing
openkakao-cli send 123 "message" --dry-run --json
openkakao-cli delete 123 456 --dry-run --json

# Queue an AX send proposal. This never sends a KakaoTalk message.
openkakao-cli --no-prefix safe-send propose "chat name" "message" \
  --reply-chat-id 123 --reply-log-id 456 \
  --idempotency-key "reply:123:456:policy-v1" --json
openkakao-cli safe-send list --json

Safe commands (REST API, lower risk)

openkakao-cli chats --json
openkakao-cli read <chat_id> --rest --json
openkakao-cli friends --json
openkakao-cli me --json
openkakao-cli doctor --json

Risky commands (require opt-in)

These require allow_loco_write = true in ~/.config/openkakao/config.toml:

openkakao-cli send <chat_id> "message" -y --json
openkakao-cli send --me "test" -y --json    # Send to memo chat
openkakao-cli delete <chat_id> <log_id> -y --json
openkakao-cli edit <chat_id> <log_id> "new" -y --json
openkakao-cli react <chat_id> <log_id> --json

safe-send approve <intent_id> is the preferred AX write path. It requires allow_ax_send = true, an exact allowed_send_chats match, an interactive terminal, the proposal's 12-character approval code, and macOS device-owner authentication (Touch ID or login password). Direct real local-send and local-send-photo use the same OS authentication. Agents stop after safe-send propose; a human reviews and approves. There is no unattended approval mode. An uncertain result is inspected in KakaoTalk and never retried automatically.

Read the full file on GitHub · 122 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. 26d ago Changed · +1 lines · +6 tokens per session 362119a395c5
  2. 2mo ago Changed · +23 lines · +357 tokens per session 50249fc2c107
  3. 2mo ago First seen · 98 lines · 735 tokens per session scan A cec88f155df3

Subscribe to this mod's changes

openkakao-cli AGENTS.md is an instructions file published in the GitHub repository JungHoonGhae/openkakao-cli (142 stars, last pushed 26d ago), licensed MIT. It adds 1,098 tokens to every session, about $0.0044 per session on Opus 5.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.

Related

openkakao-cli AGENTS.md compared with instructions from other repositories

openkakao-cli AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openkakao-cli AGENTS.mdJungHoonGhae/openkakao-cliInstructions file14226d agoMITA1,098Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode