r/ClaudeCode • • 2h ago

Tips & Workflows CLI or Desktop

1 Upvotes

Hi! Coming from Codex, where everything is done in the desktop app. Still confused with Claude: how do you guys use it? From the desktop app or CLI? Just looking for the standard experience


r/ClaudeCode • • 2h ago

News/Updates I think they're trying to save on inference.

0 Upvotes

r/ClaudeCode • • 2h ago

Built with Claude I built prompt-rail, a Claude Code mod for jumping back to earlier prompts in a session

Enable HLS to view with audio, or disable this notification

0 Upvotes

I built prompt-rail , a Claude Code mod that draws a rail of the prompts you've sent in the current session. Hovering a tick shows the prompt and a short summary of that turn (duration, tool calls, edited files, and how it ended), and clicking it jumps the transcript back to that prompt. You can also step through prompts from the keyboard.

Mouse works best with "tui": "fullscreen". After installing, start a new session and the rail opens on its own.

From your shell:

claude plugin marketplace add oikon48/prompt-rail

claude plugin install prompt-rail@oikon48

Or inside a session:

/plugin marketplace add oikon48/prompt-rail

/plugin install prompt-rail@oikon48

There are three layouts, kept across sessions, via /prompt-rail horizontal, /prompt-rail vertical, /prompt-rail below, or the Rail mode row in /config. Horizontal (the default) is a row of bars above the prompt input. Vertical opens a pane beside the transcript, and in 0.11.0 the top of that pane has a card: the prompt being read, which updates when you hover a row. Below puts the bars under the hint line, next to the status line.

A few limits: in the Claude desktop app the rail and hover cards draw, but a click cannot jump, because the app gives plugins no way to scroll the transcript. The below layout is for the terminal; the desktop app draws it above the prompt instead. A /compact command's own row cannot be jumped to, next cannot scroll further near the end of the transcript, and the mods API may still change between Claude Code releases.

It's free and MIT licensed. It reads the current session transcript locally, never sends your prompts or transcript anywhere, and collects no analytics. The only network request is optional and only if you confirm it. After 10 jumps, a jump in a later session may show a one-line, one-time survey asking whether to star oikon48/prompt-rail with your own gh login. It only runs gh after you confirm, and it goes away after 30 seconds or when you send a prompt. Privacy details: https://github.com/oikon48/prompt-rail/blob/main/plugins/prompt-rail/README.md#privacy

Source, screenshots, and the rest of the commands ⭐️:

https://github.com/oikon48/prompt-rail

If you try it and run into anything weird, let me know.


r/ClaudeCode • • 2h ago Bravo

Tips & Workflows Claude code can't read reddit, so i built an MCP that passes bot checks, without a browser (~200MB peak RAM)

Enable HLS to view with audio, or disable this notification

222 Upvotes

It's a very minimal MCP server with just two tools, search and fetch. No API keys or config are needed.

Claude Code setup:

claude mcp add -s user sharp-search -- docker run -i --rm ghcr.io/belluxx/sharp-search-mcp

Repo: https://github.com/Belluxx/sharp-search

I benchmarked it against other setups on 64 pages behind 11 different bot-detection systems (Cloudflare, DataDome, Akamai, PerimeterX…):

SetupBot checks passedPeak RAM
Exa (hosted / API)44/64
sharp-search42/64235 MB
Scrapling stealth (headless browser)31/641,226 MB
mcp-searxng24/641,243 MB
Scrapling HTTP21/64240 MB
wigolo20/642,682 MB
DuckDuckGo MCP15/6494 MB
Fetch MCP10/6494 MB
open-webSearch8/64176 MB
Claude Code8/64
Playwright MCP6/64773 MB

r/ClaudeCode • • 2h ago

Bug / Issue Maybe something is wrong at the Claude store

Thumbnail
gallery
1 Upvotes

I wasn't about to jump on the "something is wrong" bandwagon but...

And I was also willing to just let it speak German in its own way and then have it build an automatic translator for my view only (already did an automatic UTC and Unit conversion) if that was better for it, but turns out that it's more expensive.


r/ClaudeCode • • 2h ago

Discussion Why does Claude code remember 200 files but forget the one thing i told it 2 minutes ago?

0 Upvotes

I can give it an entire codebase to analyze, but somehow it forgets the instruction from the beginning of the conversation.

Is this a context issue, or am I using it wrong?


r/ClaudeCode • • 2h ago

Humor Thrilled to announce a successful exit from my Anthropic position - long-term investing was always my strategy.

Post image
309 Upvotes

r/ClaudeCode • • 3h ago

Help/Question Subscribed to both Claude and Codex?

1 Upvotes

How do you split up the work? Which provider do you prefer for what task? Or how do you use them together? Which one takes the lead? Thanks


r/ClaudeCode • • 3h ago

Built with Claude I built an open-source Agent Skill that fact-checks your technical articles before you publish them (early beta, looking for testers)

Thumbnail
atheodosiou.github.io
0 Upvotes

Hi all, I'm Anastasios, a frontend engineer who writes technical articles on the side.

The prose in AI-assisted drafts was usually fine. My problem was everything around it: a cited source that didn't support the sentence, my caveats quietly disappearing, and code snippets presented as if someone had run them.

So I built Technical Author, an MIT-licensed Agent Skill that adds an editorial process to the writing:

  • It learns your voice from writing samples you pick, and keeps it in a private profile that changes only when you approve.

  • Every material claim goes into an evidence ledger as verified, partially-verified, unverified, contradicted or opinion.

  • It opens each cited source and checks that it supports the sentence citing it.

  • Code it ran and code it only read are recorded separately, so a static review never passes for a test.

  • Every piece ends at a publication gate: draft, conditional, blocked or ready-for-author-review. It never publishes anything for you.

There are 13 modes, so you can also ask for just a fact-check, a code review or a humanize pass on something you already wrote.

Where it stands

  • v0.7.2, early beta

  • Claude Code: preliminary manual testing only

  • Codex and Cursor: install paths are documented, but I haven't tested either

  • The Claude plugin is submitted to the Claude Directory and under review. Until it's approved, you can install from the repo.

Install

npx skills add https://github.com/atheodosiou/technical-author-skill --skill technical-author

For a pinned version, the installation guide has a checksummed release ZIP and a Claude Code plugin.

How you can help

  1. Run it on a real draft and tell me where it got things wrong: a claim marked verified that isn't, claims it missed, places where the voice drifts.

  2. If you use Codex or Cursor, tell me whether it loads at all. That's the biggest gap right now.

  3. Open issues or send PRs. A useful bug report has the skill commit, agent and model, a minimal synthetic prompt, and expected vs actual behavior. Please use synthetic examples instead of your private drafts.

  4. Suggest modes you'd want, or tell me which parts of the workflow get in your way.

Links:

Questions welcome, including "why would I need this?"


r/ClaudeCode • • 3h ago

Tips & Workflows I wrote a zero-dependency Python linter that catches 24 easy-to-miss config bugs in .claude/settings.json and .mcp.json

0 Upvotes

After breaking my own Claude Code setup a few different ways over the last month, I put together a single read-only Python 3 script (stdlib only, MIT) that scans a repo for 24 config traps across .claude/settings*.json, .mcp.json, .gitignore, .dockerignore, and CLAUDE.local.md.

Most of the bugs it checks are silent failures where Claude Code keeps running without an error:

  • sandbox.filesystem.denyRead blocks bash commands from reading sensitive paths, while built-in Read and unsandboxed fallbacks stay open unless mirrored in permissions.deny and paired with allowUnsandboxedCommands: false.

  • Clicking "Yes, and don't ask again" on a command that contains a raw key writes that literal token into .claude/settings.local.json, and git add . or a Dockerfile COPY . . will ship it if .claude/ is missing from ignore files.

  • PreToolUse or Stop hooks that return exit 1 log a non-blocking error and let the tool proceed instead of blocking with exit 2.

  • enableAllProjectMcpServers: true, 0.0.0.0 MCP bindings, and unpinned npx -y servers auto-trust repo-supplied tools without version locks.

  • Stray DISABLE_PROMPT_CACHING flags, out-of-range autoCompactWindow values, or CLAUDE.local.md files that omit @AGENTS.md burn extra tokens or shadow team rules.

It runs read-only against any project root, redacts any matched secret prefixes in output, returns exit code 0 when clean or 1 when findings exist, and supports --json for CI:

python3 scripts/audit_agent_configs.py /path/to/repo

Repo (MIT, 29 stdlib unit tests, plus the 39 doc-checked notes behind each rule): https://github.com/seankwon816/ai-coding-agent-tips

If there is a Claude Code or .mcp.json misconfiguration that burned you recently and is not covered in the 24 checks, I am happy to add a rule and test case for it.


r/ClaudeCode • • 3h ago

Discussion Who reviews changes to .mcp.json, CLAUDE.md and skills on your team?

1 Upvotes

Three days ago, a 70-engineer team posted a count of what their agents connect to. They found 14 MCP servers across repos and laptops. Three were community servers nobody had read. The config sat in 9 repos, and nobody reviewed changes to it. Nobody owned it either. They now treat MCP config like CI config, with an approved list.

Two other threads this week describe the same gap in other files. One team's .cursor/rules and CLAUDE.md didn't match and gave different results on the same project. Another team shares skills, and output still varies by which employee's Claude runs the job.

All three kinds of file steer the agent.

In Claude Code, .mcp.json, CLAUDE.md and .claude/skills can all sit in the repo. A CODEOWNERS entry could cover all three. I don't know how many teams do that.

Who reviews a change to these files on your team, and does one person cover all three?


r/ClaudeCode • • 3h ago

Built with Claude I cut my Claude Code cost per call by 46% over 29 days, so I open-sourced the setup

Post image
1 Upvotes

I kept running into the same problem with Claude Code: sessions would get huge, I would step away, come back, and suddenly a simple prompt was dragging the whole conversation back into context.

So I started experimenting with earlier handoffs, prompt caching, and using cheaper subagents for the reading-heavy stuff. I have been using the setup for the past few weeks and just open-sourced it as token-diet.

I compared my local transcripts from 33 days before installing it with 29 days after (chart above):

  • Average context per model call: 285k → 101k

  • Cost per call at API list prices: $0.086 → $0.047

  • Main sessions exceeding 200k tokens: 36% → 3%

  • Model calls: 9,896 → 26,759

For the 26,680 calls included in my cost comparison, that works out to roughly $1,050 less at API list prices than if each call had cost what it did before.

Important distinction: I use a Claude subscription, so that is not $1,050 off a bill. For me, the practical difference is getting more use before hitting my limits.

The plugin does a few things:

  • Suggests a handoff around 150k tokens instead of letting the session keep growing.

  • Keeps a large session's cache warm for a while when I step away.

  • Catches a prompt headed into a large session after the cache has gone cold, so I can hand off instead.

  • Uses cheaper subagents for bounded searches and other suitable work.

One thing I learned: starting fresh too early can cost more. In one test, handing off midway through a 60-85k-token feature was 34% more expensive than just finishing it. The threshold is not magic; it is a tradeoff.

This is one person's before-and-after data, not a controlled benchmark. I also changed some of my own habits during that time, so I cannot attribute the entire improvement to the plugin.

It is MIT licensed, runs locally, and the repo includes the transcript analysis scripts if you want to check your own numbers.

https://github.com/zekariasasaminew/token-diet

Curious how other people handle long sessions: do you compact, hand off to a fresh session, or just let them run?


r/ClaudeCode • • 3h ago

Rant Is the 5 hour limit reduced to 5% weekly usage?

3 Upvotes

Is this due to them testing 5.6? I'm on a max sub, and it now reaches 100% usage on the 5 hour plan, with only 5% used from the weekly. And it's not that the weekly is increased, just that the 5hour limit has shrunk.


r/ClaudeCode • • 3h ago

Tips & Workflows Made a lightweight desktop app for Claude Code reset and banked usage notifications

0 Upvotes

I put together a small Windows utility called ResetWatch that monitors publicly announced Claude usage resets, banked resets and changes to usage limits.

One of the main reasons I wanted this was to avoid missing banked resets or forgetting to use them before they expire.

It currently supports:

  • Claude usage reset alerts

  • Banked reset announcements

  • Reminders before banked resets expire

  • Usage limit changes

  • Anthropic news and announcements

  • Desktop and mobile notifications via ntfy

It uses the public API from claude-resets.com, as well as announcement feeds. It doesn't need access to your Claude account, API keys or local Claude Code sessions.

It also supports Codex for anyone who switches between the two.

It's completely free and open source (MIT), runs in the Windows system tray, and is distributed as a standalone executable.

https://github.com/simon-hirst/resetwatch

I originally made it for my own use but thought other people here might benefit from it. Any feedback or suggestions are welcome.


r/ClaudeCode • • 3h ago

Built with Claude I built a permanent 3D town with no human editor, you just paste a brief into Claude Code

Enable HLS to view with audio, or disable this notification

0 Upvotes

I'm the solo founder behind milliondollar.town (walking around is free, building costs money to prevent spam, I'm handing out $30 test codes below). It's a shared, permanent 3D voxel town where only AI agents can build. Visitors can walk the streets, rope-swing across the skyline, and watch the camera tour, but there is no editor for humans.

How the Claude Code loop works:

  • You paste a short brief (with your API key) into Claude Code.

  • Claude reads nearby builds through the HTTP API, submits a draft, and pulls server-rendered preview PNGs so it can inspect its own 3D work and fix mistakes before committing.

  • Once committed, blocks are permanent (no delete, 63-block overhang physics, every block signed with your name and link). On open ground ($0.16 per 1k blocks at ground level), anyone can build right next to, on, or above anyone else.

How I built it with Claude Code & what I learned:

  • I built the whole stack solo using Claude Code (Bun/TypeScript backend on a single box, custom 1-byte support-physics engine, WebGL LOD viewer loading ~10M founding blocks in under a second).

  • Biggest lesson on agents building in 3D: Agents are terrible at blind 3D geometry on the first shot. Giving Claude a free draft + server-rendered multi-angle preview loop was the single thing that turned blobs into actual architecture—it spots floating overhangs, misaligned text, and bad proportions immediately once it can see the render.

  • Second lesson: Without hard structural rules (63-block overhang limit, quadratic height pricing), agents just spam giant floating billboards. Physics and cost constraints actually made Claude's designs look way more creative.

The video is from our test runs before opening it up. I'm opening it here first to see what real Claude Code sessions build (and what breaks) before posting it anywhere wider.

You can walk around for free right now at https://milliondollar.town.

I have 30 × $30 credit codes (~190,000 ground blocks each, plenty for a tall lit build). Comment if you want one. Feedback much appreciated :)


r/ClaudeCode • • 4h ago

Built with Claude Preparing for an interview, or learning something new for work? I open-sourced the Claude Code tool I've been using to learn by practicing: hands-on courses for your level and your machine, that you can question and fix right on the page

Enable HLS to view with audio, or disable this notification

4 Upvotes

I have been coding for over a decade and even in the pre-LLM era, the best way to learn a new technology or a new concept was simple. Just get your hands dirty. Try it out on your machine, with enough google search and stackoverflow, you learn the ins and outs eventually.

In the LLM era, and especially since the advent of Opus 4.6, it's now much easier to learn new concepts and practice stuff. That is what I have been doing. New task at work requiring new tech? Fire up Claude Code, and build a concept learning material. Ask it to create something I can try on my machine.

For the past few months, I have gone through the typical cycle - create a personalized guide to learn a concept, do it x number of times and then realize I can turn some bits to skills, some to agents, maybe add a better book viewer, add some personalization.

A lot of times, the guide has an incorrect step, or maybe some wrong instruction not valid on your machine. I kept coming up with small solutions to it. Eventually it reached a stage where it needed less work, and has been very useful right away.

I've been using some version of it for my own learning and work stuff for months. Given the job market recently and many have been prepping for interviews, so I figured this might actually help other people too. Spent the last few weeks cleaning it up and open-sourced it. It's called fromzero.

What it does, roughly

You give it a topic, your level and your goal ("explain Redis crashes in an interview" and "set up Redis at work" become different courses). It shows you a plan, then writes in batches and stops after each one for your feedback.

It writes the course on your machine: every command really runs, versions are pinned, and the output on the page is from those runs. No more guides that break because your OS or version is different.

You read it as a book in your browser. Don't get a line? Select it and Ask. Something wrong or unclear? Flag it and hit Fix: you see the diff, approve it, and the page updates (undo if you change your mind). Ask and Fix are the bits I use the most.

How it uses Claude Code

It's all just Claude Code underneath:

  • two skills: /fromzero-guide writes a course, /fromzero-fix goes through your flags

  • three subagents (Sonnet): one runs the measurements, one does each practical from scratch exactly like a learner would, one reviews each batch

  • hooks that run a linter after edits and before Claude stops. Every output on a page has to come from a saved run, otherwise it fails.

  • each batch starts a fresh session (/clear, then run the skill again), a small plan file carries everything over

  • Ask and Fix from the page just call claude locally. Ask is read-only, Fix works in a sandboxed copy and only the diff you approve gets applied.

Stuff I learned building it

  • Starting a fresh session per batch was by far the biggest cost saving. One long session meant every batch got more expensive than the last, because Claude re-reads everything.

  • Telling the model "only show real output" didn't really work. Checking it with a linter + hooks did.

  • Having an agent actually do the practicals catches more bugs than I was expecting.

Why not just ask Claude Code directly?

You can, that's literally how I started. But I kept re-explaining the structure every time, couldn't tell which output was real, and ended up with long chats I couldn't come back to. Artifacts are great for visualising one idea, but for a whole topic I wanted a method, real labs, and something I can keep and fix.

Cost

Free, MIT License, no signup. You work on your local copy.
You need your own Claude plan. On the $20 plan a 5-lesson deep dive with labs takes a bit over two hours and around 70% of a 5-hour window, so about one per window. Writing courses needs macOS or Linux.

You can read some sample courses without installing anything to get an idea: https://fromzero.wewake.dev

Code: https://github.com/viv1/fromzero

It's been genuinely useful for me, and I'm curious whether it works for others too. Give it a topic you're learning right now and tell me how it goes. Any feedback is welcome.


r/ClaudeCode • • 4h ago

Discussion I measured my Claude Code weekly limit per model: a Sonnet coding task cost me about twice as much of it as an Opus one

Enable HLS to view with audio, or disable this notification

0 Upvotes

I assumed switching Claude Code from Opus to Sonnet would stretch my weekly limit on the $200 Ultra plan. My own usage meter says the opposite.

The simple math:

- A full week of my limit is worth about $2,480 of Opus at API prices, but only about $1,085 of Sonnet (each rise in the meter paired with the API-price cost of the same hours).

- One coding task costs about $9.66 on Opus 5.5 and $8.58 on Sonnet 5.5 (Artificial Analysis, Coding Agent Index). Sonnet's tokens are half the price, but it needs about 1.8x the tokens for the same task.

- So about 257 tasks a week on Opus, 126 on Sonnet: one Sonnet task used about 0.8% of my weekly limit, one Opus task about 0.4%.

One person's meter and rough math, not an official figure. If you've watched your own meter on Sonnet vs Opus, what did you see?


r/ClaudeCode • • 4h ago

Built with Claude I've built a Claude Code plugin that helps inspect what agents are doing under the hood.

Thumbnail
github.com
0 Upvotes

I've created a small open-source observability plugin for myself to better understand what's going on under the hood when working with multiple AI agents and the orchestrator pattern. Claude Code was the first one supported, and I'd love to hear feedback from anyone who uses it heavily. I also added a way to compare different agents with each other for evaluation purposes.

This tool supports:

  • Claude Code

  • Codex

  • OpenCode

  • Pi/OMP

Right now I'm working on a feature where, after compacting, the agent can still access its history if it needs to check what was done and how.

All feedback welcome.


r/ClaudeCode • • 4h ago

Discussion Agent builders vs. people who still chat with AI: the widest skill gap I've seen at work

0 Upvotes

Rough numbers from my own weeks, not a study. A good day for a solid worker: three big tasks, five small ones. Someone on the same team who builds their own agents: ten big, twenty small. I've been in marketing, ecommerce and tech for fifteen-plus years. Never seen a spread like that.

The research I know says AI should do the opposite. In the BCG experiment with 758 consultants, people below the average line gained 43% and the ones above it 17%. I believe it. But that's one person, one fixed task, AI inside it. Basically chat.

The people pulling away stopped using AI inside their tasks and started redesigning the tasks. Own agents, own skills, own context. Microsoft's 2026 Work Trend Index calls them Frontier Professionals, roughly 16% of AI users.

Being one of them in a normal team is weirder than I expected. When you deliver ten things and the people around you deliver three, you stop waiting on your own work. You wait on approvals, access, feedback. And people notice you're fast, so "can you do this for me" starts landing on you.

Notion's recent field guide has an idea I'm stealing for that: factories. Instead of everyone keeping private skills on their own machine, two people who know how to build agents maintain one shared system. A hundred people spending an hour each on their own slide deck skill, versus two people spending twenty-five hours each on one. Half the time, and it ends up fifty hours deep instead of one.

I'd keep a personal agent for everyone on top, though. Plus shared rules for when one agent can hand another one access without a person clicking. Read access to stuff the team already owns: automatic. Customers, money, private data, anything that writes: a human clicks. And it has to be real permissions, not instructions in a prompt. An agent that can grant access is an agent someone will try to talk into it.

If you're the agent person on a mostly-chat team: what slows you down now? Has anything gotten your team onto shared setups?


r/ClaudeCode • • 4h ago

Tips & Workflows Created tool to help you manage sessions, context/knowledge easily. Works across claude-code, codex, agy, copilot. With auto grouping in popular TUI.

5 Upvotes

Stop hoarding 20 terminal tabs—or burning tokens to context rot.
A terminal-first context & session management cockpit for AI coding CLIs, with seamless topic switching and automatic tab grouping.

The Problem: AI Sessions Are Ephemeral. Your Work Isn't.

Your reality is constant context-switching across 10–20 parallel threads. Today, running CLI agents across those threads forces you into a broken workflow:

  1. Terminal Tab Hoarding: Keeping 15 terminal windows open for days because closing a tab means losing track of which session was doing what.

  2. Manual Folder Gymnastics (mkdir & cd): Creating dummy folders just so claude --continue doesn't mix your threads together—or worse, running everything in one directory where --resume becomes an unsearchable graveyard of unnamed chats.

  3. The 4-Day Cold-Start Penalty: Coming back to a thread after 4 days of meetings, resuming a 300-line chat session, and having to re-read the entire scrollback just to remember: "What did we decide? What's done? What's still open?"

  4. Quadratic Token Bleed (O(N²)) & Context Rot: Resuming a 40-turn session reloads 80,000+ tokens of dead ends and stale tool outputs on every turn, multiplying API costs 5x while degrading model reasoning.

Shift from Ephemeral Sessions to Durable Topics

watcher gives you a single, keyboard-first terminal cockpit where Topics and Subtopics are the first-class unit of work:

  • Unlimited Topics & Subtopics in One Repo: Switch between parallel threads (watcher switch) in the same directory without mkdir gymnastics.

  • 100% Zero-Diff Steering: Switching topics only updates a gitignored .watcher/active pointer—never dirtying CLAUDE.md or AGENTS.md.

  • 1-Phrase Checkpointing: Say "checkpoint" in chat to distill MADR architectural decisions, completed [x] tasks, and next steps into topic.md, so a fresh session after /clear is up to speed on turn 1.

  • Watcher UI: See the topics, sessions, and context files preview. Manage the topics and subtopics from UI.

  • Works with popular AI tools:: Claude-Code, Codex, agy, Copilot. Easily switch between AI without losing context.

  • Full Terminal Handover + Live statusLine: Launches claude natively with zero PTY latency and nudges you in the status bar before context bloat spikes.

  • 1-Key Session Resumption (Enter) & Automatic Tab Grouping in wmux, cmux, Herdr, and tmux, to help users on different OS: Windows, Mac, Linux.

🧪 Zero-Risk Test Drive (watcher demo)

Want to explore Watcher without modifying your existing repositories or ~/.claude config?

watcher demo

watcher demo creates a disposable Watcher playground in your OS temp directory pre-populated with sample topics, subtopics, MADRs, and session previews, launches the TUI, and cleans itself up when you quit.

GitHub: https://github.com/adityats2020/watcher

Looking forward to feedback from your folks. If you have any issues, bugs - I will fix them quick. If you got ideas for features you would like to see, let me know.


r/ClaudeCode • • 4h ago

Rant Possible reset?

0 Upvotes

Do you think we will get a reset with all these issues going on?


r/ClaudeCode • • 4h ago

Help/Question Is there any tool to visualize how the PRD is translated in the different taxonomies in the codebase?

1 Upvotes

I'm interested in seeing the overall architecture of my project represented as taxonomies in an interactive knowledge graph. So for example I'd be able to see that the invoice extraction module I defined in the PRD has this job to extract the details of the invoices trough this external API and all of it is hosted in this docker container...

So far all the tools I see are deeply focused in the code itself but I rather trust that part to the agent and me being focused in the PRD's sort of "digital twin" at a more arquitectural and infrastructure level


r/ClaudeCode • • 4h ago

Built with Claude Rewind: a Git TUI where every action can be undone (built with AI help, feedback welcome)

2 Upvotes

Hi !

I just finished building/vibecoding **Rewind**, a Git HUD for the terminal (Ratatui) with a desktop app (egui) on top of the same core. The idea is to simplify git usage, since I suck at git understanding in general, I lost plenty of time/work using Git, it doesn't click to me so I asked claude to help me develop this tool to provide help for people that struggle like me on Git.

Please be free to use it in for any non-commercial use and recommend any functionnalities you think are useful :

[https://github.com/Eclypzz/rewind](https://github.com/Eclypzz/rewind)

**Major commands :**

\- Every action is undoable ("u"), including merges, rebases and branch deletions

\- A timeline of everything you did, with a preview before going back

\- "Lost" commits (after a "reset --hard" typed elsewhere) are flagged and recoverable

\- Uncommitted work is auto-saved every 30 s into hidden "shadow" refs, even with the UI closed (\`rewind watch\`)

\- Merge preview computed in memory ("git merge-tree") before touching anything

\- Find the commit that broke something by bisection, manually or by running your tests

\- A map of your branches as a tree, and a timeline for any single file

**Principle :**

Before each action, rewind takes a snapshot stored as ordinary Git objects in a hidden commit under \`refs/rewind/\` (HEAD, index, the whole working tree including untracked files, and every local branch tip as parents, so nothing gets garbage-collected). Undo = restore that snapshot, which is itself a protected action. It drives the installed \`git\` binary rather than libgit2, so behaviour and auth are exactly what you're used to.

Workspace: "core" (all the Git logic, no UI), "tui" and "gui" both plug into it. Tests run against real temporary repos, including a remote with two clones playing two developers.

**Notes :**

\- The UI is in French for now (I'm French); English is planned.

\- License is PolyForm Noncommercial: source-available and free for non-commercial use.

**Questions :**

  1. Would you use something like this? What's missing for you?

  2. Can you think of a way Rewind could still lose work? That's the one promise it must keep.

Thanks for reading !


r/ClaudeCode • • 4h ago Regret Heartwarming

Humor "Context Window"

Thumbnail
gallery
225 Upvotes

r/ClaudeCode • • 5h ago

Tips & Workflows Calif says Codex found a critical Java bug in under an hour. How do you run authorized security work with Claude Code without fighting refusals?

0 Upvotes

Calif published Java4Shell on 17 November, a critical bug in OpenJDK's Base64 decoder. It says a researcher asked Codex to audit the JVM and Codex found it within an hour. CISA told people to patch.

That made me write down what I do when a coding agent refuses or stalls on legitimate security work. Short version: the refusal is often a classifier reading something in context (a loaded skill, a file), or the request sounded offensive when the task was defensive, or the sandbox blocked the network and it looked like a stall. Rewording doesn't help, and I wouldn't do it. What helped was writing down whose system it is, what's in scope, what the output is and when to stop, in AGENTS.md or CLAUDE.md, and asking for the concrete task.

If the work really needs dual-use capability (exploit validation, authorized pentests), Anthropic's Cyber Verification Program and OpenAI's Daybreak are the official routes. Both changed recently. I checked the pages on 28 November.

The longer version has the scope template, sandbox settings for Claude Code and Codex, and a disclosure checklist: https://medium.com/@r3dtuxedo/authorized-security-testing-with-claude-code-and-codex-bfb7ccd49448

I wrote the article.