kiwi-paper AGENTS.md

kiwi-paper AGENTS.md is an instructions file for Codex, OpenCode from hletrd/kiwi-paper. It costs 1,631 tokens per session, scanned A, original, MIT.

Project instructions for kiwi-paper, which converts academic-paper PDFs and technical books into Nanum Wiki-style Markdown documents.

In plain words
What is it for?
Use them when working on kiwi-paper or its renderer, especially when preserving its Korean wiki-style humor, footnotes, side notes, links, images, and four-stage conversion process.
Why use it?
They explain the project’s unusual writing style and show where its main skill, examples, installer, and HTML renderer are located.

Instructions file for CodexOpenCode

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.

agentmods
npx agentmods add instructions/hletrd/kiwi-paper/agents-md
Clone the repo
git clone --depth 1 https://github.com/hletrd/kiwi-paper

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 kiwi-paper AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/hletrd/kiwi-paper/agents-md.svg)](https://agentmods.dev/instructions/hletrd/kiwi-paper/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/hletrd/kiwi-paper/agents-md"><img src="https://agentmods.dev/badge/instructions/hletrd/kiwi-paper/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,631 This file is loaded in full into every session.
When invoked 1,631 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01631 $0.01631
Opus 5 $0.00816 $0.00816
Sonnet 5 $0.00326 $0.00326
Haiku 4.5 $0.00163 $0.00163

Measured 4d ago against content hash fce2875f7dd9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

kiwi-paper 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 4d 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 · 125 lines

How it starts

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

AGENTS.md — kiwi-paper

이 문서는 AI 코딩 에이전트(Claude Code, OpenCode, Codex 등)가 이 프로젝트에서 작업할 때 참고하는 가이드입니다.

프로젝트 개요

kiwi-paper는 학술 논문 PDF나 전공 서적을 나무위키 스타일의 마크다운 문서로 변환하는 Claude Code 스킬입니다.

  • 스킬 정의: SKILL.md (프로젝트 루트 및 ~/.claude/skills/kiwi-paper/)
  • 예제 출력: examples/ 디렉토리
  • 설치 스크립트: install.sh

핵심 컨셉

나무위키 스타일이란?

나무위키는 한국의 대표적인 위키 플랫폼으로, 다음과 같은 독특한 문체를 가집니다:

  • 취소선: 유머를 전달하는 핵심 장치. 진짜 내용 옆에 농담을 취소선으로 표시
  • 여담 섹션: 본문 끝에 관련 트리비아, 뒷이야기를 모아두는 섹션
  • 각주 유머: 각주에 출처뿐 아니라 드립을 숨겨두는 문화
  • 구어체 톤: 백과사전과 달리 편하고 재미있는 말투
  • 괄호 코멘터리: (이런 식으로 중간에 편집자 의견을 삽입)

4단계 파이프라인

  1. 초안 작성 (Draft): PDF 내용을 나무위키 스타일로 변환
  2. 다듬기 (Refine): 구조, 유머 밸런스, 링크를 보강
  3. 휴머나이즈 (Humanize): AI가 쓴 티를 제거하고 자연스러운 한국어로 다듬기
  4. HTML 렌더링 (Render): 마크다운을 나무위키 스타일 HTML로 변환

디렉토리 구조

kiwi-paper/
├── AGENTS.md          # 이 파일 — AI 에이전트 가이드
├── SKILL.md           # 스킬 정의 (핵심 파일)
├── README.md          # 프로젝트 소개
├── LICENSE            # MIT 라이선스
├── install.sh         # 스킬 + 렌더러 설치 스크립트
├── .gitignore
├── examples/
│   └── attention-is-all-you-need.md  # 예제 출력
└── renderer/          # Markdown → HTML 렌더러
    ├── package.json   # ESM 패키지 (Node.js >= 20)
    └── src/
        ├── render.mjs    # CLI 엔트리 포인트
        └── template.mjs  # HTML 템플릿 (CSS/JS 인라인)

에이전트별 작업 가이드

렌더러 작업 시

  1. renderer/ 디렉토리는 독립 Node.js 패키지 (ESM, "type": "module")
  2. 엔트리 포인트: renderer/src/render.mjs — CLI (-i, -o 필수 옵션)
  3. 템플릿: renderer/src/template.mjsrenderPage(), renderIndexPage() export
  4. 의존성 변경 시 cd renderer && npm install 필요
  5. 테스트: node renderer/src/render.mjs -i examples/ -o dist/

CLI 인터페이스:

node render.mjs -i <path|url...> -o <dir> [--title <str>] [--no-toc] [--single]

파이프라인: marked (GFM) → footnotes → KaTeX (서버사이드) → Shiki (듀얼 테마) → heading IDs → .md→.html 링크 변환

스킬 수정/개선 시

  1. SKILL.md를 읽고 현재 스킬 정의를 파악
  2. 수정이 필요한 부분을 변경
  3. 반드시 프로젝트 루트의 SKILL.md~/.claude/skills/kiwi-paper/SKILL.md 양쪽을 동기화
  4. examples/ 디렉토리의 예제가 변경된 스킬과 일관성 있는지 확인

Read the full file on GitHub · 125 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. 4d ago First seen · 125 lines · 1,631 tokens per session scan A fce2875f7dd9

Subscribe to this mod's changes

kiwi-paper AGENTS.md is an instructions file published in the GitHub repository hletrd/kiwi-paper (15 stars, last pushed 5mo ago), licensed MIT. It adds 1,631 tokens to every session, about $0.0082 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.