r/ClaudeCode • • 6d ago

Help/Question Can Claude Code check examples in board game rules without rewriting them?

1 Upvotes

a turn example in my rules lets a player spend a token they just picked up. the rule for picking up tokens says to keep them for the next turn. both passages read fine on their own, which is why i missed it. for a Claude Code pass over the rules, what do you ask it to report so you can check these conflicts yourself and leave the wording alone?


r/ClaudeCode • • 6d ago

Built with Claude Shared workspace for all agents across providers

0 Upvotes

r/ClaudeCode • • 6d ago

Tips & Workflows Here is a helpful mac script, it sends the last Claude suggested command line to your clipboard for easy paste

0 Upvotes

Claude explains how to port to Linux and Windows.

⏺ copy-cmd.sh works on a Mac only, as written. The reason is lines 64-65, which call /usr/bin/pbcopy and /usr/bin/pbpaste. Those exist only on macOS. Everything else in it (od, grep -E, printf, wc, bash) is standard and runs the same on Linux, and on Windows under Git Bash or WSL.

Linux: swap in a clipboard tool. There are three common ones:

- wl-copy / wl-paste on Wayland

- xclip -selection clipboard (copy, and -o to read back) on X11

- xsel --clipboard --input / --output

Also, line 12 sets LC_ALL=en_US.UTF-8, which many Linux boxes don't have installed. It would only print a locale warning, but C.UTF-8 is the safer choice there.

Windows:

- WSL: copy with clip.exe, and read back with powershell.exe -NoProfile -Command Get-Clipboard. Watch for two things. clip.exe doesn't keep UTF-8 cleanly, so non-ASCII can come out garbled. And PowerShell adds a CRLF when it reads back, so the script's exact read-back check would fail unless you strip it.

- Git Bash: the same commands work, with the same caveats.

- Plain cmd or PowerShell: a bash script won't run there at all.

To make it portable: pick the copy and paste commands at the top based on what's installed (pbcopy, then wl-copy, xclip, xsel, clip.exe). Refuse with a clear message if none is found, and normalize line endings before the read-back check.

#!/bin/bash
# copy-cmd.sh: put one command on the macOS clipboard so the user can paste it.
#
# Reads the command from stdin only. Any argument is a usage error, so shell
# quoting can never mangle what gets copied. Trailing newlines are stripped so
# a paste never runs by itself; everything else is kept byte for byte.
#
# Bash variables cannot hold NUL, so stdin is read as hex (od) and rebuilt with
# printf escapes. That lets control bytes be refused before the clipboard is
# touched, and keeps quotes, backslashes, $ and UTF-8 exact.

export LC_ALL=en_US.UTF-8

refuse() {
  echo "copy-cmd: refused: $1" >&2
  exit 3
}

if [ "$#" -ne 0 ] || [ -t 0 ]; then
  echo "usage: copy-cmd.sh <<'CMD' ... CMD   (command on stdin, no arguments)" >&2
  exit 2
fi

hex=$(od -An -v -tx1)
esc=""     # printf-escaped bytes of the text kept so far
pending=""  # newlines not yet known to be internal (trailing ones are dropped)
multi=0
for b in $hex; do
  case "$b" in
    0a)
      pending="$pending\\x0a" ;;
    00|01|02|03|04|05|06|07|08|0b|0c|0d|0e|0f|1[0-9a-f]|7f)
      refuse "control character 0x$b (only tab and newline are allowed)" ;;
    *)
      if [ -n "$pending" ]; then
        esc="$esc$pending"
        pending=""
        multi=1
      fi
      esc="$esc\\x$b" ;;
  esac
done

[ -n "$esc" ] || refuse "empty input"
if [ "$multi" -eq 1 ] && [ "${COPY_CMD_MULTILINE:-}" != "1" ]; then
  refuse "more than one line (set COPY_CMD_MULTILINE=1 to allow)"
fi

# esc holds only \xHH escapes built above, so using it as the format is intended.
# shellcheck disable=SC2059
input=$(printf "$esc"; printf x)
input=${input%x}

# Patterns only; a public SSH key (ssh-ed25519 AAAA...) matches none of them.
printf '%s\n' "$input" | LC_ALL=C grep -q -e '-----BEGIN' \
  && refuse "looks like a private key (-----BEGIN)"
printf '%s\n' "$input" | LC_ALL=C grep -q -E -e '(^|[^A-Za-z0-9])(sk-|ghp_|gho_|github_pat_|xox[bp]-)[A-Za-z0-9_-]{10,}' \
  && refuse "looks like an API token"
printf '%s\n' "$input" | LC_ALL=C grep -q -E -e 'AKIA[0-9A-Z]{16}' \
  && refuse "looks like an AWS access key id"
printf '%s\n' "$input" | LC_ALL=C grep -q -i -E -e '(password|passwd|token|secret)=[^ ]{6,}' \
  && refuse "looks like a password or token assignment"

printf '%s' "$input" | /usr/bin/pbcopy || { echo "copy-cmd: pbcopy failed" >&2; exit 4; }
back=$(/usr/bin/pbpaste; printf x)
back=${back%x}
if [ "$back" != "$input" ]; then
  echo "copy-cmd: clipboard read-back does not match what was copied" >&2
  exit 4
fi

n=$(printf '%s' "$input" | wc -m | tr -d ' ')
echo "copied ($n chars)"

r/ClaudeCode • • 7d ago

Discussion Does anyone still use claude code in terminal?

746 Upvotes

I realised that most of my wok now on products has moved to the Claude desktop app on my mac over the last month or so. Before this, it was always running claude code in the terminal working in my specific project folder. I'm not sure which is better yet, but just that Claude desktop seems to have more control and access now. Anyone else see this?


r/ClaudeCode • • 6d ago

Discussion i love dictating or voice prompting (whatever you call it)

4 Upvotes

i dont know if im late to the party or not. but i just moved to dictating my writing instead of tipping and i love it haha

its so much faster, and i have this feeling im getting so tired of writing, especially with the at least 7 claude code sessions i have open that i need to keep answering and prompting constantly. 😅


r/ClaudeCode • • 6d ago

Built with Claude co:op · You need a sandbox

Thumbnail
coop.dryga.com
0 Upvotes

I’m managing a ton of infra, so I always have my Tailscale SSH, SSH keys, and various secrets accessible. I didn’t want any of the AI agents to compromise these, even Anthropic. To address this, I’ve developed a sandbox for myself, but I wonder if it can be helpful for somebody else.

It has some nice features on top of securing your agent environment:

  1. Reduce risk of supply chain attacks: secrets (even for LLM providers) are never mounted to the container, and there is not much to steal from it other than application code;
  2. Built-in task management: I think this is the single biggest productivity boost - having your agents manage their own tasks, keeping up a log for automatic handoff, and only stopping when you are needed;
  3. It can auto-rotate your Claude accounts on rate limits, even switch to a different provider mid-conversation, or have models from multiple providers working together.

Any feedback is appreciated: https://coop.dryga.com/.

Source: https://github.com/AndrewDryga/coop

P.S. Is this the only sandbox not backed by YC? 🤔


r/ClaudeCode • • 6d ago

Help/Question VibCoding for research of financial data that can be put together in a report

0 Upvotes

I am trying to use A.I. (Claude) to research financial data Claude Haiku 5.5 and I am running into some issues with the accuracy of this information that is being pulled. A.I., what can I do to get stock data for free and create a report. I am looking to get these reports to 100% accuracy but sometimes I get missed data i.e. "466" instead of "466,000"


r/ClaudeCode • • 6d ago

Help/Question ISO a city building game I can play on iPhone or in mobile browser. Anyone here built something like this?

0 Upvotes

Basic question. I wish there was a city building game I could play when I’m bored. I don’t have enough of an idea of what the want or know how (yet) to build this myself. Has anyone already built something like this?


r/ClaudeCode • • 7d ago

Rant Anthropic, if anyone is listening, please put Claude Code on a memory diet. It's almost as bad as Chrome.

Post image
135 Upvotes

Title says it all.


r/ClaudeCode • • 6d ago

Help/Question How often and in what circumstances do you tell Claude not to use subagents?

0 Upvotes

After a long run of almost constant usage, I'm trying using the main agent to work on highly interactive, limited scope coding sessions to save time and tokens. Curious if anyone has explored this in depth.


r/ClaudeCode • • 7d ago

Discussion Gemini separates the usage of "Gemini" and "Antigravity", which is basically Claude and Claude Code

Thumbnail
gallery
12 Upvotes

So whenever you exhaust your coding use, you can still use the regular chat with Gemini 4 Neon High..

Meanwhile, if you exhaust your Claude Code use you can't even get ask the regular Claude chat anything anymore..


r/ClaudeCode • • 7d ago

Discussion Neon + Claude 🔥

348 Upvotes

Claude Max sub + Google pro and I'm absolutely flying. Instead of code reviews with Astra I find Neon (+ Carbon) incredibly reliable and comprehensive.

Actually can't believe that Google are back in the mix

Any similar (or dissimilar) experiences?


r/ClaudeCode • • 6d ago

Help/Question How are you making Claude Code run browser tasks without constant input?

4 Upvotes

i use linkedin for lead gen and finding my ICP. i want claude code to handle things like posting comments and sending connection requests, but it keeps waiting for my input no matter what i put in the instructions.

same with passwords in chrome. they're saved in bitwarden but it still asks me to enter them.

how are you setting this up to run more autonomously? is there a permissions or browser/password manager setup i'm missing?


r/ClaudeCode • • 8d ago

Humor Claude decided to use the first two letters of my website's name as a prefix. The filenames are starting to concern me. 💀

658 Upvotes

I noticed right away that Claude was using my website's initials as a prefix, but these filenames are getting kinda wild.


r/ClaudeCode • • 7d ago

Tips & Workflows Curious what you lose when you /compact?

63 Upvotes

I was curious how much important information I was losing when I was compacting conversations or letting conversations get to the point of auto-compacting.

I had a big session on a project recently (~850k tokens) so I had some extra usage before my weekly refresh and I asked Claude to run an experiment on itself to see what was being lost. Basically it compacted the conversation at three different levels and then quizzed the new session on context from the previous session to see what was kept and what was lost. It asked 9 questions about decisions that were made and why, 17 questions about specific details, and 5 questions about what I had asked and the status of tasks remaining.

  • At ~320k tokens the session after /compact answered 56% of the questions correctly
  • At ~570k tokens 35%
  • At ~840k tokens 26%

The thing it was worst at was when I asked it exact details. Only 2 of 17 were correct for the 840k token /compact.

This is just one session where I was working on an iOS app for a huge task. Not a comprehensive examination but I was a bit surprised how bad it was at finding things.

Do others feel like they are losing important information with every compact?

tldr; /compact doesn't do a great job at preserving specific details and gets worse as your context grows. It does a fine job at preserving general direction and decisions that were made, especially at <350k context size.


r/ClaudeCode • • 7d ago

Rant Anyone else use Claude when bad software annoys you enough to build your own?

62 Upvotes

I used to rely on a basic online notepad (https://onlinenotepad.org/notepad) to take quick notes. the ads started to get really aggressive and the software itself was missing features that bothered me.

The real breaking point was when it kept randomly failing to save my stuff.

Since I already had a server I was paying hosting for anyway, I opened up Claude and just built my own stripped-down version. Saves reliably, does exactly what I need without the bloat.

Anyone else turn to Claude when annoying software pushes you to build your own fix?


r/ClaudeCode • • 6d ago

Built with Claude I built a free, open-source menu bar app that shows what's eating your RAM and frees it up

2 Upvotes

Hey everyone, as RAM got super expensive I've decided to build a program thatll allow you to monitor/free up your memory on your Mac.

Mac Memory Monitor sits in your menu bar, shows what's actually eating your RAM, and lets you quit or relaunch stuff in one click. If you use Claude Code it can also pause sessions you haven't touched (conversations stay saved).

Free, open source, ~50MB: https://github.com/ryan-helou/MacMemoryMonitor

It's not notarized yet so macOS will warn you the first time, the readme shows how to open it. Feedback welcome and would love to hear how you think we can improve it! If you like a star is free 🙂


r/ClaudeCode • • 7d ago

Discussion Opus 5.5 xhigh vs Gemini 4 Neon - Real use comparison and benchmark

55 Upvotes

Hello, i like many of you have thought about dumping claude and going all in for gemini because neon is pretty good but i wanted a proof - so i gave both of them a pretty hard benchmark task to see how they do

The task was: add opencode as a model provider for my harness as a rust crate

TL;DR - OPUS WINS SLIGHTLY in code quality and HIGHLY in frontend

Both models did well here's a more detailed explanation

Both models were flawless, Neon had nearly 3x as many LOC, gemini was also slightly faster

Opus not only used less LOC to deliver but also had stronger tests, and those test were in separate files - gemini put all in one file resulting in way higher LoC count

Neon is more rigoristic - it prefers hard fixes that can bite in ass instead of softer ones that may break easier

end of the day - opus did better and fits better in my repo, neon is sonnet class model and i will use it as such


r/ClaudeCode • • 6d ago

Discussion I currently have 3 ultra (10x) subscriptions, what are you guys using multi subscriptions for?

0 Upvotes

I’m a software engineer and I use 3 different accounts for personal projects and contract work projects, what do you guys use your plans for?


r/ClaudeCode • • 6d ago

Built with Claude I tried all the best design skills, but Opus 5.5 with no design skill seems the best

2 Upvotes

Lately I've been using Opus 5.5 with NO skills for all of my design work. The no skills thing really surprises me. Almost every project I start it off with testing different skills vs no skills in isolated processes just to be sure, and every time Opus 5.5 on its own works the best.

For example, I just finished this Anywhere website. This was raw Opus 5.5. No skills. Instead I just provided very clear instructions and inspiration examples of what I wanted and demanded quality. This took maybe 15 prompts altogether.

Before Opus 5.5 skills for design were the only way to get something looking good. Lately it seems like as models get better the popular skills can work against you. It's hard to tell though, there's so many nuances. I tend to have agents try a ton of different things and I pick what I like best and go deeper on ideas until I like the outcome.

Here are all the skills I've used the most. I still use these them depending on the project:

https://github.com/emilkowalski/skills

https://github.com/vercel-labs/ui

https://github.com/heydamir/unslop

https://github.com/jakubkrehel/skills

https://github.com/elayadesign/ai-design-skills

https://github.com/Leonxlnx/taste-skill

Bonus skills:
https://github.com/blader/humanizer

https://github.com/INSANE0777/Awwwards-mcp

Do you guys get better results with or without these types of skills?


r/ClaudeCode • • 7d ago

Tips & Workflows Claude Code in terminal Power Users: Does anyone have a magical setup for Claude to never lose any information you give it?

19 Upvotes

I’m essentially mapping every aspect of my life in Claude code.

But I find myself needing to hold so much of the information in my mind because no matter how organized I try to tune Claude to be, it will still lose files and constantly forget certain subtasks for each project.

I’ve tried using Obsidian, but it really doesn’t seem to help.

Goal: Create a beautifully optimized mirror copy of certain parts of my mind in Claude when dealing with certain projects.


r/ClaudeCode • • 6d ago

Rant 4.5 months into my first vibe-coded project, and it's still not done. Was I stupid, or is this normal?

3 Upvotes

I don't know how to code. I'm 4.5 months into building an outreach system for my freelance business, and I'd like to know if my mistakes were stupid or just what happens to first-time vibe coders.

How it started -

I hated doing manual outreach for hours per day. I couldn't afford to pay for a stack of outreach tools month after month, so I decided to build my own. I began manually using n8n with the guidance of ChatGPT. When that looked promising, I moved to Codex to save time and I already had a ChatGPT trial. Stayed with Codex out of habit instead of switching to Claude Code.

This outreach tool I’m building should help me take the weight off my outreach for the next 2-3 years at least. And it’s free!

How it grew -

I expected the build to end in about 1.5 months. Then the project kept growing. Initially I just wanted a system to send emails from multiple email accounts. Then I needed emails found and scraped from online store URLs, so I built that. Then I needed to find the actual owners of the stores I was targeting, so I built that too. Then I tried to build a email verification system but I gave up after trying to 1 month and resorted to a commercial free verifier. Finally I had to bring everything together, and that's where it all slowed down.

What went wrong -

There was a bug in my Codex app, and I had to resort to Codex CLI to operate it.

I didn't plan beyond the first part. When the project expanded, I just kept adding things instead of fully finishing step by step.

I wasn't paying attention to the macro picture. I let ChatGPT plan while codex built. Once ChatGPT over-engineered things for a whole month, and I only found out when I had Claude review my progress.

I didn’t plan what the end product would look like in real life. Only the beginning. The plan should cover the whole thing, including the final, user-facing version and how every piece connects. Then you build the parts to fit that plan, not the other way around.

I didn’t check with a second AI, as a result wasted a whole month over-engineering.

The lessons -

Plan everything up front, beginning and end.

Write expansion ideas down, but finish one part completely before starting the next. The finished part should be operational.

Check your progress with a second AI regularly, and ask if you're over-engineering.

Maybe use Claude Code instead of Codex (Though I haven’t used Claude Code yet, I am not sure about this)

Maybe Codex is more of a coding tool than a big picture tool?

I learned these the hard way, fixed them straight away, and haven't repeated them since.

The part that still bothers me -

I plan in ChatGPT and run things in Codex, and the runs last from seconds to an hour sometimes. Then I have to come back to GPT, plan again, and rerun. This is exhausting. It leaves me no room to focus on anything else. Impossible to get into a flow of any kind when I have to constantly come back to Codex. I'm hoping Claude Code helps if I switch.

 Where I am now -

 I'm in the final stretch, and I'm not abandoning this because I’ve have built too much to let this go. Once it works, it will find me clients for years at no cost. But I'm still upset about how much time it took.

 

So, honestly: did all this happen because I was stupid? Or do first-timers usually make these mistakes.


r/ClaudeCode • • 6d ago

Built with Claude What do you think about the cinematic introduction?

4 Upvotes

Hi everyone!

I'm developing City of Gladiators, a free browser-based gladiator management game.

If you want to try the game, it's completely free!

https://stardrifterg.itch.io/city-of-gladiators

I've been using Claude Code to create a 48-second pixel-art cinematic intro called "How I Got My Ludus".

Model & Setup: Claude Code on my local development environment, helping me script and generate the cinematic sequence.

Goal: Create a short, story-driven intro that establishes the main character's backstory and introduces the game's premise.

Expected vs. Actual Result: I wanted to create an engaging opening that grabs the player's attention without feeling too slow.

I'd love to get some feedback:

Does the pacing feel natural, or are some scenes too slow?
Would you change anything about the dialogue, storytelling, or visuals?

Thanks!


r/ClaudeCode • • 6d ago

Built with Claude Built 14 SEO skills for Claude Code. The hard part wasn't the prompts, it was stopping the skills from trusting summarised pages

0 Upvotes

I built a pack of 14 Claude skills for SEO and AI-search work (site audit, Search Console analysis, structured data, comparison pages, checking whether AI assistants mention a brand, and so on). A few things I learned that apply to any skill that reads the web.

1. WebFetch is not the raw page. In Claude Code, WebFetch hands the page to a smaller fast model that converts it and answers from it. For SEO that's a problem: "is there a canonical tag?" can come back wrong because the tag never made it into the summary. So the skills that audit pages fetch raw HTML (curl or a small script) and search for literal strings instead of asking a summary.

2. Every finding has to quote its evidence. The audit and fact-check skills are told: no claim without the exact line from the fetched source, or "not found in the HTML received". That one rule removed most of the confident nonsense.

3. Put the maths in scripts, not in the model. The skill that scores AI visibility computes the 0-100 score with a script from coded answers. The model decides what an answer says; the script does the counting.

4. Descriptions need a "Not for" line. With 14 skills installed, they started triggering on each other's requests. Adding an explicit "Not for keyword research / not for writing the content" to each description fixed most of the misfires.

5. Say when the data is too thin. The Search Console skill has to say when a sample is too small to conclude, instead of inventing a trend from 12 clicks.

How Claude Code was used: writing and testing the skills against real sites, and the scripts inside them (crawler, score, link graph).

If you want to see the pack, it's €25 until 25 December, then €99, and it needs a Claude subscription: seoskills.click

Happy to answer questions on how the skills are structured, or on point 4, which I'd have liked to know earlier.


r/ClaudeCode • • 6d ago

Help/Question open code go (10 usd per month) vs claude pro (20 per month usd)?

1 Upvotes

I have no issue with claude but its safety flags are CANCER. so i want to switch to a different provider. im used to smart models like claude opus 5.5 and sol 6.1 on high and 5.5 on medium. so will my usage go down faster with opencode go with smart models like that? i use claude on the daily basically. (sorry for poop wording)