<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Blog on YROOT</title><link>https://yroot.io/posts/</link><description>Recent content in Blog on YROOT</description><generator>Hugo</generator><language>de</language><lastBuildDate>Wed, 15 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://yroot.io/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Meine Claude Code Status Line</title><link>https://yroot.io/posts/claude-code-statusline/</link><pubDate>Wed, 15 Apr 2026 00:00:00 +0000</pubDate><guid>https://yroot.io/posts/claude-code-statusline/</guid><description>&lt;p&gt;Kontext-Auslastung, Kosten, Git-Status – das sind Dinge, die man beim Arbeiten mit Claude Code immer mal wieder wissen will, ohne extra nachfragen zu müssen. Die Statuszeile zeigt das permanent am unteren Terminalrand. Nach jeder Antwort führt Claude Code ein Shell-Script aus, das JSON-Sitzungsdaten via stdin bekommt und ausgibt was man sehen will.&lt;/p&gt;
&lt;p&gt;So sieht meine Statuszeile aus:&lt;/p&gt;
&lt;pre style="padding:1em;border-radius:6px;line-height:1.8;overflow-x:auto;font-size:.9em"&gt;&lt;code&gt;&lt;span style="color:#89dceb;font-weight:bold"&gt;[Claude Sonnet 4.6]&lt;/span&gt; &lt;span style="opacity:.4"&gt;❯&lt;/span&gt; my-project &lt;span style="opacity:.4"&gt;|&lt;/span&gt; ⑂ &lt;span style="color:#a6e3a1"&gt;main&lt;/span&gt; &lt;span style="color:#f9e2af"&gt;~2&lt;/span&gt; &lt;span style="opacity:.4"&gt;|&lt;/span&gt; &lt;span style="color:#a6e3a1"&gt;+41&lt;/span&gt; &lt;span style="color:#f38ba8"&gt;-7&lt;/span&gt;
&lt;span style="color:#a6e3a1"&gt;▓▓▓░░░░░░░&lt;/span&gt; 31% ctx &lt;span style="opacity:.4"&gt;|&lt;/span&gt; &lt;span style="color:#f9e2af"&gt;$0.042&lt;/span&gt; &lt;span style="opacity:.4"&gt;|&lt;/span&gt; ⧗ 3m 12s &lt;span style="opacity:.4"&gt;|&lt;/span&gt; 5h: 37% 7d: 23% &lt;span style="opacity:.4"&gt;|&lt;/span&gt; in:12k out:&lt;span style="color:#89dceb"&gt;3.2k&lt;/span&gt; &lt;span style="opacity:.4"&gt;| cache&lt;/span&gt; w:8k r:&lt;span style="color:#a6e3a1"&gt;21k&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Das Script liegt unter &lt;code&gt;~/.claude/statusline.sh&lt;/code&gt;, eingetragen in &lt;code&gt;~/.claude/settings.json&lt;/code&gt;:&lt;/p&gt;</description></item></channel></rss>