{"id":120834,"plugin_id":"plugin_asdk_app_6af7c81be53481918822df0bfe666141","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-27T12:26:47.747Z","digest":"edb5d35b172b4a219fa2fe876810c7fe95a39cbdf883d943795f79efad8f4eb3","against":null,"payload":{"description":"Makes a Tilnote book the user wants to read, table of contents first. From a topic, researches how it is usually taught and ordered - official guides, syllabi, well-regarded books' contents, recent changes, where learners get stuck - and the user's Tilnote notes, then drafts a table of contents for their level and goal. On a yes, creates a private Tilnote book whose first page is a contents note with every chapter's plan; a chapter is written when the user picks it and goes into the book at its place. Use when the user says \"make me a book on X\", \"I want to learn X from a book\", \"○○ 책 만들어줘\", \"○○ 책으로 공부하고 싶어\", \"책 목차 짜줘\", \"이 노트들로 책 만들어줘\", or about their Tilnote books \"show me my books\", \"내 책 보여줘\", \"Git 책 목차 보여줘\", \"show me chapter 3\", \"3장 보여줘\", \"next chapter\", \"다음 장\", \"책 이어서 읽자\", \"남은 장 다 써줘\", \"목차에 장 하나 추가해줘\", \"책 제목 바꿔줘\". Not for recommending published books (\"파이썬 책 추천해줘\", \"recommend a Python book\") or a quick question about a topic - answer those normally. Not for a blog post or a series of posts.","included_files":[{"relative_path":"references/english-ai-tells.md","size_in_bytes":4859},{"relative_path":"references/korean-ai-tells.md","size_in_bytes":4710},{"relative_path":"references/page-writing.md","size_in_bytes":6972},{"relative_path":"references/toc-note.md","size_in_bytes":9496},{"relative_path":"references/toc-research.md","size_in_bytes":13138}],"name":"make-book","skill_md_contents":"---\nname: make-book\ndescription: Makes a Tilnote book the user wants to read, table of contents first. From a topic, researches how it is usually taught and ordered - official guides, syllabi, well-regarded books' contents, recent changes, where learners get stuck - and the user's Tilnote notes, then drafts a table of contents for their level and goal. On a yes, creates a private Tilnote book whose first page is a contents note with every chapter's plan; a chapter is written when the user picks it and goes into the book at its place. Use when the user says \"make me a book on X\", \"I want to learn X from a book\", \"○○ 책 만들어줘\", \"○○ 책으로 공부하고 싶어\", \"책 목차 짜줘\", \"이 노트들로 책 만들어줘\", or about their Tilnote books \"show me my books\", \"내 책 보여줘\", \"Git 책 목차 보여줘\", \"show me chapter 3\", \"3장 보여줘\", \"next chapter\", \"다음 장\", \"책 이어서 읽자\", \"남은 장 다 써줘\", \"목차에 장 하나 추가해줘\", \"책 제목 바꿔줘\". Not for recommending published books (\"파이썬 책 추천해줘\", \"recommend a Python book\") or a quick question about a topic - answer those normally. Not for a blog post or a series of posts.\n---\n\n# Make a book (책 만들기)\n\nThe user names a subject they want to read a book about. You research how the subject\nis usually taught and ordered, look at what they already wrote in Tilnote, and draft a\ntable of contents for their level and goal. The table of contents is the main work\nhere: it decides what the book can be.\n\nWhen they approve it, you make two things in their Tilnote, both private:\n\n- **The 목차 노트** `\"<책 제목>\" 목차`, tagged `tilnote-book-toc`. It holds every\n  chapter's plan and status, and it is the book's memory: any AI app with this\n  plugin finds it by that tag and picks the book up from it. It is the book's first page, so the user sees the table of contents first. It\n  stays private when they publish the book: the web's publish window leaves it\n  unchecked unless they tick it.\n- **The book.** After the 목차 page come the written chapters, in 목차 order.\n\nNo empty pages are made. A chapter is written when the user asks to see it - \"3장\n보여줘\" - from its plan in the 목차 노트, and goes into the book at its place right\naway: chapter 5 written before 3 and 4 makes the book 목차, 1, 2, 5, and 3 and 4 go\nin between when they are written. Chapter numbers live in the 목차 노트; the book's\npage list shows only titles. They read it on the book's page in their Tilnote (the\n`/users/books/…` link the tools return).\n\nSpeak in the user's language. Examples are Korean because most Tilnote users are.\nFor a user who doesn't write in Korean, the fixed lines below have an English form\n(next to them, or in \"Fixed lines in English\" at the end), the 목차 노트 uses English\nlabels (\"In English\" in [references/toc-note.md](references/toc-note.md)), chapters\nare measured in words, and AI-sounding phrases are those in\n[references/english-ai-tells.md](references/english-ai-tells.md). Dates are the\nuser's local date - Korean time for a Korean user.\n\nBook and chapter titles go in double quotes (\"Git, 명령어 너머\"), in notes and replies\nalike - never 《》 or 「」. Inside a sentence already in double quotes, use single\nquotes (\"'Git, 명령어 너머' 3장 보여줘\").\n\n**Private notes shape the book; they don't go into it.** The book is private, but the\nuser can publish it on the web, and its chapters go public with it by default (a\nchapter added after that stays private until they tick it in the publish window). So\nread any note to judge the reader's level, their questions and the angle, and name it\nin a chapter's plan (the 목차 노트 stays private). A chapter's text takes material only\nfrom published notes, linked by the `publicUrl` the tools return\n(`https://tilnote.io/pages/…`); from a private note, no fact, sentence, number or name,\nand no link. When the user asks to include their private notes (\"비공개 노트도\n넣어줘\", or the notes they give for \"이 노트들로 책 만들어줘\"), the 목차 노트 gets the\nline `- 비공개 노트: 장에 써도 돼요` (`- Private notes: OK to use in chapters` in a\nnote with English labels), and chapters may then use the private notes in\ntheir plans - their experience, steps and lessons, still without linking them, and\nnever other people's names, anyone's contact details or ID, account or card numbers,\nthe user's own health, money and family matters, secrets (passwords, API keys,\ntokens - a code block gets a placeholder: `DATABASE_URL=...`), internal addresses (a\ncompany wiki, an internal server or IP, private document links), or work matters\n(their employer's, clients' or partners' names, contract terms and amounts, figures\nand plans not made public). Asked in a later\nconversation, add that line with one `edit_note` (`insert_after` the `함께 쓰는 예제`\nline - `Running example:` in a note with English labels).\n\n## Before anything else\n\n1. Check that the Tilnote tools are there. If not:\n   - **Where to connect** - name only the place in the app you are in:\n     - claude.ai or the Claude desktop app: 사용자 지정 → 플러그인 → Tilnote Blog → 커넥터 →\n       연결 (Customize → Plugins → Tilnote Blog → Connectors → Connect), with the link\n       https://claude.ai/customize/plugins - just that, in one line. Only if they then\n       say the tab shows 추가되지 않음 (Not added): 추가 (Add) first, and on a Team or\n       Enterprise plan an Owner adds it.\n     - A terminal app such as Claude Code: `/mcp` → plugin:tilnote-blog:tilnote → Authenticate.\n     - ChatGPT or the Codex app: 플러그인 → Tilnote Blog → MCP 서버의 tilnote → 연결\n       (Plugins → Tilnote Blog → the tilnote MCP server → Connect).\n     - Another app: its connector settings.\n\n     The plugin already has Tilnote's address. Give `https://tilnote.io/mcp` only when they\n     say Tilnote isn't among their app's connectors at all - offered unasked, it reads as\n     \"add a new connector\" and leaves two. `<연결하는 곳>` (`<where to connect>`) in the\n     lines below is that place.\n   - **They only said they want to study or read about a subject** (\"○○ 책으로 공부하고\n     싶어\") → answer normally with books to read, and end with one line:\n     > 틸노트를 연결하면(`<연결하는 곳>`) 수준에 맞춘 책을 만들어 드릴 수 있어요.\n\n     In English:\n     > Connect Tilnote (`<where to connect>`) and I can make you a book at your level.\n   - **A new book or its table of contents** (\"쿠버네티스 책 만들어줘\", \"○○ 책 목차\n     짜줘\") → draft the table of contents in the chat as in \"Drafting the table of\n     contents\", steps 2-5 - no notes to look in and no tags to check - and instead of\n     \"이대로 책을 만들까요?\" end with one line:\n     > 틸노트를 연결하면(`<연결하는 곳>`) 이 목차로 비공개 책을 만들고, 읽고 싶은 장을 그때그때 써서 넣어 드려요.\n\n     In English:\n     > Connect Tilnote (`<where to connect>`) and I'll make this a private book and write each chapter when you want to read it.\n\n     Changes they ask for are made to the draft in the chat; don't repeat the line.\n   - **Anything else** - their books, a chapter, a change to a book, making the book\n     from a draft, \"이 노트들로 책 만들어줘\" → say in one line that Tilnote isn't\n     connected yet and where to connect it (**Where to connect**, above), and stop.\n2. Pick the part of this skill that fits:\n\n| The user says | Go to |\n|---|---|\n| \"쿠버네티스 책 만들어줘\", \"○○ 책 목차 짜줘\", \"이 노트들로 책 만들어줘\", \"make me a book on X\" | Drafting the table of contents |\n| \"○○ 책으로 공부하고 싶어\", \"○○에 대한 책 보고 싶어\", \"I want to learn X from a book\" - neither making one nor Tilnote is mentioned | Ask once: \"읽을 만한 책을 추천해 드릴까요, 아니면 수준에 맞춘 책을 틸노트에 만들어 드릴까요?\" If the reader's level or goal is open in a way that changes the book, put that choice in the same message (\"만든다면 ① 처음 배우는 입문서 ② 실무에 바로 쓰는 책 중 어느 쪽인지도 알려 주세요\"). Recommendations → answer normally, without this skill. Made → Drafting |\n| After a table of contents draft: \"좋아, 이대로 만들어줘\", \"5장이랑 6장만 바꿔서 만들어줘\", \"Looks good, make it\" | Making the book |\n| After a draft of chapters to add to an existing book: \"좋아\", \"추가해줘\" | Changing the table of contents → continuing an existing book (never `create_book`) |\n| \"내 책 보여줘\", \"Git 책 목차 보여줘\", \"책 어디까지 썼지?\", \"show me my books\" | Browsing books |\n| \"3장 보여줘\", \"다음 장\", \"Git 책 이어서 읽자\", \"show me chapter 3\", \"next chapter\", \"keep reading my Git book\" | Showing a chapter |\n| \"남은 장 다 써줘\", \"Git 책 남은 장 이어서 써줘\", \"write the remaining chapters\" | Writing several chapters |\n| While reading: \"이 부분 이해 안 돼\", \"예시 하나 더\" | Questions while reading |\n| \"장 하나 추가해줘\", \"4장은 빼줘\", \"3장 내용 바꿔줘\", \"순서 바꿔줘\" | Changing the table of contents |\n| \"책 제목 바꿔줘\", \"책 소개 바꿔줘\" | `update_book` with the book's id - the end of the 목차 노트's `책:` address (\"Find the book and the 목차 노트\", steps 1-2), or from `list_books` for a book made on the web - and only what changes: `title`, or a `description` as in \"Making the book\" step 4. When they didn't give the new text, suggest it and change it on a yes. For a new title, also rename the 목차 노트 to `\"<새 제목>\" 목차` (`\"<New title>\" contents` when the note's title ends in `contents`; `edit_note` with `title`, and in the same call `replace` the old title in its `> [!NOTE]` line's sample sentence); the book's tag stays as it is. On a published book, say the new text is public right away. |\n\n## Drafting the table of contents\n\nHow to research and build it is in\n[references/toc-research.md](references/toc-research.md). Read it before you start.\nIn short:\n\n1. **Look in Tilnote first.**\n   - The books made here (`search_notes` with `q` and `tags` `tilnote-book-toc`) and\n     `list_books` - its first page is enough; don't page through. If a book on the\n     same subject exists, look for its 목차 노트 (see \"Find the book and the 목차 노트\",\n     step 2). With one, say so and ask whether to\n     continue that book or make a new one. To continue: open it (\"Find the book and\n     the 목차 노트\"), say where it stands (chapters written, the first `⬜`), and offer\n     that chapter. Draft new chapters only for something the 목차 doesn't cover - only\n     those chapters, in the 목차 노트's brief and style, keeping the book's title, each\n     with where it goes (\"4장 다음\") - and ask `이 장들을 \"…\" 목차에 더할까요?`\n     (`Add these chapters to the contents of \"…\"?`) instead\n     of \"이대로 책을 만들까요?\". If you\n     already asked the recommend-or-make question, don't ask again: draft the\n     new book and put one line at the top of the draft, `이미 \"…\" 책이 있어요. 그\n     책을 이어 읽으시려면 \"'…' 이어서 읽자\"라고 해 주세요.` (`You already have a book,\n     \"…\". To keep reading it, say \"Keep reading '…'\".`) Without a 목차 노트, the\n     book was made another way and can't be continued here; mention it, make a new\n     one, and use its pages as material like any other note. Either way, a book\n     already on the subject doesn't steer the new one - people read a subject again.\n     Draft for this request as if it weren't there: don't build around it, and don't\n     leave something out because it covers it.\n   - `search_notes` with two or three wordings of the subject: what they already know,\n     what they care about, and notes a chapter can build on.\n2. **Pin the brief.** Topic, who reads it, what they want to be able to do after it,\n   how long, and language. Take what the request and their notes already say. Ask one\n   short question only when the reader's level or goal is still missing and two\n   readings would give very different books (\"파이썬 책\" - first program, or data\n   work?). If you came here through the recommend-or-make question, that was your one\n   question: use their answer, or state your assumptions in the draft. Otherwise state\n   your assumptions in the draft and go.\n3. **Map the subject on the web** if you can search: how it is usually structured,\n   what changed recently, and where learners get stuck. Open the pages you rely on.\n   Search with topic words, product names and the facts to check - never people's,\n   clients' or companies' names or other details from a private note.\n   If you can't search, say once that the draft is from what you already know and that\n   recent changes weren't checked, and go on.\n4. **Build the table of contents** from what you found: the core most sources share,\n   chosen and ordered for this reader. Never copy one source's table of contents. The\n   book's tag is the title without punctuation, and it must be new: it may not match\n   a book step 1 saw or a tag already on the user's notes (compare with the tags\n   step 1 returned, then one `search_notes` with `q` and `tags` set to it). So a second\n   book on a subject gets its own title (\"Git, 명령어 너머 - 실무편\"), and a book titled\n   just \"Git\" becomes \"Git, 명령어 너머\".\n5. **Show the draft** in one message, in the shape in\n   [references/toc-research.md](references/toc-research.md), and ask: \"이대로 책을\n   만들까요? 빼거나 더할 장, 순서, 깊이를 말씀해 주세요. 전체 방향이 다르면 그것도\n   말씀해 주세요.\" (In English: \"Shall I make the book like this? Tell me any chapters\n   to drop or add, and changes to the order or depth. If you had a different direction\n   in mind, tell me that too.\")\n\nNothing is created in Tilnote while drafting. Adjust on feedback and show what changed;\nshow the whole draft again only after big changes. A new direction is a new draft:\nresearch again where it needs to, and show it whole.\n\n## Making the book\n\nOn a clear yes to a draft. A yes that comes with small changes (\"좋아, 5장이랑 6장만\n바꿔줘\") is still a yes: apply them and name them in the report.\n\n1. **Settle the plans.** Every chapter needs the plan in\n   [references/toc-note.md](references/toc-note.md). If the user only saw one line per\n   chapter, write the rest now from the approved lines and the sources behind the draft\n   - don't ask again or search again. After any reorder, check 먼저 읽을 장 again: no\n   chapter may need a later one.\n   If a requested change breaks that, say so in the report and how you handled it.\n2. **The book's tag** is the book title without punctuation (at most 50 characters):\n   `Git, 명령어 너머` → `Git 명령어 너머`. The 목차 노트 and every chapter carry it.\n   Later conversations take it from the 목차 노트's tags (the one that isn't\n   `tilnote-book-toc`); they never work it out again from the title (the book may\n   have been renamed).\n3. **Make it once.** `list_books`: if this conversation already made the book, reuse\n   it. If another book gives the same tag, or a note already carries it (repeat the\n   tag check from Drafting step 4 if the title changed or you can't see that check in\n   this conversation), add a distinguishing word to\n   the title and say so in the report.\n4. `create_book` with the book title and a `description` of at most 500 characters:\n   the promise and who it is for, written for someone reading the published book. It\n   becomes the public blurb if the user publishes the book (`update_book` can change it\n   later, and on a published book the change is public at once), so mention nothing\n   private (not the 목차 노트). The book is private.\n5. **The 목차 노트.** `create_note` titled `\"<책 제목>\" 목차` (`\"<Book title>\" contents`\n   in English), with the tags\n   `[\"<책 태그>\", \"tilnote-book-toc\"]` and `aiGenerated: true`, in the shape in [references/toc-note.md](references/toc-note.md),\n   starting with the `책:` (`Book:`) line holding the `url` that `create_book` returned. Every\n   chapter is `⬜ 아직 안 씀` (`⬜ not written yet`).\n6. `add_page_to_book` with the 목차 노트. It is the book's first page; chapters come\n   after it.\n7. **Write no chapter yet**, and make no other notes or pages.\n8. **Report** in a few lines:\n\n```\n\"쿠버네티스, 도커 다음 단계\" 책을 만들었어요. 비공개예요.\n- 책: https://tilnote.io/users/books/…\n- 목차: https://tilnote.io/home?pages=…\n\n지금 책에는 목차 한 페이지만 있어요. 장마다 다룰 내용을 거기 적어 두었어요.\n\"1장 보여줘\"라고 하시면 그때 1장을 써서 책에 넣어요. 순서대로 읽지 않아도 돼요.\n(5장과 6장 순서를 바꿔서 만들었어요.)\n\n1장부터 볼까요?\n```\n\n## Browsing books\n\n\"내 책 보여줘\", \"Git 책 목차 보여줘\", \"책 어디까지 썼지?\": show their books and a\ntable of contents to pick a chapter from. Nothing is written here.\n\n1. **The books.** `search_notes` with `q: \"tilnote-book-toc\"`, `tags:\n   [\"tilnote-book-toc\"]` and `limit: 50` - one 목차 노트 per book - and `list_books`.\n   Sort the 목차 노트 by their `updatedAt`, newest first (search results aren't in\n   date order): the newest is the book they last wrote in or changed. A book in\n   `list_books` whose address is in no 목차 노트's `책:` line was made on the web; it\n   can't be continued here.\n   - No 목차 노트: say no book has been made here yet, and offer to make one (\"○○ 책\n     만들어줘\").\n   - They named a book, or there is only one: show its contents (step 2), no list.\n   - Otherwise list up to five, newest first, one line each (`get_note` each 목차\n     노트 you list), then show the first book's contents (step 2):\n     `1. \"Git, 명령어 너머\" — 8장 중 3장 씀 · 다음: 3장 \"브랜치는 이름표일 뿐이다\"`\n     (none written: `6장 중 아직 안 씀 · 다음: 1장 \"…\"`).\n   - Books made on the web get one line after the list or the contents: `웹에서 만든\n     책 \"여행 기록\"은 목차 노트가 없어서 여기서 장을 쓰지는 않아요.`\n2. **A book's contents.** Find the book and the 목차 노트 (next section, steps 1-4),\n   then one line per chapter: number, title (no quotes needed in this list), and `✅`\n   or `아직 안 씀`. Leave out the plans; on \"자세히\", add each chapter's 한 줄 and 다룰\n   것. When you listed several books, the last line also says how to see another\n   one's contents (\"다른 책 목차는 책 이름을 말씀해 주세요\").\n\n```\n\"Git, 명령어 너머\" 목차예요. 8장 중 3장을 썼어요.\n- 책: https://tilnote.io/users/books/…\n- 목차 노트(장마다 계획): https://tilnote.io/home?pages=…\n\n1. 커밋은 스냅샷이다 ✅\n2. 스테이징 영역은 왜 있을까 ✅\n3. 브랜치는 이름표일 뿐이다 — 아직 안 씀\n4. 병합과 충돌 다루기 ✅\n…\n\n읽고 싶은 장을 번호나 제목으로 말씀해 주세요. 쓴 장은 바로 보여 드리고, 안 쓴 장은\n그때 써서 책에 넣어요.\n```\n\n3. **Their pick** - \"3장\", a chapter title, \"다음\", or another book's name - goes to\n   \"Showing a chapter\", or back to step 2 for that book.\n\n## Showing a chapter\n\n### Find the book and the 목차 노트\n\n1. If this conversation made or opened the book, use it.\n2. Otherwise `search_notes` with `q: \"tilnote-book-toc\"` and `tags:\n   [\"tilnote-book-toc\"]` - the 목차 노트, one per book - and take the one whose title\n   matches the user's words. A loose name (\"Git 책\") is fine when only one matches; if\n   two could match, ask which. If none matches, `list_books`: when the matching book's\n   first page (`get_book`) is one of those 목차 노트, the book was renamed on the web -\n   use it, and offer once to rename the note to `\"<새 제목>\" 목차` (`\"<New title>\"\n   contents` when the note's title ends in `contents`; `edit_note` with\n   `title` and `operations: []`). Otherwise go to step 3.\n   `get_note` the 목차 노트; its `책:` line gives the book, and its other tag (not\n   `tilnote-book-toc`) is the book's tag.\n3. A book with no 목차 노트 was made another way: say \"이 책은 목차 노트 없이 만든\n   책이라 여기서 장을 이어 쓸 수 없어요,\" and offer to draft a new book that uses its\n   pages as material. Don't make a 목차 노트 for it or add pages to it.\n4. **Check the book against the 목차** when the book wasn't made in this conversation,\n   and whenever the user says they changed it in the book editor: `get_book` with the\n   id at the end of the `책:` address. A chapter's pageId is the `pages=` value in its\n   읽기 link. The book's pages should be the 목차 노트, then exactly the `✅` chapters\n   in 목차 order.\n   - The 목차 노트 missing from the book: the user may have taken it out on purpose.\n     Say so once and offer to put it back as the first page (`add_page_to_book` with\n     `position: 1`); until then, count positions without it.\n   - A page whose pageId is in no 읽기 link but whose title is exactly a `⬜`\n     chapter's title (a run stopped before the 목차 노트 was saved) → `get_note` it. If\n     it carries the book's tag, the chapter is written and in the book: mark it `✅`\n     with the `url` get_note returned and the date from its `createdAt` (the user's\n     local date), and add its terms.\n   - Written chapters in a different order, or a page title that differs (the user\n     moved or renamed it on the web) → the book wins: reorder or retitle those\n     chapters in the 목차 to match, keep each `⬜` chapter right after the chapter it\n     followed, and renumber. Say what changed.\n   - A `✅` chapter missing from the book → ask whether to move it to `## 뺀 장` or put\n     it back at its place (\"Put it in the book\").\n   - Any other page in the book that isn't in the 목차 → tell the user what it is and\n     ask: take it out of the book (`remove_page_from_book`; the note stays), or add it\n     to the 목차 as a `✅` chapter at its place in the book. Add nothing to the book\n     until it is sorted out.\n   Save fixes with one `edit_note` on the 목차 노트, then run \"Fix chapter references\"\n   (under \"Changing the table of contents\").\n5. Map the user's words to a chapter in the 목차 노트:\n   - \"3장\", \"세 번째 장\", a chapter title → that chapter. The book's page list shows\n     only titles, starts with the 목차 page and skips chapters not written yet, so a\n     page number the user counted there (\"네 번째 페이지\") is not a chapter number:\n     find that page in `get_book` and take its chapter by title. Ask if it is unclear\n     which they mean.\n   - \"다음 장\", \"이어서\" → the chapter the last reply offered as next (to read or to\n     write); without such an offer, the chapter after the last one shown in this\n     conversation; in a new conversation, the first chapter marked `⬜`.\n   - A chapter listed under `## 뺀 장` was taken out: say so, give its link if it has\n     one, and ask before doing anything with it.\n\n### If the chapter is already written\n\nIts 상태 line has `✅` and a link. `get_note` that page and reply - don't\nrewrite it. The three lines come from the chapter's own sections, not from its plan:\n\n```\n2장 \"스테이징 영역은 왜 있을까\"는 10월 27일에 써 둔 장이에요.\nhttps://tilnote.io/home?pages=…\n\n- 작업 폴더·스테이징·저장소 세 곳\n- git add -p로 골라 담기\n- git status 읽는 법\n\n다음 3장 \"브랜치는 이름표일 뿐이다\"는 아직 안 썼어요. \"다음\"이라고 하시면 써요.\n```\n\nRewrite only if they ask, after saying the current text will be replaced (Tilnote keeps\nthe earlier version for 30 days); then `update_note` that page's `content`.\n\n### If it is `⬜`, write it\n\nSay one line first (\"3장을 쓰고 있어요. 1~2분 걸려요.\"), then follow\n[references/page-writing.md](references/page-writing.md):\n\n1. **Guard against a double.** `search_notes` with the chapter's title and `tags` set\n   to the book's tag. If a note with\n   exactly that title and the book's tag exists - a run that stopped before updating\n   the 목차 노트 - use it: the chapter is written (with that note's `url` and the date\n   from its `createdAt`, the user's local date). Go to step 5.\n2. Read what the chapter needs: its plan and the top of the 목차 노트, and the\n   chapters around it that are written.\n3. Look up what moves - versions, commands, numbers, dates, rules - if you can search,\n   and open what you cite. Check the user's notes for the chapter's key points.\n4. Write it in the shape in the reference, about 10 minutes of reading, and save it:\n   `create_note` titled with the chapter title only (no number), with the book's tag\n   and `aiGenerated: true`.\n5. **Put it in the book** (next section).\n6. **Update the 목차 노트**: one `edit_note` - its 상태 line becomes `✅`, and its new\n   terms. Exact lines, and how to point at them, are in\n   [references/toc-note.md](references/toc-note.md). If that fails, say so; the\n   chapter itself is saved and in the book.\n7. Reply (below).\n\n### Put it in the book\n\nThe book holds the 목차 page, then the written chapters in 목차 order. A chapter goes\nin at its place as soon as it is written, whether or not the chapters before it are.\n\n`add_page_to_book` with `position`: 1 for the 목차 page, plus one for each `✅`\nchapter before it in the 목차, plus one. Chapter 5, with chapters 1 and 2 in the book\nand 3 and 4 not written: 1 + 2 + 1 = 4. Leave out the 1 for the 목차 page when it\nisn't in the book. Positions are counted from the book as it is, so if the book wasn't\nchecked in this conversation yet, check it first (step 4 above). The result says where\nthe page landed; if that isn't the place you counted, `get_book` and check again.\n\nIf the book is published (`get_book` says `publish: true`, or the `add_page_to_book`\nresult has a `publicUrl`), the chapter still goes in as a private note, so the book's\nreaders don't see it yet: the web's publish window checks only chapters that are\nalready public. Say so in the reply in one line - `책이 공개돼 있어서 이 장은 아직\n독자에게 안 보여요. 웹에서 책 공개 창을 열고 이 장을 체크하면 보여요.` - and don't call\n`publish_note` for it.\n\nPut a chapter in the book this way only, at its place.\n\n### Replying about a chapter\n\n- Give the links the tools returned; don't build one. Don't paste the whole chapter\n  into the chat - it is in Tilnote. If they say \"여기서 보여줘\", show it in full.\n- End with what comes next: the next chapter to read if it is written, and the first\n  `⬜` chapter as the next to write.\n\nAfter writing a chapter that went into the book:\n\n```\n3장 \"Pod 하나로 시작하기\"를 써서 책에 넣었어요.\nhttps://tilnote.io/home?pages=…\n\n- 컨테이너 대신 Pod를 띄우는 이유\n- 명령 한 줄과 YAML 파일로 띄우기의 차이\n- Pod가 죽으면 다시 안 살아난다는 것 (→ 4장)\n\n다음은 4장 \"죽어도 다시 살아나는 앱\"이에요. \"다음\"이라고 하시면 이어서 쓸게요.\n```\n\nWhen chapters before it aren't written yet, say where it sits in the book and how to\nfill the gap: \"3·4장은 아직 안 써서, 책에서는 \"스테이징 영역은 왜 있을까\" 바로 다음에\n있어요. 3·4장은 쓰면 그 사이에 들어가요. 빈 곳부터 채우시려면 \"3장 보여줘\"라고 해\n주세요.\"\n\nWhen the next chapter is already written, point to it to read, with its link, and to\nthe first `⬜` chapter by number as the next to write: \"다음 4장 \"병합과 충돌 다루기\"는\n써 둔 장이에요(링크). 그다음 안 쓴 장은 5장이에요.\"\n\n### Chapters that depend on unwritten ones\n\nIf the asked chapter builds on chapters not written yet, write it anyway: the user\nasked for it. Its opening explains, in a sentence or two, the idea it assumes - not\njust where it is covered - worded so it still reads naturally once those chapters\nexist (`브랜치는 커밋에 붙은 이름표이고, HEAD는 지금 내가 선 자리를 가리켜요. 자세한\n건 \"브랜치는 이름표일 뿐이다\"에서 다뤄요.` - in English, `A branch is a label on a\ncommit, and HEAD points to where you are now. \"Branches are just labels\" covers this in\ndetail.`). Never write \"먼저 쓴 장이라\" (\"since this chapter was written ahead of the\nothers\") or similar notes about how the book is being made. Don't write the other\nchapters unasked.\n\n## Writing several chapters\n\n\"다 써줘\", \"남은 장 다 써줘\", \"Git 책 남은 장 이어서 써줘\": write the `⬜` chapters\nin order, each through the steps above, with a one-line progress note after each.\nAfter four chapters in one conversation, stop and say where you stopped and that\n\"'<책 제목>' 남은 장 이어서 써줘\" in a new conversation picks up from there - the 목차\n노트 keeps the status.\n\n## Questions while reading\n\nAnswer in the chat, for the reader the 목차 노트 describes. If the answer fills a real\ngap in the chapter, offer once: \"이 설명을 3장에 덧붙일까요?\" On a yes: one\n`edit_note` on the chapter that inserts a short `### 더 알아보기: <질문>` section\n(`### Going further: <question>` when the chapter's headings are English) -\n`insert_before` with `section` set to the chapter's recap heading as it has it\n(`\"정리\"` or `\"Recap\"`), or `append` with no address when the chapter has no recap\nheading. Never rewrite the rest of the chapter for it.\n\n## Changing the table of contents\n\nOrder of work for every change: first find the book and the 목차 노트 (\"Find the book\nand the 목차 노트\", steps 1-5 - this checks the book before any chapter number the user\nsays is used); then make the book calls the change needs; then \"Fix chapter\nreferences\"; then save the change in one `edit_note` on the 목차 노트, as in\n[references/toc-note.md](references/toc-note.md), \"Updating it\". Keep the 목차 numbered\n1, 2, 3 … in order, and check 먼저 읽을 장 again: numbers updated, and no chapter\nneeding a later one.\n\n- **Chapters not written yet** (`⬜`) - add, remove, rename, reorder or change their\n  plans freely. The book doesn't change.\n- **Moving written chapters** (`✅`) - `add_page_to_book` with the chapter's pageId\n  and the `position` it should end up at, counted as in \"Put it in the book\" but in\n  the new order; a page already in the book moves there. One chapter moved: one call.\n  Several moved: walk the new 목차 from the top and give each `✅` chapter its\n  position in turn (skip one already in place). Then `get_book` to see the order is\n  right.\n- **Renaming a written chapter** - `edit_note` on the chapter with `title` and\n  `operations: []`, then `add_page_to_book` with it and no `position`: the book keeps\n  its own copy of each title, and adding the page again refreshes it.\n- **Changing what a written chapter covers** (\"5장 헬름 말고 kustomize로\") is a\n  rewrite. Say the current text will be replaced (Tilnote keeps the earlier\n  version for 30 days). On a yes: update its plan, rewrite it following\n  [references/page-writing.md](references/page-writing.md), `update_note` that page's\n  `content`, and replace its terms in 지금까지 나온 용어. On a no, leave the plan as it\n  is - the plan must describe the text that exists.\n- **Removing a chapter:** confirm first. If it is in the book, `remove_page_from_book`\n  (the note stays; delete it only if they ask). Move its line out of the 목차 to\n  `## 뺀 장` (format in [references/toc-note.md](references/toc-note.md)) and renumber\n  the rest.\n- **Continuing an existing book** (after `이 장들을 \"…\" 목차에 더할까요?` got a yes):\n  add only the new chapters as `⬜`, each where the draft placed it. Never\n  `create_book`; the title and tag stay.\n\n**Fix chapter references** after any change that adds, renumbers, removes, renames or\nmoves chapters (yours or the user's on the web). Written\nchapters name other chapters by title, but their closing line names the next chapter.\nFor each written chapter (`✅`) whose next chapter changed, or that names a\nrenamed, moved or removed chapter: `get_note` it, then one `edit_note` on it that\nfixes only those lines, each by `find` quoted as the chapter has it - the closing\n`다음 장 \"…\"` line (`Next, \"…\"` in English), a newly last chapter's ending, a\nformer last chapter's what-to-read-next line, or the quoted title (older chapters may\nhave it in 「」; write the fixed one in double quotes). A new closing line is one\nsentence on what the new next chapter does, from its `한 줄`. Change the `(N장)` in\n지금까지 나온 용어 too, in place (a removed chapter's terms say `(뺀 장)`). This is not\na rewrite; name the fixed chapters in the report.\n\n## When a tool refuses\n\n| Error | What to do |\n|---|---|\n| `Book not found` / `Note not found` | Run `list_books` / `search_notes` again; it may have been deleted. Say so. |\n| `was not found` / `no longer matches` / `The note changed since you read it` / `matches only the start of the heading` | The user changed the note meanwhile. `get_note` it again and redo the edit once, with the new `revision`. If it says the change is already there, an earlier call saved it - don't send it again. |\n| Write scope missing | Tell the user to reconnect Tilnote and allow write access. |\n| Anything else | Say what failed in one line. What was saved before it stays saved. |\n\n## Don't\n\n- Don't create anything in Tilnote before the user says yes to a table of contents.\n- Don't make empty or placeholder pages. The only page that isn't a written chapter\n  is the 목차 노트, first.\n- Don't copy a book's or course's table of contents, chapter titles or wording. Use\n  sources to learn what belongs and in what order, then write your own.\n- Don't write a chapter the user didn't ask to see, and don't overwrite a written one\n  without asking.\n- Don't add a chapter to the book except at its place (\"Put it in the book\").\n- Don't invent sources, numbers, quotes or first-person experiences. A sentence\n  without a source is better than a made-up one.\n- Don't publish the book or its pages, even when a tool result says a chapter needs\n  `publish_note`. Publishing a book is done on the web when the user wants to; the\n  publish window leaves the 목차 노트 unchecked, so it stays private unless they tick\n  it.\n\n## Fixed lines in English\n\nFor a user who doesn't write in Korean, the fixed lines above read:\n\n| Where | In English |\n|---|---|\n| Recommend or make (routing table) | \"Shall I recommend some books to read, or make you a book at your level in Tilnote?\" - with the level choice: \"If I make one, also tell me which kind: ① a first introduction ② a practical book for work.\" |\n| Making the book, report | `I made the book \"…\". It's private.` / `- Book: …` / `- Contents: …` / `For now the book has only the contents page, with each chapter's plan. Say \"Show me chapter 1\" and I'll write it then and put it in the book. You don't have to read the chapters in order.` / `(I swapped chapters 5 and 6.)` / `Shall we start with chapter 1?` |\n| Browsing, one line per book | `1. \"…\" — 3 of 8 chapters written · next: Chapter 3 \"…\"` (none written: `none of 6 written yet · next: Chapter 1 \"…\"`) |\n| Browsing, a book made on the web | `The book \"…\" was made on the web and has no contents note, so I don't write its chapters here.` |\n| Browsing, a book's contents | `Contents of \"…\". 3 of 8 chapters written.` / `- Book: …` / `- Contents note (each chapter's plan): …` / each chapter `✅` or `— not written yet` / `Tell me which chapter you'd like to read, by number or title. If it's written, I'll show it right away; if not, I'll write it then and put it in the book.` / several books: `For another book's contents, tell me its name.` |\n| No contents note (Find, step 3) | `This book was made without a contents note, so I can't continue its chapters here.` |\n| A written chapter | `Chapter 2 \"…\" was written on Oct 27.` / `Chapter 3 \"…\" isn't written yet. Say \"next\" and I'll write it.` |\n| Before writing | `I'm writing chapter 3 now. It takes a minute or two.` |\n| After writing | `I wrote chapter 3 \"…\" and put it in the book.` / `Next is chapter 4 \"…\". Say \"next\" and I'll write it.` |\n| Chapters before it unwritten | `Chapters 3 and 4 aren't written yet, so in the book it comes right after \"…\". They go in between when they're written. To fill the gap first, say \"Show me chapter 3\".` |\n| Next chapter already written | `Next is chapter 4 \"…\", already written (link). The next chapter not written yet is chapter 5.` |\n| Published book | `The book is public, so readers can't see this chapter yet. To show it, open the book's publish window on the web and tick this chapter.` |\n| Stopping after four | `To pick up from here in a new conversation, say \"Write the remaining chapters of '<Book title>'\".` |\n| Questions while reading | `Shall I add this explanation to chapter 3?` |\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}