# Claude Code 相關文章

所有標記為「Claude Code」的文章，共 19 篇。
URL: http://cdn.kaochenlong.com/tags/claude-code

## 2026

- 2026-10-02 [Day 18 - 一輪對話要花多少錢](http://cdn.kaochenlong.com/measure-agent-token-costs.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[Anthropic API](http://cdn.kaochenlong.com/tags/anthropic-api.md)、[Context Window](http://cdn.kaochenlong.com/tags/context-window.md)
- 2026-10-01 [Day 17 - 打開 streaming](http://cdn.kaochenlong.com/stream-agent-responses.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[Anthropic SDK](http://cdn.kaochenlong.com/tags/anthropic-sdk.md)
- 2026-09-30 [Day 16 - System Prompt 該寫什麼](http://cdn.kaochenlong.com/write-a-coding-agent-system-prompt.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[System Prompt](http://cdn.kaochenlong.com/tags/system-prompt.md)、[Prompt Engineering](http://cdn.kaochenlong.com/tags/prompt-engineering.md)
- 2026-08-15 [Day 15 - 把 agent 關在工作目錄](http://cdn.kaochenlong.com/restrict-an-agent-to-the-workspace.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[Sandbox](http://cdn.kaochenlong.com/tags/sandbox.md)
- 2026-08-14 [Day 14 - 把 rm -rf 攔下來](http://cdn.kaochenlong.com/add-permissions-to-an-agent.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[Shell Safety](http://cdn.kaochenlong.com/tags/shell-safety.md)
- 2026-08-13 [Day 13 - 【實戰】放手修一個 bug](http://cdn.kaochenlong.com/let-an-agent-fix-a-bug.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[Anthropic SDK](http://cdn.kaochenlong.com/tags/anthropic-sdk.md)
- 2026-08-12 [Day 12 - 讓迴圈停得下來](http://cdn.kaochenlong.com/keep-agent-loops-under-control.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[Agent Loop](http://cdn.kaochenlong.com/tags/agent-loop.md)
- 2026-08-11 [Day 11 - 執行 shell 指令](http://cdn.kaochenlong.com/run-shell-commands-from-an-agent.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[Shell](http://cdn.kaochenlong.com/tags/shell.md)、[subprocess](http://cdn.kaochenlong.com/tags/subprocess.md)
- 2026-08-10 [Day 10 - write_file 的防呆機制](http://cdn.kaochenlong.com/write-file-without-overwriting.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[File Tools](http://cdn.kaochenlong.com/tags/file-tools.md)
- 2026-08-09 [Day 09 - 改 code 為什麼用字串替換](http://cdn.kaochenlong.com/edit-code-with-string-replacement.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[String Replacement](http://cdn.kaochenlong.com/tags/string-replacement.md)
- 2026-08-08 [Day 08 - 在專案裡搜尋](http://cdn.kaochenlong.com/search-code-with-ripgrep.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[Search](http://cdn.kaochenlong.com/tags/search.md)
- 2026-08-07 [Day 07 - 開眼！看見整個專案](http://cdn.kaochenlong.com/let-an-agent-see-the-project.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[Working Directory](http://cdn.kaochenlong.com/tags/working-directory.md)、[Context Management](http://cdn.kaochenlong.com/tags/context-management.md)
- 2026-08-06 [Day 06 - 第一個工具 read_file](http://cdn.kaochenlong.com/build-a-read-file-tool.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[Tool Use](http://cdn.kaochenlong.com/tags/tool-use.md)
- 2026-08-05 [Day 05 - 模型怎麼使用工具](http://cdn.kaochenlong.com/how-ai-models-use-tools.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[Tool Use](http://cdn.kaochenlong.com/tags/tool-use.md)、[Function Calling](http://cdn.kaochenlong.com/tags/function-calling.md)
- 2026-08-04 [Day 04 - 讓模型假裝有記憶](http://cdn.kaochenlong.com/give-an-ai-chat-memory.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[對話歷史](http://cdn.kaochenlong.com/tags/%E5%B0%8D%E8%A9%B1%E6%AD%B7%E5%8F%B2.md)、[Context Window](http://cdn.kaochenlong.com/tags/context-window.md)
- 2026-08-03 [Day 03 - 第一個 API 請求](http://cdn.kaochenlong.com/first-anthropic-api-request.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[Anthropic SDK](http://cdn.kaochenlong.com/tags/anthropic-sdk.md)
- 2026-08-02 [Day 02 - 側錄 Claude Code！](http://cdn.kaochenlong.com/inspect-claude-code-requests.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[System Prompt](http://cdn.kaochenlong.com/tags/system-prompt.md)、[Tool Use](http://cdn.kaochenlong.com/tags/tool-use.md)
- 2026-08-01 [Day 01 - Claude Code 其實就只是一個 while 迴圈](http://cdn.kaochenlong.com/build-your-own-claude-code.md) — [Coding Agent](http://cdn.kaochenlong.com/tags/coding-agent.md)、[AI Agent](http://cdn.kaochenlong.com/tags/ai-agent.md)、[Agent Loop](http://cdn.kaochenlong.com/tags/agent-loop.md)
- 2026-01-03 [Claude Code Skills：讓 AI 變身專業工匠](http://cdn.kaochenlong.com/claude-code-skills.md) — [AI Agent](http://cdn.kaochenlong.com/tags/ai-agent.md)、[Skills](http://cdn.kaochenlong.com/tags/skills.md)
