AI Library

AI Library

Books for Reading AI

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

2026 Beijing: The Dangerous Dance of Two Giants book cover

16 posts available

2026 Beijing: The Dangerous Dance of Two Giants

Kim Kyung-jin

Table of Contents, Introduction, 13 Chapters, Epilogue

This book reads the Beijing summit through Hormuz, rare earths, Taiwan, Boeing, soybeans, AI chips, and Korea’s exposure to the U.S.-China bargain.

Share

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

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.

Share

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.

Share

The Jensen Huang Story book cover

16 posts available

The Jensen Huang Story

Kim Kyung-jin

Table of Contents, Preface, 13 Chapters, Epilogue

The Jensen Huang Story is an online AI Library book by Kim Kyung-jin. It covers Jensen Huang, NVIDIA, GPUs, AI chips, and the AI industry.

Share

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.

Share

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.

Share

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.

Share

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.

Share

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.

Share

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.

Share

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.

Share

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.

Share

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.

Share

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.

Share

AI Hegemony War book cover

8 posts available

AI Hegemony War

Kim Kyung-jin

Table of Contents, 7 Chapters

An online AI Library book by Kim Kyung-jin on AI superintelligence, the U.S.-China technology race, Europe and Korea’s AI laws, and international AI governance.

Share

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.

Share

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.

Share

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.

Share

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.

Share

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.

Share

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.

Share

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.

Share

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.

Share

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.

Share

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.

Share

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.

Share

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.

Share

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.

Share

[AI Library] Chapter 31: Permissions and Security in Practice

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

Mastering Claude Code

Chapter 31: Permissions and Security in Practice

Kim Kyung-jin

Mastering Claude Code

The Temptation of "Dangerously Skipping Permissions"

When you search for Claude Code tutorials on YouTube, many videos use a flag called --dangerously-skip-permissions. With this flag, Claude performs all tasks automatically without requiring approval: modifying files, executing commands, installing packages. It looks clean on screen because the work flows without interruption.

But the name of this flag contains the word "dangerously" for a reason. It means Claude could accidentally delete important files, execute unintended system commands, or perform actions that affect production servers all without your approval.

I understand wanting to work quickly. But there is a better way to balance speed and safety.

The Four-Level Autonomy Model

Claude Code's permission settings consist of four levels. Each represents the degree of autonomy you grant to the agent.

Stage 1: Plan

This is the most restrictive mode. Claude can read and analyze files, but does not modify anything. It doesn't write code or execute commands. It only plans and reports.

It suits understanding the structure of a new project or discussing strategy for approaching a complex problem.

Stage 2: Ask Before

Claude can perform tasks, but requires your approval at each step. It asks "May I modify this file?", "May I execute this command?" for each action.

It is safe but slow. The user must remain at the screen continuously pressing approval buttons. You choose this mode for sensitive operations on critical systems.

Stage 3: Auto Edit

At this level, file editing happens automatically, but system commands still require approval. Code writing and modification proceed freely, but commands like rm, npm publish, and git push execute only after human review.

This is the balance point suitable for most everyday development work.

Stage 4: Bypass

All restrictions are removed. This corresponds to --dangerously-skip-permissions. Claude performs all tasks automatically.

This mode should only be used when you actively supervise from the screen. Running the agent in bypass mode while away from your desk is dangerous.

Fine-Grained Control with Allowlists and Denylists

When you need more precise control than the four-level model, you use allowlists and denylists.

This approach is not 'allow everything or block everything', but rather 'allow only commands verified as safe, and explicitly block dangerous commands' for fine-grained settings.

Put safe commands like git commit, npm test, npm run build in the allowlist, and destructive commands like rm -rf, git push --force, DROP TABLE in the denylist.

One important rule applies here: the denylist takes priority over the allowlist. Even if rm is included in the allowlist, if it is also in the denylist, it gets blocked. The safety mechanism always wins.

With this setup, you get nearly the same speed as --dangerously-skip-permissions while still blocking fatal commands. It is a practical way to achieve safety without sacrificing speed.

VPS Hosting and Remote Claude Code Operations

Closing your laptop disconnects the Claude Code session. For long-running work or continuous monitoring, this is a constraint.

Installing Claude Code on a VPS (Virtual Private Server) solves this problem. Because the server runs 24 hours, the session persists even when you close your laptop. Using SSH (Secure Shell) for remote access lets you continue the session anytime, anywhere.

If you set up Telegram integration, you can even give Claude Code instructions from your phone. You ask "How did that validation I ran last night turn out?" from the subway on your way to work and get an answer.

Claude Code also has a remote control feature. You can operate a session running on one computer from a browser or phone. The code never leaves your machine; only control is remote. You can start work at your office computer and adjust direction from your phone while stepping out for coffee.

When running long-term sessions, permission settings need extra care. Because the agent runs while you are away, bypass mode is not appropriate. Carefully structure the allowlist and denylist, and for tasks requiring approval, configure the agent to wait until authorization arrives.

Security in Team Environments

Using it alone versus using it in a team operates on different security levels. One person's mistake can affect the entire team.

API Key Management

In team projects, never put API keys directly in code. If one person hardcodes a key and commits it, that key lives forever in the git history. Even in private repositories, it is not safe.

Manage API keys with environment variables. Store keys in a .env file, and add this file to .gitignore without fail. Each team member manages their own .env file on their computer, and share the actual key values through secure channels like password managers or encrypted messages.

Using settings.local.json

Claude Code's configuration files come in two types: shared settings that apply across the entire project and personal settings that apply only to your environment.

settings.local.json is your personal configuration file. It contains content specific to your environment: your permission settings, environment-specific paths, your personal MCP server connections, and so on. You do not commit this file to git.

Put shared project settings in a separate configuration file and commit it. All team members work under the same base rules, while individual differences are handled in settings.local.json.

Principle of Least Privilege

The basic principle for permission settings in team environments is straightforward: grant only the minimum permissions necessary for each role.

There is no reason a frontend developer's Claude Code session should be able to run database deletion commands. There is no reason a production deployment command should be allowed from a session that does not belong to a deployment manager. By configuring allowlists and denylists differently for each role, you can structurally limit the scope of damage from mistakes.

Security Is Not the Enemy of Speed

Spending time on permission configuration and security management can feel burdensome. You might think, "Can't I just use --dangerously-skip-permissions?" In reality, when doing simple experiments in personal projects, it may not cause major problems to do so.

But as your project grows, your team expands, and production servers become involved, running without security settings is like driving on a highway without a seatbelt. Before an accident happens, you feel only inconvenience, but once it happens, it is already too late.

Once you configure your allowlists and denylists carefully, you can work at nearly the same speed as bypass mode while still blocking fatal mistakes. Investing one hour up front to make all subsequent sessions secure is one of the most efficient time investments you can make.

For anyone who wants to use Claude Code seriously, permission configuration is not optional but fundamental. The stronger the power of a tool, the stronger the system that controls that power must be.

If you have developed technical competence and security awareness, the next stage is converting that ability into actual business. Technical skill alone in handling Claude Code is not enough. Answering the question of how someone with that skill can acquire their first client in the market, set pricing, and build a sustainable business is where the next journey begins.

Kim Kyung-jin, Attorney and AI Specialist

Specialist in AI Law and Policy, Former Member of Parliament, Author of numerous works

If this book has been at your side even briefly, please support the next story so it can reach the world.

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

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