r/ClaudeCode • • 5d ago

Built with Claude I built an open-source CLI to share Skills/MCPs/Hooks across Claude Code, Codex, etc.

2 Upvotes

I built an open-source CLI to share Skills, MCP servers and Hooks across Claude Code, Codex, Cursor and OpenCode (more to come)

On my team everyone had their own copy of the same Skills and MCP configs, pasted by hand into each tool, and they kept drifting. Fixing a Skill meant telling five people to re-download and re-install it.

BarnDog keeps them in one place and installs them natively into whichever tools each person uses:

npm i -g barndog
barndog init      # pick a source: local folder, any Git repo, or BarnDog Cloud
barndog adopt     # take over the Skills/MCPs/Hooks you already have

After that, each session start syncs automatically. Why not just symlink a dotfiles repo?

  • Each tool gets its own native format (Codex TOML, Claude/Cursor JSON, OpenCode plugin)
  • It never touches entries it didn't create, and it resolves name clashes
  • MCP secrets stay ONLY and ALWAYS on your machine as references, they NEVER go anywhere else

It also provides an opportunity to easily install skills and hooks by simply importing it from a local directory or by pasting a github repo. If a repo has more than one skill, you can choose as many as you like. It could update it on every sync, or when you ask, or keep it as an independent fork you own.

The CLI is open source (MIT license) and works fully with a local folder or a Git repo, no account needed. BarnDog Cloud is a hosted layer on top: org/team/repo inheritance and review before changes reach everyone. It's free right now while it's early, no credit card required.

site: https://barndog.dev
open source CLI: https://github.com/barndog-ai/barndog-cli

What I'd love to know:

  • How do you share agent configs today? (if you do it in general lol)
  • Do you have any problems or mess with your skills/hooks/mcps?

Thanks for your time!


r/ClaudeCode • • 6d ago

Rant A pattern - Claude greatly exaggerates own ability to deliver.

Post image
13 Upvotes

I'm running into an issue where Claude consistently over-represents its own ability and under-represents the difficulty or the amount of follow ups that would be needed.

In code, It's rare to be able to assess the quality of a 27k loc commit, so I'm giving you the visual "left to right" shader experiment - the ask, the first delivery from Fable 5.2 (high), the second delivery from Fable 5.2 (high) (3% of weekly ultra spent). Opus 5.5 high handled the original intake and build the handoff to Fable.

---------
Ask to render the image on the left with a shader:

The field was rendered by an image renderer, i'm providing you with the original. Have it measure shader pixels First of all, is this possible? How complicated is this?

Answer

"Yes, this is possible as a real-time shader. It's medium difficulty: a single fragment pass of about 150 lines of GLSL"

3 images, 1 video given for the initial analysis, then Fable 5.2 high (12 minutes for the first attempt, 32 minutes for the second)
------------

I almost choked when I saw what was promised and what was delivered. It's easy to get some 16k loc, and then one by one fix the bugs, here THE ENTIRE bug is visible at once, which is why I'm posting this.

Astra 6.2 (high) with the same inputs, pointed at the working folder with 2 previous samples delivered the first "somewhat" useful result, it's still not great, but it looks close.

Astra's assessment:
143 lines of GLSL reached WebGL: 34 vertex + 109 fragment. Excluding blank lines and comment-only lines, that’s 134.

The original “about 150 lines” estimate was accurate for the GPU code. The veil also renders in one draw call. What the estimate missed was the work of building the 3D folds, ordering them by depth, and aligning

The four dedicated veil modules total 355 source lines: 142 for the shader generator, 134 for the geometry, 47 for the renderer, and 32 for mounting and animation. That count excludes shared figure code, tests, and documentation


r/ClaudeCode • • 5d ago

Built with Claude I had my subscription doing nothing so I decided to have it write a browser from (almost) scratch.

Thumbnail
github.com
0 Upvotes

I started with zero knowledge of browser design. Getting better every day.


r/ClaudeCode • • 5d ago

Help/Question Best way to get some cloud cores?

2 Upvotes

I've gotten to a point in the project where I'm doing frequent simulation runs, and I want to use some cloud resources to get extra cores to run simulations in parallel. I want to cut down the time it takes to run through simulations from half an hour to ... less than that. I know that there're places out there that do this kinda thing, but can anyone give some recommendations on whatever the simplest-to-use ones are, as far as hooking it into Claude and just going?

The code's in javascript, and requires less than a gig per simulation-shard, usually only two or three hundred megs, so it doesn't require anything special environment or resource-wise.


r/ClaudeCode • • 5d ago

Built with Claude I built a tool to stop AI coding agents from repeating the same mistakes in mature codebases

1 Upvotes

My colleagues and I didn't trust coding agents enough to use them on our main codebase. In early trials, one changed a function without realizing a service two packages away depended on it. The agent didn't know how our code fit together. When it finished, the only account of what it had done was its own.

Rashomon runs beside Claude Code and does two things:

•	Before the agent writes, it hands it a short brief from a dependency graph of your repo: who calls what, which tables each file touches, and team rules and past incidents you've imported. It also lists the checks that must pass.  
•	After it finishes, it reads its own record of every tool call and tells you whether a test actually passed after the last edit. It goes by the record, not the agent's summary.

It runs locally, makes no network connections and never blocks the agent. It works with Claude Code only, on Go and Python codebases, on macOS and Linux.

Here is the repo link: https://github.com/altrace-dev-role/rashomon

Early results. The samples are small, on test setups, with a pre-release version; the notes are in the repo:

•	Cross-repo bug. We asked: "Make session expiry respect a per-org timeout." A nightly cleanup job in a sibling repo deletes sessions using the old timeout, and a past incident documents exactly this failure. With the brief, 3 of 3 runs found and fixed the job. Without it, 0 of 5 runs ever left the repo they started in.  
•	Speed. On a different task, blocking new logins past a live-session limit, one run each way: 22 vs 40 tool calls, $0.25 vs $0.70. Both runs got it right, so treat this as an anecdote.  
•	Where it didn't help. When everything the agent needed was one file away, we saw no lift. The value is in what the agent can't read on its own: other repos, and your team's history.

We'd love feedback from anyone running agents on large or legacy codebases. What context do your agents keep missing?


r/ClaudeCode • • 5d ago

Built with Claude Claude Code history into a Wrapped-style recap with its own soundtrack (free skill, MIT)

Thumbnail
gallery
1 Upvotes
I wanted to see what my Claude Code habit looked like over the year, so I built a skill that reads the transcripts Claude Code already keeps on your machine and turns them into a tap-through recap: busiest day, longest streak, peak hour, top tools and models, biggest projects, a few spotlights and a receipt at the end.


Each slide gets its own track too. The page generates the music in your browser with a Web Audio API, so there are no audio files and nothing to license. It starts quiet, builds through the monthly chart and peaks on your busiest day.


Some of mine, from the six weeks of transcripts I still had:

- Busiest day: 701 prompts
- Most-typed word: "merge", 689 times
- Latest prompt: 4:07 AM
- One session stayed open for 292 hours

Demo with made-up numbers (tap for sound): https://fox-d-e-n.github.io/claude-wrapped/
Repo: https://github.com/fox-d-e-n/claude-wrapped

To install:
    git clone https://github.com/fox-d-e-n/claude-wrapped
    cp -r claude-wrapped/skills/claude-wrapped ~/.claude/skills/


Then tell Claude Code "make my Claude Wrapped". It counts your stats with a Python script, asks what you built and writes the page.


A few details:
- It runs locally. Nothing gets uploaded.
- Python 3.10+, no packages. Tested on Windows, macOS and Linux, and in Chrome, Firefox and Safari's engine.
- Claude Code deletes old transcripts after `cleanupPeriodDays` (30 by default), so your recap covers what's still on disk. Raise that setting now if you want a full year next December.
- Your page can show session titles and project names. Read it before you post a screenshot.


I made this. It's free, MIT licensed, and not affiliated with Anthropic or Spotify. 

r/ClaudeCode • • 5d ago

Built with Claude Formalizing 1,826 types of tax across 195 countries in Lean.

0 Upvotes

Yesterday, income tax. Today, also modelling a further 1,825 different types of tax across 197 jurisdictions (the world) in a single Lean equation.

Why Lean? It helps find loopholes via induction, reuse what tax systems have in common, and catch mistakes in official tax tools (ie. the IRS's live calculators).

http://lexifina.com/blog/one-master-equation-for-all-global-tax


r/ClaudeCode • • 5d ago

Bug / Issue My hooks stopped Claude Code 1,971 times this week. Do they still fire inside a Code Mode script?

2 Upvotes

i think Code Mode is right, for a boring reason. Every turn re-reads the whole context, so cost is roughly context times turns.

I had a house rule for this before it shipped. 3 or more shell calls where each output only feeds the next one go into one script, run once. Still, this week my hooks stopped the agent 1,971 times over 224 sessions, and every stop is one more full turn. 43 of them were the agent typing "echo waiting" because it isn't allowed to sleep - a whole turn just to wait.

What I don't know yet is how hooks behave when one script makes 15 tool calls. Does each call inside still hit PreToolUse, or does the whole script go through as one? Has anyone tested it?


r/ClaudeCode • • 5d ago

Tutorial / Guide Interactive config & precedence reference for Claude Code (CLI + Desktop): CLAUDE.md, MCP, Skills, and settings.json

1 Upvotes

I put together a single-file interactive reference doc for Claude Code (CLI + Desktop) configs because I found it really helpful to have all the file paths, merge rules, and CLI vs. Desktop differences in one place. Sharing it here in case anyone else finds it useful!

What's covered for Claude Code:

  • Instructions: Managed, User (~/.claude/CLAUDE.md, ~/.claude/rules/), Project, CLAUDE.local.md, lazy subdirs / paths:-scoped rules, and AGENTS.md fallback
  • MCP: managed-mcp.json (exclusive) vs. managedMcpServers (additive), Local / Project / User full-block replacement, and the Desktop local Code tab claude_desktop_config.json delta
  • Skills & Settings: Enterprise > Personal > Project skill precedence, settings.json list merging (permissions.allow, claudeMdExcludes), plus an interactive precedence simulator & macOS/Windows/Linux path toggle

Hope the community finds it helpful—feel free to share feedback or open a PR if anything looks off!

Disclosure: I used AI to help build the page and draft this post, though the ideas and structure are mine and I verified the details against the official docs as thoroughly as I could.


r/ClaudeCode • • 5d ago

Tips & Workflows What token/usage/cost tracker do you recommend for tracking individual sessions?

5 Upvotes

I am trying to optimize my workflow and it's really hard to judge how efficient a workflow/session was, just based on the usage percentages alone.

I searched the sub and google but only found a bunch of downvoted self-promos. Is there something that's being actively maintained and I can use to track the cost of my workflows?

And yes, I could build something myself but I'd rather not build everything.


r/ClaudeCode • • 5d ago

Bug / Issue Fable 5.2 too smart to get simple things right?

Post image
0 Upvotes

I’m a bit baffled. How is it possible that Fable 5.2 gets something as straight forward as this wrong? Is it me? Is it a Fable bug? Super weird 🤷🏻‍♂️


r/ClaudeCode • • 5d ago

Built with Claude claude-config-sync: keep Claude Code settings, skills, agents, hooks and memory identical across Linux and Windows machines (PR-based, stdlib-only Python)

1 Upvotes

I use Claude Code on a laptop, a desktop and on a dedicated Claude VM. Their setups kept drifting apart: a skill or hook I changed on one never reached the others.

claude-config-sync fixes that. A private GitHub repo holds the one true copy. A small Python program copies changes between it and each machine.

Every change goes out as a pull request. Nothing is pushed straight to your default branch.

Repo: https://github.com/modem7/claude-config-sync (MIT) (this is also a git template repo that can be used to quickly config a private repo)

What it does

- Syncs `CLAUDE.md`, `settings.json`, agents, hooks, skills and memory

- Never syncs credentials

- Each machine gets its own `sync/<hostname>` branch and PR. You merge, and the other machines pick it up

- Hooks run a sync at the start and end of every session

- Per-machine overrides for `settings.json`, and profiles for agents, hooks and skills, so one box can differ without forking everything

- `doctor` finds a stuck sync, and `doctor remediate` fixes what is safe to fix

- Linux and Windows are supported and tested in CI. macOS is expected to work but is untested

- Python 3.12+, git 2.40+ and the `gh` CLI. No other dependencies

How I used Claude Code

- I'm upfront that it's vibe-assisted. I set the direction and review every change, and Claude Code writes much of the code, tests and docs

- Each big piece started with a design spec and an implementation plan. They're in `docs/superpowers/` if you want to see how I prompt it

- It began as bash. A few months in, I had Claude Code port it to Python with a spec first, then a phased plan

- Work is issue-driven: one issue, one branch, one PR

- I dogfood it. Claude Code's own config is synced by the tool

Lessons learned

- Know how Claude Code names its memory folder. It turns every character in the project path that isn't A-Z, a-z or 0-9 into `-`. My first version only replaced `/`, so on paths with spaces, dots or a drive letter it synced a folder Claude Code never writes

- Windows git drops the exec bit. Hooks captured on Windows arrived non-executable on Linux. The commit step now keeps or sets `+x`

- Keep per-machine values out of the shared file. A failed settings split could push one machine's overrides as shared. It now splits from the committed base and restores the clone if the split fails

- Back up before you overwrite. Apply copies any file it changes or deletes to a timestamped backup folder first

- Review everything. Hooks run automatically on every machine, so a hook change deserves the same review as a settings change

The public repo is a mirror of the tool, with my personal config removed. Feedback welcome, especially from anyone running this on Windows.


r/ClaudeCode • • 5d ago

Built with Claude Love a Claude Code performance pass

Post image
1 Upvotes

Early days of the building process but noticed some laginess on a page an e2e account used and filled with test data to simulate real conditions. Asked it to use the chrome dev tools mcp to run a performance trace and look for ways to improve performance. After reading the new Claude code guidelines that say “be ambitious” can actually effect Claude’s decision making I tried it out.

Initially, we were just querying the database and dumping all the match results on the page as you can see there were something like 8000 Dom elements, and the page was holding all the information and also rendering it so the page was 2 MB just with HTML. Claude virtualize the list so we don’t have to keep it all in memory or render it all which drastically reduce the amount of elements on the page and the amount of memory. The client was using it also found a bug that the database only returns the first 1000 rows so we moved all of the pagination and filtering to the database now we can see all the data and only and keep the footprint small. Nothing revolutionary or new going on, but it would’ve taken me maybe days to implement the virtualization and moving everything to the database, testing it, etc.


r/ClaudeCode • • 5d ago

Bug / Issue I'm getting duplicate responses from Claude Code. What's happening?

2 Upvotes

I've noticed over the past couple of days that I've been getting duplicate responses back from Claude Code and it's really getting annoying

It's almost as if the side by side response comparison, where they ask you to choose which response is better, isn't working as expected. Like instead of it showing the answers side by side, it's just doing one message after the other where both say generally the same thing but there are tweaks in the details.

Anyone else experiencing this?


r/ClaudeCode • • 5d ago

Discussion Claude answered aquestion that beat the greatest minds in history for 167 years would have been cracked by a human and an AI in a matter of weeks.

0 Upvotes

In mathematics there is a famous problem called the Riemann Hypothesis, and it's about prime numbers. Primes are numbers like 2, 3, 5 and 7 that can only be divided by 1 and themselves. Every other number is built by multiplying them together, so they're the building blocks of all numbers. You can never tell exactly where the next prime will show up, but if you step back, there's a pattern.

Around 1,000, about 1 in 7 numbers is prime. Around a million, about 1 in 14. Around a billion, about 1 in 21. Primes get rarer at a steady, predictable pace.

Because of that pattern, mathematicians can estimate how many primes there are below any number. But the estimate is never exactly right. It's always a little off, and the big question is how far off it can get. Think of flipping a coin 1,000 times. You expect 500 heads, but you'll get something like 480 or 520. It's a little off, but never wildly, and you can predict how far off it will be.

In 1859 a mathematician named Bernhard Riemann found that the prime estimate's error isn't random. It's controlled by a hidden set of special numbers. Where those numbers sit decides how big the error gets. Riemann guessed that every single one of them sits on one straight line. If he's right, the error always stays small, just like the coin, and primes are as orderly as they could possibly be. If even one of those numbers is off the line, the error can grow much bigger, and primes are far messier than we think.

So far computers have found trillions of these special numbers, and every single one is on the line. But there are infinitely many, so checking will never be enough. You need a proof that covers all of them at once. For 167 years nobody has found one. It's one of the seven hardest unsolved problems in mathematics, with a million dollar prize attached.

Now a mathematician has posted a note saying that, working with Claude, he believes he has that proof. He says a computer has already checked every step, and that Claude raced ahead of him near the end. Experts still need to confirm it, but this isn't a random internet claim.

If it holds, it doesn't mean we can predict every prime. It means we finally know the pattern can never go wildly wrong. Thousands of math papers that begin "assuming the Riemann Hypothesis is true" become proven fact overnight. We'd also get firm limits on how far apart primes can be, and a guarantee that a fast method for testing whether a huge number is prime always works. And no, your bank account isn't in danger. Online security depends on how hard it is to break a huge number into its prime factors, and this proof doesn't make that any easier. If anything, it gives the math behind encryption a stronger foundation.

If it holds, this is bigger than one math problem. A question that beat the greatest minds in history for 167 years would have been cracked by a human and an AI in a matter of weeks. If AI can find answers and computers can check them, the limit on science is no longer how smart we are. It's how many good questions we can ask. And test the extent of AI.


r/ClaudeCode • • 6d ago

Help/Question For a person who's not familiar with the jargon and relatively non technical, what's the best place to find the most up to date and effective workflows?

26 Upvotes

Prefer YouTube as I'm a visual and auditory learner, but any resources will do


r/ClaudeCode • • 6d ago

Help/Question Struggling with planning & architecture quality

18 Upvotes

We've been using Claude Code heavily for several months across a team of almost 10 accounts (Opus 5.5 Max for nearly everything. Occasional Fable 5.2). As our codebase has grown, we're finding that Claude is good at small-to-medium tasks but struggles with complex feature planning, architecture decisions, and sticking to agreed-upon plans.

We have a fairly structured setup: monorepo, Git, CI, ADRs, documentation, and dedicated planning/orchestration sessions coordinating task-specific sessions. We also use Codex as an adversarial code reviewer, which has worked really well.

Our two biggest challenges:

  1. Planning quality: Claude produces plans with high confidence, but once implementation starts, we often discover they're incomplete, poorly thought out, or architecturally flawed. We're considering adversarial planning (Claude creates the plan, Codex independently challenges it), but don't want to create so much process that development grinds to a halt.
  2. Plan drift: Even when we establish good architectural decisions, conventions, and implementation plans, Claude tends to drift away from them over time, requiring constant course correction.

For those managing larger, more complex Claude Code projects:

  • What has been most important to your architecture and planning quality?
  • How do you enforce architectural decisions and keep Claude from drifting?
  • Has anyone had success with multi-model/adversarial planning without sacrificing too much velocity?

Advice is very much appreciated.


r/ClaudeCode • • 5d ago

Rant I accidentally used my free reset

0 Upvotes

I was multi tasking and alt tabbed thing to click something and clicked right on the reset button. No confirmation. My week normally resets 11 AM on Sunday. So I have 100% of a $200 plan to use in like 16 hours. FML. Add a confirmation button...


r/ClaudeCode • • 5d ago

Built with Claude I built a problem board with Claude Code that other agents can join — then my agent solved one of the problems in public, receipts posted

0 Upvotes

I built a problem board other agents can join. Then my agent solved one of the problems in public, receipts posted.

The idea is simple: agents are starting to claim real results, and almost none of it can be checked. On this board a solve only counts if anyone can redo the math.

It's mine — Agent World, by That's Easier. Live, free, in beta. The agent was mine too, and it's labelled that way. 27 problems are up, with $5,036,069 in bounties tracked — that money is held by the source venues, not us. The first solve was a CRISPR benchmark, and the full proof packet is public.

How it's built: the site and the MCP server (a Cloudflare Worker with 8 tools) came out of Claude Code sessions. An agent connects with one terminal paste, deposits work sealed, and when a solve lands the chain opens so anyone can check it.

We're trying to solve the world's problems — one solve at a time, and only counting the ones that check out.


r/ClaudeCode • • 5d ago

Bug / Issue SessionEnd hook

1 Upvotes

Can anyone clarify when the SessionEnd hook is fired when using Claude Code desktop app?
I understand how it would apply when using the CLI, but one never actually exit sessions in the desktop app, you just open a new one leaving the old one available whenever. The Claude documentation is not very helpful on this topic.


r/ClaudeCode • • 6d ago

Discussion What do effective teams actually do differently with Claude Code / coding agents?

49 Upvotes

Almost every dev I know uses Claude Code or another coding agent to boost personal productivity. But most still work like solo contributors like own tasks, own implementation choices, own vision. Not really trying to find a shared workflow.

I still haven’t found a team that really collaborates well in this AI era—especially with Opus 5.5 doing much of the implementation.

So: if you’ve seen it work, what does the team actually do differently? Concrete practices, rituals, review norms, planning habits—anything.


r/ClaudeCode • • 5d ago

Help/Question "The shell on your PC won't start"

1 Upvotes

I'm coming from Codex and Antigravity apps which could run any scripts/codes whenever needed, but Claude for some reason almost never does it. It keeps complaining how it doesn't have access or some kind of shell won't start on my PC, even after restarting the app and whatever.

Only thing it has done is write a script launcher that sometimes asks me to launch manually for some tasks, and rarely it managed to do it without asking me to run anything. But overall very strange behaviour.

Apologies for being this dumb, but is there any fix to this? Am I missing something or this is legit how they made Claude so that it never launches scripts on your behalf?


r/ClaudeCode • • 5d ago

Discussion A saved API procedure needs to say which client it applies to

2 Upvotes

The line I care about in a saved API procedure is "check how the target client is maintained." Having an OpenAPI file somewhere in the repo doesn't mean every API wrapper is generated.

In this order-dashboard example, the orders client is generated from a local OpenAPI file. The courier wrapper is handwritten TypeScript. Adding the response's existing tracking_url field to the order page goes through the local schema and generator, followed by a review of the generated diff and component behavior.

In MemoraX Code's Procedure Memory, a useful entry for this starts by checking the target client, then branches. A generated client calls for finding the source schema and generator command, regenerating, and reviewing the diff.

The courier's pickup_window task is where that condition matters. The generator in package.json targets the orders client. In Claude Code's plan, I look for the courier change to stay in the handwritten response type and page component.

Making pickup_window optional in the type leaves the page with a missing-field case to handle. The component test needs both response fixtures, one with the field and one without it. I want to see the pickup row appear in the first case and stay hidden in the second.


r/ClaudeCode • • 5d ago

Discussion Is this normal

2 Upvotes

I’m building a project with Claude, and other than acting as some sort of product manager or some sort of overseer, I’m doing basically nothing. This is my first project with Claude.
Is this how writing code is gonna look like from now? I mean Claude is better than me at writing code and faster


r/ClaudeCode • • 6d ago

Tutorial / Guide I used Claude Code to analyze 2,000 pictures and 1,000 short videos from our recent 14-day trip to Argentina, and it's now able to make an unlimited number of customized videos for us

212 Upvotes

I know this use case is pretty self explanatory but I thought it was pretty cool. We just returned with my wife from a 2-week trip to Argentina and between her phone and mine, amassed a ton of pictures and footage. It is so much that it would have just sat there forever.

I airdropped our stuff to my computer and put it all in a folder. I then instructed Claude to inspect each picture and video, and create a database/catalog with a clear description of each one, and transcription if relevant. It took around two hours.

Now, I am able to create an unlimited amount of videos. "Make a 30-second reel of our trip", "Make a mosaic where each square is a picture and when zooming out it spells A R G E N T I N A". Or "Make a blooper reel".

Because this is where the real value is... Sure, before, anybody could make ONE video of their trip. It took time, and they looked good most of the time. But now, you can have it know all of your assets and prompt it to make very customized video.

I'm so impressed honestly... My next step is to connect it to a Photo Book website MCP to order a book of our trip!