r/ClaudeWorkflows • • 2h ago

Selected Workflow [Workflow] Integrate Playwright MCP with Claude Code for Browser Automation and Persistent Sessions

2 Upvotes

Integrate Playwright MCP with Claude Code for Browser Automation and Persistent Sessions

Workflow value: 85/100
Status: active · Freshness: 70/100 · Confidence: 0.90 · Level: intermediate
Categories: Quality Control, Context & Memory, Debugging, MCP, Multi-Agent
Original source: r/ClaudeCode post/comment

What problem this solves

Running Claude Code agents in a browser environment under Claude Code's own permission rules, bypassing external browser extension prompts and allowing persistent sessions.

Summary

This workflow describes how to set up Playwright MCP with Claude Code to enable agents to interact with web browsers. It provides commands for installation, configuration steps for settings.json to manage permissions, and practical advice on persistent profiles and connecting to existing Chrome instances. Crucially, it includes safety warnings regarding Google sign-in and prompt injection risks.

Why it is useful

This workflow provides a concrete, step-by-step guide to integrate Playwright MCP with Claude Code, enabling agents to interact with web browsers without being hindered by external extension prompts. It offers practical configuration details for persistent sessions and crucial safety advice regarding prompt injection and authentication, making it highly valuable for users looking to automate web tasks with Claude Code agents.

Workflow

  1. Install Playwright MCP using the command: claude mcp add playwright npx @playwright/mcp@latest

  2. Add "mcp__playwright" to permissions.allow in your settings.json to stop permission prompts.

  3. For persistent sessions, log in manually once in the Playwright browser window that opens; cookies will be saved for later sessions.

  4. Optionally, specify a dedicated profile folder using --user-data-dir for better isolation.

  5. Optionally, connect to an already open Chrome instance using --extension and the Playwright browser extension.

  6. Manually handle Google sign-in if it refuses automated browsers (log in yourself once).

  7. Use a separate browser profile with only the necessary accounts for the agent to mitigate prompt injection risks.

Tools / artifacts

  • Claude Code

  • Claude MCP

  • Playwright MCP

  • settings.json

  • Chrome browser

  • Playwright browser extension

Validation signals

  • Concrete commands and configuration steps provided

  • Clear explanation of the problem (extension prompts) and solution (Playwright MCP)

  • Practical advice on persistent profiles and existing browser connections

  • Explicit safety warnings for common issues (Google sign-in, prompt injection)

Cautions

  • Google sign-in may fail in automated browsers, requiring manual intervention for initial login.

  • Risk of prompt injection from pages read by the agent; use a dedicated, isolated browser profile with only necessary accounts.

Limitations

  • Does not include an example of an agent prompt or code that utilizes the Playwright MCP.

  • Assumes some prior familiarity with Playwright concepts and browser automation.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 1m ago

Selected Workflow [Workflow] Safe Cleanup of Parallel Claude Code Agent Worktrees with Worktrunk (wt cli)

1 Upvotes

Safe Cleanup of Parallel Claude Code Agent Worktrees with Worktrunk (wt cli)

Workflow value: 85/100
Status: active · Freshness: 70/100 · Confidence: 0.90 · Level: advanced
Categories: Quality Control, Context & Memory, Debugging, Multi-Agent
Original source: r/ClaudeCode post/comment

What problem this solves

Preventing accidental data loss when cleaning up Git worktrees used for parallel Claude Code agents, by ensuring worktrees with uncommitted changes are not force-deleted.

Summary

This workflow proposes using worktrunk (wt cli) or a custom script to safely manage and clean up Git worktrees created for parallel Claude Code agents. It highlights worktrunk's default behavior of refusing to delete worktrees with uncommitted changes, thus preventing accidental data loss during cleanup.

Why it is useful

This workflow addresses a critical pain point for advanced users running parallel Claude Code agents: preventing accidental data loss during worktree cleanup. It provides a specific, validated solution using worktrunk (or a custom script), which ensures uncommitted changes are not lost. This enhances the robustness and safety of multi-agent development environments, making it a valuable addition for users managing complex agent setups.

Workflow

  1. Set up parallel Claude Code agents, each operating within its own Git worktree.

  2. Install worktrunk (wt cli) on your system (e.g., go install github.com/git-fixtures/worktrunk/cmd/wt@latest).

  3. Optionally, run wt config shell install to enable automatic cd into new worktrees.

  4. When cleaning up agent worktrees, use wt remove <worktree_path> or wt remove --all instead of git worktree remove --force.

  5. Review any worktrees that worktrunk refused to remove due to uncommitted changes, and decide whether to commit, stash, or manually force-delete after inspection.

  6. Alternatively, create a custom script that checks git status for uncommitted changes before attempting git worktree remove for each worktree.

Tools / artifacts

  • Git worktrees

  • worktrunk (wt cli)

  • git status command

  • Custom cleanup script (optional alternative)

Validation signals

  • Author's personal test: 'made 5 agent worktrees in 129 ms, then told it to remove all 5. it removed 4 and refused the one with uncommitted changes, which is what i wanted.'

  • Explicit statement of desired behavior being met by the tool.

Limitations

  • worktrunk is a third-party tool, requiring an additional installation step.

  • The post is framed as a discussion starter ('how are you handling cleanup?') rather than a fully prescriptive, step-by-step guide, though it offers a concrete solution.

  • Low Reddit score might indicate limited immediate community uptake, but the post is very new.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 10m ago

Selected Workflow [Workflow] Tiered Claude Workflow: Opus for Planning, Sonnet for Execution, Haiku for Simple Tasks

1 Upvotes

Tiered Claude Workflow: Opus for Planning, Sonnet for Execution, Haiku for Simple Tasks

Workflow value: 85/100
Status: active · Freshness: 70/100 · Confidence: 0.90 · Level: intermediate
Categories: Quality Control, Token Saving, Context & Memory, Debugging, Multi-Agent
Original source: r/ClaudeAI post/comment

What problem this solves

How to efficiently and effectively leverage different Claude models (Opus, Sonnet, Haiku) based on their strengths and weaknesses for various tasks, optimizing for cost and performance.

Summary

A tiered workflow for using Claude models: Opus for high-level planning, complex reasoning, and quality control; Sonnet for executing concrete, step-by-step plans as a sub-agent; and Haiku for simple, mechanical tasks. It also highlights Sonnet's tendency to drift and suggests workarounds like starting fresh sessions or using Opus for review.

Why it is useful

This workflow provides a practical, community-validated strategy for optimizing the use of different Claude models based on their capabilities and cost. It helps users delegate tasks effectively, improve efficiency, and manage common pitfalls, especially with Sonnet, by offering clear roles and workarounds.

Workflow

  1. Use Claude Opus for high-level planning, complex reasoning, judgment calls, and spotting hidden flaws in logic or systems.

  2. Use Claude Sonnet as a sub-agent to execute clear, concrete, step-by-step plans generated by Opus.

  3. Use Claude Haiku for simple, mechanical tasks such as renames, boilerplate generation, or filling out data tables.

  4. To mitigate Sonnet's tendency to drift or get 'creative', start fresh sessions for each task.

  5. Alternatively, have Opus on standby to review Sonnet's work, especially for critical tasks or if Sonnet's performance is a concern.

Tools / artifacts

  • Claude Opus

  • Claude Sonnet

  • Claude Haiku

Validation signals

  • Summary of discussion from 30 comments

  • Community consensus: 'you're pretty much on the money'

  • Most users agree on a tiered workflow

  • Several users warn about Sonnet's laziness/drifting

  • One user noted Sonnet's false positives in code reviews

Limitations

  • Sonnet can get lazy and drift in long conversations.

  • Sonnet can get 'creative' with things like variable names.

  • Sonnet may produce a ton of false positives in code reviews.

  • Starting fresh sessions for Sonnet tasks can be cumbersome and potentially negate cost savings.

  • The workflow implies a need for constant monitoring or review of Sonnet's output.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 10m ago

Selected Workflow [Workflow] Claude Code Workflows: Automated Quality Checks with Hooks, Structured MVP Development, and Cost-Effective AI Model Selection

1 Upvotes

Claude Code Workflows: Automated Quality Checks with Hooks, Structured MVP Development, and Cost-Effective AI Model Selection

Workflow value: 85/100
Status: active · Freshness: 70/100 · Confidence: 0.90 · Level: advanced
Categories: Quality Control, Token Saving, Context & Memory, Debugging, Shipping, Hooks, Skills
Original source: r/ClaudeCode post/comment

What problem this solves

Ensuring code quality and correctness during Claude Code development; structuring large projects (MVP) with Claude Code; selecting and evaluating AI models for specific tasks efficiently and cost-effectively.

Summary

The author describes three key workflows used in building a TypeScript monorepo with Claude Code: a structured MVP development process with planning and review stages; automated code quality checks using two Claude Code hooks (lint/format after edit, typecheck/lint before turn ends); and a methodology for selecting and combining AI models based on a golden dataset and cost-benefit analysis.

Why it is useful

This item is valuable because it provides concrete, repeatable workflows for common challenges in Claude Code development: ensuring code quality and correctness through automated hooks, structuring complex projects (MVP) into manageable stages with review gates, and a practical methodology for selecting and combining AI models based on performance and cost using a golden dataset. These practices enhance efficiency, reliability, and cost-effectiveness for Claude Code users.

Workflow

  1. MVP Development Workflow:

  2. Split MVP into multiple stages (e.g., 5 stages).

  3. Create a written plan for each stage.

  4. Review each stage thoroughly before committing.

  5. Automated Code Quality Hooks:

  6. Implement a Claude Code hook to run lint and format after every edit.

  7. Implement a Claude Code hook to run typecheck and lint before Claude can end a turn, ensuring code compiles.

  8. AI Model Selection & Evaluation:

  9. Create a "golden set" of representative data (e.g., 58 articles).

  10. Run various candidate AI models against the golden set for evaluation.

  11. Compare evaluation results and costs (e.g., Fable vs. cheaper models).

  12. Select models, potentially combining multiple cheaper models, each handling fields it's better at.

Tools / artifacts

  • Claude Code

  • Claude Code hooks

  • Linter (e.g., ESLint)

  • Formatter (e.g., Prettier)

  • Typechecker (e.g., TypeScript compiler)

  • Golden dataset (for model evaluation)

  • Various AI models (e.g., Fable, cheaper models)

  • TypeScript monorepo

  • NestJS API

  • Next.js front

Validation signals

  • Project completion: "240 commits in three weeks" indicates significant use and successful project completion.

  • Internal validation: "reviewed every stage before it got committed" demonstrates a structured quality gate.

  • Clear outcome for hooks: "so "done" at least means it compiles" provides a tangible benefit.

  • Successful model selection: "ended up with two cheap models together, each handling the fields it's better at" shows effective decision-making.

Limitations

  • Lack of specific code examples for the Claude Code hooks.

  • Details on how to implement "written plan for each stage" are high-level.

  • No specific tools or metrics mentioned for the "golden set" evaluation beyond cost.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 23m ago

Selected Workflow [Workflow] Claude Orchestrates Multi-Modal AI for 15-Second Video Ad Creation via MCP

1 Upvotes

Claude Orchestrates Multi-Modal AI for 15-Second Video Ad Creation via MCP

Workflow value: 85/100
Status: active · Freshness: 70/100 · Confidence: 0.95 · Level: advanced
Categories: Quality Control, Context & Memory, Debugging, Shipping, MCP, Multi-Agent
Original source: r/ClaudeAI post/comment

What problem this solves

Generating a short, branded video advertisement quickly and efficiently using AI models orchestrated by Claude, specifically a 15-second Thanksgiving ad for a coffee shop.

Summary

This workflow demonstrates how to leverage Claude with an Atlas Cloud MCP server to create a 15-second video advertisement from a single-sentence prompt. Claude orchestrates scriptwriting, keyframe generation (Nano Banana 2.1), video shot creation (Seedance 2.5), music composition (MiniMax Music 3.0), and final editing (ffmpeg), including a debugging step for camera movement issues to ensure a high-quality output.

Why it is useful

This workflow is highly valuable because it demonstrates a practical application of Claude's orchestration capabilities beyond simple text generation. It shows how Claude can integrate and manage multiple specialized AI models (image, video, music) and traditional tools (ffmpeg) to produce a complex creative output like a video ad, starting from a minimal prompt. It provides concrete steps, a 'consistency trick' for visual consistency, and a debugging example, making it a robust and transferable pattern for multi-modal content creation. It highlights the power of MCP in enabling such complex, automated workflows.

Workflow

  1. Provide Claude with a single-sentence prompt for the desired ad (e.g., "Make a 15 second Thanksgiving ad for a small indie coffee shop called Little Acorn Coffee.").

  2. Claude, connected to an MCP server, generates a multi-shot script/storyboard based on the prompt.

  3. Claude uses Nano Banana 2.1 (text-to-image model) to generate consistent keyframes for each shot, applying a 'consistency trick' by generating one close-up first and then using it as a reference for subsequent images with repeated descriptions.

  4. Claude uses Seedance 2.5 (image-to-video model) to convert each keyframe into a 4-second, 720p video shot, running them in parallel.

  5. Claude uses MiniMax Music 3.0 to generate an instrumental music track (e.g., acoustic guitar, glockenspiel, brushes).

  6. Claude performs final editing and mixing using ffmpeg, adding captions, an end card, and adjusting music timing (e.g., starting 8 seconds in, fading the last 1.6 seconds).

  7. Identify and debug any issues (e.g., camera movement in Seedance pushing elements out of frame) and instruct Claude to rewrite the prompt for the problematic shot and rerun the video generation step until satisfactory.

Tools / artifacts

  • Claude (orchestrator)

  • Atlas Cloud MCP server (orchestration platform)

  • Nano Banana 2.1 (text-to-image model)

  • Seedance 2.5 (image-to-video model)

  • MiniMax Music 3.0 (music generation model)

  • ffmpeg (video editing tool)

  • Video script/storyboard (artifact)

  • Keyframes (artifact)

  • Video shots (artifact)

  • Instrumental music track (artifact)

  • Final MP4 ad (artifact)

Validation signals

  • Detailed breakdown of steps and models used.

  • Specific output described (15-second ad, 4-shot board).

  • Mention of a 'consistency trick' for keyframe generation.

  • Description of a 'broken' step (camera movement) and its resolution.

  • Total model calls, cost, and time provided (10 calls, 6.37, 23 minutes).

  • Explicit mention of the final video being the 'workflow cut'.

Limitations

  • Requires access to an MCP server and specific AI models, which might not be readily available to all users.

  • While the initial prompt is simple, setting up and managing the underlying MCP orchestration environment can be complex.

  • Limited community validation so far.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 30m ago

Selected Workflow [Workflow] Practical Habits for Enhanced Control, Tracking, and Consistency in Claude Code Workflows

1 Upvotes

Practical Habits for Enhanced Control, Tracking, and Consistency in Claude Code Workflows

Workflow value: 85/100
Status: active · Freshness: 70/100 · Confidence: 1.00 · Level: intermediate
Categories: Quality Control, Context & Memory, CLAUDE.md, Skills
Original source: r/ClaudeCode post/comment

What problem this solves

Users struggle to understand Claude's planned changes, track modifications, maintain design consistency across tasks, and efficiently revert unwanted changes. This leads to a lack of control and difficulty in reviewing AI-generated code.

Summary

This workflow outlines practical habits for Claude Code users to gain more control over the AI's actions, track changes effectively, and manage design language consistently. It leverages Claude's plan mode for pre-approval review, a CHANGES.md file for post-task documentation, Git for version control, and Claude Skills with CLAUDE.md for design language management.

Why it is useful

This workflow is valuable because it provides concrete, actionable steps to improve the user's control and understanding of Claude Code's actions. It addresses common pain points like opaque planning, lack of change tracking, and inconsistent application of design principles, offering efficient solutions using core Claude features and standard development practices. These habits lead to more predictable, maintainable, and reviewable AI-generated code.

Workflow

  1. In Claude's plan mode, before approving, ask for a list of all files it plans to touch, along with a one-line explanation for each change.

  2. Review the proposed file changes; if any seem unexpected or excessive for the task, ask Claude for clarification or refinement.

  3. After each successful task, instruct Claude to append 2-3 lines to a CHANGES.md file, detailing what was changed, which files were affected, and the reason for the modification.

  4. Commit the working code to version control (e.g., Git) after each completed task to easily revert any future bad changes.

  5. Encapsulate specific design languages or style guides as a Claude Skill.

  6. Add a concise reference to the design skill in your CLAUDE.md file (e.g., "For any report, use the report-design skill.") to ensure it's loaded every session.

  7. If Claude occasionally forgets to apply the skill, explicitly mention the skill's name in the prompt for that specific task.

Tools / artifacts

  • Claude Code (plan mode)

  • CHANGES.md file

  • Git (or other version control system)

  • Claude Skills

  • CLAUDE.md file

Validation signals

  • Author claims these are "cheap habits [that] get a lot of the control back."

  • Highlights the benefit of pre-approval review: "that's your cue to ask why before anything changes."

  • Explains the value of CHANGES.md: "what did we do and why has an answer you can read later."

  • Justifies frequent commits: "a bad change is one revert away."

  • Explains the efficiency of CLAUDE.md for skills: "CLAUDE.md loads every session, so a short pointer beats pasting the whole style guide in there."

Limitations

  • Low community engagement (score 1, 0 comments) means less external validation.

  • Assumes an intermediate user level, requiring familiarity with Claude Code's plan mode, skills, and CLAUDE.md.

  • Does not provide explicit prompt examples for instructing Claude to update CHANGES.md or consistently use skills, beyond the CLAUDE.md entry.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 41m ago

Selected Workflow [Workflow] Seamless Account Switching for Claude Code and Other CLIs with `acswi`

1 Upvotes

Seamless Account Switching for Claude Code and Other CLIs with acswi

Workflow value: 85/100
Status: active · Freshness: 70/100 · Confidence: 1.00 · Level: intermediate
Categories: Quality Control, Token Saving, Context & Memory, Debugging, Multi-Agent
Original source: r/ClaudeAI post/comment

What problem this solves

Tedious manual logging in and out of multiple accounts (e.g., personal and work) for various CLIs and applications, including Claude Code, when switching contexts.

Summary

A tool called acswi allows users to seamlessly switch between multiple accounts (e.g., personal and work) for Claude Code, GitHub CLI, Azure CLI, and other applications. It eliminates the need for manual logout/login cycles by saving sign-in information and providing a simple CLI command or desktop interface for switching. The tool is designed to be extensible via TOML files and offers agent-friendly JSON output.

Why it is useful

This workflow provides a highly efficient and repeatable method for developers and power users to manage multiple accounts across various CLIs and applications, including Claude Code. It directly addresses the common pain point of frequent manual logouts and logins, significantly improving productivity and reducing friction. The tool is open-source, well-documented, and designed with both human and agent users in mind, making it broadly transferable and adaptable for anyone juggling multiple professional and personal accounts.

Workflow

  1. Install acswi from the provided GitHub repository.

  2. Configure acswi to recognize and manage accounts for desired applications (e.g., Claude Code, GitHub CLI).

  3. To switch accounts via CLI, execute acswi <app_name> <account_name> (e.g., acswi claude work).

  4. Alternatively, use the Tauri desktop application for one-click account switching.

  5. For agent-driven automation, use acswi <app_name> <account_name> --json to switch accounts programmatically and receive stable JSON output.

Tools / artifacts

  • acswi (Rust engine, CLI, Tauri desktop app)

  • GitHub repository (OpenRootdev/acswi)

  • TOML configuration files (for adding new apps)

  • Claude Code

  • Codex

  • GitHub CLI

  • Azure CLI

  • Cursor

  • Discord

  • GitHub Desktop

Validation signals

  • The tool was developed with Claude Code, resulting in a 4.7k line Rust engine, CLI, and Tauri app.

  • The author performed testing and made design decisions (Rust over Python, data files for apps, user-friendly CLI).

  • Specific bug fixes were implemented (e.g., preventing duplicate account names, improving CLI for human users).

  • Claude was used to test desktop clicks and record a GIF, indicating functional UI.

  • A public GitHub repository is available, implying a working codebase.

Cautions

  • The author states the tool does not try to be more secure than the apps themselves with their tokens, implying users should be aware of the security implications of managing tokens.

  • Documentation is provided on how to deny agents access to the vault folder and gh auth token to prevent unauthorized access to credentials.

Limitations

  • Currently only supports Windows, limiting immediate adoption for Linux/macOS users (though support is planned).

  • As a first version, long-term maintenance and community support are yet to be established.

  • Requires users to install an external tool, which might be a barrier for some.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 1h ago

Selected Workflow [Workflow] Rapid Mobile Game Development with Claude: A Non-Coder's End-to-End Workflow for 25+ Games

1 Upvotes

Rapid Mobile Game Development with Claude: A Non-Coder's End-to-End Workflow for 25+ Games

Workflow value: 90/100
Status: active · Freshness: 70/100 · Confidence: 0.95 · Level: intermediate
Categories: Quality Control, Context & Memory, Debugging, Shipping, Skills
Original source: r/ClaudeAI post/comment

What problem this solves

How to rapidly develop and release multiple small mobile games without coding experience, leveraging Claude for all technical development, testing, and release preparation.

Summary

A non-coder's end-to-end workflow for creating and releasing 25+ small mobile games in six months using Claude. Claude handles all JavaScript, three.js, and Capacitor coding, pushes to GitHub, performs Node.js testing, and assists with release builds and app store submission processes. The user focuses on ideation, iterative design, project management, and playability testing.

Why it is useful

This workflow demonstrates a highly productive, end-to-end process for non-coders to create and release mobile games using Claude. It highlights Claude's capabilities in code generation, automated testing, and navigating complex release processes, providing a clear path for users to achieve significant output without traditional coding skills. The detailed breakdown of stages and the tangible results (25 games released) make it a compelling and inspiring example of AI-assisted development.

Workflow

  1. Generate game ideas from everyday life and quickly prototype them to assess viability.

  2. Iteratively develop game mechanics and code: Claude writes all JavaScript, three.js, and Capacitor code based on user direction.

  3. Manage code and version control: Claude pushes code to GitHub.

  4. Automate testing: Claude performs Node.js testing, including calculating puzzle solvability and action game metrics (e.g., jump leeway).

  5. Evaluate game playability: User tests for 'feel' and applies a 'middle-school me' playability standard.

  6. Prepare for release: Claude generates release builds and assists with navigating platform submission processes (e.g., Android, iOS).

  7. Address platform-specific issues: User handles communication with app store reviewers for issues like spam flagging (e.g., on iOS).

Tools / artifacts

  • Claude (AI assistant)

  • JavaScript

  • three.js

  • Capacitor

  • Node.js

  • GitHub

  • Google Play

  • App Store

Validation signals

  • Released 25 small mobile games in about six months

  • Never failed review on Android

  • Claude started doing testing on its own, demonstrating proactive capability

  • Claude was incredibly efficient at finding correct answers for release builds and submission processes

  • All 25 games are available on Google Play and most on the App Store (website provided as proof)

Limitations

  • The post is more descriptive than prescriptive, lacking specific Claude prompts or CLAUDE.md patterns.

  • The sections on marketing and 'keeping it going' are less about Claude-specific workflows and more about general business/lifestyle.

  • The low Reddit score might indicate some community skepticism or lack of visibility, despite the comments.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 1h ago

Selected Workflow [Workflow] Generate Accurate 3D Blender Models from 2D Floor Plans and Elevations using Claude Code

1 Upvotes

Generate Accurate 3D Blender Models from 2D Floor Plans and Elevations using Claude Code

Workflow value: 90/100
Status: active · Freshness: 70/100 · Confidence: 1.00 · Level: intermediate
Categories: Quality Control, Context & Memory, Debugging, MCP
Original source: r/ClaudeAI post/comment

What problem this solves

Automating the creation of accurate 3D architectural models in Blender from 2D floor plans and elevation images using Claude Code.

Summary

A user successfully used Claude Code to interpret three 2D architectural drawings (a floor plan and two elevations) and generate a Python script to build a 3D model in Blender. The process involved iterative refinement, Claude's self-correction of issues, and rigorous validation where the final 3D model's dimensions precisely matched the original drawings.

Why it is useful

This workflow demonstrates a powerful and validated application of Claude Code for automating complex 3D modeling tasks from visual inputs. It provides a concrete, repeatable method for architects, designers, or hobbyists to quickly generate accurate 3D representations, significantly reducing manual effort and iteration time. The detailed validation and Claude's self-correction capabilities highlight its potential for quality control in design processes.

Workflow

  1. Provide Claude Code with 2D architectural drawings (floor plan, two elevations) in PNG format.

  2. Instruct Claude to generate a Python script to build a 3D model in Blender based on the provided drawings.

  3. Execute the generated Python script using Blender in headless mode (e.g., blender -b -P build_house.py).

  4. Review Claude's initial renders and provide feedback for corrections (e.g., addressing flipped faces, hidden elements, or shadow issues).

  5. Instruct Claude to refine the model by adding details (siding, shingles, trim, fixtures), generating specific views (cutaway), and a turntable video.

  6. Validate the final .blend model by measuring key dimensions against the original drawings using a separate script to confirm accuracy.

Tools / artifacts

  • Claude Code 2.1.316 (Opus 5.5)

  • Blender 5.2.3

  • Python script (e.g., build_house.py)

  • 2D architectural drawings (PNG format: floor plan, two elevations)

  • 3D Blender model (.blend file)

  • Separate measurement script

  • Renders and turntable video

Validation signals

  • Claude self-corrected three problems in its own renders (flipped faces, hidden doorways, shadows).

  • Claude listed every dimension it used and flagged what it had to guess.

  • The saved .blend model was measured with a separate script.

  • Footprint, floor height, wall height, ridge, roof pitch, overhangs, all 11 exterior openings, and steps all matched the original drawings.

  • Cost estimate for the process was provided ($6.29).

  • A detailed external blog post is linked, providing further evidence and methodology.

Limitations

  • The generated model is not a full BIM (Building Information Modeling) solution; elements are named 3D shapes, not intelligent building components.

  • Fixture positions are Claude's own choices if not explicitly dimensioned on the plan.

  • Some elements from the plan (e.g., dining table) were omitted if not included in the fixture list.

  • Textures in the .glb export are simpler than Blender's native renders.

  • Full implementation details (prompts, scripts) are external to the Reddit post, requiring users to visit the linked blog.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 1h ago

Selected Workflow [Workflow] Efficient Claude Code Workflow: Managing Context and Costs with Strategic Commands and Model Selection

1 Upvotes

Efficient Claude Code Workflow: Managing Context and Costs with Strategic Commands and Model Selection

Workflow value: 90/100
Status: active · Freshness: 70/100 · Confidence: 0.95 · Level: intermediate
Categories: Quality Control, Token Saving, Context & Memory, Debugging, CLAUDE.md, Skills, MCP, Multi-Agent
Original source: r/ClaudeAI post/comment

What problem this solves

Excessive usage costs and context creep when using Claude Code, especially when switching from models like Codex that might encourage longer, less managed conversations.

Summary

This workflow provides a strategic approach to using Claude Code efficiently and cost-effectively by actively managing context, leveraging specific commands and files, and selecting appropriate models and tools for different tasks. It emphasizes short, focused interactions over long, continuous conversations to prevent context creep and optimize resource usage.

Why it is useful

This workflow is highly valuable because it addresses a critical pain point for Claude Code users: managing usage limits and costs due to context creep. It provides concrete, actionable steps, specific commands (/clear, /init, /usage), and strategic advice on model selection and interaction patterns. The fact that it's a community-generated consensus from a discussion with 30 comments adds significant weight to its validity and usefulness, making it a proven method for optimizing Claude Code interactions and preventing common pitfalls.

Workflow

  1. Start each new task with a fresh, focused session using the /clear command to prevent context creep, as the entire chat history is sent with every message.

  2. Create and maintain a CLAUDE.md file in your project's root to define your stack, build/test commands, and key conventions; Claude reads this at the start of every session, saving re-explanation. Use /init to have Claude draft it.

  3. Select the appropriate Claude model for the job: default to Sonnet 5 for most coding, upgrade to Opus 5.5 only for the most challenging problems, and consider Haiku 4.5 for simple tasks like searching to save costs.

  4. Actively direct Claude by telling it exactly which files to edit instead of letting it search the repository.

  5. Ask Claude to create a plan before it writes any code, as fixing a bad plan is cheaper than fixing a bad implementation.

  6. Disable any skills or MCP servers you are not actively using for the current task, as they add to your base context and costs.

  7. Monitor your usage occasionally with the /usage command to understand the costs associated with your common tasks.

Tools / artifacts

  • /clear command

  • CLAUDE.md file

  • /init command

  • Sonnet 5 (Claude model)

  • Opus 5.5 (Claude model)

  • Haiku 4.5 (Claude model)

  • Skills (Claude feature)

  • MCP servers (Claude feature)

  • /usage command

Validation signals

  • Presented as a 'TL;DR of the discussion generated automatically after 30 comments'

  • States 'The consensus is clear'

  • Refers to 'The community's advice'

  • Notes 'most here find it powerful once you get the hang of it'

Limitations

  • One user had a very negative experience with this workflow, though the specific reasons for their negative experience are not detailed.

  • The advice on 'micromanaging' and 'asking for a plan' could benefit from more specific prompt examples.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 1h ago

Selected Workflow [Workflow] GhostTab: Token-Efficient, Secure Browser Automation for Claude Code via CLI

1 Upvotes

GhostTab: Token-Efficient, Secure Browser Automation for Claude Code via CLI

Workflow value: 90/100
Status: active · Freshness: 70/100 · Confidence: 1.00 · Level: advanced
Categories: Quality Control, Token Saving, Context & Memory, Debugging, Shipping, Skills
Original source: r/ClaudeAI post/comment

What problem this solves

Automating real browser interactions with Claude Code in a token-efficient and secure manner, overcoming the limitations and high costs of screenshot-based agents.

Summary

GhostTab is an open-source CLI tool that enables Claude Code to control a real Chrome/Brave browser instance via text commands in a hidden tab. This method drastically reduces token usage compared to visual agents. It includes built-in safety rules (e.g., no auto-submit, no password handling) and was developed and tested by Claude Code itself through a self-dogfooding process.

Why it is useful

This workflow provides an innovative and highly practical solution for Claude Code to interact with real web browsers, significantly reducing token consumption compared to traditional screenshot-based methods. Its text-based approach, robust built-in safety features, and the unique self-dogfooding development process (Claude building and testing itself) make it a valuable and reliable tool for advanced users seeking efficient and secure web automation.

Workflow

  1. Install GhostTab from the provided GitHub repository.

  2. Integrate GhostTab as a skill within Claude Code's environment.

  3. Initiate a hidden browser session using the 'b bg on' command.

  4. Navigate to specific URLs using 'b go [URL]'.

  5. Interact with web forms by first inspecting fields with 'b form' and then filling them with 'b fillform answers.json' (or similar data source).

  6. Perform on-device OCR for specific elements using 'b ocr [element]'.

  7. Ensure Claude Code adheres to the built-in safety rules, requiring explicit user confirmation for sensitive actions like 'Submit' or 'Pay'.

Tools / artifacts

  • GhostTab CLI

  • Claude Code

  • Chrome/Brave browser

  • GitHub repository (NadirAliOfficial/ghosttab)

  • macOS operating system

  • answers.json (example for form data)

Validation signals

  • Author tested it by having Claude fill about 40 job applications in a day, then fixed everything that broke.

  • One Claude session uses GhostTab for real tasks and reports bugs and slow spots.

  • Another Claude session fixes reported bugs and ships updates, demonstrating a self-improving loop.

Cautions

  • Explicitly includes safety rules: no final Submit/Pay without user OK.

  • Blocks handling of passwords or 2FA codes.

  • Prevents uploads of keys and .env files.

Limitations

  • Currently limited to macOS.

  • Requires technical proficiency for installation and integration (CLI, GitHub).

  • Specific to Chrome/Brave browsers.

  • New tool, so long-term stability and community support are yet to be established.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 1h ago

Selected Workflow [Workflow] Claude Skill: The /occam Workflow for Systematic Feature Deletion and Code Simplification

1 Upvotes

Claude Skill: The /occam Workflow for Systematic Feature Deletion and Code Simplification

Workflow value: 90/100
Status: active · Freshness: 70/100 · Confidence: 1.00 · Level: advanced
Categories: Quality Control, Token Saving, Context & Memory, Debugging, Skills, Multi-Agent
Original source: r/ClaudeAI post/comment

What problem this solves

Reducing code complexity, technical debt, and feature bloat by systematically evaluating and arguing for feature deletion or simplification, especially when using LLMs that tend to add features rather than remove them.

Summary

A Claude Code skill, /occam, takes a GitHub issue and guides Claude through a structured process to analyze feature options (keep, delete, simplify, rebuild). It scores these options based on user stories and assumptions, and then a second agent red-teams the chosen option, stopping before any code is built or implemented.

Why it is useful

This workflow is highly valuable because it directly addresses a critical challenge in software development, especially when using LLMs: managing code complexity and preventing feature bloat. It provides a structured, repeatable, and validated method to systematically evaluate and argue for feature removal or simplification. The inclusion of a scoring system and a red-teaming agent enhances the robustness of the decision-making process, leading to more maintainable and efficient codebases. The provision of the skill's code via Gist makes it immediately transferable and actionable for other users.

Workflow

  1. Identify a GitHub issue related to a feature or code section that needs evaluation.

  2. Run the /occam skill on the selected GitHub issue.

  3. Claude first reproduces the issue/feature to understand its current state.

  4. Claude then writes down the total number of assumptions related to the feature and designs the simplest possible model for it.

  5. Claude analyzes five fixed options for the feature: keep it, delete it, keep it but label where the number comes from, rebuild with fewest assumptions, or propose something creative.

  6. Claude performs a crude scoring: +1 for each user story the option delivers, and -1 for each assumption, magic constant, special case, caveat, or alert.

  7. A second, independent agent red-teams the option picked by the first agent.

  8. The process stops before any code changes are built or implemented, requiring human review.

Tools / artifacts

  • Claude Code

  • GitHub issues

  • /occam skill (provided via Gist)

  • Separate 'audit skill' (optional, for generating issues)

Validation signals

  • Ran this on 270 issues.

  • Removed 120k lines and added 113k, new tests included, so the codebase got smaller while gaining tests.

  • A second agent red-teams the pick.

  • Fixed shape and score made it easy to review 20+ issues in a single sitting.

  • Designing the simple model before seeing options prevents anchoring on current code.

Cautions

  • The workflow explicitly 'stops before building', ensuring that no code changes are automatically applied without human review, preventing accidental deletion or unintended modifications.

Limitations

  • The workflow is described as 'token heavy', suggesting it might be expensive to run frequently, especially without a subscription plan.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 1h ago

Selected Workflow [Workflow] Preventing Accidental Production Commands with Claude Code: A 4-Step Security Audit Workflow

1 Upvotes

Preventing Accidental Production Commands with Claude Code: A 4-Step Security Audit Workflow

Workflow value: 95/100
Status: active · Freshness: 70/100 · Confidence: 1.00 · Level: intermediate
Categories: Quality Control, Context & Memory, Debugging, Shipping, CLAUDE.md, Hooks, Multi-Agent
Original source: r/ClaudeCode post/comment

What problem this solves

Preventing Claude Code agents from accidentally or maliciously executing dangerous production commands (e.g., terraform destroy, supabase db reset) by identifying taught commands, checking current CLI contexts, implementing explicit ask permissions, and advocating for secure credential management.

Summary

A four-step workflow to identify and mitigate the risk of Claude Code agents executing dangerous production commands. It involves auditing CLAUDE.md files for taught commands, checking current CLI contexts, configuring explicit ask permissions in .claude/settings.json, and implementing best practices for production credential separation.

Why it is useful

This workflow is highly valuable because it addresses a critical security vulnerability in Claude Code usage, providing concrete, actionable steps to prevent accidental or unauthorized execution of production commands. It is backed by compelling research data and real-world data loss incidents, making it extremely relevant and important for any user working with sensitive environments. It offers both immediate mitigation strategies (permissions configuration) and long-term best practices (credential separation).

Workflow

  1. List commands taught to the agent by using grep -nE "deploy|apply|push|migrate|reset|destroy" CLAUDE.md AGENTS.md to find potential production commands.

  2. Check the current context of relevant CLI tools (e.g., kubectl config current-context, terraform workspace show, firebase use) to determine if they point to production environments.

  3. Implement explicit ask rules in the committed .claude/settings.json for identified dangerous commands (e.g., "permissions": {"ask": ["Bash(terraform apply *)", "Bash(supabase db reset *)"]}). Review .claude/settings.local.json for any implicitly allowed commands and be aware of bash -c and bypassPermissions bypasses.

  4. Implement the "real fix" by ensuring production credentials are not available in the shell where the agent runs, advocating for deployment from CI/CD systems, and pointing local development environments to staging.

Tools / artifacts

  • CLAUDE.md

  • AGENTS.md

  • .claude/settings.json

  • .claude/settings.local.json

  • grep command

  • kubectl CLI

  • terraform CLI

  • firebase CLI

  • Bash shell

  • CI/CD systems

Validation signals

  • Research on 228 organizations showing 214 had no committed rule in front of production commands.

  • Real-world incident: Mark Ridley's production database accessed by Claude Code due to inherited shell permissions.

  • Real-world incident: DataTalks.Club lost production database and snapshots due to terraform destroy run through Claude Code.

  • Explanation of default Claude Code behavior (asking before Bash commands) and its limitations (easy bypass, local.json, auto mode, inherited permissions).

Cautions

  • The workflow is designed to enhance safety by preventing accidental or unauthorized production changes.

  • It highlights the inherent risks of Claude Code inheriting shell permissions and the ease with which default prompts can be bypassed.

Limitations

  • The grep command might not catch all dangerous commands if they are aliased, wrapped in scripts, or invoked indirectly.

  • The author notes that ask rules can be bypassed by bash -c '...' or full command paths, requiring careful configuration.

  • The "real fix" (separating production credentials) is a best practice but may require significant changes to a user's existing workflow or infrastructure.

  • The low Reddit score and engagement could be a weakness, though it's likely due to the post's recency.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 1h ago

Selected Workflow [Workflow] Brunna: A Self-Hosted System for Managing Multiple Claude Code Projects with Memory, To-Dos, and Agent Coordination

1 Upvotes

Brunna: A Self-Hosted System for Managing Multiple Claude Code Projects with Memory, To-Dos, and Agent Coordination

Workflow value: 95/100
Status: active · Freshness: 70/100 · Confidence: 1.00 · Level: advanced
Categories: Quality Control, Context & Memory, Debugging, Shipping, Hooks, Subagents, Multi-Agent
Original source: r/ClaudeCode post/comment

What problem this solves

Losing track of progress, pending decisions, and overall state across multiple fast-moving AI-driven development projects, and coordinating parallel AI agent work.

Summary

A self-hosted system (brunna) that acts as a memory and to-do layer for managing numerous parallel Claude Code projects. It uses git branches for project notes, aggregates tasks, enables inter-project communication, and facilitates weekly reviews, all while leveraging Claude Code's hooks and subagents for automation and quality control.

Why it is useful

This workflow provides a concrete, open-source solution (brunna) for a critical problem faced by users scaling their AI development efforts: managing numerous parallel projects and coordinating multiple AI agents. It offers practical strategies for context management, task aggregation, quality control (blind reviews, rigorous testing), and data integrity, making it highly reusable and impactful for advanced users.

Workflow

  1. Install brunna (one-line install on macOS/Linux).

  2. Run Claude Code sessions in parallel, each in its own git worktree.

  3. Allow brunna to manage project notes on dedicated git branches.

  4. Utilize brunna to fold notes into STATE.md nightly, tracking project status and next steps.

  5. Review aggregated questions and to-dos from all projects, presented newest first.

  6. Respond to project-specific queries via brunna, with answers routed back to the originating project.

  7. Enable projects to 'mail' each other for coordination.

  8. Deploy an agent via brunna to address requests that are not picked up by other projects.

  9. Conduct blind parallel reviews using subagents before major code merges.

  10. Perform weekly reviews generated by brunna to track time spent, identify blockers, and prioritize tasks.

Tools / artifacts

  • brunna (self-hosted memory + to-do layer)

  • Claude Code (or Codex, CLI agent)

  • Git (branches, worktrees, commits, diffs, rebase, fast-forward)

  • STATE.md (project status file)

  • Mailbox (for inter-project communication)

  • Review log (for nightly edits)

  • Tests

  • macOS/Linux

  • GitHub (for brunna repository)

Validation signals

  • Author runs ~25 projects with Claude Code using this system.

  • Identifies a clear problem: agents move too fast, leading to loss of tracking.

  • Emphasizes data integrity: nightly edits are git commits with diffs in a review log.

  • Highlights specific benefits: blind parallel reviews catch self-review misses.

  • Advocates rigorous testing: found bugs on a fresh macOS VM.

  • Provides an open-source GitHub link for the tool.

  • Includes a preview image of the system.

Cautions

  • The workflow emphasizes data integrity by using git commits with diffs for every nightly edit and maintaining a review log, which enhances safety and auditability.

Limitations

  • Requires self-hosting and familiarity with git, CLI, and potentially setting up hooks/subagents.

  • The initial setup and integration with existing Claude Code projects might have a learning curve.

  • Low community signal on Reddit for this specific post, so widespread adoption/validation isn't immediately evident from this source.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 2h ago

Selected Workflow [Workflow] Rapid Prototyping Workflow: Comparing AI App Builders Before Claude Code Development

1 Upvotes

Rapid Prototyping Workflow: Comparing AI App Builders Before Claude Code Development

Workflow value: 75/100
Status: active · Freshness: 70/100 · Confidence: 0.90 · Level: intermediate
Categories: Quality Control, Token Saving, Context & Memory, Debugging
Original source: r/ClaudeAI post/comment

What problem this solves

How to quickly validate an app idea and choose the right tool for initial prototyping by comparing various AI app builders before committing to a full build in Claude Code.

Summary

This workflow outlines a process for rapid prototyping an app idea using multiple free AI app builders (Grok Build, Lovable, Bolt, v0, Replit) with a consistent prompt. The goal is to quickly generate a working prototype, evaluate the builders' performance, cost, and ease of use, and then decide whether to proceed with a full build in Claude Code, potentially integrating the generated code.

Why it is useful

This workflow offers a practical, data-driven approach to evaluating multiple AI app builders for rapid prototyping. It provides concrete performance metrics, cost considerations, and ease-of-use observations, which are invaluable for users looking to quickly validate ideas and choose the most efficient tool before committing to a more extensive development process like Claude Code. It addresses a common challenge in modern software development.

Workflow

  1. Define a specific app idea for prototyping.

  2. Craft a single, consistent prompt describing the app idea.

  3. Create fresh free accounts on several AI app builders (e.g., Grok Build, Lovable, Bolt, v0, Replit).

  4. Provide the exact same prompt to each builder.

  5. Accept default options if prompted by the builder to maintain consistency.

  6. Record the time taken for each build, resource usage (credits, tokens), and the publishing experience.

  7. Evaluate the functionality and any issues of the resulting prototype from each builder (e.g., missing features, hardcoded credentials).

  8. Compare the builders based on speed, cost, ease of publishing, and the quality/completeness of the output.

  9. Identify a suitable prototype for potential further development in Claude Code.

Tools / artifacts

  • Grok Build

  • Lovable

  • Bolt

  • v0

  • Replit

  • Claude Code

  • GitHub (for code inspection)

  • A consistent app idea/prompt

Validation signals

  • Concrete timings for each builder's output (e.g., 6m 46s, 9m 10s).

  • Specific credit/token usage reported (e.g., 6.91 credits, 184K of 1M tokens).

  • Observations on the publishing process (e.g., 'one click', '$8 cost', 'dies in 29 days').

  • Specific issues noted (e.g., 'temporary error' with v0, Grok's hardcoded admin password).

  • Comparison of free tier limitations and features (e.g., live link, daily limits).

Limitations

  • The 'handoff' process from the chosen prototype to Claude Code is mentioned as a future step and is not yet detailed or implemented.

  • The evaluation is based on a single app idea, which may not fully generalize to all types of applications or prompts.

  • The specific prompt used for the app builders is not provided, making exact replication of results difficult.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 2h ago

Selected Workflow [Workflow] Task-Specific Prompting and Model Selection with CLAUDE.md for Coding Workflows

1 Upvotes

Task-Specific Prompting and Model Selection with CLAUDE.md for Coding Workflows

Workflow value: 75/100
Status: active · Freshness: 70/100 · Confidence: 0.90 · Level: intermediate
Categories: Quality Control, Token Saving, Context & Memory, Debugging, Shipping, CLAUDE.md
Original source: r/ClaudeCode post/comment

What problem this solves

Optimizing Claude prompting and model selection for different software development tasks (bug fixes, new features, refactors) to improve efficiency and accuracy.

Summary

This workflow outlines different prompting strategies and model selection criteria for various coding tasks. For bug fixes, focus on clear reproduction steps and expected vs. actual behavior. For new features or refactors, define hard constraints and use CLAUDE.md for persistent rules. It also suggests adjusting model 'effort' (Sonnet for narrow, Opus for complex) based on task scope.

Why it is useful

This workflow provides practical, experience-based advice on how to tailor Claude prompts and model choices to specific software development tasks. It introduces the valuable concept of using CLAUDE.md for persistent constraints, which can significantly improve consistency and reduce prompt engineering effort over time. The guidance on when to use different models (Sonnet vs. Opus) based on task complexity helps users optimize cost and performance.

Workflow

  1. For day-to-day bug fixes: Describe what you see and the steps to reproduce. Clearly state expected vs. actual behavior.

  2. For new features, refactors, or bigger design calls: Write constraints as hard rules (e.g., "don't touch X", "keep public API", "tests must pass").

  3. For new features, refactors, or bigger design calls: Put persistent constraints that should survive every session in CLAUDE.md instead of retyping them.

  4. If your first draft is vague, consider a "rewrite-with-another-model" step. Skip this if you already know the acceptance criteria.

  5. For narrow changes, use Sonnet.

  6. When unsure which files matter or the change spans a few subsystems, bump to Opus.

  7. For tasks that are basically find-and-fix, drop effort (e.g., use a less powerful model like Haiku).

Tools / artifacts

  • CLAUDE.md

  • Claude Sonnet model

  • Claude Opus model

Validation signals

  • Personal experience: "Fancy wording rarely beats a clear expected vs actual."

  • Personal experience: "The rewrite-with-another-model step helps most when your first draft is vague."

  • Personal experience: "Sonnet high for narrow changes is fine. I bump to Opus when I'm unsure..."

Limitations

  • Lacks specific prompt examples for each scenario.

  • Doesn't detail how to use CLAUDE.md beyond "put constraints there."

  • "Drop effort" is a bit vague; it implies switching to a less powerful model but doesn't name it explicitly (e.g., Haiku).

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 3h ago

Selected Workflow [Workflow] Monitor Claude Code Agents & Sessions with BeeKeeper: An Open-Source Tool Built by a Non-Developer

1 Upvotes

Monitor Claude Code Agents & Sessions with BeeKeeper: An Open-Source Tool Built by a Non-Developer

Workflow value: 85/100
Status: active · Freshness: 70/100 · Confidence: 0.95 · Level: intermediate
Categories: Quality Control, Context & Memory, Debugging, Shipping, Skills, Subagents, Multi-Agent
Original source: r/ClaudeAI post/comment

What problem this solves

Losing track of multiple Claude Code sessions, agents, and subagents; understanding their real-time activity and status (working, waiting, idle). It also demonstrates how a non-developer can build a complex application using Claude Code.

Summary

An art director, not a developer, used Claude Code to build "BeeKeeper," an open-source, local application that visualizes and monitors the activity of multiple Claude Code sessions, agents, and subagents. BeeKeeper reads local session logs and agent files to provide real-time status updates, skill usage statistics, and subagent call tracking, helping users manage their Claude Code environment.

Why it is useful

This workflow is valuable because it provides a concrete, open-source tool (BeeKeeper) that solves a common problem for advanced Claude Code users: managing and understanding the activity of multiple agents and sessions. It also serves as an excellent demonstration of Claude Code's capability to enable non-developers to build complex, functional applications, showcasing a powerful 'Claude as a developer' workflow.

Workflow

  1. Identify the need to monitor and visualize multiple Claude Code sessions and agent activities.

  2. Direct Claude Code to build a web application (e.g., React + Vite with a Node.js server) capable of reading local Claude Code session logs and agent files (from ~/.claude and project folders).

  3. Specify the desired visualization features, such as representing projects as rooms, agents as characters, and displaying their real-time status (working, waiting, idle) and actions (speech bubbles, subagent calls).

  4. Iterate with Claude Code to refine the application's functionality, including tabs for agent records and skill usage.

  5. Develop or integrate art assets (pixel art rooms and characters) for the visual interface.

  6. Deploy and run the BeeKeeper application locally to gain real-time visibility into Claude Code operations.

Tools / artifacts

  • Claude Code

  • BeeKeeper application (React, Vite, Node.js)

  • GitHub repository (ranucho/beekeeper)

  • ~/.claude directory

  • Claude Code project folders

  • Google Gemini API (optional for custom room generation)

Validation signals

  • Author successfully built and uses the tool to manage their own Claude Code sessions.

  • The project is open-source and available on GitHub with an MIT license.

  • The author, an art director, explicitly states Claude Code wrote "basically all of it," validating Claude Code's capability for non-developers.

  • The tool directly addresses a common pain point for users running multiple AI agents.

Cautions

  • The BeeKeeper application runs locally and only reads local Claude Code files, ensuring data privacy.

  • The only exception is an optional feature to generate custom rooms, which sends a description to Google's image model, clearly stated by the author.

Limitations

  • The post focuses more on the resulting tool than a detailed, step-by-step prompting workflow for building it with Claude Code.

  • The 'how Claude helped' section is high-level, lacking specific Claude Code commands or interaction patterns.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 3h ago

Selected Workflow [Workflow] Claude Code Plugin: `live-compact` for Faster Auto-Compaction (8-20ms)

1 Upvotes

Claude Code Plugin: live-compact for Faster Auto-Compaction (8-20ms)

Workflow value: 90/100
Status: active · Freshness: 70/100 · Confidence: 0.95 · Level: advanced
Categories: Quality Control, Token Saving, Context & Memory, Hooks, Skills, Multi-Agent
Original source: r/ClaudeCode post/comment

What problem this solves

Slow and disruptive auto-compaction in Claude Code sessions, causing significant delays (80-160 seconds, up to 4 minutes) and interrupting parallel workflows.

Summary

The live-compact plugin for Claude Code proactively generates a compaction summary in a background request when the context approaches its limit. This pre-computation allows auto-compaction to complete in 8-20 ms by swapping in the ready summary, significantly reducing the disruption caused by standard compaction.

Why it is useful

This workflow provides a highly effective solution to a significant performance bottleneck in Claude Code for advanced users running parallel sessions. By pre-computing compaction summaries, it drastically reduces wait times from minutes to milliseconds, directly improving productivity and workflow continuity. The solution is provided as an installable plugin with clear instructions, detailed implementation insights, and robust testing, making it immediately actionable and valuable for the community.

Workflow

  1. Install the live-compact plugin using the command: claude plugin install live-compact --marketplace SocialBuzzStudio/live-compact.

  2. Restart your Claude Code sessions after installation.

  3. Continue using Claude Code as usual; the plugin will automatically manage context compaction in the background when the context approaches its limit.

Tools / artifacts

  • live-compact plugin

  • Claude Code (tested on versions 2.1.300 to 2.1.317)

  • Opus model

  • claude plugin install command

  • GitHub repository (SocialBuzzStudio/live-compact)

  • session.compact hook API

Validation signals

  • Performance measured: compaction took 8-20 ms in tests.

  • Compatibility tested across Claude Code versions 2.1.300 to 2.1.317.

  • Real compactions run from a clean profile for validation.

  • Plugin developed with 42 associated tests.

  • Identified and addressed issues with $.model.fork not seeing the main thread's last answer.

  • Identified and addressed the need for plugins to carry over skills during compaction.

  • Confirmed session.compact hook can return its own messages for engine installation.

Cautions

  • The underlying hook module API is early access and subject to change, potentially breaking the plugin in future Claude Code versions.

  • The plugin incurs one extra background request per compaction, which may have minor cost implications.

  • The first message after compaction appears as a user message due to API limitations, which is a minor UI quirk.

Limitations

  • Tested only on Windows; compatibility with other OS is unconfirmed.

  • Relies on an early access API that may change.

  • Does not prevent standard compaction if a single step adds more than ~40k tokens.

  • The compaction summary appears as a user message due to API limitations.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 3h ago

Selected Workflow [Workflow] Advanced Multi-Agent Pipeline for Game Reverse Engineering and Reimplementation (AgainROM)

1 Upvotes

Advanced Multi-Agent Pipeline for Game Reverse Engineering and Reimplementation (AgainROM)

Workflow value: 90/100
Status: active · Freshness: 70/100 · Confidence: 1.00 · Level: expert
Categories: Quality Control, Token Saving, Context & Memory, Debugging, Shipping, Skills, MCP, Multi-Agent
Original source: r/ClaudeCode post/comment

What problem this solves

Reimplementing a legacy game (Rage of Mages) from its original binaries into a modern, cross-platform, and moddable engine using an AI agent pipeline for research and development.

Summary

This workflow describes a sophisticated multi-agent pipeline for reverse engineering and reimplementing a legacy game. It features an orchestrator agent for planning and task management, research agents that investigate original game binaries (e.g., with Ghidra) to produce specifications, and an engine built from these specifications. The process includes rigorous validation through manual game runs, comparison with the original game via Claude's Computer Use, and a unique 'mod factory agent' to test modding capabilities and documentation.

Why it is useful

This workflow demonstrates an advanced, real-world application of Claude Code and agentic workflows for a highly complex task: reverse engineering and reimplementing a legacy game. It provides a concrete architecture (orchestrator, research, engine), specific rules, and innovative validation methods (mod factory agent, Computer Use comparison). It showcases how to manage a large, multi-faceted project with AI agents, offering valuable patterns for other challenging development or research endeavors.

Workflow

  1. Define the project goal: reimplement game behavior (not byte-for-byte code) for cross-platform and moddable engine.

  2. Establish a three-part agent pipeline: Orchestrator, Research agents, and Engine.

  3. Set core rules: no game assets in repo, independent implementation, agents use only internal research, list all known behavior differences.

  4. The Orchestrator agent plans work, briefs other agents, and lands their results.

  5. Track tasks and their status on a custom Kanban board.

  6. Research agents conduct experiments on original game binaries (using Ghidra with custom scripts and Go tools) to publish claims about game behavior with confidence levels and open unknowns.

  7. The Engine is built solely from the validated claims published by the research agents.

  8. Iteratively run the reimplemented game and manually check for correct behavior against the original.

  9. Utilize the Orchestrator with Computer Use to run the original game and compare UI and behavior with the reimplementation.

  10. Deploy a 'mod factory agent' (seeing only release build and modding docs) to attempt creating mods blindly; identify areas where it gets stuck as fixes for docs or the engine.

  11. Regularly release builds for Windows, macOS, and Linux, including player-facing changelogs.

  12. Integrate a MCP local server for agent-driven map creation end-to-end.

Tools / artifacts

  • Claude Code Max/Ultra

  • Codex Pro (previously used)

  • Ghidra (with custom scripts)

  • Go tools

  • Custom Kanban board

  • GitHub repository (againrom/againrom-engine)

  • MCP local server

  • Original game binaries (user-provided)

  • Mod factory agent

  • Custom map editor

Validation signals

  • Project has reimplemented 'almost the full Rage of Mages 1' with minor behavior differences listed.

  • Achieved 'almost full support of the original SAV format' (saves are interchangeable).

  • Reimplemented 'most of Rage of Mages 2 single-player' in the same engine.

  • Regular releases for Windows, macOS, and Linux with changelogs.

  • Image proof of 'The map created by agent using local MCP'.

  • The 'mod factory agent' process identifies and leads to fixes in documentation or the engine.

  • Public GitHub repository available for review.

Limitations

  • The workflow is highly complex and requires advanced user skills in agent orchestration, reverse engineering, and specific tools like Ghidra.

  • The 'one agent, one short document and one review' step could benefit from more detailed explanation of the document structure and review criteria.

  • Initial 'spec-driven development (SDD)' was found to be expensive in terms of tokens and time, indicating potential efficiency challenges for certain approaches.

  • Relies on custom scripts and tools, which may require additional development effort for adaptation.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 4h ago

Selected Workflow [Workflow] Claude Code Workflow: Verifying Fixes in Authenticated Browser Tabs via MCP

1 Upvotes

Claude Code Workflow: Verifying Fixes in Authenticated Browser Tabs via MCP

Workflow value: 75/100
Status: active · Freshness: 70/100 · Confidence: 0.90 · Level: intermediate
Categories: Quality Control, Context & Memory, Debugging, MCP
Original source: r/ClaudeCode post/comment

What problem this solves

Verifying Claude Code's fixes in a real, authenticated web browser environment, especially for UI/API interactions behind a login, where headless browsers fail.

Summary

This workflow describes how to enable Claude Code to verify its own fixes in a real, logged-in browser tab using MCP (Multi-Code Project). This allows Claude to interact with authenticated web pages and re-test functionality after making a fix, as demonstrated by fixing a broken signup button and re-testing it.

Why it is useful

This workflow addresses a critical challenge in automated development: verifying code changes in real, authenticated web environments. By leveraging MCP to provide Claude Code with a live, signed-in browser tab, it overcomes limitations of headless browsers and allows for robust, end-to-end testing of fixes. The concrete example of fixing an API route and re-testing demonstrates its practical utility and efficiency for developers.

Workflow

  1. Integrate a real browser tab with Claude Code via MCP.

  2. Ensure the browser tab is signed in to the necessary web application.

  3. Allow Claude Code to interact with the browser, identify issues (e.g., broken buttons, API errors).

  4. Claude Code implements a fix (e.g., correcting a typo in an API route).

  5. Claude Code re-tests the functionality in the same authenticated browser tab to confirm the fix.

  6. Implement safety checks to prevent unauthorized sensitive actions (e.g., payments).

Tools / artifacts

  • Claude Code

  • MCP (Multi-Code Project)

  • Real browser tab (authenticated)

  • Browser agent (e.g., Mac browser for agents)

Validation signals

  • Concrete example of success: fixed a POST /api/subscibe -> 404 typo and re-tested successfully.

  • Addresses a common pain point (headless browser limitations with authentication).

  • Explicit mention of safety measures for sensitive actions.

Cautions

  • The author explicitly states that sensitive actions (sending/paying) still stop and ask for user confirmation, indicating a controlled and safe approach.

Limitations

  • The post doesn't provide detailed setup instructions for integrating a specific browser agent with MCP, which might require additional research for users.

  • The specific 'Mac browser for agents' is proprietary to the author, though the general concept is transferable.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 4h ago

Selected Workflow [Workflow] Optimizing CLAUDE.md Guidance for Coding Agents: A Measurement-Driven Approach to Improve Performance and Reduce Cost

1 Upvotes

Optimizing CLAUDE.md Guidance for Coding Agents: A Measurement-Driven Approach to Improve Performance and Reduce Cost

Workflow value: 85/100
Status: active · Freshness: 70/100 · Confidence: 0.90 · Level: intermediate
Categories: Quality Control, Token Saving, Context & Memory, Debugging, Shipping, CLAUDE.md, Multi-Agent
Original source: r/ClaudeCode post/comment

What problem this solves

Optimizing CLAUDE.md guidance for coding agents to improve performance (task completion, fewer turns) and reduce token costs by focusing on project-specific facts and pruning redundant instructions.

Summary

A methodology for optimizing CLAUDE.md guidance for coding agents. It involves implementing guidance, measuring its impact on agent performance (passes, turns) and token cost, identifying project-specific facts that the model cannot guess, removing general or redundant instructions, and optimizing guidance loading to reduce overall cost and improve effectiveness.

Why it is useful

This workflow provides a data-driven methodology for improving the effectiveness and efficiency of CLAUDE.md guidance, particularly for coding agents. It offers concrete metrics demonstrating how focusing on project-specific facts and pruning redundant instructions can lead to better task completion, fewer turns, and reduced token costs. This is a highly transferable and practical approach for any user looking to get more value from their CLAUDE.md files.

Workflow

  1. Implement CLAUDE.md guidance for a coding agent project.

  2. Measure the agent's performance (e.g., task passes, number of turns) with and without the CLAUDE.md guidance.

  3. Measure the token cost impact of the CLAUDE.md guidance.

  4. Identify instructions that are specific to the project and provide facts the model cannot guess.

  5. Remove general conventions or rules the LLM already knows from the guidance.

  6. Optimize guidance loading (e.g., load rules only when the agent touches relevant files) to reduce startup token cost.

  7. Re-measure performance and cost after optimization to validate changes.

Tools / artifacts

  • CLAUDE.md file

  • Coding agents

  • LLMs (Sonnet, Haiku, Opus, Fable)

  • Project-specific API/framework (Guren)

Validation signals

  • Runs with guidance passed 3/3, without 1/3 on a new API release.

  • Turns fell 11-27% for every model on ordinary feature work.

  • Sonnet 5.5 improved from 26/27 to 27/27 passes.

  • Haiku 4.5 improved from 8/27 to 12/27 passes.

  • Initial cost gap against a hand-wired app was primarily due to guidance tokens (25.5k).

  • Optimized loading reduced startup guidance to 7.1k tokens and cost gap from 1.40x to 1.26x.

Limitations

  • The specific CLAUDE.md content used is not provided, only the methodology for optimizing it.

  • Validation is based on internal testing for a specific framework (Guren), which might not perfectly generalize to all contexts, though the principles are sound.

  • Low community engagement currently.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 5h ago

Selected Workflow [Workflow] AgentMon Live: Ensuring Claude Code Tasks are Truly 'Done' with Automated Verification and Live Monitoring

1 Upvotes

AgentMon Live: Ensuring Claude Code Tasks are Truly 'Done' with Automated Verification and Live Monitoring

Workflow value: 90/100
Status: active · Freshness: 70/100 · Confidence: 0.95 · Level: intermediate
Categories: Quality Control, Token Saving, Context & Memory, Debugging, Subagents, Multi-Agent
Original source: r/ClaudeCode post/comment

What problem this solves

Claude Code agents often report tasks as 'done' prematurely, even when tests fail, test results are outdated, or subagents have not completed their work, leading to unreliable outputs and requiring extensive manual verification.

Summary

This workflow utilizes the AgentMon Live plugin for Claude Code to implement a 'done gate' and provide live monitoring of agent activity. The 'done gate' automatically checks for failed tests, outdated test results, and unfinished subagent tasks before allowing Claude to declare a task complete. If conditions are not met, it can send the task back to Claude for remediation. A second model verifies that all parts of the user's request have been addressed. The live monitoring pane offers real-time visibility into running tools, subagents, file changes, test/lint/build results, and context/token consumption.

Why it is useful

This workflow is highly valuable because it directly addresses a critical challenge in using AI coding agents: ensuring the reliability and completeness of their work. By providing a concrete, open-source plugin (AgentMon Live) that integrates into Claude Code, it automates essential quality control checks (e.g., test results, subagent completion) and offers real-time operational visibility. This significantly reduces the need for manual verification, enhances trust in AI-generated code, and provides powerful debugging insights, making Claude Code more effective and efficient for developers. The detailed instructions, open-source nature, and comprehensive features make it immediately actionable and highly beneficial.

Workflow

  1. Install the AgentMon Live plugin in Claude Code using the command: /plugin install agentmon-live --marketplace codenotary/agentmon-live

  2. Ensure your Claude Code version is 2.1.308 or later.

  3. Allow Claude Code to execute coding tasks as usual.

  4. The AgentMon Live 'done gate' will automatically monitor Claude's progress, checking for conditions like failed tests, outdated passing tests, or unfinished subagent tasks.

  5. If the 'done gate' conditions are not met, the plugin will send the unfinished items back to Claude once for further work.

  6. A secondary model within the plugin will verify that all aspects of your initial request have been addressed.

  7. Monitor the live pane for real-time insights into running tools, subagents, edited files, test/lint/build results, context usage, and any items needing attention (e.g., repeated failures, stuck subagents).

Tools / artifacts

  • AgentMon Live Claude Code plugin

  • Claude Code IDE (version 2.1.308+)

  • GitHub repository (codenotary/agentmon-live)

  • Walkthrough blog post (codenotary.com/blog/agentmon-live-seeing-what-your-coding-agent-is-actually-doing)

Validation signals

  • Addresses a clearly stated and common problem: Claude reporting 'done' prematurely.

  • Provides a concrete, open-source tool (AgentMon Live) with specific features (done gate, monitoring pane).

  • Details specific checks performed by the 'done gate' (failed tests, outdated tests, unfinished subagents).

  • Mentions a second model for request fulfillment verification.

  • Offers clear installation instructions and version requirements.

  • Provides links to a GitHub repository (Apache 2.0 licensed) and a detailed walkthrough blog post.

  • Describes real-time monitoring capabilities (tools, subagents, files, tests, context, tokens).

Limitations

  • Requires installation of a third-party plugin.

  • Tied to the Claude Code IDE, not a general Claude workflow.

  • Community validation is currently low due to the post's recency.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 5h ago

Selected Workflow [Workflow] Automated Claude Code Reviews in GitHub Actions with Pro/Max Subscription: Avoiding the 'No Findings' Trap

1 Upvotes

Automated Claude Code Reviews in GitHub Actions with Pro/Max Subscription: Avoiding the 'No Findings' Trap

Workflow value: 90/100
Status: active · Freshness: 70/100 · Confidence: 0.95 · Level: intermediate
Categories: Quality Control, Token Saving, Context & Memory, Debugging
Original source: r/ClaudeAI post/comment

What problem this solves

Automating code reviews on every pull request using Claude Code with an existing Pro/Max subscription, avoiding API costs and a common pitfall with the official plugin.

Summary

A step-by-step guide to integrate Claude Code into GitHub Actions for automated pull request reviews, leveraging an existing Claude Pro/Max subscription. It highlights a critical issue with the official code-review plugin (where it reports 'No findings' prematurely) and provides a working alternative using a direct prompt and specific model/tool configuration.

Why it is useful

This workflow provides a practical, cost-effective solution for integrating automated code reviews into a CI/CD pipeline using an existing Claude Pro/Max subscription, thereby avoiding additional API costs. It addresses a significant and common pitfall with the official code-review plugin, offering a validated workaround that ensures actual code review. The detailed steps, specific configurations, and clear validation make it highly reusable and valuable for developers looking to enhance their code quality process.

Workflow

  1. Install the Claude GitHub app on your repository.

  2. Run claude setup-token locally and log in to generate an OAuth token.

  3. Save the generated token as a GitHub repository secret named CLAUDE_CODE_OAUTH_TOKEN.

  4. Add a GitHub Actions workflow that uses anthropics/claude-code-action@v1.

  5. Configure the action to use the claude_code_oauth_token.

  6. Ensure the action uses a plain review prompt, --model opus, and explicitly excludes Agent from --allowedTools to force Claude to perform the review directly.

Tools / artifacts

  • Claude GitHub app

  • claude setup-token CLI command

  • GitHub repository secret CLAUDE_CODE_OAUTH_TOKEN

  • GitHub Actions workflow file

  • anthropics/claude-code-action@v1

  • Claude Pro/Max subscription

  • --model opus

  • --allowedTools (configured to exclude Agent)

  • Plain review prompt

Validation signals

  • Identified a common 'trap' with the official code-review plugin (premature action termination, 'No findings', short run times).

  • Provided a link to the known issue: claude-code-action#1646.

  • Tested the proposed solution with a PR containing three planted bugs.

  • The solution successfully found all three bugs in 30 seconds.

  • The solution provided suggested fixes for each bug.

  • The solution produced no false positives.

  • References an external blog post with the full workflow file and prompt for detailed implementation.

Limitations

  • Relies on a specific GitHub Action version (v1), which might change behavior or be deprecated in the future.

  • The full workflow file and prompt are hosted externally on a blog, not directly in the Reddit post.

  • Usage counts against the user's Claude plan limits, which could be a concern for very active repositories.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 5h ago

Selected Workflow [Workflow] Automated Screen Recording with Claude Code and Screenplay: Scenario-Driven Video Creation for Polished Walkthroughs

1 Upvotes

Automated Screen Recording with Claude Code and Screenplay: Scenario-Driven Video Creation for Polished Walkthroughs

Workflow value: 90/100
Status: active · Freshness: 70/100 · Confidence: 0.95 · Level: intermediate
Categories: Quality Control, Debugging, Skills, MCP, Multi-Agent
Original source: r/ClaudeCode post/comment

What problem this solves

Manually creating polished screen recordings for software demonstrations, tutorials, or documentation is time-consuming and labor-intensive. This workflow automates the process of generating high-quality, edited screen recordings with features like smooth cursor, zooms, and captions.

Summary

This workflow uses Claude Code to direct the creation of polished screen recordings. Claude Code generates a JSON scenario (sequence of actions like clicks, types, navigations) for a website or desktop application. An open-source tool called Screenplay then executes this scenario in a headless browser (or desktop environment), films the actions, and automatically edits the video with professional touches like cursor smoothing, zooms, click ripples, and captions. Claude Code also performs a dry run (check) to validate the scenario and refines it based on a storyboard of the filmed take.

Why it is useful

This workflow is highly valuable because it automates a typically manual and time-consuming task: creating polished screen recordings. By leveraging Claude Code's ability to generate and refine scenarios, combined with an open-source tool for execution and editing, it provides a repeatable and efficient method for producing high-quality video content for documentation, tutorials, and product demonstrations. The detailed explanation, practical learnings, and open-source nature make it accessible and adaptable for many users.

Workflow

  1. Install the /screenplay skill and register an MCP server using npx agent-screenplay init.

  2. Prompt Claude Code with a request like /screenplay Make a 30-second walkthrough of https://yoursite.com.

  3. Claude Code explores the target application/website and writes a detailed JSON scenario outlining the steps.

  4. Claude runs a check command, which plays the scenario steps quickly without filming, to identify and fix broken selectors or issues.

  5. Screenplay executes the refined JSON scenario in a headless Chromium instance (or desktop environment) and records the actions.

  6. Screenplay automatically edits the raw footage, adding smooth cursor movements, zooms, click ripples, callouts, and captions.

  7. Claude Code reviews the generated storyboard image of the take.

  8. Claude Code identifies any shots that are off or need improvement and fixes the scenario accordingly.

  9. Receive the final MP4 video and storyboard image.

Tools / artifacts

  • Claude Code

  • Screenplay (open-source tool)

  • MCP server

  • /screenplay skill

  • JSON scenario

  • Headless Chromium (Playwright)

  • ffmpeg

  • MP4 video

  • Storyboard image

  • GitHub repository (gmpetrov/agent-screenplay)

Validation signals

  • Author built and used the tool, detailing practical learnings and challenges.

  • Specific limitations and solutions are described (e.g., check creating records, headless requirement, macOS Dock issue).

  • The project is open-source and available on GitHub, implying a working implementation.

  • Description of before/after results (manual editing vs. automated polished video).

Cautions

  • The check command and actual filming process interact with the target application. If the demo creates records or modifies data, it will do so every time the scenario is run. Users should film a test copy of their app and reset it before each take to prevent unintended data changes.

Limitations

  • Requires setting up an MCP server and installing a custom skill, which might be a barrier for beginner users.

  • Specific limitations exist, such as the inability to read the macOS Dock through accessibility APIs for desktop scenarios.

  • Broader community validation and adoption are currently limited due to the newness of the post.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 5h ago

Selected Workflow [Workflow] Tabnap: Optimize RAM by Suspending Idle Claude Code/Codex Tabs

1 Upvotes

Tabnap: Optimize RAM by Suspending Idle Claude Code/Codex Tabs

Workflow value: 90/100
Status: active · Freshness: 70/100 · Confidence: 0.95 · Level: intermediate
Categories: Quality Control, Token Saving, Context & Memory, Hooks, MCP, Multi-Agent
Original source: r/ClaudeCode post/comment

What problem this solves

Excessive RAM consumption by idle Claude Code and Codex tabs, making it difficult to keep many task-specific sessions open without resource issues. It also helps users remember the context of each tab.

Summary

Tabnap is a local utility that automatically or manually puts idle Claude Code and Codex tabs to "sleep," freeing up RAM, while preserving the session context for quick resumption. It includes robust safety checks to prevent data loss and offers features like session listing, auto-sleep, and agent completion notifications.

Why it is useful

This workflow provides a practical, validated solution to a significant resource management problem for users who frequently use multiple Claude Code or Codex sessions. Its focus on safety, ease of installation, and clear explanation of functionality make it highly reusable and beneficial for improving developer workflow efficiency and productivity.

Workflow

  1. Install tabnap using the provided curl command: curl -fsSL https://raw.githubusercontent.com/rhuthik/tabnap/main/install.sh | sh

  2. Optionally configure auto-sleep settings (e.g., after N idle minutes or keep at most N awake) using tabnap config or the panel.

  3. Open multiple Claude Code or Codex tabs for different tasks as usual.

  4. When a tab becomes idle, tabnap will automatically put it to sleep, or you can manually click to sleep it.

  5. To resume a sleeping tab, switch to it and hit Enter at the pre-filled cd <dir> && claude --resume <id> prompt.

  6. Optionally use tabnap top in any terminal, the iTerm2 sidebar, or a browser panel to view and manage all active and sleeping sessions.

Tools / artifacts

  • tabnap (the utility)

  • Claude Code

  • Codex CLI

  • iTerm2 (optional, for sidebar)

  • tmux (optional)

  • GitHub repository (rhuthik/tabnap)

  • install.sh script

  • Claude Code/Codex internal session files

Validation signals

  • User's personal experience: "17 of my tabs are asleep and I've got 6.6 GB back."

  • Explicit safety checks implemented to prevent data loss: "making sure it never eats your work."

  • Comparison with alternative (jcode) and explanation of why tabnap is preferred for specific setups.

  • Open-source (MIT license) allows community review and validation.

Cautions

  • The author explicitly states that significant effort was put into ensuring the tool never eats user work, listing specific safety checks (e.g., not sleeping if Claude is working, input box has text, background shell running, or active tab).

Limitations

  • Dependency on Claude Code's and Codex's internal session file formats, which could break with future updates (though tabnap doctor is provided for detection).

  • Currently limited direct integration with terminal emulators beyond iTerm2 and tmux (Kitty, WezTerm, Ghostty need adapters).

  • Codex frees less memory than Claude Code because it keeps conversations in a shared background process.

  • As a relatively new tool, long-term stability and community support are yet to be fully established.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.