featured

How Mods are upgrading Claude Code in every way

This powerful new Mods feature is completely redefining the limits of everything we thought was possible with Claude Code.

You can now customize Claude Code in so many amazing ways.

You can make it show you all the info you need at a glance without having to waste time switching between multiple tools.

Claude Code is now displaying images and videos, intelligently stepping through changes, managing webpages without a browser, and so much more thanks to Mods.

You can even install mods to filter your output based on your task in intelligent ways. They can also set strict guardrails on potentially dangerous or expensive model actions.

They can show essential info that you need to keep in mind as you code.

For example here’s a lightweight token-weather mod from Anthropic that creatively uses weather to show you how much context you have left:

Clear sunny weather when you have low context usage:

And then it dynamically changes to showers when your context is starting to get full:

And then when your context is almost filled up it changes into a full-blown storm.

This is just a small taste of what mods can do for you. Devs have already started creating so many incredible open-source mods.

Mods are JavaScript or TypeScript plugins that run directly inside Claude Code. They let us intercept tool calls before (or after) they run, build our own personalized interfaces, and much more.

1. Powerful control over Claude’s actions to prevent costly mistakes

One of the biggest changes is that mods can step into Claude’s workflow while it’s running.

Unlike external hooks that run separate scripts, mods can step in before or after an action. They can even replace the action entirely.

Look at the critical function that this blast-radius mod from Anthropic performs here — it intelligently detects and intercepts risky commands like rm -rf — and first shows you everything that’s going to change if it runs, letting you decide to proceed or cancel if you want.

If you cancel:

If you proceed:

So you see this is the incredible level of customization that mods give you.

You can:

  • Block risky commands: Stop Claude from running commands that could delete important files.
  • Retry failed actions: Automatically retry a tool call when something goes wrong.
  • Redirect requests: Send certain tasks to another AI model or external service.
  • Replace tool calls: Handle a request directly without running the original tool.

You can even create custom commands that can run custom code or make your specified changes to the user interface.

This gives us more control over Claude’s actions and helps us prevent costly mistakes.

2. Fully customizable interface that eliminates constant tool switching

Mods also let us change how Claude Code looks.

We can add custom components to the CLI or desktop app such as:

  • Live status bars that show our Git branch or test results.
  • Custom panels and tabs that display useful project information.
  • Pop-ups and progress messages that show what’s happening in real time.
  • Custom tool displays that make outputs easier to read.

For example this custom mod shows a roundup of all the changes made to every file, on the right side of the terminal:

Say you want to see your CI/CD pipeline status while Claude works. You can build a panel that shows it directly inside Claude Code.

This saves us from constantly switching between tools and helps us stay focused.

3. Replaceable built-in features that adapt to your exact development workflow

Anthropic is also turning some of Claude Code’s built-in features into mods.

One example is the /diff command which helps us review code changes.

Since it now runs as a mod you can:

  • Turn it off if you don’t need it.
  • Replace it with your own version.
  • Customize it to fit your team’s workflow.

You could build a diff viewer that focuses on security issues or displays code changes in a way you prefer.

Anthropic plans to move more built-in features into mods.

This means we could eventually keep only the features we need and replace the rest with our own tools.

4. Instant mod updates that let you experiment without interrupting your workflow

Another cool feature is hot reloading.

You can change a mod’s code and Claude Code will pick up the changes without restarting your session.

This means:

  • You don’t lose your conversation.
  • You can test changes right away.
  • You can ask Claude to update a mod for you.

Say you built a status bar that shows your Git branch. You could ask Claude to add test results to it.

Claude updates the code and the new version starts working in your current session.

This makes it much easier to experiment with new ideas without breaking your workflow.

5. Smart sidecar agents that catch bugs before they become costly problems

Mods also make room for something interesting: sidecar agents.

These are extra AI agents that work alongside your main Claude Code session.

One example is the cc-plugin-you-should-know concept. It’s designed to watch your coding session and point out things you might miss.

A sidecar agent could:

  • Spot subtle bugs while Claude writes code.
  • Catch missing edge cases before they become problems.
  • Flag security risks in your implementation.
  • Suggest improvements without interrupting your main task.

This helps us catch issues earlier and spend less time fixing bugs later.

Claude Code Mods give us more freedom to shape our coding environment.

We can prevent risky actions and automate repetitive tasks. We can also build custom interfaces and update features without restarting Claude Code.

One thing to keep in mind is security. Mods aren’t sandboxed so they can use the same files and system resources as Claude Code. Only install mods you trust.

The biggest benefit is that we can now shape Claude Code around how we work instead of changing how we work to fit Claude Code.

How Mods are upgrading Claude Code in every way Read More »

How Claude Code’s New Code Mode feature saves you massively in tokens

Anthropic just released another amazing Claude Code feature.

The new Code Mode feature upgrades the token efficiency of your connected tools and makes Claude Code work much faster on any task involving tools or MCP servers or external files.

Before now when Claude calls a tool it would wait for the tool to give a response before deciding what to do with the data.

And this ended up wasting so much time — especially when a lot of tools were involved. Waiting for Tool A, then thinking, then waiting for Tool B, then thinking…

But now with Code Mode Claude can call every single one of those tools immediately using JavaScript code — it no longer needs to wait for any one of them to complete.

All your tasks complete so much faster no matter how many tools are involved.

And now with Code Mode, Claude can write powerful, reusable scripts on the fly to locally process the output of those tools to extract only the relevant information that the agent really needs.

You cut down massively on token costs, eliminate all the delays and make much faster progress on your development goals.

Huge token savings from context & noise reduction

One big problem with AI coding agents is how much unnecessary information they send to the model.

Say you ask Claude to run your project’s test suite and find out why some tests are failing.

Normally, the test runner tool might produce thousands of lines of logs and stack traces even though you only need to know which tests failed and why.

With Code Mode, Claude can use JavaScript loops, regex, and methods like Array.filter() to process those results locally.

It can extract the failed test names, error messages, and relevant stack traces before sending a small JSON summary back to the model.

So instead of filling your context window with raw search results, Claude only sees what matters. This ends up saving tokens and reducing costs.

Code Mode also cuts down on back-and-forth tool calls. It can chain dependent operations in one script and run independent tasks at the same time using Promise.all().

This means we can get through large code searches and multi-step tasks with less waiting.

Native harness and MCP access: Keep MCP servers & tools as cost-efficient as possible

Its JavaScript runtime runs inside Claude Code’s harness. This lets Claude call built-in tools like Read, Edit, and Bash as well as tools from connected Model Context Protocol (MCP) servers.

Say you have one MCP server for meeting notes and another for creating project tickets.

Claude can write JavaScript that pulls the meeting notes, extracts action items, and sends them straight to the ticketing tool.

It doesn’t need to pass the full transcript through the model’s context window.

This saves tokens and reduces the risk of mistakes that can happen when an LLM keeps copying or summarizing data.

For us, this makes it easier to automate workflows across different tools without manually moving information between them.

Background jobs: Keep working while Claude runs, builds, and tests

Some coding tasks take a long time. Think about running large test suites or building an app across dozens of configurations.

Code Mode lets Claude run JavaScript jobs in the background while you keep chatting with it.

In supported auto or bypass-permissions modes, these jobs can run for roughly two hours.

Say you need to run 100 builds and collect all the failures. Claude can handle the batch in the background while you ask questions or work on something else.

You no longer have to sit around waiting for every long-running task to finish before continuing your conversation.

Cleaner UI and full script inspection: Less clutter without losing control

Code Mode can generate long JavaScript scripts to manage multiple tools. Showing all that code in your terminal would make conversations hard to follow.

So Claude Code hides the generated JavaScript in the main chat view.

You still see what Claude is doing without scrolling through hundreds of lines of orchestration code.

But you can inspect the scripts whenever you want.

Just press Ctrl+O to open the transcript viewer. From there, you can expand each collapsed Code entry and see the exact JavaScript Claude wrote and ran.

This gives us a cleaner terminal while making it easy to debug problems and check what the agent actually executed.

Security controls: More control over what Claude can run

Code Mode also changes how Claude Code checks tool execution for safety.

In auto mode, the safety classifier checks the entire JavaScript block once before running it instead of separately classifying every tool call inside the script.

Existing permissions and hooks still matter. But if your pre-tool-use hooks only check raw Bash commands, they may miss commands that Claude runs through JavaScript.

You may need to update your hooks to match the Code Mode REPL tool and inspect tool_input.code.

Anthropic also added protection against repositories turning on Code Mode without your knowledge.

A project’s local .claude/settings.json cannot enable it. You must turn it on yourself through an environment variable:

JavaScript
CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 claude

You can also enable it in your personal user settings.

This means cloning someone else’s repository won’t silently turn on Code Mode.

Code Mode shows us that making AI coding agents better isn’t just about giving them bigger context windows — it’s also about helping them get more work done without filling those windows with unnecessary information.

How Claude Code’s New Code Mode feature saves you massively in tokens Read More »

How this MCP Server from Google levels up all your apps & websites

This is one of the most powerful MCP servers for app and SaaS developers and anyone with a goal-focused website.

The official Google Analytics MCP server lets Claude Code deeply analyze how people use your app and give you invaluable insights to make your app far more engaging and useful for them.

It can even make intelligent recommendations that you would likely have never thought of on your own.

You no longer need to spend hours manually surfing through massive tables just to try to make sense of how your app/service is performing.

You get clean, easy-to-understand breakdowns that tell you everything you need to know.

Discover hidden ways to improve your app with MCP-powered analytics reports

AI coding agents can improve your app’s design. But how do they know which parts need the most work?

With this MCP Server’s Analytics Reports tool, your agent can look at the massive amount of real user data and find out easily.

You could simply ask:

“Check how people have used our app over the last 30 days. Find features with low engagement. Then inspect their code and suggest ways to make them easier to use”.

Your agent can find pages that aren’t performing well and look at their code to suggest changes.

This means you can use real user behavior to guide your AI agent instead of just guessing what needs improvement.

Check if your changes actually move the needle with MCP reporting and annotations

You’ve just shipped a new signup page. Everything works and your tests pass.

But did the new page actually help more people sign up?

Google Analytics MCP has a Reporting and Annotations tool that lets your agent check past analytics data and read annotations that add context to important changes.

You could ask:

“We shipped a new signup page last Tuesday. Check if more people signed up after the update.”

Your agent can compare signup numbers before and after the update. It can also look at your Git history to see what changed.

Of course, better numbers don’t always mean your update caused them. But this gives you a good way to see whether your changes might be helping.

Find and fix conversion drop-offs with MCP funnel analysis

Let’s say you’re building a SaaS app with this onboarding flow:

  1. Create an account.
  2. Open the onboarding page.
  3. Connect an integration.
  4. Complete setup.

What if lots of users create accounts but leave when they reach the integration step?

Google Analytics MCP has a funnel reporting tool that lets your agent find where users drop off.

You could ask:

“Find where most users leave our onboarding flow. Check the code for that step and suggest fixes.”

Your agent can find the problem area and inspect the code. Maybe there are too many steps or the error messages aren’t clear.

The analytics data shows your agent where users struggle. Your codebase helps it find possible reasons why.

Your agent can then suggest fixes and help you check whether they work.

Verify new features with MCP realtime reporting

AI coding agents can run tests to check whether code works. But what if you also want to know whether your app tracks user actions correctly?

Google Analytics MCP lets your agent check realtime analytics data.

Let’s say you just built an AI document summarizer that tracks these events:

  • summarizer_opened
  • summarization_started
  • summarization_completed

After shipping the feature, you ask your agent to check if all three events are showing up.

It finds that users are opening the summarizer and starting summaries. But the completion event isn’t showing up.

Your agent checks the code and finds that you forgot to send the completion event after a successful API response.

It fixes the code and helps you check again.

So you get a useful workflow:

Write code → Ship → Check realtime data → Fix issues → Check again.

Realtime reports can have delays, so you’ll still need tests. But this gives your agent another way to check its work.

Understand your analytics setup with MCP metadata discovery

AI agents sometimes write the wrong analytics queries because they don’t know how you’ve set up tracking in your app.

Google Analytics MCP lets your agent look up your custom dimensions and metrics instead of guessing.

You could ask:

“Find the custom dimensions we use to track our AI features. Then create a report showing how people use those features.”

Your agent can check the actual analytics setup and use the right fields.

It can also compare your analytics settings with the tracking code in your app to spot things that don’t match.

This helps you avoid mistakes and makes it easier to build reports with AI.

Google’s official Analytics MCP Server gives us a way to build AI coding agents that don’t just write code but also help us improve our apps using real user data.

How this MCP Server from Google levels up all your apps & websites Read More »

Catch and auto-fix all hidden bugs with this Claude Code command

This is one of the most powerful Claude Code features right now.

The /code-review command elevates your workflow and catches all the bugs in your code long before they reach production.

It can intelligently group the potential issues based on severity and even fix them automatically. It can even distinguish between bugs from your recent changes and pre-existing bugs that have silently been around for a while.

You catch bugs early, save time with rapid review of small changes, and fix issues faster without having to switch between tools.

From lightning-fast checks to deep code reviews

Not every code change needs a deep review.

Claude Code gives us five effort levels:

  • Low: Quick, surface-level checks for obvious bugs with minimal false alarms.
  • Medium: Balanced, everyday checks that catch clear logic flaws fast.
  • High: Deeper analysis that proactively probes for edge cases and hidden bugs.
  • XHigh: Heavy reasoning checks that catch complex multi-file and concurrency bugs.
  • Max: Exhaustive reviews that rigorously test every edge case and security risk.

Say I just fixed a button. I can run:

Plain text
/code-review low

But if I’ve changed how users log in I might want a deeper check:

Plain text
/code-review high

Here I review some demo code using the medium effort. Review started:

Review ready — all the finding for each file are comprehensively laid out:

All this lets you us less time reviewing small changes and more time checking important ones.

Ultra: Unleash a team of AI agents on your codebase

For very big changes like major features, we can use Ultra mode:

Plain text
/code-review ultra

Ultra (previously /ultrareview) uses multiple AI agents that work at the same time in a cloud sandbox.

Each agent checks different things:

  • Logic bugs: Does the code work as expected?
  • Edge cases: What happens with unusual inputs?
  • System impact: Could the changes break other features?
  • Performance: Could the changes slow things down?

For example if I’m changing how my app handles payments. One agent might check balance calculations while another looks for problems when two payments happen at once.

Ultra also checks its own findings. It tries to verify bugs before reporting them and filters out findings that don’t hold up.

This helps us spend less time chasing false alarms.

Fix bugs and add PR Comments effortlessly

Claude Code gives us two useful flags.

–fix: Apply fixes automatically

Plain text
/code-review high --fix

Say Claude finds that your code crashes when an API returns null. It can update the code to handle that case.

You can then run git diff to check the changes.

–comment: Add comments to pull requests

Plain text
/code-review high --comment

Claude can post findings directly to GitHub pull requests or GitLab merge requests.

It points to the code that needs attention so your team knows what to fix.

This means you can find bugs and share feedback without jumping between tools.

Make reviews follow all your project rules with CLAUDE.md

Every project has its own rules.

Maybe your team doesn’t want database queries inside controllers. Or maybe you prefer returning errors instead of throwing exceptions.

You can add these rules to your CLAUDE.md file:

Plain text
# Review Guidelines - Focus on bugs and security issues. - Ignore generated files. - Keep database queries out of controllers. - Prefer returning errors over exceptions.

Claude uses these instructions when reviewing your code.

So if you accidentally add a database query inside a controller Claude can point it out.

You don’t need to repeat your rules every time.

Cut through the noise and focus on what actually matters

Nobody wants a code review full of unnecessary warnings.

Claude Code groups findings into three categories:

  • Important: Bugs you should fix before merging.
  • Nits: Small issues that aren’t urgent.
  • Pre-existing: Bugs that were already there.

Say you add a payment function that accepts negative amounts. Claude might mark that as Important because it could lead to incorrect balances.

If it finds an unrelated bug in old code it can mark it as Pre-existing.

Claude also explains why it flagged an issue and how it checked the problem.

This helps you know what to fix first.

Final thoughts

Claude Code’s /code-review gives us more than a simple bug checker.

We can choose how deep reviews should go and use multiple AI agents for complex changes. We can also apply fixes and share findings with our team.

It won’t catch every bug. We still need to test our code.

But as we use AI to write more code it makes sense to use AI to help us review it too.

Catch and auto-fix all hidden bugs with this Claude Code command Read More »

How the Systematic Debugging Skill eliminates every bug from your code

Systematic Debugging is a powerful skill that massively elevates Claude Code’s debugging capabilities.

It dramatically reduces the time agents spend during debugging by targeting the specific behaviors they tend to exhibit that slow them down and affect their ability and speed in finding and fixing crucial bugs.

This also saves you token costs as your agents become a lot more efficient at debugging.

Stop wasting time on random fixes with anti-thrashing rules

You’ve probably seen an AI coding agent try one fix after another until it has changed several files without solving anything.

This is called LLM thrashing. The agent keeps making changes without knowing what’s actually wrong.

Systematic Debugging stops this with its Iron Law:

NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST.

It also calls out excuses agents might use to avoid proper investigation, like assuming a bug is too simple to investigate or thinking a quick fix will save time.

The skill even tells agents to say “I don’t understand X” instead of pretending to know.

For us developers this means fewer pointless code changes and less time reviewing bad patches. It also reduces the risk of creating new bugs while trying to fix the wrong thing.

Avoid endless debugging loops with the three-strike rule

Sometimes an AI agent keeps patching code because every failed fix looks like another small problem to solve.

Systematic Debugging stops this completely.

If three fixes fail the agent must stop making changes and discuss the system’s architecture with you.

Repeated failures might mean several components share state in ways they shouldn’t. They could also mean the system’s design is causing the problem.

Instead of attempting Fix #4 the agent must question its assumptions and look at the bigger picture.

This saves us from spending hours watching an agent make the same mistake in different ways. It also helps us spot deeper design problems before the agent makes the codebase harder to maintain.

Get more reliable fixes with a four-phase debugging process

The skill gives agents four steps they must follow in order.

Phase 1: Find the root cause

The agent reads the full stack trace and reproduces the bug. It also checks git diff and recent commits before following the data through the code.

This helps us avoid fixes based on incomplete error messages or guesses.

Phase 2: Compare working and broken code

The agent finds similar code that already works. It reads the code fully and lists the differences.

This helps it find missing steps or wrong settings without inventing a new solution.

Phase 3: Test one idea at a time

The agent must clearly state its theory:

“I think X is the root cause because Y.”

Then it tests that idea with the smallest possible change.

If the test fails it goes back to investigating instead of adding more random fixes. This makes it easier for us to know which change actually solved the problem.

Phase 4: Fix and verify

Once the agent finds the cause it makes one focused fix.

The skill uses test-driven-development to create a failing regression test first. It then uses verification-before-completion to prove the fix works.

It also stops the agent from adding unrelated refactoring.

For us this means smaller pull requests and easier code reviews. We can also have more confidence that a fix won’t break something else.

Find the exact source of bugs with boundary logging

Some bugs pass through several parts of a system before they show up.

Take this flow:

API → Service → Database

Imagine the database throws an error because a required field is missing.

The database might not be the problem. The service could have removed the field while processing the request.

The skill tells the agent to add temporary diagnostic logs at each component boundary. These logs help it check inputs and outputs along with relevant environment settings.

It then runs the failing operation to find exactly where the data goes wrong.

The same approach works for pipelines like CI → Build → Signing. The agent should also hide secrets and sensitive information in its logs.

This saves us from debugging the wrong component. Instead of spending hours changing database queries or build settings we can focus on the exact point where the problem starts.

Solve tricky bugs faster with built-in debugging tools

The skill also includes smaller guides and scripts for problems that need more specific debugging methods.

  • root-cause-tracing.md: Helps trace bugs backward through function calls. This lets us fix the original cause instead of repeatedly patching where the error appears.
  • defense-in-depth.md: Shows how to add checks at different layers after fixing a bug. This helps us catch similar problems earlier.
  • condition-based-waiting.md: Helps fix flaky tests by replacing random sleep() delays with checks for actual conditions. This makes our tests more reliable in CI and includes a TypeScript example.
  • find-polluter.sh: Helps find tests that leak shared state or side effects. This saves us from manually running tests in different combinations to find the one causing failures.

Instead of figuring out every debugging method from scratch we can use these guides to tackle specific problems more directly.

Superpowers systematic-debugging helps us spend less time dealing with random AI-generated patches and more time fixing the actual cause of bugs.

By making agents investigate and test their assumptions before verifying their fixes it gives us a more reliable way to debug code with AI.

How the Systematic Debugging Skill eliminates every bug from your code Read More »

This Claude plugin gives you infinite context and 80% token savings

This game-changing Claude Code plugin gives infinite context capacity to all your coding agents.

With the Billion Context plugin, you can code for weeks and months without constantly losing context or needing fresh sessions.

And it’s not just about the capacity — it also uses specialized techniques to reduce the token costs that your context consumes in general — by as much as 80%.

Get started in Claude Code:

JavaScript
/plugin marketplace add ranxianglei/billion-context /plugin install billion-context@billion-context /billion-context:bili-setup

Model-driven compression helps your agent stay focused without forgetting important details

Most coding agents wait until their context window is almost full before compressing older messages.

They often end up removing subtle but crucial information and nuances your agent still needs for high-quality results.

Billion Context takes a completely different approach.

It works as a proxy between your coding agent and the LLM API. It supports Anthropic and OpenAI-compatible endpoints.

Instead of following fixed rules about when to compress, it lets the AI decide what to compress and when.

Say your agent is fixing an authentication bug. It can keep the error logs and relevant code in view while compressing older conversations about unrelated features.

This helps your agent focus on the current task without losing important context halfway through.

Reversible compression lets you bring back old details whenever you need them

Normally when an AI agent summarizes a long conversation some details disappear from its working memory.

Billion Context handles this differently. It breaks your conversation into smaller sections and compresses them separately.

It gives your agent four tools:

  • compress: Turns older messages into shorter summaries.
  • decompress: Brings back the original messages when needed.
  • search_context: Searches old summaries and recent messages.
  • acp_status: Checks how much context the agent is using.

How the Billion Context works and injects tools into your agent:

Say you designed your database two weeks ago and your agent now needs to check why you chose a particular structure.

Instead of asking you again it can search the old conversation and bring back the exact discussion.

So even after compressing thousands of messages your agent can still find details from earlier work.

Smarter prompt caching can cut your AI coding costs by roughly 5×

Long coding sessions can get expensive because your agent keeps sending old conversation history to the model.

Prompt caching helps by reusing parts of that history instead of processing everything again.

But normal context compression can break this cache when it replaces large chunks of messages with new summaries.

Billion Context tries to avoid that by using a specialized technique that compresses the cache into neatly managed structured ranges.

This technique has led to as high as 96%–99% cache hit rates with compression overhead at around 2% or less.

It also gives you as much as 5× lower token usage during long sessions.

Your actual savings will depend on your model and workload. But this could make running coding agents for hours or days much cheaper.

Month-long sessions mean you don’t have to keep restarting your coding agent

If you’ve used AI coding agents for large projects then you know how annoying it is to start a fresh session and explain everything again.

Billion Context aims to solve this by keeping the active context small while saving older conversations for later.

In its published tests the project reports:

  • 4.5 months of testing.
  • 174,327 model calls.
  • 18.76 billion cumulative input tokens.
  • Zero context-window violations with 204,800-token windows.

That doesn’t mean the model reads billions of tokens at once. It means Billion Context manages the growing history so the agent can keep working within its normal context window.

For us developers this means we could work on the same project for weeks without constantly resetting our agents or explaining the architecture again.

Protected rules and tool states stop your agent from losing critical instructions

Not everything should get compressed.

Think about your agent’s current to-do list or important architecture decisions. Losing these could mess up an ongoing task.

Billion Context gives us two ways to protect them.

protectedLatestTools keeps the latest results from tools like task trackers in the active context. Older versions can still get compressed.

acp_rule lets your agent save important instructions that stay protected from compression.

Say you tell your agent that every database migration must work with older app versions. It can save that rule and keep it available throughout the session.

This helps your agent remember important project requirements even after many rounds of compression.

Billion Context shows that we don’t always need bigger context windows to keep AI coding agents working longer. We need agents that can manage their memory better so we can spend less time restarting sessions and more time building.

This Claude plugin gives you infinite context and 80% token savings Read More »

Claude Code refactors your codebase too slowly. Fix it with this feature

This Claude Code command is incredible.

It’s somehow like the multi-agent teams feature — but much simpler and more straightforward.

The /batch command is perfect for those large-scale changes that can easily be broken down into smaller tasks — like mass refactoring and codebase migration.

It spins up multiple AI agents to work simultaneously across the codebase — giving you an immense boost in productivity.

Let’s look at the key features that make it so invaluable when working with Claude Code — from autonomous testing and pull requests to how it combines brilliantly with other Claude Code commands to build a comprehensive engineering workflow.

Multi-agent task decomposition: ship large-scale code changes faster

The foundation of /batch is its ability to break large requests into smaller, independent units of work.

When you invoke /batch, Claude Code:

  • Analyzes the repository.
  • Understands the requested objective.
  • Identifies logical boundaries within the codebase.
  • Decomposes the work into 5–30 independent work units.

Rather than editing files sequentially, Claude distributes work across multiple agents that can operate in parallel.

For example, a framework migration might be divided into:

  • Shared UI components
  • Authentication modules
  • Routing logic
  • API integrations
  • Testing infrastructure

By separating work into distinct scopes, /batch can scale far beyond the limitations of a traditional single-agent workflow.

The /batch and /simplify power combo

One of the more interesting aspects of /batch is how it complements Claude Code’s /simplify command.

While /simplify focuses on reducing complexity and unnecessary abstractions, /batch can coordinate improvements across an entire codebase.

The combination gives us several advantages:

  • Identifies overly complex patterns at scale.
  • Reduces unnecessary abstractions and indirection.
  • Improves code readability and maintainability.
  • Creates greater consistency across modules.
  • Eliminates repetitive manual refactoring work.

Instead of simplifying files one by one, you can use /batch to coordinate the effort across dozens of components simultaneously. This makes large-scale codebase cleanup and standardization significantly faster and more manageable.

Git worktree isolation: parallelize without conflicts

A key feature of /batch is its use of Git worktrees.

Every subagent receives its own isolated worktree instead of sharing a single working directory.

This enables:

  • Concurrent development
  • Independent validation
  • Isolated dependency management
  • Reduced merge conflicts

Because each worker operates in its own environment, changes made by one agent do not interfere with another.

A component migration can run in one worktree while another agent updates tests or refactors utilities elsewhere in the repository.

This isolation is what makes large-scale parallel execution practical and reliable.

Autonomous testing and pull requests

/batch is more than a code-editing tool.

Each subagent behaves like an autonomous developer responsible for its assigned scope.

Subagents can:

  • Implement code changes
  • Run test suites
  • Detect failures
  • Fix localized issues
  • Validate completed work
  • Create commits or pull requests

Instead of producing one massive repository-wide change, /batch generates smaller, self-contained outputs that are easier to review and merge.

The result is less manual coordination and a cleaner development workflow.

Plan-first execution

Before making any changes, /batch generates a structured execution plan.

The plan outlines:

  • How the task was divided
  • Which files or directories belong to each work unit
  • The responsibilities assigned to each subagent
  • The proposed transformation for each area of the codebase

Developers review and approve the plan before execution begins.

This approval stage:

  • Provides visibility into the process
  • Prevents unexpected repository-wide changes
  • Keeps humans in control of major modifications

Rather than blindly applying edits, /batch follows a plan-first approach designed for large-scale engineering work.

Final thoughts

Claude Code’s /batch command represents the broader shift from single-agent coding assistance to coordinated multi-agent software engineering.

With key features like:

  • Intelligent task decomposition
  • Parallel AI execution
  • Git worktree isolation
  • Autonomous testing
  • Pull request generation
  • Human approval checkpoints

It enables repository-wide transformations at a scale that would traditionally require significant manual effort.

Software is no longer being built by a single AI agent, but now by a coordinated system of specialized agents working together toward a common objective.

Claude Code refactors your codebase too slowly. Fix it with this feature Read More »

How Claude’s /design command makes web design so much easier

Claude Code now has a command that makes it so much easier to build beautiful and breathtaking apps.

The new /design command brings all the most powerful features of Claude Design directly into Claude Code –to make designing an app as effortless as possible.

It’s perfect for whenever you want to add a new visualizable feature like a new screen.

The /design command in action in Claude Desktop — works in Claude Code too:

Before you’d just ask Claude to build the feature and then it gives the result — which you may or may not be satisfied with.

But now things have gotten a lot more sophisticated.

Now with the /design command Claude can generate and show you several visual directions in which it can take to implement what you’re asking:

The /design command makes multiple design suggestions:

You can inspect and refine them — then turn the direction you choose into frontend code.

The most interesting part of /design is that it doesn’t have to commit to a single interpretation of your prompt.

Claude can generate several distinct visual directions on one canvas. One dashboard might be dark, dense, and technical. Another might be minimalist and editorial. A third one might emphasize large charts and simplified navigation.

The artboards can also be interactive rather than static mockups.

Forms, calculators, charts, and other UI elements can demonstrate the behavior for you — giving you a chance to test the micro-interactions before you commit to an implementation.

You can also make lightweight edits directly on the canvas like adjusting text, spacing, layout, or individual elements. That makes the design itself part of the conversation with Claude.

Adjusting the generating design with auto-generated tweaks:

Another amazing ability it has is how it resolves all the unclear requirements before it starts generating — it doesn’t just make irritating assumptions.

A vague request like “make me a modern SaaS dashboard” leaves dozens of decisions unspecified: typography, density, brand feel, navigation style, and overall visual direction.

Instead of silently falling back to familiar AI design clichés the design workflow can ask targeted questions about themes, layout preferences, branding, and constraints first.

And the best part is how it can you use your existing codebase and all the visual components in as context.

Claude can inspect your project and figure out all the styling conventions, CSS variables, Tailwind configuration, design tokens, typography, and reusable UI components.

So instead of generating a mockup that looks completely detached from the current application, /design can now work directly with your existing design language.

There’s no more need to export a screenshot, manually rewrite a design specification, or describe the chosen layout all over again.

That means the all type scale, spacing, component choices, and styling you select can flow directly into your frontend code.

It makes experimentation so much easier — and drastically expands the limits of your creativity.

Making it incredibly useful as a solo developer where you have to be a product manager, designer, and engineer at the same time.

How Claude’s /design command makes web design so much easier Read More »

How the /simplify command improves code quality & prevents bugs

This Claude Code command will save you from many painful bugs.

Yes we already know how good Claude Code is at making code work…

But what happens after several prompts, fixes, and changes of direction?

Your working code quietly accumulates duplicated logic, unnecessary abstractions, inefficient operations, and remnants of abandoned approaches.

And this is why the /simplify Claude Code command is so important.

With /simplify, Claude will rapidly review your recent changes, finds opportunities to make them simpler and more efficient, and applies the improvements automatically.

The code becomes easier for both you and your agent to understand — which dramatically reduces the odds of a buggy change being made in the future.

Parallel agents attack your code from different angles

This is one thing that really sets it apart — from just asking Claude to simplify your code.

When you trigger /simplify, Claude doesn’t just run a one-shot cleanup prompt.

It spawns multiple parallel review agents on the fly — at least three — each examining recently modified code from a different angle:

  • Code reuse and duplication: Finds duplicated logic, redundant abstractions, and opportunities to reuse existing code.
  • Quality and readability: Looks for unnecessary complexity, deeply nested conditionals, convoluted expressions, poor naming, and code that could be clearer.
  • Efficiency and footprint: Searches for unnecessary work, dead code, redundant helpers, and potential memory or performance improvements.

Claude combines their findings and applies the resulting improvements.

You’re essentially getting specialized code-review team dedicated entirely to cleaning up what was just built.

Specifically designed to fight AI-generated code bloat

AI agents can produce messy code even when the final result works perfectly.

Claude creates an implementation. You change a requirement. Claude modifies it. A test fails. Claude patches it. Another edge case appears. Claude patches that too.

Eventually, layers of individually reasonable changes can stop forming the simplest overall solution.

That’s why /simplify is distinct from a traditional bug-focused review. Its focus is cleanup: reuse, simplification, efficiency, and overall implementation quality.

The question isn’t necessarily:

“Does this code work?”

It’s:

“Now that it works, is this still the code we actually want?”

It looks for code Claude should have reused

One of /simplify’s explicit review dimensions is reuse.

That’s especially important as codebases grow.

An AI agent can generate a perfectly reasonable solution — without realizing that somewhere else in the repository there’s already a helper, utility, abstraction, or established pattern that solves essentially the same problem.

The new code isn’t necessarily bad.

It’s simply unnecessary.

And unnecessary code means more maintenance, more opportunities for implementations to diverge, and more context future AI agents have to understand.

/simplify gives Claude another chance to understand the broader repository and consolidate code instead of continuously adding more.

It doesn’t just review your code

This is an important difference between /simplify and conventional AI code review.

It doesn’t simply produce a report.

After reviewing the changed code, Claude applies the fixes it discovers.

That makes /simplify closer to an automated refactoring stage than a traditional reviewer.

Anthropic even separates these responsibilities into three separate commands:

/diff

/simplify

/review

/diff shows what changed.

/simplify improves the implementation.

/review performs deeper read-only analysis.

Instead of leaving developers with another list of suggestions to manually implement, Claude can clean up its own work before the final review.

It follows your project’s rules — not just generic “clean code”

/simplify isn’t limited to Claude’s general idea of what good code should look like.

Its review can also account for your CLAUDE.md, Claude Code’s persistent project instruction file.

That file can define architectural rules, coding conventions, preferred libraries, constraints, and other repository-specific instructions.

So simplification can remain grounded in how your particular codebase is supposed to work.

A refactoring might look cleaner in isolation while violating an architectural rule you’ve established for the project.

/simplify can account for both.

So the question becomes more than:

“Can I make this code cleaner?”

It’s also:

“Can I make it cleaner while keeping it consistent with the rest of this project?”

As AI agents write increasingly large portions of software, generating more code isn’t necessarily the difficult part anymore.

Keeping all that generated code coherent might be.

How the /simplify command improves code quality & prevents bugs Read More »

How the Wait What Skill elevates your developer productivity

The Wait What Claude skill from Matt Pocock helps make responses from your coding agent as easy to understand as possible.

Sometimes an AI gives you an answer that sounds technical but leaves you wondering what it actually means.

Instead of spending time browsing code or writing follow-up prompts to get a clearer explanation, you can simply type /wait-what.

And this skill doesn’t just paraphrase — it uses specialized techniques to make sure that the re-explanation is as clear and intuitive as possible for you.

A practical example

Say you’re building an app that handles payments and your AI assistant suggests changing how payments work.

Before /wait-what:

Plain text
We should decouple the synchronous payment orchestration path using an event-driven architecture with idempotent consumers and an outbox pattern to guarantee eventual consistency across services.

You might understand some of those words. But what exactly is the AI suggesting? And why?

But after you use the /wait-what skill:

Plain text
Right now your app tries to complete several payment tasks while the customer waits. If one task fails it can interrupt the whole process. We can fix this by saving the payment first and handling the other tasks separately. We'll also add checks to stop duplicate charges and make sure we don't lose tasks if the app crashes.

Do you see the difference? The AI didn’t just shorten or rephrase its answer — it went back and explained the problem. It also showed you why its solution makes sense.

Here’s how the skill makes that happen.

It brings back all the missing context

Most prompts that try to make AI less wordy simply say “be brief” or “summarize.” But shorter answers aren’t always easier to understand. Sometimes the AI removes the details you actually need.

/wait-what works differently.

The word “Wait” tells the AI that you’ve lost track of its explanation. It’s like saying “Hold on. I don’t understand how you got here.”

So instead of cutting words the AI goes back and explains things from where you got lost.

This matters because AI assistants often read several files and check dependencies before making decisions. We don’t always see every step.

With /wait-what you get the missing details and understand why the AI made a decision rather than just what it did. You can even use it twice if you still need more context.

It uses ASD-STE100 Simplified Technical English

Instead of telling the AI to “talk normally” or “explain like I’m five” the skill asks it to use ASD-STE100 Simplified Technical English.

It’s a writing standard used in aerospace and engineering to make technical instructions clear and easy to follow.

Like instead of saying:

Plain text
The asynchronous execution mechanism facilitates downstream dependency decoupling.

The AI might say:

Plain text
The app runs these tasks separately so one service doesn't have to wait for another.

You still get the technical meaning without all the extra jargon. And you don’t have to ask the AI to explain things like you’re a child.

It uses your project’s language

AI assistants sometimes make up fancy names for things that already have simple names in your codebase.

Your team might call something PaymentProcessor but the AI starts calling it the “transaction orchestration layer.”

Now you’re trying to figure out whether it’s talking about the same thing.

/wait-what helps by checking files like CONTEXT.md or GLOSSARY.md. In monorepos it can follow CONTEXT-MAP.md or GLOSSARY-MAP.md to find the right terms.

This helps the AI use the same names and concepts you already use in your project. So you can connect its explanation to your actual code instead of guessing what it means.

It’s only three lines long

This might be the most surprising part.

The entire skill prompt is just three lines long.

Compare that to some AI prompts with hundreds of lines telling the model how to behave and what to avoid. They even spell out how to format every response.

Those long prompts can eat up your context window and sometimes make the AI overthink a simple task.

/wait-what keeps things simple. It gives the AI one job: explain what it just said in a way you can follow.

You don’t need a complicated workflow or a huge instruction file. Just type the command and continue working.

Final thoughts

Matt Pocock’s /wait-what skill does one thing really well: it helps you understand your AI assistant without having to write another detailed prompt.

It brings back missing context and uses clear language that fits your project.

As we let AI handle more of our coding work we still need to understand what it’s doing and why.

And sometimes all we need to say is “Wait, what?”

How the Wait What Skill elevates your developer productivity Read More »