AI Library

AI Library

Books for Reading AI

Choose a book, then read it in order from the table of contents.

Leaving It to AI and Stepping Away cover

27 posts

Leaving It to AI and Stepping Away

Kim Kyung-jin

A Complete Beginner's Guide to YOLO Mode. Table of contents and 26 chapters

A beginner-friendly online book on YOLO mode in Claude Code and Codex. It explains how to let AI read files, write code, run commands, and finish work while keeping rollback, Docker sandboxing, and safety checks close at hand.

Share

Facebook X LinkedIn Threads
Artificial Intelligence Fighter, Artificial Intelligence Air Force book cover

43 posts available

Artificial Intelligence Fighter, Artificial Intelligence Air Force

Kim Kyung-jin

Table of Contents, Preface, 40 Chapters, Epilogue

Artificial Intelligence Fighter, Artificial Intelligence Air Force is an online AI Library book by Kim Kyung-jin. It covers AI fighters, autonomous air power, unmanned combat aircraft, CCA, MUM-T, sixth-generation fighters and is organized as Table of Contents, Preface, 40 Chapters, Epilogue.

Share

Artificial Intelligence on Trial book cover

26 posts available

Artificial Intelligence on Trial

Attorney Kyungjin Kim

Table of Contents, Preface, 21 Chapters, 3 Appendices

Artificial Intelligence on Trial is an online AI Library book by Attorney Kyungjin Kim. It covers artificial intelligence and law, AI liability, algorithmic judgment, courts and technology and is organized as Table of Contents, Preface, 21 Chapters, 3 Appendices.

Share

PALANTIR book cover

16 posts available

PALANTIR: War, Surveillance, Artificial Intelligence

Attorney Kyungjin Kim

Table of Contents, Preface, 14 Chapters

PALANTIR: War, Surveillance, Artificial Intelligence is an online AI Library book by Attorney Kyungjin Kim. It covers Palantir, war, surveillance, artificial intelligence, data analytics, national security and is organized as Table of Contents, Preface, 14 Chapters.

Share

Brain Readers: Neuralink and the Final Human Revolution book cover

21 posts available

Brain Readers: Neuralink and the Final Human Revolution

Kim Kyung-jin

Table of Contents, Prologue, 18 Chapters, Epilogue

Brain Readers: Neuralink and the Final Human Revolution is an online AI Library book by Kim Kyung-jin. It follows Neuralink, brain-computer interfaces, brain data, medicine, neurorights, and the future of human enhancement.

Facebook X LinkedIn Threads Telegram
Artificial Intelligence and the Reshaping of Society book cover

16 posts available

Artificial Intelligence and the Reshaping of Society

Kim Kyung-jin

Table of Contents, Preface, 13 Chapters, Epilogue

Artificial Intelligence and the Reshaping of Society is an online AI Library book by Kim Kyung-jin. It follows how artificial intelligence changes work, education, inequality, cities, democracy, and human relationships.

Facebook X LinkedIn Threads Telegram
Ten Questions AI Poses to Humanity book cover

12 posts available

Ten Questions AI Poses to Humanity

Kim Kyung-jin

Table of Contents, Preface, 10 Chapters

Ten Questions AI Poses to Humanity is an online AI Library book by Kim Kyung-jin. It asks how artificial intelligence changes truth, weapons, work, data, identity, and human control.

Facebook X LinkedIn Threads Telegram
Malaysia and the Malacca Strait book cover

23 posts available

Malaysia and the Malacca Strait: Whoever Controls It Controls the World

Kim Kyung-jin

Table of Contents, Preface, 20 Chapters, Epilogue

Malaysia and the Malacca Strait is an online AI Library book by Kim Kyung-jin. It covers Malaysia, the Malacca Strait, maritime logistics, geopolitics, global trade, and Southeast Asia’s strategic future.

Facebook X LinkedIn Threads Telegram
Georgia history and culture travel book cover

24 posts available

A Journey Through Georgia's History and Culture

Kim Kyung-jin

Table of Contents, Preface, 17 Chapters, 4 Appendices, Epilogue

A Journey Through Georgia’s History and Culture is an online AI Library book by Kim Kyung-jin. It covers Georgia’s history, culture, religion, politics, travel, and the Caucasus crossroads between Europe and Asia.

Facebook X LinkedIn Threads Telegram
Reading Armenia book cover

13 posts available

Reading Armenia: A Thousand Prayers, One Mountain

Kim Kyung-jin

Table of Contents, Preface, 10 Chapters, Epilogue

Reading Armenia: A Thousand Prayers, One Mountain is an online AI Library book by Kim Kyung-jin. It covers Armenian history, faith, Mount Ararat, cultural memory, travel, and the endurance of a small nation.

Facebook X LinkedIn Threads Telegram
Mastering Claude Code book cover

41 posts available

Mastering Claude Code

Kim Kyung-jin

Table of Contents, Preface, Chapters, Appendices

Mastering Claude Code is an online AI Library book by Kim Kyung-jin. It covers Claude Code setup, commands, workflows, automation, agents, and practical methods for using Claude Code in real work.

Facebook X LinkedIn Threads Telegram
Claude Cowork and Agent manual book cover

11 posts available

Claude Cowork and Agent Utilization Manual

Kim Kyung-jin

Table of Contents, Preface, 8 Chapters, Closing Note

Claude Cowork and Agent Utilization Manual is an online AI Library book by Kim Kyung-jin. It covers Claude Code, AI agents, coding automation, work automation, and practical agent-based collaboration.

Facebook X LinkedIn Threads Telegram
2026 U.S.-Iran War and the Global Energy Crisis book cover

39 posts available

The 2026 U.S.-Iran War and the Global Energy Crisis

Kim Kyung-jin

Table of Contents, Preface, Chapters and Appendices

The 2026 U.S.-Iran War and the Global Energy Crisis is an online AI Library book by Kim Kyung-jin. It covers war, oil, the Strait of Hormuz, maritime security, energy markets, and the global consequences of conflict.

Facebook X LinkedIn Threads Telegram
The Traces Han Dong-hoon Left on South Korea book cover

13 posts available

The Traces Han Dong-hoon Left on South Korea

Kim Kyung-jin

Table of Contents, Prologue, Chapters, Epilogue

The Traces Han Dong-hoon Left on South Korea is an online AI Library book by Kim Kyung-jin. It examines his record in justice policy, immigration reform, public institutions, and the structural questions facing South Korea.

Facebook X LinkedIn Threads Telegram
The Han Dong-hoon Story book cover

39 posts available

The Han Dong-hoon Story

Kim Kyung-jin

Table of Contents, Prologue, Chapters, Epilogue

The Han Dong-hoon Story is an online AI Library book by Kim Kyung-jin. It traces Han Dong-hoon’s life, public career, political choices, and the changing landscape of South Korean conservative politics.

Facebook X LinkedIn Threads Telegram
Beyond the Glass Ceiling cover

39 entries

Beyond the Glass Ceiling

Kim Kyung-jin

Table of contents, prologue, 31 chapters, epilogue, 5 appendices

A political biography tracing Sanae Takaichi's rise from Nara to Japan's premiership, through party struggles, security policy, diplomacy, and the meaning of Japan's first female prime minister.

Sam Altman Biography: Pioneer of the AI Revolution cover

22 posts

Sam Altman Biography: Pioneer of the AI Revolution

Kim Kyung-jin, Kim Kyung-ran

Table of contents, preface, 7 parts, 20 chapters

An online biography following Sam Altman's childhood, startups, Y Combinator, OpenAI, ChatGPT, the 2023 board crisis, and his sense of responsibility in the AI era.

Facebook X LinkedIn Threads Telegram
From Chaiwala to Prime Minister cover

13 entries

From Chaiwala to Prime Minister

Kim Kyung-jin

Table of contents, preface, 10 chapters, epilogue

A political biography tracing Narendra Modi from a chai-selling boy in Vadnagar to RSS organizer, Gujarat chief minister, and three-term prime minister, while reading modern India, Korea-India relations, and the risks of a rising power.

AI Classroom: Your Grades Will Change book cover

26 posts available

AI Classroom: Your Grades Will Change

Kim Kyung-jin

Table of Contents, Preface, 24 Sections

An online AI Library book by Kim Kyung-jin on how AI can support elementary, middle, and high school learning, teaching, assessment, and educational equity.

Facebook X LinkedIn Threads Telegram
Military Artificial Intelligence cover

17 entries

Military Artificial Intelligence

Kim Kyung-jin and Kim Won-tae

Table of contents, preface, 14 chapters, epilogue

A full-length study of military artificial intelligence, from autonomous weapons, drones, command systems, logistics, and cyber defense to the strategies of the United States, China, Israel, Korea, and global defense AI companies.

Global Case Studies in Introducing AI into Public Administration book cover

25 posts available

Global Case Studies in Introducing AI into Public Administration

Kim Kyung-jin

Table of Contents, 23 Chapters, Epilogue

An online AI Library book by Kim Kyung-jin on public-sector AI adoption, national strategies, administrative services, governance, and future policy tasks.

Facebook X LinkedIn Threads Telegram
Seven Misunderstandings About the Arctic Route book cover

10 posts available

Seven Misunderstandings About the Arctic Route

Kim Kyung-jin

Table of Contents, Preface, 7 Chapters, Epilogue

An online AI Library book by Kim Kyung-jin on seven common misunderstandings about the Arctic Route, including speed, liner service, insurance, safety rules, year-round access, carbon impact, and infrastructure.

Facebook X LinkedIn Threads Telegram
Artificial Intelligence Election cover

14 posts

Artificial Intelligence Election

Kim Kyung-jin

Table of contents, author preface, 11 chapters, closing essay

An online book on campaign messaging, publicity materials, digital campaigning, data analysis, campaign operations, disinformation defense, legal risk, and ready-to-use prompts.

Facebook X LinkedIn Threads Telegram
Demis Hassabis book cover

34 posts available

Demis Hassabis, Father of Google’s Artificial Intelligence

Kim Kyung-ran, Kim Kyung-jin

Table of Contents, Author’s Preface, 31 Chapters, Epilogue

Demis Hassabis, Father of Google’s Artificial Intelligence is an online AI Library book by Kim Kyung-ran, Kim Kyung-jin. It covers Demis Hassabis, Google DeepMind, artificial intelligence, AlphaGo, AI research and is organized as Table of Contents, Author’s Preface, 31 Chapters, Epilogue.

Share

The Dhammapada 423 Verses book cover

28 posts available

The Dhammapada: 423 Verses

Kim Kyung-jin

Table of Contents, Editor's Note, 26 Chapters, 423 Verses

An online AI Library book by Kim Kyung-jin. This edition arranges all 423 verses of the Dhammapada into 26 chapters for slow, poetic reading.

Facebook X LinkedIn Threads Telegram
Nano Banana Pro Practical Prompt Book cover

24 posts

Nano Banana Pro Practical Prompt Book

Kim Kyung-jin

6 parts, 22 chapters, classroom prompt appendix

An online book for using Nano Banana Pro in classes and real work, covering image generation, editing, text rendering, character consistency, business use cases, and monetization.

Facebook X LinkedIn Threads Telegram
Liberal Arts AI for College Students book cover

16 posts available

Liberal Arts AI for College Students

Kim Kyung-jin

Table of Contents, Preface, 13 Chapters, Closing Essay

An online AI Library textbook for college students. It introduces AI history, daily use, document work, research, images, presentations, video, productivity, learning, careers, copyright, and governance.

Facebook X LinkedIn Threads Telegram
Legal Practice and Artificial Intelligence book cover

16 posts available

Legal Practice and Artificial Intelligence

Kim Kyung-jin

Table of Contents, Preface, 14 Parts

An online AI Library book by Kim Kyung-jin on legal research, drafting, evidence analysis, contract review, NotebookLM, and practical generative AI workflows for legal practice.

Facebook X LinkedIn Threads Telegram
Hello, I Am Kim Kyung-jin book cover

10 posts available

Hello, I Am Kim Kyung-jin

Kim Kyung-jin

Table of Contents, Preface, Recommendations, 6 Chapters, Closing

An online AI Library book on Kim Kyung-jin's life, science and technology policy, parliamentary diplomacy, legislative battles, Dongdaemun vision, and proposals for Korea's demographic future.

Facebook X LinkedIn Threads Telegram
Politics and People book cover

25 posts available

Politics and People

Kim Kyung-jin

Table of Contents, Prologue, 22 Chapters, Epilogue

An online AI Library book by Kim Kyung-jin on how politics begins with reading people, winning trust, keeping relationships, and enduring seasons of crisis.

Facebook X LinkedIn Threads Telegram

[AI Library] Chapter 18: Common Workflow Pitfalls and How to Overcome Them

Mastering Claude Code
Author
Kim Kyung-jin
Date
2026-05-06 09:09
Views
336

Mastering Claude Code

Chapter 18: Common Workflow Pitfalls and How to Overcome Them

Kim Kyung-jin

Mastering Claude Code

Mistake 1: Not Explaining Your Goal Clearly Enough

"I need a LinkedIn lead scraper."

Throw this single sentence at Claude Code and watch what happens. The agent cannot tell what industry of leads you want. It does not know which job titles to target. It ends up collecting random profiles. You waste time and model tokens, and you are left with a useless Excel file.

Recall when we scraped 622 job postings in the previous chapter. In plan mode, we provided the URL, told the agent how many pages there were, and described the fields we wanted. Claude Code came back with specific questions: Should we scrape individual detail pages, where should we save the data, are there filter conditions? Only after answering these questions did the agent establish an execution plan.

The Cascade Effect of Ambiguity

When your goal is ambiguous, every single judgment call the agent makes becomes uncertain. If you only say "lead scraper," the agent must make these decisions on its own.

A single wrong judgment about any of these questions throws off your entire result. The agent can ask clarifying questions, but only if you provided sufficient context in plan mode. In bypass permission mode with vague instructions, the agent guesses and proceeds on its own.

The Formula for Clear Goal Setting

Good goal setting follows a pattern.

Vague request:

Clear request:

You see the difference. The latter includes target (tech company CEOs), quantity (75 people), required data (name, company, email, profile link), output format (spreadsheet), and completion criteria (reaching 75).

[Figure 18-1] Comparison of Results: Vague Request vs. Clear Request

Treat the Agent as a Professional

A crucial shift in perspective is needed here. The agent is not a tool that mechanically follows instructions. It is a professional. You play the role of manager, delegating technical details to the agent.

Imagine hiring a real software developer to build an app. If you only say "Build me an app," the developer is stuck. They need information about what features are needed, who will use it, when the deadline is. The agent works the same way.

You do not need to know every technical detail. Ask "I want this result, what approach would work best?" and the agent uses a reasoning model like Opus 4.5 to compare five approaches and pick the optimal one.

Mistake 2: Not Defining What "Done" Means

If the first mistake is about "what," the second is about "when to stop."

Without a clear stopping point for the agent, three problems emerge: over-complication, needless repetition, endless research. If the agent thinks it can produce a better result, it keeps trying. This is both a strength and a weakness.

The Danger of Endless Loops

Look back at the dentist lead scraping case. We only asked to "find dentists in the U.S. and collect their contact information." What if the agent, after collecting 120 records, decides "we could gather more"? It might add new cities, explore new data sources, and keep refining the scraping tools without stopping.

The context gets exhausted, token costs balloon, and you never get the result you wanted.

Designing Completion Criteria

Completion criteria work on two axes: quantitative metrics and qualitative standards.

Examples of quantitative metrics:

Examples of qualitative standards:

We saw this principle work in the European sales lead scraping case. We set a goal of "500 records," and when the agent found only 52 in Europe, it spontaneously presented options. That happened because the completion criteria were clear. The agent itself recognized the gap between the goal and current status.

[Figure 18-2] Comparison of Execution Paths: Workflows with vs. without Completion Criteria

Co-Creating a Project Requirements Document with Your Agent

The solution to both mistakes converges on one practice: co-authoring a Project Requirements Document with your agent.

The Actual Process of Co-Authoring a Requirements Document

Switch on plan mode. Then say this.

The agent receiving this request goes through three stages.

Stage 1: Brainstorming and Research. Based on your stated goal, the agent investigates relevant APIs, MCP servers, and data sources. It may perform web searches. When we designed the YouTube analytics workflow, the agent compared YouTube Data API against MCP servers,that was this stage.

Stage 2: Questions and Answers. The agent asks multiple questions at once: "Which channels will we track?", "How often do you want reports?", "Should data also go into a sheet?", "Which email address should reports go to?" These questions fill in the blanks of the requirements document.

Stage 3: Planning. Once questions and answers are complete, the agent presents a comprehensive execution plan. It covers the goal, workflow structure, required tools, inputs, outputs, and edge case handling.

The Structure of a Workflow Document

When you look at a finished workflow document, its structure is itself the requirements document.

Because this document exists, when you run the same workflow next time, the agent produces consistent results. Without it, the agent approaches things differently each time, and output quality becomes uneven.

[Figure 18-3] A Real Example of a Workflow Document Based on Requirements

Three Benefits of Agent Workflows: Automatic Debugging, Voice-Based Control, Self-Learning

Now that we've covered how to avoid mistakes, let's examine three ways agent workflows are fundamentally different from traditional automation approaches.

Automatic Debugging: You No Longer Need to Read Logs

This was the daily reality of traditional workflow automation. You built something, ran it, and the system halted on an unforeseen edge case. Then you opened logs, analyzed error messages, and traced execution data one piece at a time to find the cause. Hours evaporated.

In agent workflows, this process is automated. You remember from the previous chapter when the dental lead web scraping tool extracted only two records. The agent self-diagnosed that "there's a problem with the parsing pattern," corrected the regular expression, updated the tool file, and ran it again. All of this happened without human intervention.

This is self-healing. Practically speaking, this matters greatly. While the agent builds workflows on your right monitor, you can work on something else on your left. You simply check in occasionally and keep it on track. Because AI is non-deterministic, it can veer off course, but it recovers from most errors on its own.

Voice-Based Control: You Don't Need to Learn Nodes

With tools like n8n, you had to learn what each node does, when to use it, and what parameters and settings mean. To connect to an API, you read documentation, found endpoints, configured JSON structure correctly, and figured out authentication. The barrier to entry was high.

In agent workflows, you describe what you want in natural language. The agent reviews available tools, checks for MCP connection servers, and researches API documentation if needed. A single sentence like "Please scrape European sales positions" encompasses tool selection, filter logic implementation, and Excel output format decisions.

The difference is summarized in the table below.

[Figure 18-4: Workflow Comparison Diagram of Traditional Automation and Agent Workflows]

Self-Learning: It Improves with Use

In the past, updating automation required manually modifying nodes and reconfiguring them. In agent workflows, the agent learns whenever it encounters a problem and updates both the workflow and tools.

Looking back at the job scraping workflow's progression, this quality becomes clear. In the first run, we successfully collected 209 records. In the second run, we reused the tool we had built. In the third run (dental leads), we created an entirely new tool but applied scraping patterns learned from earlier experience. Each workflow file and tool file grows more refined with each execution.

The Difference Between Manual Triggers and Scheduled Triggers

One important distinction needs to be made. Sitting in front of Claude Code and saying "Please do this task" is a manual trigger. In this case, the agent performs self-healing and learns in real time.

But when you deploy to run automatically every Monday at 6 AM, the situation changes. What gets deployed is the workflow and tools. The agent itself does not get deployed. So if the deployed workflow encounters an error during execution, it cannot fix itself. The agent is not there with it.

This is a current limitation of agent workflows. To improve a workflow operating on scheduled triggers, you must return to Claude Code, revise the workflow, and redeploy the updated version.

We've examined how to design robust workflows and the benefits that an agentic approach brings. When you clarify goals, define completion criteria, and draft requirements documents alongside the agent, workflow quality leaps forward. Now it's time to take these principles and learn how to connect powerful tool ecosystems provided by Google to your agent.

Kyung-Jin Kim, AI Expert Attorney

Specialist in AI Policy and Law, Former Member of National Assembly, Author of Multiple Books

If this book has stayed with you even for a moment, please support the next story coming into the world.

(Voluntary support account: Nonghyup Bank 302-1096-0948-81, Account holder: Kyung-Jin Kim)

Kim Kyung-jin

Attorney · Former Member of the National Assembly · AI Policy Researcher

kimkj.com

© 2026 Kim Kyung-jin. All rights reserved.

#KimKyungjin #AILibrary #MasteringClaudeCode
Scroll to Top
kimkj.com Home