<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: dirk lüsebrink</title>
    <description>The latest articles on DEV Community by dirk lüsebrink (@crux).</description>
    <link>https://dev.to/crux</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F33288%2F2a264a9b-d0d9-4204-a5a1-70890a460c0f.jpeg</url>
      <title>DEV Community: dirk lüsebrink</title>
      <link>https://dev.to/crux</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/crux"/>
    <language>en</language>
    <item>
      <title>I kept losing my Claude Code sessions, so I wrote ccctl</title>
      <dc:creator>dirk lüsebrink</dc:creator>
      <pubDate>Sun, 01 Nov 2026 22:41:51 +0000</pubDate>
      <link>https://dev.to/crux/i-kept-losing-my-claude-code-sessions-so-i-wrote-ccctl-3p8f</link>
      <guid>https://dev.to/crux/i-kept-losing-my-claude-code-sessions-so-i-wrote-ccctl-3p8f</guid>
      <description>&lt;p&gt;I use Claude Code all day, which means a lot of sessions: one per project, sometimes three, spread over terminal windows, tabs, tmux panes and multiple screens. Two questions kept coming back. Where is that session I had? And didn't I already talk this through with Claude, a few weeks ago, in some other project?&lt;/p&gt;

&lt;p&gt;So I started writing small shell helpers. They grew, they got slow on big sessions, and now they are a single Go binary: &lt;strong&gt;ccctl&lt;/strong&gt;, Claude Code control.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where is that session?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbf2arqzs8s6hlnq0ndm7.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbf2arqzs8s6hlnq0ndm7.gif" alt="ccctl ps lists the running sessions, ccctl focus jumps into one" width="799" height="317"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ccctl ps&lt;/code&gt; lists every running Claude Code session with its title and state. &lt;code&gt;ccctl focus&lt;/code&gt; brings one to the front - the iTerm2 tab, the Terminal.app window or the tmux pane. Tab completion knows the running sessions by title, so I never type a session ID.&lt;/p&gt;

&lt;h2&gt;
  
  
  Didn't I already have a session on that?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc8yft8d7mov8n74su843.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc8yft8d7mov8n74su843.gif" alt="ccctl find searches all sessions" width="800" height="311"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ccctl find&lt;/code&gt; searches every conversation in every project. My own history is 1.5 GB from eight months of work, and a search takes about a second. No index yet - that comes next.&lt;/p&gt;

&lt;h2&gt;
  
  
  Or all of it in one place
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm9dvtek35gy6gq6vlpec.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm9dvtek35gy6gq6vlpec.gif" alt="ccctl ui: browse projects and sessions, resume one, jump to a running one" width="800" height="394"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ccctl ui&lt;/code&gt; shows projects, sessions and the running ones on one screen. Enter resumes a session, or jumps to it while it runs. I really like &lt;a href="https://k9scli.io" rel="noopener noreferrer"&gt;k9s&lt;/a&gt;, so it works the same way, with &lt;code&gt;:views&lt;/code&gt;, &lt;code&gt;j&lt;/code&gt;/&lt;code&gt;k&lt;/code&gt; and Enter.&lt;/p&gt;

&lt;h2&gt;
  
  
  The one I needed most
&lt;/h2&gt;

&lt;p&gt;Renaming a project directory used to cost me its Claude Code history. &lt;code&gt;ccctl move &amp;lt;dir&amp;gt; &amp;lt;new-path&amp;gt;&lt;/code&gt; renames the directory and takes its sessions, memory, settings and prompt history along. &lt;code&gt;--dry-run&lt;/code&gt; shows the plan first, and it refuses while Claude Code still runs in there.&lt;/p&gt;

&lt;h2&gt;
  
  
  The honest part
&lt;/h2&gt;

&lt;p&gt;ccctl is unofficial and not affiliated with Anthropic. It reads the files Claude Code writes under &lt;code&gt;~/.claude/&lt;/code&gt;, and those are not documented. A Claude Code update can change them, and then ccctl needs a fix. I test it with Claude Code 2.1.316 on macOS and Linux. No Windows.&lt;/p&gt;

&lt;p&gt;Of course this was written with Claude Code, but I helped a little bit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;brew &lt;span class="nb"&gt;install &lt;/span&gt;crux/tap/ccctl
&lt;span class="c"&gt;# or&lt;/span&gt;
go &lt;span class="nb"&gt;install &lt;/span&gt;github.com/crux/ccctl/cmd/ccctl@latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Code, docs and releases: &lt;a href="https://github.com/crux/ccctl" rel="noopener noreferrer"&gt;github.com/crux/ccctl&lt;/a&gt;. MIT licensed. Issues and ideas welcome - I use it every day, so I will see them.&lt;/p&gt;

</description>
      <category>claude</category>
      <category>cli</category>
      <category>go</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Hi, I'm dirk lÃ sebrink</title>
      <dc:creator>dirk lüsebrink</dc:creator>
      <pubDate>Tue, 25 Jul 2017 13:43:14 +0000</pubDate>
      <link>https://dev.to/crux/hi-im-dirk-lsebrink</link>
      <guid>https://dev.to/crux/hi-im-dirk-lsebrink</guid>
      <description>&lt;p&gt;I have been coding since 1980.&lt;/p&gt;

&lt;p&gt;I live in berlin.&lt;/p&gt;

&lt;p&gt;You can find me @ &lt;a href="https://bsky.app/profile/namehere.bsky.social" rel="noopener noreferrer"&gt;https://bsky.app/profile/namehere.bsky.social&lt;/a&gt; [̶@̶j̶o̶e̶&lt;em&gt;̶&lt;/em&gt;̶s̶i̶x̶]̶(̶h̶t̶t̶p̶s̶:̶/̶/̶t̶w̶i̶t̶t̶e̶r̶.̶c̶o̶m̶/̶j̶o̶e̶&lt;em&gt;̶&lt;/em&gt;̶s̶i̶x̶)̶&lt;/p&gt;

&lt;p&gt;I worked for a lot of companies, I still run my own boutique consulting. Mostly on complex e-commerce and enterprise integration projects. But mainly I'm focussed on my &lt;a href="http://vertama.com" rel="noopener noreferrer"&gt;Vertama&lt;/a&gt; activities now, which is about removing wasted hours of manual labour by automating reporting and communication process for German Hospitals.&lt;/p&gt;

&lt;p&gt;Nowerdays I mostly program in these languages: r̶u̶b̶y̶,̶ ̶p̶h̶p̶,̶ ̶e̶l̶i̶x̶i̶r̶,̶ ̶j̶a̶v̶a̶s̶c̶r̶i̶p̶t̶,̶ ̶b̶a̶s̶h̶,̶ ̶g̶o̶.̶ Kotlin, english, claude.&lt;/p&gt;

&lt;p&gt;I am currently learning more about̶ E̶l̶i̶x̶i̶r̶,̶ ̶L̶a̶r̶a̶v̶e̶l̶,̶ ̶g̶o̶,̶ ̶m̶a̶t̶t̶e̶r̶m̶o̶s̶t̶,̶ ̶e̶t̶h̶e̶r̶e̶u̶m̶,̶ Standesämter/XPS/XSD, HL7, EUDI Wallet, FHIR, XöV, OSCI, XTA2, Claude, VPN, and so much more. &lt;/p&gt;

&lt;p&gt;have fun,&lt;/p&gt;

</description>
      <category>introduction</category>
    </item>
  </channel>
</rss>
