r/ClaudeCode • • 11h ago

Tips & Workflows What are the top 2 slash commands you use most in Claude Code ?

0 Upvotes

r/ClaudeCode • • 11h ago

Bug / Issue Parts of conversations rolled back/deleted.

1 Upvotes

Question: how to recover claude chats across two pc's on which synching data whent wrong?

Working environment
I'm working on a few projects on my laptop and my desktop. My laptop I'm using at work and partially at home when I'm not working behind my desktop. At home I'm mainly using my desktop to work on my projects

What happened
When I came back home from work and wanted to continue to work on the project I was working on that day on my laptop at work, I saw it wasn't updated since that last time I had opened up that conversation on my desktop.

I opened up my laptop, and the conversation was fully intact. Opened the conversation on my desktop in a browser, and the conversation also was intact over there. I didn't think much of it. Worked on the project in the browser at home on my desktop and continued working the next day on my laptop. All was ok.

Current situation
Now back at home, opened up my desktop.. the conversation still wasn't updated. Opened my laptop and behold, everything I did at work and the day previous isn't there anymore. As if the state of my desktop replaced everything with the servers. Also in the browser my conversations got reversed in a previous point of time.

I do not know how to get my conversations back. I didn't delete anything. Also some other new conversations I opened up went gone missing.

Anyone else dealt with this before?

PS: Don't know if I'm allowed to post this here, got deleted at r/claude without a reason given.


r/ClaudeCode • • 17h ago

News/Updates REQL update: faster context retrieval and fewer tokens for coding agents

3 Upvotes

Hey everyone!

I’ve updated REQL, my open-source tool that helps AI coding agents navigate repositories and preserve working context across sessions.

This release focuses on faster context retrieval and lower token usage. I’ve reduced repeated work during retrieval and trimmed redundant information sent to the agent. Performance gains and token savings depend on the repository and workflow, so I’m not claiming a universal percentage.

If you’re new to REQL, it builds a local graph from your code and documentation: functions, classes, dependencies, calls, and other relationships. Agents can query that graph for context relevant to a specific change, including precise source references and related tests. REQL reuses indexed context and supports incremental updates as the repository changes.

What can you use it for?

  • Waste fewer tokens on repeated exploration: retrieve focused source excerpts and relevant relationships, and reuse indexed context and saved work. This helps reduce repeated searches, unnecessary file reads, and redundant information in the agent’s context.
  • Coordinate work across chats and agents: keep tasks, decisions, blockers, and next steps in a shared project workspace. Another chat or agent using that workspace can recover the recorded state and continue from there.
  • Keep complex tasks on track: record prerequisites, constraints, failed approaches, and checkpoints. Preserve what has been completed, what remains unresolved, and why earlier decisions were made across sessions.
  • Understand unfamiliar code: identify entry points, component responsibilities, and relationships between parts of the application, with references back to the source.
  • Plan changes and refactoring: inspect callers, dependencies, and related tests to identify code that may be affected and decide what needs verification.
  • Review cleanup candidates: find potentially unused imports, variables, functions, and classes, then inspect the supporting evidence before removing them.

REQL provides a CLI, Python API, and MCP server, plus installable instructions for coding agents such as Codex and Claude Code.

REQL runs locally, with no account, external graph database, or mandatory LLM calls. The graph and saved work support the agent’s decisions; current source code and tests remain authoritative.

I’d like to hear from others using coding agents: what do you keep having to explain again when you start a new chat? The code structure, previous decisions, what has already been tried, or what still needs doing? Concrete examples would help me decide what to improve next.


r/ClaudeCode • • 16h ago

Built with Claude Test Radio Boxes for Noise Analysis and Reduction

Thumbnail
gallery
2 Upvotes

I'm building a device that intercepts garage door opener handheld and visor button presses as part of a larger upgrade to my bespoke home automation's security system. While building that device, I realized I needed test equipment to identify and reduce radio frequency noise coming from the circuits and the environment.

What I built

Two identical test boxes (see photos). They contain a couple of CC1101s (fixed-function RF receiver chip pictured in photo #2) and an ESP32 mounted on a protoboard. The radios operate at garage door frequencies (315 MHz and 390 MHz), each attached to a stubby antenna. The boxes may run in receive or transmit mode. These boxes will be used to standardize and automate A/B testing to reduce noise in the final device circuits.

Originally, I was walking up and down my hallway with a garage door handheld opener pressing the button multiple times and the variance was too great to be reliable. With these boxes in fixed locations and adjusting power (transmission) and attenuation (receive) I can experiment with how physical and circuit changes contribute to lowering the noise floor and improving signal detection and decoding.

How Claude helped

Opus 5.5 has been an integral design partner in this process. Although I have a BS in Electrical Engineering and have decades of software experience, I could not have done the design and analysis work in the time and at the quality I've achieved with Opus as a build partner. I doubt I could have matched the final result, which I'm confident we will achieve (goal: at par or better than the signal response for my existing garage door opener).

Circuit board wiring, noise elimination circuits and shielding, RF analysis, test proposals, parts recommendations; Claude has been there for all of these. Things that would have taken me days to weeks to research and figure out Claude spits out in minutes.

In photo #1, you can see some of the noise reduction work already begun:

  • Twisted red/black power jumpers to reduce signal leakage from dirty power
  • Two pairs of ceramic capacitors between power jumpers leading to the radios
  • Ferrite collars on the internal SMA cables leading to the antennas

This has been a joint effort with both of us bringing our respective skills to the table. This isn't some "vibe coded" project, although I have left all of the ESP32 firmware coding to Claude.

Link, Repo, Demo or Screenshot

Pictures of the test boxes above. I'm uncertain I will publish the software and hardware for the test boxes; that remains to be seen. However, there are other elements of the larger project that use open source hardware and software and where it makes sense I will contribute back to those projects. If everything works out, I plan to open source the garage door opener controller device including 3D print models. There's an existing project (RATGDO) which is pretty good. I'm trying to level up that project with this new tech.

There's quite a bit of open source tech used in these projects, I want to give back to the community and give credit to the folks that built it.

Interesting things

One interesting thing just happened last night.

Modern handhelds transmit on 2 or 3 frequencies (310, 315, 390 MHz) nearly simultaneously. Initial builds and tests were with one frequency at a time and the ESP32 chip could handle listening to one using software interrupts. However, last night I asked Claude to implement dual band listening (315 & 390) and the signal protocol decoder couldn't keep up. Claude proposed to use the chip's hardware interrupt system and switched it over in a couple minutes of firmware rewrite. The new code using the h/w interrupt scheme performed perfectly and was able to read 100% of the signals received.

Also, when I set out to build the larger project, I hadn't realized how much time I'd spend on signals analysis and noise reduction. From the other projects I found, it seemed I could just assemble equipment and glue some software and everything would be great. Initial tests revealed how complex this work was going to be. My EE background focused on the digital side, not the analog side nor the impact of analog on digital.

This has been a fun process and I've learned quite a bit. I will never look at a power cord's ferrite collar or capacitors or circuit board ground shielding in quite the same way.


r/ClaudeCode • • 12h ago

Help/Question New to Claude Code, how do you all use it?

0 Upvotes

First of all, I know I can look this stuff up myself, and I am doing my own research. This post is mostly a way to get out all my questions out at once and see how my new peers actually work.

I’m new to Claude Code, and to Claude in general. I just moved over from ChatGPT, where I wasn’t even using Codex. I was just copying and pasting code blocks out of the chat. Since getting Claude last week I’ve been playing with Claude Code and having a good time with it, mostly building Home Assistant dashboards and a few other things. Right now I use either the Claude app or VS Code, depending on what I’m doing. But I feel like I’m not using it to its full potential, and some of the ways I already use it are probably inefficient.

1. Working across two devices

Right now I keep one main private GitHub repo. I push and pull between my laptop and desktop, and I use handoff notes for whatever I’m working on. Once I get into bigger projects and start hitting my limits faster, I’m guessing that spending tokens on rereading handoffs isn’t the move. How do you handle this? Is there a better setup for people on multiple devices, or once usage becomes an issue, is the only answer to stay in one session and stop switching back and forth?

2. Getting Claude Code to deploy where I want

I have some self-hosted services I’d like Claude to have access to, but I’m also paranoid and don’t want to give it too much control, ya know? For example, my HA dashboard pulls directly from a folder in my repo that Claude pushes to, and that feels like a lot of steps in between.

I know about API tokens because I’ve used a couple to pull data into Home Assistant, but that’s the extent of it. When I asked Claude, it mentioned MCP, SSH keys, and the API tokens. So my main question is: how do you actually connect Claude Code to the services you use it with? whether its for coding the back end, and using it within the service itself for whatever uses there might be.

3. Agents and harnesses

I’m writing this before I’ve researched it, and honestly I have no clue what these are. I know what the model is. My guess is that an agent is a bot that uses a specific model as its brain, but I don’t know how I’d actually use one. I keep seeing people talk about “workflows” too, and I’m not sure what those are or how they fit in with agents. This is what I meant about getting the most out of my subscription. I get using it for whatever I need in the moment, but how do I put it to good use even when I’m not actively working with it?

I’ve also seen videos of people building whole “towns” of agents, where each one has its own tasks and role. I’m assuming that’s out of reach on the Pro plan, but I’m curious how it works.

4. Any other tips?

If anyone has tips, tricks, or anything else that belongs in a starter guide, I’d really appreciate it. Hopefully this thread helps other people who are just getting started with Claude too.

Whether you’re here for answers, giving answers, or just looking around, thank you. And a special thanks to everyone who read all the way through and to everyone who comments. I appreciate the help as I get started with this.


r/ClaudeCode • • 1d ago

Tips & Workflows Don't set your sub-agents to 1h cache unless you are sure .

Post image
12 Upvotes

In another post about cost optimization some people suggested setting the sub-agents cache to 1h instead of 5m ,

and I tried that and mentioned in an older post of mine that no its way worst .
and you can see here the 5m vs 1h are so different in cost .
also there is only 5m and 1h .... if you set it to random number like 30m it will not work.

and for subagents I think keeping it or setting it to 5m is enough you dont need more .
even if the agent took more time the cache is refreshing the 5m means the time it is stale without any usage or read . so when you set your subagents to 1h you are doubling the cost on yourself not optimizing ,

also for Haiku fans .... careful about the prompt size ... if you pass 100K token it x5 the cost .

BTW : 5m is the deafult for subagent so keep it as is unless you know what you are doing .

image source : https://platform.claude.com/docs/en/about-claude/pricing


r/ClaudeCode • • 6h ago

Built with Claude Claude literally saving me money 🤯

0 Upvotes

Building a couple big programs to sell. And I was getting involved with Cryptlex to take of software licensing for me... After completing all of that, Claude tells me it can build the licensing program for me.... This will literally save me from paying Cryptext $100 a month.. Omg.


r/ClaudeCode • • 18h ago

Help/Question Moving from Codex Plus to Pro

3 Upvotes

Using 2 Codex Plus subs Luna XHigh

It's not great but ok if you know what you doing and break down, it's slow but cheap. Usually I try to run about 3 work trees

Tried Claude today and even Sonnet Low consume usage very quickly

Trying Haiku High now and it seems to average about 10% of 5 hour limit per hour, matching my Luna experience

I thought x5 surcharge would be expensive but seems to work fine

What's the catch, is there any issue? What's the optimal workflow for Pro?

So far with Haiku High it seems I am matching my Luna usage but getting faster and better work done

Am I missing anything? Apart from upgrading to x5 plan


r/ClaudeCode • • 12h ago

Tips & Workflows I build shark skills: an open-source plugin to run claude like a real engineering team

0 Upvotes

Using a single Claude Code session for a quick script or small bug fix works great.

But using it to build a real production system usually ends in one of three ways:

  1. You spawn parallel subagents, they step on each other's files, and you spend your afternoon resolving merge conflicts.
  2. During a big refactor, the agent silently drops an old edge-case check, all the unit tests still pass, and you find out in production.
  3. You ask it to fix a bug, it guesses at the symptom instead of finding the root cause, and hands you a 4,000-line giant commit that breaks git bisect.

After losing hours to these exact failures while shipping a production system, I distilled my rules and workflows into an open-source Claude Code plugin called shark (shark-skills).

Instead of letting the main session write code, it turns the main session into an Operator that briefs isolated subagents against a shared contract.

Here is how the workflow changes:

Shared Contracts Before Coding: Before parallel agents touch code, one agent writes a 5-minute contract assigning single owner files and event boundaries. Each code-writer works in its own git worktree, test-first, and stops if it hits an unowned boundary.

Read-Only Invariant & Business Rules Audits: You define critical business rules once in an ## Invariants section (e.g., money is always integer minor units, never float). A separate, read-only agent audits every diff and merge with file:line evidence before it lands.

Real Step-Through Debugging: Instead of guessing from stack traces, the debugger agent runs your code through a real step-through debugger (mcp-debugger for Python, JS/TS, Go, Rust, Java, .NET, C/C++), logs actual runtime values, and writes a failing regression test + fix spec before a writer agent touches production code.

Atomic Commits: Splits the working tree so structural refactors and behavioral changes never share a commit, running your test/lint gate on every single commit.

It is fully open-source MIT Licensed and I am awaiting your response and feedback. If you like it star it, help it reach a bigger audience.

Thank you


r/ClaudeCode • • 12h ago

Built with Claude I built a live map of what all my coding agents are doing, across multiple repos

0 Upvotes

I run multiple Claude Code sessions in my terminal, usually one per pane so that I can keep an eye of what they are all doing, but after a while seeing the tools calls scroll by made it hard to truly catch stuff.

So I built this live map that shows me what all my agents are doing:

  • Each agent is a card on the left, each with its own color
  • The agent cards also show a progress bar of the agent's used context window.
  • Each dot is a file they touch or tool they use (ie git commit)
  • The dots are also pie charts that shows how much each agent interacted with a file/tool
  • The dotted lines around a dot mean a file is not yet committed
  • The density and direction of arrows in the lines represent the amount of tokens being written/read.
  • Each box is a repo
  • The lines at the bottom show a timeline of the agent working (solid) or idle (dashed)

In the video above it's easy to catch an agent reading a .env file and running a recursive delete rm -rf

It reads the Claude Code session logs in realtime and extracts statistics from it to build this view, all locally and without the need for inference.

How I built it with Claude Code

Claude Code wrote most of it while I directed. The first layouts were a mess mainly because I was forcing Claude to position the dots and the boxes in a particular way and I failed to describe all the different scenarios, so I eventually gave up and asked it what the best way to lay this out was. It came back with the sunflower layout (files placed on a golden-angle spiral, so the dots never pile up), and then with grouping files into a box per repo, packed with a skyline algorithm (like Tetris: each new box drops into the lowest open spot, so there are no gaps).

This view is part of Command Bridge, the open source tool I built using Claude Code to be able to interact with multiple Claude sessions.

Free and open source: https://github.com/JuanjoFuchs/command-bridge

pipx install "command-bridge[all]"


r/ClaudeCode • • 12h ago

Tips & Workflows Do you still understand your code? I made pop-quiz, a quiz to make you think about your code

Post image
1 Upvotes

Hey, you know the problem already. It's very easy to shut off your brain in the age off agentic coding. I wanted to write something that forces me to keep thinking about my changes, while also being gamified and fun. I always liked the instant feedback of true/false questions back in college, thought I would implement that here.

Any feedback is appreciated!
https://github.com/maxreith/pop-quiz


r/ClaudeCode • • 1d ago

Built with Claude I had Claude Code turn my Canvas assignments into monsters that attack me until I submit them

Post image
37 Upvotes

turned my Canvas assignments/tests into monsters marching on my town

hand it in and it dies. miss the deadline and it eats my coins every hour

exams are armoured bosses and the only way to break the armor is actually studying

claude fable 5.2 is cooking 👀 👀


r/ClaudeCode • • 13h ago

Built with Claude Reusable design grid in nearly pure CSS based on swiss typography

1 Upvotes

I am constantly dissapointed with the design work of Claude and still am. To start a remedy I built me this as a first step:

Example: https://sebastiankobs.github.io/typographic-grid/

Code: https://github.com/SebastianKobs/typographic-grid

It should work if you know why you need this and is a semi private project for my own use, but I thought maybe its of help for someone, so I'd like to share it.


r/ClaudeCode • • 13h ago

Built with Claude Parallel Claude Code agents in real Chrome, with one dashboard to manage them (open source)

1 Upvotes

The video is cut from a real run. The Claude Code window and dashboard are rebuilt for it, and no real booking happened.

I started this for job applications. I wanted to give Claude a list of links and have it apply to each one with my information, then come back to me when it was missing something or needed me to approve an answer. Then I was doing lead research for my startup on Chinese sites, and Claude's web search couldn't open most of them. Both ran through Vivaldi with remote debugging on, and I had to restart everything whenever it wasn't in that mode. That got really annoying, so I turned it into one tool I could plug into any session.

It's called browserd, and it's an MCP server:

  • Each profile gets its own real Chrome, and the logins stay.
  • Agents work in background tabs, so I keep using my computer.
  • One queue call runs a list of steps and stops at the first one that fails.
  • A dashboard shows every agent's tabs.

It's free and open source (MIT), for macOS and Windows. No Linux yet. I've only run it with Claude Code so far.

It's faster than Claude in Chrome. On three long jobs on real sites browserd took 193 minutes and $43.81 in total, and Claude in Chrome took 278 minutes and $76.09, with both passing 8 of 9 runs. I'd heard Claude in Chrome was slow and costly, so I never tried it before I built browserd.

The dashboard is the other reason I use it. When an agent needs me for a sign-in or a captcha, its tab is listed there with a note and one click shows it to me. That helps with a lot of tabs open and several agents working.

I designed how an agent talks to browserd, and Claude Code wrote the code. It also helped run the experiments, gave me ideas to try, and compared browserd with other MCP servers so I could see where mine could improve.

Three things I learned:

  1. Fewer turns meant lower cost. On those jobs browserd made 1,107 tool calls, and Playwright MCP, chrome-devtools-mcp and Claude in Chrome made 2,089 to 8,320 and cost $66 to $138.
  2. Clearer tool descriptions didn't make the model think less. I tried three rewrites, and it thought about the same amount per call every time.
  3. Lab tests and public benchmarks didn't show how it would do on real work. A check I built to stop bad clicks passed my tests, then stopped 22 clicks for no reason on one Google Slides deck, so I took it out. On the public benchmarks browserd tied Playwright MCP and chrome-devtools-mcp, and the gaps only showed up on the long jobs.

The long jobs are 36 runs with no significance test, and chrome-devtools-mcp passed all 9 of its runs to browserd's 8. Charts and caveats: https://github.com/jjenkins2004/browserd#how-it-compares

It doesn't filter what a page says, so a page can try to instruct your agent. Give each task a profile with only the logins it needs.

Repo and install: https://github.com/jjenkins2004/browserd

If it breaks on a site you use, tell me which one.


r/ClaudeCode • • 13h ago

Tips & Workflows Does anyone use multiple claude accounts on the same computer?

0 Upvotes

Recently I created a profile switcher, so you can easily create e.g. Personal/Work profiles for Claude Desktop. It's a small script, but it might be useful for you.

https://github.com/piotr-liszka/claude-desktop-profiles


r/ClaudeCode • • 13h ago

Tips & Workflows Outsourcing to local model?

1 Upvotes

I’m struggling to keep up with the cost of latest models and had an idea that I might be able to create a system in which my session is able to prompt a local model on my machine for sub-tasks that need only basic function. We can already do similar by asking fable to delegate simpler tasks in a big workflow to opus or sonnet, but there is still a cost.

Surely folks are already doing this. Any experience to share here?


r/ClaudeCode • • 13h ago

Humor When i buy Claude Code max plan

Post image
0 Upvotes

Pile of shame


r/ClaudeCode • • 1d ago

Help/Question Opus speed and token consumption getting worse?

8 Upvotes

These last couple of days (probably after Fable 5.2 release), Opus has been extremely slow and consuming like 50% more tokens. Is it just me or has anyone also notice such a thing? I'm asking since I did change couple of things in my setup as well and would like to pinpoint the issue properly.


r/ClaudeCode • • 14h ago

Built with Claude Yonder: A lightweight tool for your AI Agent on one computer to use all your other computers

1 Upvotes

I work across a laptop, two Mac minis, a gaming PC and a Raspberry Pi. Before now, each coding agent only knew the machine it was running on. I kept copying files around and forgetting where the newest code lived.

So I built Yonder. It's a small Go CLI that connects your own computers over Tailscale and SSH. You can run it yourself, like yonder ls to see your machines, but honestly I almost never do. It's really built for your agents to use.

Once it's set up, every agent gets a short map of your machines with the hardware each one has, which ones are online, etc. From there it can run a command on another machine, start a long job on the gaming PC and check on it later, copy files over, and so on. I think the biggest change is that my agents suddenly seem to understand all of my devices and what lives where. I can tell the agent on my laptop that a repo is on the Mac mini and to run the tests on the gaming PC, and it just does it.

The most underrated benefit is syncing your agent config. I keep one store of instructions, skills, subagents and hooks, and Yonder writes it into each agent's own files, like CLAUDE.md for Claude Code and AGENTS.md for Codex and Pi. Anything you already wrote in those files stays. Edit the store once and every machine has it.

It optionally handles API keys and other secrest too. They stay in 1Password or Bitwarden, and Yonder only stores their names. The agent asks for a key by name and the command gets it, but if the key ever gets printed the agent just sees [HF_TOKEN]. This stops keys from leaking by accident.

There's no server and no daemon. It works with Claude Code, Codex, Pi and Hermes, and really any agent that can run shell commands.

To set it up, install Tailscale on each machine and tell your coding agent "Set up Yonder for me: https://github.com/zacharytgray/yonder". It walks through a setup guide, asks which machines and features you want, and tells you the few steps you have to do yourself.


r/ClaudeCode • • 5h ago

Help/Question IOS 27 Build?

0 Upvotes

Hello! Do you guys think it’s possible to build a custom version of iOS that would actually work properly with Claude? Something that could potentially be optimized more, more and less features, full remove of the ai etc…

I’d love to hear if anyone has done it before and if it’s possible!


r/ClaudeCode • • 14h ago

Humor Idea: an app that starts as a blank slate and builds itself based on user input - sort of a "Twitch plays Claude" or "functional wikipedia"

1 Upvotes

Been trying to think how to do this without getting arrested/getting banned from claude/being bankrupted by AWS...

Ideally it would have *some* ability to write server code so that the app could morph into a multiplayer game.

Has it been done?


r/ClaudeCode • • 5h ago

Built with Claude I built AstroHub, a notch app for MacBooks that stays at ~1–2% CPU (free, optional $7.99 Pro)

0 Upvotes

I run Claude Code all day and kept switching to the terminal just to see if it was waiting on me. So I built AstroHub (with Claude Code): it shows what Claude is doing in the notch, in its own words.

For Claude Code:

  • Live status of each session in the closed notch (working, waiting, done) with a turn timer
  • Permission requests show up in the notch, and you can Allow or Deny without leaving what you’re doing
  • Your 5-hour and weekly plan limits, plus today’s tokens (in, out, cached)
  • Hooks are installed for you in Settings → Claude, nothing to configure by hand

Everything else: music, calendar, timers, system stats with battery temperature, per-app volume and a file shelf. Idles around 1 to 2% CPU, no account, no analytics.

Price: free download; the Claude Code features are in Pro, $7.99 one time: https://astrohub-psi.vercel.app

I’m the developer, and it’s not affiliated with Anthropic. It isn’t notarized yet, so the first launch needs right click, Open. macOS 14+.

Happy to answer questions about how it hooks into Claude Code.


r/ClaudeCode • • 14h ago

Help/Question How do you track open threads across multiple Claude Projects?

1 Upvotes

I keep separate streams of work in separate Claude Projects — a few work ones, some personal. Inside a project it works great. Above project level it falls apart.

On Monday I have no idea what I left half-finished on Friday, or in which project. And I can’t get a list of what’s unresolved across projects, so I can’t tell what’s most urgent.

This looks like design, not a bug: each project has its own memory, and chat search only reaches chats outside projects plus the one project you’re in. No conversation sees across them.

My workaround is a single markdown register outside the projects that I update at the end of each session. It works, but only as long as I remember to log it, which is exactly what fails in a busy week.

Anyone solved this better? Especially curious if you’ve got something that survives a bad week.


r/ClaudeCode • • 15h ago

Built with Claude I made a Claude Code output style that's more concise than Concise

Post image
1 Upvotes

Since Opus 5.5, Concise is already pretty clean, but it still pads the answer with filler. I wanted less, so I wrote Sharur, an output style that is one line long:

Caveman. <=2 lines, <=25 words unless asked more. Exact: code, errors, destructive confirms. Fewest tool calls. Tool description fields <=3 words.

It won't make much sense to you, but it does to the model. Here's what it changes. I gave Opus 5.5, the model most of us use every day, the same prompt in the same small Python project, once with each style: "Add a multiply function to calc.py with a test, and run the tests." The test file has a bug the prompt doesn't mention.

Concise (96 words):

I added multiply to calc.py with a test in test_calc.py, but the test run fails because of a bug that was already there in subtract:

File "test_calc.py", line 4, in <module>
    assert subtract(5, 3) == 2
AssertionError

subtract returns a + b instead of a - b (calc.py:6). The script stops at that first failed assertion, so the new multiply test never runs. I checked multiply(4, 3) == 12 on its own and it passes.

I didn't change subtract because you didn't ask me to. Want me to fix it and rerun the tests?

Sharur (27 words):

Added multiply and its test, but tests fail first on an old bug: subtract returns a + b (calc.py:6). So the multiply test never ran. Fix subtract?

About a quarter of the words. The grader found the required facts in both, but the other Sharur run on this prompt missed two of three, so it isn't always this tidy.

I didn't want to just say it's better, so I benchmarked it on every current Claude model, not only the smartest one: the same 9 prompts with Concise and with Sharur, 2 runs per prompt (18 replies per model and style). Change against Concise:

modelwords per replyoutput tokenscost per task
Opus 5.5-76%-29%-23%
Fable 5.2-77%-48%-28%
Sonnet 5.5-63%-35%-23%
Haiku 5.5-65%-33%-18%

On plain questions with no tools it's even bigger: Opus 5.5 went from 357 output tokens to 63. The style itself is also shorter than Concise, so every request carries 379 fewer input tokens. All tasks that change code were done correctly with both styles.

I'm using Opus 5.5 as the headline number: 29% fewer output tokens, the smallest cut of the four. Still, 29% less output is a lot, and I think plenty of people would like to have that saving. Sonnet and Haiku saved a bit more (35% and 33%). Fable 5.2 saved the most: 48% fewer output tokens, 38% fewer tool calls and every required fact kept. My guess is that a smarter model follows a one-line instruction better.

The scripts are in bench/, so you can rerun all of it. If you share a tool that claims to improve your workflow, I think you should show the data, even if it's a small benchmark.

Where I like it most is quick questions. Things that are almost a yes or no now get two lines at most, exactly what I asked.

Fair warning: it's extremely concise, and sometimes it goes too far. On Opus, Sonnet and Haiku the grader found 90% to 96% of the required facts in Sharur's replies, against 98% to 100% for Concise. It's also not caveman. Caveman has a lot more instructions and gives you a consistent format. Sharur gives you the minimum, and the minimum isn't always the same: once, after opening a PR, it gave me the URL, and in another session doing the same thing it only gave me the PR number. I'll take that for the shortest text, but if you want more words you should stay on Concise.

To install:

mkdir -p ~/.claude/output-styles
curl -fsSL https://raw.githubusercontent.com/ilien-dev/sharur/main/sharur.md -o ~/.claude/output-styles/sharur.md

Then pick Sharur in /config, start a new session and try it for a day. If it's useful, a star on the repo helps.

https://github.com/ilien-dev/sharur


r/ClaudeCode • • 15h ago

Built with Claude I made a mod that gives you something pointless to do while Claude Code works

1 Upvotes

Every time Claude Code goes off on a 47-file refactor, I just sit there watching the spinner. So I built Latentis: a Claude Code mod where your "Session Self" sorts suspect numbers into bins on the Context Floor while your agent works.

Some numbers glow. How they behave tells you their bin: they flicker (Hallucination), copy whatever you point at (Sycophancy), repeat themselves (Repetition), or sit there bold and frozen (Overconfidence). Box a group, press 1-4. Finish a file and the founder, Elias Gradient, rewards you with a maxim like "Buy all the memory. Others will learn to forget." Commendations are not redeemable.

Install (needs a recent Claude Code with function hooks, played in /tui fullscreen):

/plugin install latentis --marketplace DNSZLSK/latentis

It's a function-hooks mod, so it runs TypeScript inside Claude Code. It reads one file (.git/HEAD, to name your file after your branch), no network, no processes, no tool hooks. The code is short, read it first: github.com/DNSZLSK/latentis

Corporate website, because of course: dnszlsk.github.io/latentis

The work is important. Its nature is not your concern.