<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Claude-Code on Margrop Blog</title>
		<link>https://blog.margrop.net/en/tag/claude-code/</link>
		<description>Recent content in Claude-Code on Margrop Blog</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
		
			<lastBuildDate>Sat, 11 Jul 2026 03:20:00 +0800</lastBuildDate>
		
			<atom:link href="https://blog.margrop.net/en/tag/claude-code/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Couldn’t Get the GLM Coding Plan? Volcengine’s ¥9.9 Offer Can Drop to About ¥9.4 with an Invitation</title>
				<link>https://blog.margrop.net/en/post/volcengine-coding-plan-9-9-glm-5-2/</link>
				<pubDate>Sat, 11 Jul 2026 03:20:00 +0800</pubDate>
				<guid>https://blog.margrop.net/en/post/volcengine-coding-plan-9-9-glm-5-2/</guid>
				<description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Short answer&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;If the GLM Coding Plan is unavailable when you need it, refreshing the purchase page is not your only option. Volcengine Ark currently advertises the Coding Plan Lite subscription at &lt;strong&gt;¥9.9 per month for the first two months&lt;/strong&gt;. The same page lists a regular monthly price of ¥40, making the introductory price roughly &lt;strong&gt;25% of the regular price&lt;/strong&gt;, or “2.5 zhe” in Chinese discount terminology. The plan page also lists &lt;strong&gt;GLM-5.2&lt;/strong&gt; and says selected popular models receive a temporary four-times quota boost.&lt;/p&gt;&#xA;&lt;p&gt;Read the fine print before buying: ¥9.9 is not a permanent price, the third month returns to the displayed ¥40 monthly rate, and Coding Plan quota is intended for supported coding tools rather than arbitrary general-purpose API traffic. This article and its screenshots were prepared on July 11, 2026. The official campaign page displayed an end date of August 7, 2026; always trust the live checkout page if the rules change.&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
			</item>
			<item>
				<title>Stop Hunting for YOLO Flags: One Launcher for 6 AI Agent Tools</title>
				<link>https://blog.margrop.net/en/post/ai-agent-yolo-one-command/</link>
				<pubDate>Mon, 06 Jul 2026 09:50:00 +0800</pubDate>
				<guid>https://blog.margrop.net/en/post/ai-agent-yolo-one-command/</guid>
				<description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Short version&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;In AI Agent tools, &lt;code&gt;yolo&lt;/code&gt; does not mean “the model is smarter.” It means “ask me fewer questions.” It reduces or skips approval prompts so the Agent can run more like an unattended automation script. The annoying part is that every tool names this differently. Codex exposes a dangerous approval-and-sandbox bypass. Claude Code has a dangerous permission-skip mode and a permission mode. Gemini CLI and Qwen Code use &lt;code&gt;--approval-mode=yolo&lt;/code&gt;. OpenCode uses &lt;code&gt;--auto&lt;/code&gt; plus permission rules. Aider uses &lt;code&gt;--yes-always&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;My recommendation is not to overwrite &lt;code&gt;codex&lt;/code&gt;, &lt;code&gt;claude&lt;/code&gt;, or &lt;code&gt;gemini&lt;/code&gt; with risky aliases. Install an explicit &lt;code&gt;agent-yolo&lt;/code&gt; launcher instead. When you really want high autonomy, type &lt;code&gt;agent-yolo codex&lt;/code&gt;, &lt;code&gt;agent-yolo claude&lt;/code&gt;, or &lt;code&gt;agent-yolo gemini&lt;/code&gt;. This article provides Windows 11, Ubuntu 26.04, and macOS 26 scripts. They do not depend on third-party services, do not install missing Agent tools, and do not contain private addresses, full computer names, private domains, tokens, or keys.&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
			</item>
			<item>
				<title>The Markdown Throne Falls: When AI Agents Step Out of the Chat Box, HTML Becomes the New Answer</title>
				<link>https://blog.margrop.net/en/post/markdown-throne-falls-ai-agent-html-output/</link>
				<pubDate>Wed, 10 Jun 2026 10:00:00 +0800</pubDate>
				<guid>https://blog.margrop.net/en/post/markdown-throne-falls-ai-agent-html-output/</guid>
				<description>&lt;blockquote&gt;&#xA;&lt;p&gt;If 2023 was the &amp;ldquo;chatbox era&amp;rdquo; of ChatGPT and Markdown, then 2026 is heralding the arrival of a new phase: &lt;strong&gt;AI no longer merely &amp;ldquo;answers&amp;rdquo; you—it is set to &amp;ldquo;take over&amp;rdquo; your interface&lt;/strong&gt;. As Agents begin directly controlling browsers, operating SaaS, and building interactive application prototypes, Markdown—long the de facto standard for LLM output, that elegant format prized for its simplicity, readability, and token-friendliness—is rapidly revealing its fatal shortcoming as the &amp;ldquo;last mile.&amp;rdquo; &lt;strong&gt;HTML, not Markdown, is becoming the new answer for next-generation Agentic output.&lt;/strong&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>Claude Code Upgrade Broke Every Model? Before You Rotate Keys, Check the Compatibility Gateway</title>
				<link>https://blog.margrop.net/en/post/claude-code-invalid-message-role-system/</link>
				<pubDate>Fri, 29 May 2026 15:30:00 +0800</pubDate>
				<guid>https://blog.margrop.net/en/post/claude-code-invalid-message-role-system/</guid>
				<description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;The short version&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;After a Claude Code upgrade, every model call failed with the same error: &lt;code&gt;API Error: 400 invalid params, chat content has invalid message role: system (2013)&lt;/code&gt;. At first glance this looks like a bad API key, a dead model, an exhausted account, a broken proxy, or a provider-wide outage. The root cause was different: a newer Claude Code request shape crossed an Anthropic-compatible model gateway that had not caught up with the client-side protocol behavior. The gateway, or a downstream chat validation layer behind it, rejected a &lt;code&gt;system&lt;/code&gt; role in a place where it did not expect one.&lt;/p&gt;&#xA;&lt;p&gt;The practical fix was not to randomly reinstall things. I reproduced the failure with the smallest possible prompt, tested adjacent Claude Code versions, and found the last known good version. &lt;code&gt;2.1.150&lt;/code&gt; returned &lt;code&gt;OK&lt;/code&gt;; &lt;code&gt;2.1.154&lt;/code&gt; and &lt;code&gt;2.1.156&lt;/code&gt; reproduced the 400. Pinning the global Claude Code installation back to &lt;code&gt;2.1.150&lt;/code&gt; restored the existing provider path.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;This post is a troubleshooting write-up for a local Claude Code environment. The fix itself was small, but the incident is useful because it shows a pattern that is becoming common in AI agent tooling: the CLI, environment settings, model gateway, API compatibility layer, and actual model backend are often separate moving pieces. When one layer changes its request structure, the terminal may only show a vague 400.&lt;/p&gt;&#xA;&lt;p&gt;All private details have been removed. This article does not include real internal addresses, usernames, tokens, private provider names, local absolute paths, or private service domains. Configuration examples use placeholders such as &lt;code&gt;&amp;lt;PLACEHOLDER&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;MODEL_GATEWAY&amp;gt;&lt;/code&gt;, and &lt;code&gt;&amp;lt;MODEL_NAME&amp;gt;&lt;/code&gt;. The goal is to document a reusable debugging method, not to expose a specific environment.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Clawd Code Quick Architecture Read: One Page to Understand the Python-First Rewrite Workspace</title>
				<link>https://blog.margrop.net/en/post/clawd-code-architecture-quick-read/</link>
				<pubDate>Tue, 31 Mar 2026 21:30:00 +0800</pubDate>
				<guid>https://blog.margrop.net/en/post/clawd-code-architecture-quick-read/</guid>
				<description>&lt;p&gt;The latest &lt;code&gt;margrop/clawd-code&lt;/code&gt; codebase is no longer just a preserved source archive. It is now a very explicit &lt;strong&gt;Python-first porting workspace&lt;/strong&gt;: &lt;code&gt;src/&lt;/code&gt; is the active implementation surface, &lt;code&gt;tests/&lt;/code&gt; is the verification layer, &lt;code&gt;archive/claude_code_ts_snapshot/&lt;/code&gt; is an optional local archive, and &lt;code&gt;src/reference_data/&lt;/code&gt; is the source of mirrored command and tool inventories.&lt;/p&gt;&#xA;&lt;p&gt;This short post answers one question only: &lt;strong&gt;how is the workspace organized right now?&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://blog.margrop.net/post-images/clawd-code-quick-overview.svg&#34; alt=&#34;&#34;&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>Clawd Code Latest Code Analysis: How a Python-First Claude Code Rewrite Organizes Commands, Tools, Sessions, and Audit</title>
				<link>https://blog.margrop.net/en/post/claude-code-daofa-tishu-source-code-analysis/</link>
				<pubDate>Tue, 31 Mar 2026 20:30:00 +0800</pubDate>
				<guid>https://blog.margrop.net/en/post/claude-code-daofa-tishu-source-code-analysis/</guid>
				<description>&lt;p&gt;After reading the latest code in &lt;code&gt;margrop/clawd-code&lt;/code&gt;, the main change is obvious: this repository is no longer just an archive of the leaked Claude Code tree. It is now a &lt;strong&gt;Python-first porting workspace&lt;/strong&gt;. The tracked tree centers on &lt;code&gt;src/&lt;/code&gt; as active implementation, &lt;code&gt;tests/&lt;/code&gt; as verification, &lt;code&gt;archive/claude_code_ts_snapshot/&lt;/code&gt; as an optional local archive, and &lt;code&gt;src/reference_data/&lt;/code&gt; as the mirrored data source for commands, tools, and surface coverage.&lt;/p&gt;&#xA;&lt;p&gt;That changes the question. We are no longer asking only “what did the original source look like?” We are asking:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;can the old system be reorganized into a maintainable Python workspace?&lt;/li&gt;&#xA;&lt;li&gt;can commands, tools, sessions, permissions, and startup order be modeled explicitly?&lt;/li&gt;&#xA;&lt;li&gt;how much of the original surface is mirrored today?&lt;/li&gt;&#xA;&lt;li&gt;which parts are already runnable, and which parts are still skeletal?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;That is why I rewrote this post. The previous version still revolved around the leaked snapshot itself. This version needs to talk about the &lt;strong&gt;new engineering object&lt;/strong&gt;: the rewrite workspace.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://blog.margrop.net/post-images/clawd-code-architecture-2026.svg&#34; alt=&#34;&#34;&gt;&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
