[KongchangAI]

#Claude Code

675 related articles

17 Claude Code Tips from Real-World Practice: Save Tokens, Avoid CLAUDE.md Pitfalls, Build Efficient Workflows
·4 min

17 Claude Code Tips from Real-World Practice: Save Tokens, Avoid CLAUDE.md Pitfalls, Build Efficient Workflows

17 Claude Code tips dissected: shrink CLAUDE.md to save tokens, use /context to diagnose context rot, protect key info with /compact, subagents vs. agent teams, and how to verify UltraThink, Context 7, and Chrome DevTools.

Read more →
Claude Code Hooks in Practice: Auto-Format Code and Block Sensitive Operations
·2 min

Claude Code Hooks in Practice: Auto-Format Code and Block Sensitive Operations

Claude Code Hooks tutorial: use pre/post tool call events to auto-format code, block sensitive files, send desktop notifications, and configure loop patrols so your AI coding assistant manages itself.

Read more →
Build and Deploy an App on Google Cloud with Claude Code in 30 Minutes
·3 min

Build and Deploy an App on Google Cloud with Claude Code in 30 Minutes

Google Cloud developer advocate Ivan Nardini demonstrates building and deploying a feedback app with Claude Code and Google Cloud in 30 minutes, covering plan mode, MCP servers, Skills, parallel sub-agents, and security review — showing how AI coding agents span the enterprise software lifecycle.

Read more →
Running Claude Code with Local Ollama: A Complete Hands-On Guide
·2 min

Running Claude Code with Local Ollama: A Complete Hands-On Guide

A step-by-step guide to connecting Claude Code to local Ollama models across Windows, Linux, and macOS, covering both the ollama launch and environment variable methods, plus 8 GB RAM test findings and a troubleshooting checklist.

Read more →
An Unattended Claude Loop Burned 13% of My Quota Overnight — Here Are the Three Safeguards I Added
·2 min

An Unattended Claude Loop Burned 13% of My Quota Overnight — Here Are the Three Safeguards I Added

An unattended Claude loop ran all night and burned 13% of plan quota. Here's how Claude limits are shared with the chat app, how to read /usage, and three safeguards for automated loops.

Read more →
Claude Code v2.1.304 Update Explained: Auto Mode and Permission Security Upgrades
·2 min

Claude Code v2.1.304 Update Explained: Auto Mode and Permission Security Upgrades

Claude Code v2.1.304 explained: new /auto-mode-setup guidance, decider and isReadOnly permission fields for tool.check, plus dozens of fixes for multi-agent, plugin hot-reload, and context management.

Read more →
Claude Code Installation and Advanced Guide: Bypass Account Ban Risks, Master Permissions, MCP, and Skills
·2 min

Claude Code Installation and Advanced Guide: Bypass Account Ban Risks, Master Permissions, MCP, and Skills

Claude Code installation guide for China: NPM method to bypass network limits, cc-switch to avoid account bans, plus permission modes, MCP, Skills, and model tips.

Read more →
Claugravity: One-Click Migration of Claude Code Plugins to Antigravity
·2 min

Claugravity: One-Click Migration of Claude Code Plugins to Antigravity

Claugravity is an open-source tool that converts Claude Code plugins into Google Antigravity's SKILL.md format, offering static security scanning, conflict handling, and a local web dashboard, with support for Windows, macOS, and Linux.

Read more →
7 Things AI Coding Agents Can't See, and the Command That Shows Each One
·3 min

7 Things AI Coding Agents Can't See, and the Command That Shows Each One

AI coding agents only see repo files and your typed text; CI logs, issue threads, PR inline comments, production schema, runtime logs, feature flag state, and the browser console are all beyond their view. Here are seven commands that turn each hidden state into agent-readable text, plus how .context/ and CLAUDE.md keep context across sessions.

Read more →
Claude Code Usage Stats Trap: Why One API Response Gets Counted Multiple Times
·3 min

Claude Code Usage Stats Trap: Why One API Response Gets Counted Multiple Times

Claude Code transcripts can split one API response across multiple lines, each carrying the full usage object. Naive summation overestimates token usage by nearly 2x. This article explains Anthropic's message.id deduplication rule, the output token placeholder trap, and Node and jq scripts for comparison.

Read more →
Enterprise-Level Vibe Coding in Practice: Claude Code + Codex Engineering Development
·2 min

Enterprise-Level Vibe Coding in Practice: Claude Code + Codex Engineering Development

A Bilibili hands-on course breakdown: using Claude Code and Codex to go from Vibe Coding to Super Power engineering-driven development of enterprise e-commerce and an OpenRouter-like aggregation platform, comparing tool capabilities and model selection while revealing the real boundaries of AI programming.

Read more →
Claude Code Cost Breakdown: 43% Spent on System Prompts
·2 min

Claude Code Cost Breakdown: 43% Spent on System Prompts

A developer's Claude Code token log: 2,772 daily calls, fixed context (system prompt + tools) at 43.3% of cost, model replies only 25.5%. Shortening sessions saves more than trimming tool output.

Read more →
Running Multiple Claude Code Agents in Parallel: The Hidden Pitfalls of Worktrees
·2 min

Running Multiple Claude Code Agents in Parallel: The Hidden Pitfalls of Worktrees

Git worktrees only isolate the filesystem. Parallel Claude Code agents still collide on ports, databases, env vars, and credentials. Here's what to do about it.

Read more →
Lost Your Claude Code Session After Accidentally Closing the Terminal? This Open-Source Plugin Can Find It
·2 min

Lost Your Claude Code Session After Accidentally Closing the Terminal? This Open-Source Plugin Can Find It

termstash is an open-source plugin for Claude Code that recovers sessions lost after accidentally closing the terminal. Use npx termstash last without installation, or install it as a plugin and tell Claude "I lost my session."

Read more →
Claude Code Preview Window Vulnerability: The Attack Surface Beyond Agent Security
·3 min

Claude Code Preview Window Vulnerability: The Attack Surface Beyond Agent Security

Claude Code Desktop's preview window had a high-severity flaw: malicious HTML could steal SSH keys and cloud credentials. Fixed now, but the agent security boundary lesson matters.

Read more →
The Top 1% Way to Use Claude Code: Drop Plan Mode and Use Verifiable Criteria to Boost Quality
·5 min

The Top 1% Way to Use Claude Code: Drop Plan Mode and Use Verifiable Criteria to Boost Quality

Top Claude Code users have dropped plan mode. This article breaks down the top 1%'s practices: verifiable criteria that boost quality 2-3x, /goal auto-loops, a lean CLAUDE.md as a table of contents, skills for error correction only, hooks instead of all-caps rules, sub-agent limits, and scheduled tasks for unattended work.

Read more →
Nine Advanced Claude Code Features in Practice: Subagents, Skills, Hooks, and Headless Mode Explained
·3 min

Nine Advanced Claude Code Features in Practice: Subagents, Skills, Hooks, and Headless Mode Explained

Nine hands-on demos explain Claude Code subagents, skill locking, hooks automation, MCP integration, worktree parallelism, headless mode, checkpoint rollback, and session branching.

Read more →
Linux Creator Uses Claude Code to Write Kernel? AI Programming Controversy and Practice
·2 min

Linux Creator Uses Claude Code to Write Kernel? AI Programming Controversy and Practice

Linux creator Linus Torvalds was reported to use Claude Code to write kernel code, sparking AI programming controversy. This article reviews the event details, analyzes performance improvement data, and shares cloud development anti-ban tips, exploring the future trends of AI programming.

Read more →