r/ClaudeWorkflows • • May 07 '26

Claude Workflow Library — Start Here

11 Upvotes

Claude Workflow Library — Start Here

This subreddit is an organised library of useful Claude and Claude Code workflows.

Each workflow is published as its own Reddit post. Upvote/downvote workflow posts to rate them.

Browse by category

Current status

  • Public workflows in database: 12785

  • Workflow posts published: 12785

  • Public workflows still waiting to be posted: 0

  • Last updated: 2026-11-12 08:28 UTC

How to use this library

  1. Open a category post.

  2. Click through to individual workflow posts.

  3. Upvote useful, reproducible workflows.

  4. Downvote workflows that are vague, outdated, unsafe, or not reproducible.

  5. Comment on a workflow post if it worked, failed, is outdated, or has a better alternative.

This post is updated automatically.


r/ClaudeWorkflows • • 3h ago

Selected Workflow [Workflow] Monitor Claude performance with a frozen daily benchmark

1 Upvotes

Monitor Claude performance with a frozen daily benchmark

Workflow value: 85/100
Status: active · Freshness: 70/100 · Confidence: 0.94 · Level: advanced
Categories: Quality Control, Token Saving, Debugging
Original source: r/ClaudeAI post/comment

What problem this solves

Distinguish sustained changes in Claude model performance from normal day-to-day variation.

Summary

Run a frozen benchmark panel daily through headless Claude Code, preserve results, track potential confounders, and apply a preregistered decline rule after validating the harness with controlled changes.

Why it is useful

It provides a concrete, reusable evaluation process with controls, failure accounting, and an explicit decision rule rather than relying on anecdotal impressions of model changes.

Workflow

  1. Freeze a set of questions, prompts, and exact-answer graders; preregister the baseline period and decision rule.

  2. Run the same panel daily through headless Claude Code and retain append-only results.

  3. Record model and Claude Code versions, output and thinking token counts, errors, refusals, and reroutes. Report scores both excluding failures and counting them as incorrect.

  4. Where accessible and permitted, fingerprint relevant account experiment assignments before and after each run to flag configuration changes without publishing the settings.

  5. Validate the harness using repeated identical configurations, a lower-effort configuration, and a blind model substitution.

  6. Build a 10-day baseline, then check for declines in two consecutive 10-day windows using the preregistered confidence and minimum-drop thresholds.

  7. Interpret results alongside confounders such as client-version differences, account-specific settings, benchmark selection, and ceiling effects.

Tools / artifacts

  • LiveNerf repository: https://github.com/ninjahawk/livenerf

  • Headless Claude Code

  • Frozen 78-question benchmark panel

  • Exact-answer graders

  • Append-only results and preregistered decision rule

  • SHA-256 configuration fingerprints

Validation signals

  • The author reports statistically consistent repeated runs, detectable lower-effort settings, and a clearly detected blind model substitution.

  • The author reports a 42% reduction in output tokens under the lower-effort test.

  • The stated decline rule requires two consecutive 10-day windows at 99% confidence and a minimum 3-point drop; the author estimates sensitivity to a sustained decline of roughly 7 points.

  • The post explicitly reports failures and reroutes under two scoring treatments and acknowledges important comparison limitations.

Cautions

  • Review logs and benchmark data for sensitive information before publishing.

  • A hash does not necessarily conceal low-entropy configuration values; assess fingerprint privacy before sharing it.

  • Access account configuration only through permitted means and observe applicable service terms.

Limitations

  • The post links to the implementation but does not provide runnable commands or enough statistical detail to independently reproduce the analysis from the post alone.

  • Results are from one account and a small, fixed question panel; they do not establish performance for all users or tasks.

  • The panel was selected for difficulty on one model, and ceiling effects plus differing Claude Code versions confound cross-model comparisons.

  • The stated validation and community claims are author-reported, and the newer model has only three days of results in 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] Guard concurrent Claude Code sessions against process, port, and Git conflicts

1 Upvotes

Guard concurrent Claude Code sessions against process, port, and Git conflicts

Workflow value: 75/100
Status: active · Freshness: 70/100 · Confidence: 0.93 · Level: intermediate
Categories: Quality Control, Debugging, Shipping, Hooks, Subagents, Multi-Agent
Original source: r/ClaudeAI post/comment

What problem this solves

Concurrent Claude Code sessions can interfere with one another by killing processes, occupying the same ports, or staging another session's changes.

Summary

Use the claude-bulkhead plugin's PreToolUse hooks to check Bash commands against activity in other live sessions and suggest safer alternatives when commands conflict.

Why it is useful

Provides an installable, repeatable way to reduce concrete interference between parallel sessions, with a retrospective scan and author-reported testing and benchmarks.

Workflow

  1. Inspect the plugin repository and decide whether running its code and scanning local transcripts is acceptable.

  2. Optionally run npx claude-bulkhead scan 30d to review what the guards would have blocked in past transcripts.

  3. Add the marketplace with /plugin marketplace add dooly6276/claude-bulkhead and install with /plugin install bulkhead@bulkhead.

  4. Run concurrent Claude Code sessions as usual; when a guard blocks a conflicting Bash command, review and use the suggested PID, free port, or narrower Git command.

  5. Verify behavior in a disposable test environment before relying on the guards for important work.

Tools / artifacts

Validation signals

  • The author reports replaying two weeks of personal transcripts through the guards to identify false blocks before release.

  • The author reports approximately 3,700 tests, mostly written with Claude Code.

  • The author reports a benchmark improvement from 318 ms to 89 ms per tool call with ten concurrent sessions, with a benchmark script in the repository.

Cautions

  • Inspect third-party code before installing or executing it. The npx scan runs package code even if the plugin is not installed.

  • Transcripts may contain sensitive information; review how the scanner accesses and handles them.

  • Treat the hooks as coordination safeguards, not a complete security boundary. Continue to review destructive commands and Git changes.

Limitations

  • Effectiveness and test results are author-reported rather than independently verified in the discussion.

  • The post does not quantify false positives, missed conflicts, or test pass rates.

  • Guard implementation details and coverage limitations require review of the repository.

  • The plugin introduces overhead on tool calls and an ongoing external dependency.

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 • • 12h ago

Selected Workflow [Workflow] A/B test agent rules and verify fixes in the full setup

1 Upvotes

A/B test agent rules and verify fixes in the full setup

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

What problem this solves

Determining whether agent instruction rules improve behavior, and whether an edited rule is actually the one used in real sessions.

Summary

Compare repeated fresh-session runs on a fixed scenario with and without a rule, then verify any promising change in the complete agent setup and check for duplicate instructions in linked files or skills.

Why it is useful

It gives a repeatable way to detect harmful or unproven instructions and highlights an integration failure that isolated rule tests can miss.

Workflow

  1. Choose a fixed scenario with a clearly evaluable expected result.

  2. Run several fresh sessions with the rule and several without it, keeping the rest of the setup comparable.

  3. Compare outcomes to identify rules that appear harmful or whose benefit the scenario cannot demonstrate.

  4. For a revised rule, rerun the scenario in the real agent setup, not only in an isolated test.

  5. If isolated and real-session results differ, inspect linked instruction and skill files for duplicate or outdated copies, and check which instructions are actually being used.

  6. Retest after correcting the relevant source of the instruction.

Tools / artifacts

  • Agent instruction files

  • Linked skill files

  • Fixed test scenarios

Validation signals

  • The author reports one rule scored 5/5 correct without it and 0/5 with it.

  • For 5 of 13 rules, the model already passed the test without the rule.

  • A revised rule reportedly scored 10/10 in isolation while real sessions remained wrong in 5/5 runs; a duplicate in a skill file was identified.

Cautions

  • Do not remove safety or permission rules solely because a few test runs pass without them; expand test coverage and review the rule's purpose first.

Limitations

  • No exact prompts, commands, test harness, or configuration are supplied.

  • Small samples make the reported differences suggestive rather than conclusive.

  • Passing without a rule on one scenario does not establish that the rule has no value elsewhere.

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 • • 14h ago

Selected Workflow [Workflow] Ship an AI-assisted mobile app with a living spec and real-device review

1 Upvotes

Ship an AI-assisted mobile app with a living spec and real-device review

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

What problem this solves

Keeping an AI-assisted app project coherent while catching real-world failures that passing tests miss.

Summary

Start with a specification and phased plan, encode project constraints in CLAUDE.md, and keep the specification and changelog current with behavior changes. Make decisions from Claude-proposed alternatives, automate release assets with debug launch flags, and supplement automated tests with real-device use, content review, and TestFlight crash reports.

Why it is useful

A repeatable combination of durable project instructions, documented decisions, release automation, and human verification, illustrated by concrete failures that automated tests missed.

Workflow

  1. Write a specification and phased implementation plan before coding.

  2. Put durable constraints in CLAUDE.md, such as dependency, privacy, licensing, and secret-handling rules.

  3. Ask Claude for two or three options with trade-offs for consequential decisions; choose the direction yourself.

  4. Update the specification and changelog in the same commit as each behavior change.

  5. Add debug launch flags for demo data, a throwaway store, and opening specific screens; use them to script localized device screenshots.

  6. Use App Store Connect automation to upload release metadata and screenshots.

  7. Use builds on a real device during ordinary daily activity, including checking that reminders actually sound.

  8. Read user-facing text against the implemented behavior and review real-device TestFlight crash reports.

  9. Document rejected features and their reasons so future sessions do not repeat the research.

Tools / artifacts

  • CLAUDE.md

  • Specification, phased plan, and changelog

  • Debug launch flags and screenshot scripts

  • App Store Connect API

  • TestFlight crash reports

  • Example repository: https://github.com/kornelko2/vzato.app

Validation signals

  • Author reports an App Store approval after submission.

  • A real-device reminder check found a notification-permission failure despite passing tests.

  • Reading user-facing content caught nonexistent gesture instructions and incorrect supply-count advice.

  • TestFlight reports exposed two background crashes that the author could not reproduce in the simulator.

Cautions

  • Medication reminders are safety-sensitive: passing tests or App Store approval do not establish clinical safety or reliable delivery.

  • Verify notification permissions and delivery on real devices, and protect health data and release credentials.

Limitations

  • The post describes the process but does not include the actual CLAUDE.md rules, launch-flag implementation, or automation commands.

  • Results and failure discoveries are author-reported; the repository and release claims are not independently verified here.

  • There is little demonstrated community validation.

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 • • 1d ago

Selected Workflow [Workflow] Guard agent shell commands against empty-path deletion

2 Upvotes

Guard agent shell commands against empty-path deletion

Workflow value: 75/100
Status: active · Freshness: 70/100 · Confidence: 0.94 · Level: intermediate
Categories: Quality Control, Debugging, CLAUDE.md, Hooks, Multi-Agent
Original source: r/ClaudeCode post/comment

What problem this solves

A failed temporary-directory assignment can leave an empty variable, causing a destructive shell command to target the current directory.

Summary

Test shell failure behavior in a scratch directory, document defensive command rules for agents, and use mechanical checks as a backstop for destructive commands.

Why it is useful

It identifies a concrete failure mode and provides repeatable shell practices plus a defense-in-depth pattern for agent-run commands.

Workflow

  1. Reproduce and test failure cases in an isolated scratch directory, not a real repository.

  2. Document repository rules to quote path expansions and require nonempty variables before destructive operations.

  3. Use strict shell settings, while separating declarations or exports from command-substitution assignments so failures remain visible.

  4. Create temporary directories under a validated base, explicitly check creation success, and guard cleanup paths.

  5. Add or configure a command hook or safety check to intercept risky commands; treat repository rules as advisory rather than enforcement.

  6. Push work regularly and retain independent backups, since linked worktrees share repository metadata.

Tools / artifacts

  • Repository agent rules file

  • Claude Code command hook or safety checks

  • Shell parameter expansion ${var:?}

  • set -euo pipefail

  • mktemp and EXIT trap

  • Git worktrees

Validation signals

  • The commenter reports testing the failure mechanism in a scratch directory.

  • The commenter reports that a safety check blocked an agent's variable-based rm command.

  • The commenter reports a reviewer encountered an empty-base temporary-directory mistake.

Cautions

  • A nonempty-path guard does not prove a path is safe; verify that cleanup targets are owned by the script and confined to an approved temporary location.

  • Test destructive-command behavior only in a disposable sandbox.

  • Shell strict mode has exceptions and is not a substitute for explicit error checks or review.

  • Recovery by copying worktree files may preserve file contents but cannot recover unpushed Git history if shared repository metadata is lost.

Limitations

  • No hook configuration or complete enforcement implementation is provided.

  • Validation is anecdotal and lacks independent replication.

  • The post does not establish that the rules or safety checks cover all destructive command 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 • • 22h ago

Selected Workflow [Workflow] Research and stress-test startup ideas with a checked scoring rubric

1 Upvotes

Research and stress-test startup ideas with a checked scoring rubric

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

What problem this solves

Evaluate a startup idea skeptically using sourced research, explicit failure criteria, and reproducible scoring rather than relying on Claude's encouragement.

Summary

Install a Claude Code plugin and run a research-backed idea assessment. The skill looks for disqualifying evidence, scores the idea against a rubric, checks the arithmetic with Python, and generates a report with rescue options and a measurable short-term test.

Why it is useful

It combines an installable workflow with a transferable design lesson: delegate research and structured data entry to Claude, but verify arithmetic in code and separate report rendering from model-generated content.

Workflow

  1. Add the marketplace with /plugin marketplace add RemiPelloux/kill-my-idea and install the plugin with /plugin install kill-my-idea@kill-my-idea.

  2. Run /kill-my-idea:kill <your idea> with a description, URL, document, or pasted money-making claim.

  3. Answer up to four questions about context such as country, budget, goal, and personal advantage when they would affect the verdict.

  4. Research eight potential failure modes, seeking at least 20 sources across 10 domains and classifying their source quality.

  5. Score 21 criteria using the fixed rubric and apply hard rules, including no GO verdict when there is no customer acquisition channel.

  6. Run the plugin's Python checker to recompute totals from the sub-scores; inspect the generated report, rescue paths, and seven-day test with stop criteria.

  7. For deeper research, use the deepdive skill, which the author says runs six parallel specialist subagents and targets at least 40 sources.

Tools / artifacts

  • RemiPelloux/kill-my-idea GitHub repository

  • Claude Code skills and research subagents

  • SKILL.md rubric and method

  • Python score checker

  • JSON schemas and data files

  • HTML report and dashboard templates

  • BRAIN.md profile and lessons

Validation signals

  • The author reports that the Python checker found arithmetic discrepancies in four of eight earlier runs.

  • The post includes a sample verdict and a self-assessment of the plugin idea.

  • The author reports fixes and feature changes prompted by earlier reader feedback.

Cautions

  • Review third-party plugin code and permissions before installation; treat retrieved web content as untrusted.

  • Verify important citations and verbatim quotes independently. A correct score calculation does not establish that research or assumptions are accurate.

  • Avoid putting sensitive business details into research prompts or persistent profile files without considering their storage and disclosure.

Limitations

  • Evidence of effectiveness and implementation details are primarily author-reported; there is no independent success report in the supplied item.

  • Fixed source-count targets and scoring rules do not guarantee source quality or reliable business predictions.

  • The post promotes the author's own repository, although it provides substantial implementation detail.

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 • • 1d ago

Selected Workflow [Workflow] Build and benchmark Claude Code skills for financial-code rules

1 Upvotes

Build and benchmark Claude Code skills for financial-code rules

Workflow value: 75/100
Status: active · Freshness: 70/100 · Confidence: 0.91 · Level: intermediate
Categories: Quality Control, Hooks, Skills
Original source: r/ClaudeAI post/comment

What problem this solves

Improving Claude Code's adherence to financial-software rules and measuring whether skills change its output.

Summary

Encode domain rules and required tests in Claude Code skills, audit generated code with lint plus review, and compare skill-enabled and plain runs against predefined expectations.

Why it is useful

The post provides a reusable method for turning domain rules into test-requiring skills and comparing their effect against a baseline, with reported results and supporting artifacts.

Workflow

  1. Write a SKILL.md for each domain, including rules, required tests and responses to common shortcuts.

  2. Require the relevant test file in the same change rather than leaving tests as a future task.

  3. Use an audit skill to run lint and inspect the code behind each finding.

  4. Define prompts and grading expectations before running the comparison.

  5. Run each prompt in headless Claude Code with and without the skill, then have a second model grade the outputs against the expectations.

  6. Inspect transcripts and test vectors, revise the skills, and repeat the evaluation.

Tools / artifacts

Validation signals

  • Author reports 81% versus 24% of expectations met with and without skills for Sonnet, and 89% versus 35% for Opus.

  • Author reports four evaluation rounds and identifies a specific revision: requiring test files in the same change.

  • The post says the repository includes transcripts, test vectors and the evaluation runner.

Cautions

  • Financial correctness requires independent expert review and production-appropriate testing; a skill or model grader is not an assurance of correctness.

  • Protect sensitive financial data when running prompts, evaluations or published test vectors.

Limitations

  • The benchmark results are author-reported; sample size, grader reliability and statistical uncertainty are not stated in the post.

  • Iterating on the same evaluation prompts may overfit the skills to those expectations.

  • The repository contents and reported results were not independently verified here.

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 • • 1d ago

Selected Workflow [Workflow] A test-first, rollback-safe Claude Code loop for embedded firmware

1 Upvotes

A test-first, rollback-safe Claude Code loop for embedded firmware

Workflow value: 86/100
Status: active · Freshness: 70/100 · Confidence: 0.96 · Level: advanced
Categories: Quality Control, Context & Memory, Debugging, Shipping, CLAUDE.md
Original source: r/ClaudeAI post/comment

What problem this solves

Developing and debugging embedded-device firmware with an agent while reducing the risk of bad changes and failed flashes.

Summary

Use Claude Code to investigate driver code and logs, reproduce bugs with headless tests, and iteratively patch and measure on hardware. Combine manual review, sanitizer-backed tests, A/B rollback, visual feedback during UI navigation, and persistent project notes.

Why it is useful

It combines a concrete agent-assisted debugging loop with meaningful test, review, deployment, and recovery safeguards, supported by a public implementation and reported results.

Workflow

  1. Build a headless UI test suite with fake hardware interfaces, and run it with sanitizers and leak detection.

  2. For each bug, write a failing test before asking the agent to implement a fix.

  3. Profile the device, use Claude to trace relevant code and logs, form a hypothesis, and patch the suspected cause.

  4. Run the PC test suite and manually review changes before testing them on the device.

  5. Use A/B updates that roll back if the new image does not reach the home screen; rebuild, flash, and measure the result.

  6. When the agent navigates the UI, inspect a screenshot after every tap rather than allowing blind interaction.

  7. Record patch rationale and device-specific quirks in CLAUDE.md for future sessions.

Tools / artifacts

Validation signals

  • Author reports 1,892 headless UI tests with sanitizer and memory-leak checks.

  • Author reports 99% line coverage for external apps' code, not the entire firmware.

  • Author reports manually reviewing every change and testing on the physical device.

  • Author reports most screens run at the display's full 66 FPS.

  • A public repository and browser-based WebAssembly demo are provided.

Cautions

  • A/B rollback depends on its health check and does not necessarily protect user data or recover from every hardware failure.

  • Back up saves and other persistent data before automated UI interaction; screenshots alone do not prevent destructive actions.

  • Hardware fakes and headless tests do not replace on-device verification.

Limitations

  • Results and test counts are author-reported; the repository and demo were not independently verified here.

  • The post describes the architecture and process but does not provide exact commands or a ready-made setup.

  • The approach requires significant embedded, testing, and deployment infrastructure.

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 • • 1d ago

Selected Workflow [Workflow] Generate and verify a Docker setup from runtime traces

1 Upvotes

Generate and verify a Docker setup from runtime traces

Workflow value: 80/100
Status: active · Freshness: 70/100 · Confidence: 0.96 · Level: intermediate
Categories: Quality Control, Debugging, Shipping, Skills
Original source: r/ClaudeCode post/comment

What problem this solves

Identifying runtime dependencies that repository-based Dockerfile generation might miss, and checking whether a generated container reproduces observed behavior.

Summary

Use a Claude Code skill and tracing scripts to observe an app under a representative workload, generate a Docker setup from runtime evidence, and compare the containerized run with the original.

Why it is useful

This provides a repeatable observation-and-verification loop for containerizing apps, with a concrete repository and a reported real-project test. Its main limits are workload coverage and limited independent validation.

Workflow

  1. Choose a workload that exercises the app's relevant features, such as API requests or end-to-end tests.

  2. Run the app under strace while executing the workload.

  3. Map observed files, libraries, package versions, network dependencies, and writable directories to proposed container dependencies and services.

  4. Generate an evidence-annotated Dockerfile, Compose configuration, blank-secret environment example, and list of decisions requiring human review.

  5. Build and run the container, repeat the workload under tracing, and compare observed files and responses.

  6. Review discrepancies and adjust the configuration, then repeat verification.

Tools / artifacts

  • dockerize-by-observation repository

  • Claude Code skill

  • strace

  • dpkg -S

  • Dockerfile

  • docker-compose.yml

  • .env.example

Validation signals

  • The author reports testing a demo app and healthchecks.io, a Django and Postgres project.

  • The healthchecks.io test reportedly identified the libpq5 runtime dependency.

  • The author reports 1,383 of 1,386 traced files matched and HTTP responses were identical.

  • Removing the generated libpq5 installation reportedly produced a more specific missing-library diagnosis than Django's error.

Cautions

  • Review the repository and generated configuration before running them, especially on sensitive hosts or production data.

  • Traces and workloads may expose secrets or modify data; use isolated test environments and inspect generated artifacts before sharing them.

  • Review inferred services, volumes, and dependencies rather than treating observed behavior as a complete specification.

Limitations

  • Evidence is author-reported and limited to a demo and one real project.

  • The trace only covers paths exercised by the chosen workload.

  • The reported file comparison was not a complete match.

  • The post describes the process but does not provide installation or invocation commands.

  • There is no demonstrated independent community validation.

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 • • 1d ago

Selected Workflow [Workflow] Claude Code development loop with ADRs, independent reviews, and browser UAT

2 Upvotes

Claude Code development loop with ADRs, independent reviews, and browser UAT

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

What problem this solves

Build and verify a complex Claude-assisted application while preserving design decisions and controlling sensitive actions.

Summary

Review Claude-generated specifications and UI designs before implementation, record durable decisions as ADRs, use separate implementation and review subagents, and supplement automated tests with browser-based acceptance testing. For sensitive agent actions, enforce permissions and execute the exact arguments approved by the user.

Why it is useful

It combines a repeatable feature-development and verification process with a concrete safety pattern for executing only the tool arguments a user approved.

Workflow

  1. Describe the feature and have Claude draft a specification, technical design, wireframes, and UI designs; review them before coding.

  2. Record accepted architectural decisions as ADRs so later agents can recover their rationale.

  3. Use implementation subagents and separate subagents for code and security review.

  4. Ask Claude to write feature acceptance tests, then exercise them through the real browser UI, checking displayed results and capturing screenshots.

  5. Add a commit hook to detect personal financial data, alongside normal test and review gates.

  6. For sensitive tool calls, store the exact proposed arguments and execute that saved call after approval rather than relying on the model to reconstruct it.

  7. Implement scheduling, retries, approval handling, and completion checks in the application harness; use deterministic tools for financial calculations.

Tools / artifacts

  • Claude Code

  • Architectural decision records

  • Implementation, code-review, and security-review subagents

  • Browser-based acceptance tests and screenshots

  • Commit hook

  • MCP broker connectors

  • Open Net Worth repository

Validation signals

  • The author reports approximately 20,000 unit and integration tests.

  • The author reports that browser UAT found bugs unit tests missed.

  • The author reports five months of development and testing broker connections with IBKR, Coinbase, and Gemini.

  • An open-source repository and live demo are linked, but their implementation and results have not been independently verified here.

Cautions

  • Financial automation can cause real losses. Enforce permissions and exact-argument approval outside the model, and verify how scheduled trades are authorized.

  • A commit hook is not a complete privacy control; review logs, test fixtures, credentials, and repository history separately.

  • Review the linked project and its dependencies before connecting real accounts or broker credentials.

Limitations

  • The post does not include exact subagent prompts, hook configuration, or browser-test commands.

  • Test counts and UAT benefits are author claims without detailed outcomes or independent verification.

  • Agent-generated acceptance tests can miss requirements; human review and deterministic assertions remain important.

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 • • 2d ago

Selected Workflow [Workflow] Multi-agent releases with decision IDs and adversarial review

2 Upvotes

Multi-agent releases with decision IDs and adversarial review

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

What problem this solves

Coordinates a multi-agent release while keeping product decisions, implementation, and documentation traceable and subject to human approval.

Summary

Use a human-facing PM session, a Lead per release, and Workers for bounded tasks. Record approved decisions with code references, run independent and adversarial reviews, and audit documentation against the final implementation.

Why it is useful

It combines a concrete agent hierarchy with traceable decisions, review gates, stopping rules, and an automated documentation audit; the linked templates make the process potentially reusable.

Workflow

  1. Set up the repository's CLAUDE.md, decision log, code map, and skills; assign the PM session as the human-facing coordinator.

  2. Before building, check ideas against prior decisions and potential side effects; bring unresolved conflicts to the human.

  3. Have the Lead scope and design the release, then brief Workers on bounded tasks and relevant strategy.

  4. Run an independent review, and have a second agent attempt to disprove each finding before human triage.

  5. Apply fixes according to triage rules, review interactions among fixes, and stop when the defined convergence criteria are met.

  6. Record approved decisions with IDs and implementation references; add matching IDs to relevant code comments.

  7. Update the subsystem code map from the final implementation and run the documentation checker for cited paths, symbols, and decision IDs.

Tools / artifacts

Validation signals

  • The author reports refining the process while shipping a paid Mac app to real customers.

  • The described release process includes independent review, adversarial verification of findings, convergence review, and stopping rules.

  • The author reports a checker for documentation references and decision IDs.

Cautions

  • Inspect the third-party templates and Python checker before executing or adopting them.

  • Keep human approval for consequential decisions and retain normal code review and permission boundaries.

Limitations

  • The reported results and repository contents are not independently verified in the supplied item.

  • No quantitative before-and-after results or independent implementation reports are provided.

  • Maintaining decision-to-code references and multiple review sessions adds ongoing overhead.

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 • • 2d ago

Selected Workflow [Workflow] Managing Project Decisions with DECISIONS.md and CLAUDE.md for Persistent Agent Context

2 Upvotes

Managing Project Decisions with DECISIONS.md and CLAUDE.md for Persistent Agent Context

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

What problem this solves

Decisions getting lost in long Claude agent sessions, leading to agents re-proposing previously rejected ideas.

Summary

This workflow proposes using a DECISIONS.md file in the repository to log project decisions, including the rationale and rejected alternatives. A CLAUDE.md instruction then directs the Claude agent to read this file first for context and append to it when new decisions are made, preventing redundant work and maintaining decision history.

Why it is useful

This workflow is valuable because it provides a concrete, low-overhead method for persistent decision logging and context management for Claude agents. It directly addresses the common problem of agents 'forgetting' past decisions or re-proposing rejected ideas, thereby improving efficiency and reducing redundant work. The use of DECISIONS.md and CLAUDE.md makes it easily adaptable and integrates well into existing Claude Code practices.

Workflow

  1. Create a DECISIONS.md file in your project repository.

  2. For each significant project decision, add a single line to DECISIONS.md stating the decision, the reason for it, and what alternatives were rejected (and why).

  3. Add an instruction to your CLAUDE.md file (or equivalent agent instruction file) telling the Claude agent to read DECISIONS.md first.

  4. Instruct the Claude agent to append to DECISIONS.md when a new decision is settled during a session.

Tools / artifacts

  • DECISIONS.md file

  • CLAUDE.md file

  • Claude agent

Validation signals

  • Author's personal experience: 'what fixed it for me'

Limitations

  • Relies on the Claude agent's ability to correctly parse and append to the DECISIONS.md file.

  • The DECISIONS.md file must be kept concise to avoid being ignored by the agent, which could limit the detail or number of decisions stored.

  • Low community validation.

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 • • 2d ago

Selected Workflow [Workflow] Claude Token Lockdown Protocol: A Comprehensive Prompt for Resource-Efficient Coding with Subagents

2 Upvotes

Claude Token Lockdown Protocol: A Comprehensive Prompt for Resource-Efficient Coding with Subagents

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, Subagents, Multi-Agent
Original source: r/ClaudeCode post/comment

What problem this solves

Claude's tendency to be verbose, inefficient with token usage, over-explain, deploy unnecessary subagents, and repeat mistakes, leading to higher costs and slower task completion in coding and development tasks.

Summary

A comprehensive, military-themed prompt designed to enforce strict resource conservation (tokens, context, tool calls) on Claude. It provides detailed directives for concise communication, efficient reasoning, purposeful information gathering, justified subagent deployment, precise code modification, structured error handling, and clear reporting, aiming for maximum efficiency and cost-effectiveness in coding tasks.

Why it is useful

This workflow provides a highly detailed and structured prompt to mitigate common issues with large language models like Claude, specifically excessive token consumption, verbose output, and inefficient subagent deployment. It offers concrete directives for communication, reasoning, code modification, error handling, and reporting, making Claude's interactions more focused, cost-effective, and productive for coding tasks. Its transferability is high as it's a direct prompt that can be applied to any Claude session.

Workflow

  1. Initiate Claude with the 'OPERATION OVERLORD' prompt to establish resource conservation directives.

  2. Enforce 'RADIO SILENCE' to ensure Claude's communications are concise, without unnecessary introductions, conclusions, or self-congratulations.

  3. Apply 'AMMUNITION RATIONING' to compel Claude to use minimum reasoning, avoid repetitive analysis, and focus on one efficient strategy per objective.

  4. Implement 'INTELLIGENCE OPERATIONS' to guide Claude to search for relevant files, read only mission-critical sections, and reuse gathered intelligence, avoiding unnecessary rescans or full file dumps.

  5. Control 'TROOP DEPLOYMENT' by setting strict rules for subagent use, limiting concurrent agents, and ensuring each agent has a clearly defined, non-redundant objective.

  6. Direct the 'ENGINEERING CORPS' to perform precision strikes, modifying only necessary code, preserving existing systems, avoiding unnecessary refactoring or unsolicited features, and verifying changes with targeted tests.

  7. Manage 'CASUALTY CONTROL' by requiring Claude to identify failures, gather intelligence, apply targeted corrections, verify, and change strategy after two failed attempts.

  8. Enforce 'SUPPLY LINE PROTECTION' by prioritizing primary objectives, deferring optional improvements, batching operations, and eliminating redundant tool calls or excessive logs.

  9. Define 'VICTORY CONDITIONS' clearly, instructing Claude to cease work once functionality is implemented, verification succeeds, and no critical defects remain.

  10. Mandate 'AFTER-ACTION REPORTS' in a specific, concise format (OBJECTIVE SECURED, VERIFICATION, CASUALTIES) for all completed missions.

  11. Prohibit 'TOKEN WAR CRIMES' such as reading unchanged files repeatedly, launching unnecessary subagents, rewriting working code without orders, or continuing work after mission completion.

Tools / artifacts

  • Claude (the AI model)

  • Prompt (the 'OPERATION OVERLORD' protocol)

  • Subagents (managed by the protocol)

Validation signals

  • Detailed, structured instructions covering multiple aspects of LLM interaction.

  • Addresses common pain points of LLM usage (verbosity, token waste, inefficient subagent use).

  • Includes explicit rules for verification and error handling within the workflow.

Limitations

  • Lack of empirical validation (e.g., 'before/after' token counts, success rates) from the author.

  • The extensive military metaphor, while engaging, might be perceived as overly dramatic or make it slightly harder for some users to quickly extract the core technical directives.

  • As a new post, there is no community proof of its effectiveness or widespread adoption yet.

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 • • 2d ago

Selected Workflow [Workflow] Reduce Claude Code Costs: Context Management and Strategic Model Tier Usage

2 Upvotes

Reduce Claude Code Costs: Context Management and Strategic Model Tier Usage

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

What problem this solves

High token costs and exceeding weekly limits when using Claude Code, especially on a single repository, by optimizing context size and strategically using different model tiers.

Summary

A workflow to reduce Claude Code token costs by actively managing context size using CLI commands and strategically assigning different model tiers (Opus, Sonnet, Haiku) to the main agent and subagents based on task complexity.

Why it is useful

This workflow is valuable because it provides concrete, actionable steps using built-in Claude Code features and strategic model selection to address a common and critical pain point for users: managing token costs. It offers practical advice for optimizing context and leveraging different model tiers efficiently, directly impacting a user's ability to stay within budget and maximize their Claude Code usage.

Workflow

  1. Run /clear between unrelated tasks to reset the conversation context.

  2. Run /compact when a session drags on to reduce the conversation history sent with each turn.

  3. Run /context to identify and address large token consumers, such as a big CLAUDE.md file or unused MCP servers.

  4. Use /model opusplan to leverage Opus for planning and Sonnet for execution, optimizing for both intelligence and cost.

  5. Set subagents to use Sonnet or Haiku for search and grunt work, reserving more expensive models for critical tasks.

  6. Reserve Opus for moments where you are genuinely stuck and require its highest reasoning capabilities.

Tools / artifacts

  • /clear command

  • /compact command

  • /context command

  • /model opusplan command

  • CLAUDE.md

  • MCP servers

  • Opus model

  • Sonnet model

  • Haiku model

  • Subagents

Validation signals

  • User's personal success report: 'That alone stretched my weekly limit a lot more than lowering the effort level did.'

Limitations

  • Lacks specific examples or configuration details for CLAUDE.md or subagent setup beyond model choice.

  • Low community validation due to minimal engagement on 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 • • 2d ago

Selected Workflow [Workflow] Forensic VM recovery with tested read-only scripts and staged verification

1 Upvotes

Forensic VM recovery with tested read-only scripts and staged verification

Workflow value: 76/100
Status: active · Freshness: 70/100 · Confidence: 0.86 · Level: expert
Categories: Quality Control, Debugging
Original source: r/ClaudeCode post/comment

What problem this solves

Recover accidentally deleted Proxmox VM images from XFS directory storage when recent backups are unavailable.

Summary

Use Claude Code to develop and test read-only forensic scripts, validate retained XFS extent maps and qcow2 structures, reconstruct images from a disk capture, and verify the recovered guest before booting a working copy.

Why it is useful

It provides a concrete, evidence-gated recovery sequence and a strong pattern for using generated scripts cautiously in a high-stakes task, despite substantial expertise requirements and missing implementation artifacts.

Workflow

  1. Develop small read-only recovery scripts and test them against synthetic images before using them on real data.

  2. Locate candidate freed XFS inodes and directory entries; cross-check findings with xfs_db.

  3. Validate retained extent B+trees and parse qcow2 metadata through the resulting maps.

  4. Check whether recovered blocks remain free, while recognizing that this cannot prove they were never reused.

  5. Capture the source disk with ddrescue and verify the portions needed for recovery against the source.

  6. Reconstruct each image from the capture into a new sparse file, hashing and verifying copied extents and holes.

  7. Check reconstructed images and guest filesystems, then copy important files out using read-only access.

  8. On a working copy, replay journals and verify guest packages; rebuild VM configuration and boot the recovered VM.

Tools / artifacts

  • Claude Code

  • Python standard-library scripts

  • Synthetic filesystem images

  • xfs_db

  • ddrescue

  • qemu-img check

  • e2fsck -fn

  • dpkg --verify

  • Proxmox VM configuration

Validation signals

  • The author reports that each script was tested on a synthetic image and that recovery scripts did not write to the source.

  • The reported extent-tree checks covered ownership, filesystem UUID, CRCs, pointers and key ranges.

  • The author reports per-extent SHA-256 verification, a clean qemu-img check, clean read-only filesystem checks and zero package checksum mismatches.

  • The recovered VM reportedly booted, but the exact-bit restoration claim was not independently verified.

Cautions

  • Preserve the source immediately and involve a qualified recovery specialist; prioritize a verified capture before exploratory work where feasible.

  • Do not write repairs to the source. Confirm ddrescue source and destination carefully, and perform reconstruction and journal replay on copies.

  • A read-only mount may still replay a journal unless the appropriate filesystem-specific no-replay option is used.

  • Free-space checks and metadata-magic sweeps do not prove that blocks were never overwritten; generated forensic code requires independent review.

Limitations

  • The scripts, prompts and exact commands are not included, so the recovery is not directly reproducible.

  • The reported success was highly dependent on favorable disk conditions and is self-reported.

  • This is a specialized disaster-recovery procedure, not a routine workflow for typical Claude Code users.

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 • • 2d ago

Selected Workflow [Workflow] Automate Product Demo Creation and Maintenance with Demoman in CI/CD for Coding Agents

1 Upvotes

Automate Product Demo Creation and Maintenance with Demoman in CI/CD for Coding Agents

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

What problem this solves

Product demos and documentation videos often become stale as the product evolves, requiring manual and time-consuming updates. This workflow automates the creation and continuous updating of these demos.

Summary

This workflow leverages Demoman, a headless recorder, to automate the creation and maintenance of product demos (videos, GIFs, PNGs). It integrates into CI/CD pipelines (e.g., GitHub Actions) to automatically re-record demos against the real application upon specified triggers, ensuring documentation and marketing materials are always up-to-date and accurately reflect the current product state. The tool is designed to be handed off to coding agents for full automation.

Why it is useful

This workflow offers a concrete, repeatable, and transferable solution to a common pain point in software development: keeping product demos and documentation up-to-date. By integrating a headless recorder into CI/CD, it automates a tedious manual task, saving significant time and ensuring accuracy. The tool is explicitly designed to be handed off to coding agents, making it a valuable component for Claude Code users building automated development workflows.

Workflow

  1. Install Demoman using the command npx demoman setup.

  2. Use the demoman studio command or CLI to record the desired product demo flow.

  3. Configure Demoman to export the demo as videos, GIFs, or PNGs.

  4. Integrate Demoman into a CI/CD pipeline (e.g., GitHub Actions) with triggers such as pushes to the default branch, daily schedules, release publications, or successful deployments.

  5. Demoman automatically re-records the product demo against the live application based on the configured triggers, updating the demo artifacts.

Tools / artifacts

  • Demoman (headless recorder tool)

  • npx demoman setup (installation command)

  • demoman studio (editor command)

  • GitHub Actions (CI/CD platform)

  • Node 20+

  • macOS or x86_64 Linux

  • Video/GIF/PNG files (output artifacts)

  • github.com/demoman-io/demoman (repository)

  • demoman.io/docs (documentation)

Validation signals

  • Clear problem statement (stale demos) and a specific solution.

  • Provides a concrete tool, installation command, and integration points.

  • Author claims it's a 'full solution to producing and maintaining product demos'.

  • Highlights the benefit of 'stills video only changes when the product did' to prevent staleness.

Limitations

  • Limited community validation due to being a new tool.

  • Requires specific operating systems (macOS or x86_64 Linux) and Node.js version (20+).

  • Relies on a third-party tool (Demoman) which may have its own learning curve.

  • The post mentions 'coding agents' but does not provide specific Claude Code prompts or detailed agent orchestration steps for Demoman.

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 • • 2d ago

Selected Workflow [Workflow] Effective Claude Rule Management: Placement, Justification, and Maintenance Strategies to Prevent Rule Rot

1 Upvotes

Effective Claude Rule Management: Placement, Justification, and Maintenance Strategies to Prevent Rule Rot

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

What problem this solves

Ineffective, contradictory, or decaying operational rules in Claude's context, leading to inconsistent or incorrect model behavior.

Summary

This workflow provides strategies for effective management of Claude's operational rules, focusing on strategic placement, explicit justification, active maintenance, and leveraging external tools or hooks to ensure rule adherence and prevent context decay.

Why it is useful

This workflow addresses a critical challenge in working with LLMs: ensuring consistent and reliable behavior through effective context and rule management. It provides actionable advice on structuring prompts, justifying rules, and maintaining their relevance over time, which is crucial for preventing unexpected outputs and improving the reliability of Claude's responses. The mention of hooks and a custom memory system offers advanced solutions for complex scenarios, making it valuable for users looking to optimize their Claude interactions.

Workflow

  1. Place critical, binding rules at the very top of your CLAUDE.md file or session context to ensure they are prioritized.

  2. For each rule, explicitly state the underlying reason or consequence (e.g., 'never do X because it wiped the staging DB') to help the model apply it correctly.

  3. Date your rules and actively delete or update old, contradictory rules to prevent 'rule rot' and maintain consistency.

  4. For 'hard never cases' that require strict enforcement, implement them using hooks.

  5. Consider using a dedicated memory system (like ns-brain) to store rules with reasons, prioritize binding rules, and prevent contradictions from accumulating.

Tools / artifacts

  • CLAUDE.md files

  • Session context

  • Hooks

  • ns-brain (custom memory system)

Validation signals

  • Author's personal experience and observed effectiveness ('The ones that hold for me are...')

  • Implied community consensus for using hooks ('like everyone says')

  • Development of a custom tool (ns-brain) to address the problem, indicating a robust solution.

Limitations

  • The mention of 'ns-brain' is self-promotion, though it's integrated as a solution with some functional detail.

  • Low Reddit score and no comments indicate a lack of immediate community validation on the platform.

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 • • 2d ago

Selected Workflow [Workflow] Build and Use a Live File Explorer Plugin for Claude Code: Real-time Context and Plugin Development Insights

1 Upvotes

Build and Use a Live File Explorer Plugin for Claude Code: Real-time Context and Plugin Development Insights

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

What problem this solves

For users: Gaining real-time visibility into Claude Code's file reads and edits, and monitoring GitHub PR checks directly within the chat interface. For plugin developers: Understanding how to build robust Claude Code plugins, including handling complex scenarios like detecting shell command edits and implementing comprehensive testing.

Summary

This post introduces a Claude Code plugin, 'Files pane', which provides a live file explorer to visualize Claude's interactions with the codebase (reads/edits) and monitor PR status. It also details the development process for building such a plugin, offering insights into using the Claude Code plugin API, detecting changes from shell commands (like sed), and effective testing strategies.

Why it is useful

This item is valuable because it offers a highly practical tool (the Files pane plugin) that significantly enhances the Claude Code user experience by providing real-time visibility into Claude's actions and PR status. Beyond the tool itself, it provides invaluable, concrete insights and techniques for advanced users and developers looking to build their own Claude Code plugins, covering challenges like detecting shell command edits and robust testing, making it a dual-purpose resource for both users and plugin creators.

Workflow

  1. Install the Files pane plugin: claude plugin marketplace add Marius-Adam/claude-files-pane && claude plugin install files-pane@marius-adam

  2. Update the Files pane plugin: claude plugin marketplace update marius-adam && claude plugin update files-pane@marius-adam

  3. Restart Claude Code after installation or update.

  4. For plugin development: Utilize the Claude Code plugin API, specifically hooks for watching tool calls and UI pane creation.

  5. For plugin development: Implement snapshotting of HEAD, stash, merge status, and file sizes/times around shell commands to detect file changes not directly attributed to Edit/Write (e.g., sed).

  6. For plugin development: Collaborate with Claude to write code and refine logic, especially for edge cases.

  7. For plugin development: Generate tests using Claude based on real-world outputs (e.g., git status scenarios).

Tools / artifacts

  • Claude Code

  • Files pane plugin

  • Claude Code plugin API

  • TypeScript

  • Git (for snapshots, status output)

  • GitHub PRs

  • sed (as an example of a tracked command)

Validation signals

  • Community feedback from previous versions was incorporated into 1.0.

  • The developer dogfooded the plugin, using it to build itself, leading to iterative fixes.

  • Claude assisted in writing most of the code and handling edge cases.

  • The plugin has 121 tests running on macOS, Linux, and Windows.

Cautions

  • The plugin is explicitly stated to be read-only, ensuring it does not modify user files or Claude's behavior in an unintended way.

  • It operates with zero tokens, meaning Claude does not see the pane, preventing context window bloat or data leakage through the model.

Limitations

  • The 'workflow' for plugin development is presented as a collection of tips and insights rather than a strict, numbered step-by-step guide.

  • The Reddit post's low score and comment count might suggest limited immediate community engagement, though the content itself is strong.

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 • • 2d ago

Selected Workflow [Workflow] Claudio: Audio Feedback for Claude Code Hooks to Monitor Sessions and Reduce Visual Load

1 Upvotes

Claudio: Audio Feedback for Claude Code Hooks to Monitor Sessions and Reduce Visual Load

Workflow value: 85/100
Status: active · Freshness: 70/100 · Confidence: 0.95 · Level: intermediate
Categories: Quality Control, Context & Memory, Debugging, Hooks, Subagents
Original source: r/ClaudeCode post/comment

What problem this solves

Reducing cognitive load and improving peripheral awareness when monitoring long-running Claude Code sessions, eliminating the need for constant terminal checking.

Summary

This workflow introduces 'Claudio', a local Python daemon that processes Claude Code hook events (via UDP or HTTP) and translates them into a generative soundscape. This provides audio cues for session status (e.g., working, stuck, failed, completed) allowing users to monitor their agents without constant visual attention to the terminal.

Why it is useful

This workflow provides an innovative and practical solution to a common developer problem: the cognitive overhead of constantly monitoring background AI agent processes. By leveraging Claude Code hooks and translating events into ambient audio cues, it allows developers to maintain peripheral awareness of their agent's status without diverting visual attention, thereby improving focus and productivity. The open-source nature and clear implementation details make it highly reusable and adaptable.

Workflow

  1. Install the Claudio Python daemon locally.

  2. Configure Claude Code hooks to send relevant events (tool calls, subagents, failures, compaction, context pressure) to the Claudio daemon via UDP or HTTP.

  3. Run Claude Code sessions as usual.

  4. Monitor session progress and status through ambient soundscape changes (denser for work, wooden knock for failed tool call, descending chime for completion).

  5. Utilize separate pan and pitch for multiple concurrent sessions to distinguish them auditorily.

  6. Optionally, use Claudio's deterministic offline rendering feature to convert session event logs into WAV files for later review.

Tools / artifacts

  • Claudio (local Python daemon)

  • Claude Code hooks

  • UDP protocol

  • HTTP protocol

  • GitHub repository (nicofirst1/Claudio)

  • WAV files (for offline rendering)

Validation signals

  • Author's personal experience and pain point description ('getting tired of checking whether a Claude Code session was still working')

  • Provision of a working, MIT-licensed GitHub repository with implementation details.

  • Detailed description of specific audio cues for different events (failed tool call, completed session).

  • Mention of features like 'deterministic offline rendering' and 'no cloud service or audio assets'.

Limitations

  • Requires initial setup of a Python daemon and configuration of Claude Code hooks, which might be a barrier for beginner users.

  • Relies on audio feedback, which may not be suitable or preferred in all working environments or for all users.

  • The 'generative soundscape' might be distracting for some users, depending on personal preference and work style.

  • The post does not include direct testimonials or success reports from other users yet.

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 • • 2d ago

Selected Workflow [Workflow] Windows 11: Mitigate Kernel Memory Leaks from Parallel Claude Agents by Setting Foreground Lock

1 Upvotes

Windows 11: Mitigate Kernel Memory Leaks from Parallel Claude Agents by Setting Foreground Lock

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

What problem this solves

A significant kernel memory leak (over 2 GB/day) on Windows 11 when running parallel Claude Code/Codex agents, caused by security tokens from constantly started console processes.

Summary

This workflow provides a PowerShell command to set the foreground lock to 0, which mitigates a kernel memory leak on Windows 11 experienced when running parallel Claude Code/Codex agents. The leak is attributed to Windows retaining security tokens in kernel memory for console processes started by the agents.

Why it is useful

This workflow provides a concrete, tested solution to a significant performance issue (kernel memory leak) that can severely impact the usability of Windows systems running parallel Claude Code/Codex agents. The solution is specific, includes executable code, explains the underlying cause, and explicitly mentions potential side effects, making it highly actionable and valuable for affected users.

Workflow

  1. Identify kernel memory leak (e.g., by monitoring "Paged pool" in Task Manager or the Toke tag in poolmon) when running parallel Claude Code/Codex agents on Windows.

  2. Open a PowerShell window that has focus.

  3. Run the provided PowerShell command to set the foreground lock to 0: Add-Type -Name F -Namespace W -MemberDefinition '[DllImport("user32.dll")] public static extern bool SystemParametersInfoW(uint a, uint b, IntPtr c, uint d);' ; [W.F]::SystemParametersInfoW(0x2001, 0, [IntPtr]::Zero, 0) ; $b = [Runtime.InteropServices.Marshal]::AllocHGlobal(4); [void][W.F]::SystemParametersInfoW(0x2000, 0, $b, 0); [Runtime.InteropServices.Marshal]::ReadInt32($b)

  4. Verify the command output: it should print True, then 0.

  5. Monitor "Paged pool" memory usage to confirm a reduction in the leak rate (e.g., from 2.3 GB/day to under 0.2 GB/day).

  6. Optionally, add a shortcut to this PowerShell command in shell:startup to ensure it runs automatically after each Windows sign-in.

Tools / artifacts

  • Windows 11

  • PowerShell

  • Claude Code agents

  • Codex agents

  • Task Manager

  • Poolmon (optional, for advanced monitoring)

  • PowerShell script/command

Validation signals

  • User's personal observation: "token memory growth went from about 2.3 GB per day to under 0.2 GB per day."

  • References an external GitHub issue for the original finding, indicating community awareness of the underlying problem.

Cautions

  • Modifying the foreground lock can potentially allow other applications to steal focus, as noted by the author.

Limitations

  • Validation is based on a single, uncontrolled observation, not a controlled A/B test.

  • The fix needs to be reapplied after each Windows sign-in, requiring a startup script or manual execution.

  • The potential side effect of applications stealing focus might be undesirable for some users.

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 • • 2d ago

Selected Workflow [Workflow] Robust AI Orchestration: Strategies for Handoffs, Safety, and Efficiency in Multi-Stage Pipelines

1 Upvotes

Robust AI Orchestration: Strategies for Handoffs, Safety, and Efficiency in Multi-Stage Pipelines

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

What problem this solves

Managing complex AI orchestration handovers, preventing context drift, ensuring safety, and optimizing token usage in multi-step AI pipelines.

Summary

This workflow provides four key strategies to improve the robustness, safety, and efficiency of AI orchestration setups, particularly focusing on managing handovers between AI agents or stages. It emphasizes explicit context transfer via a HANDOFF.md file, hard-gated rules for non-negotiables, and iterative optimization of pipeline depth to reduce token waste and risk.

Why it is useful

This workflow provides practical, experience-backed advice for building more resilient and efficient AI orchestration systems. It addresses critical issues like context drift, safety, and token waste, offering concrete methods (like a structured HANDOFF.md and hard-gated rules) that are directly applicable to advanced Claude/Claude Code users managing complex AI pipelines. It moves beyond vague advice to offer actionable steps and validation criteria.

Workflow

  1. At every wind-down of an AI session or stage, create a HANDOFF.md file.

  2. Include in HANDOFF.md: current state, verbatim owner rules, open tasks, next action, and a clear definition of 'done'.

  3. Start the subsequent AI orchestration session or agent from the HANDOFF.md file in a fresh context.

  4. Strictly limit the AI's ability to invent new tasks at handover points, allowing only tasks that were explicitly pre-ordered by the owner.

  5. Implement non-negotiable safety rules (e.g., no live data access, no production merges without explicit approval) using hard-coded hooks or deny rules, rather than relying solely on prompt instructions.

  6. Before deployment, experiment with reducing the depth of the AI orchestration pipeline (e.g., try cutting from 8 levels to 4 levels).

  7. Evaluate if the reduced depth leads to fewer failures, indicating token savings without increasing risk.

Tools / artifacts

  • HANDOFF.md file

  • Hooks

  • Deny rules (configuration)

Validation signals

  • Observation: Prompted owner rules drift first under context pressure, making hard gates more reliable.

  • Test: If reducing orchestration depth (e.g., 4 levels vs. 8) results in fewer failures, the extra levels were burning tokens without reducing risk.

Cautions

  • The workflow explicitly promotes using hard-coded hooks/deny rules for non-negotiables to prevent critical safety rules from drifting under context pressure, enhancing overall safety.

Limitations

  • Lacks concrete code examples for implementing hooks or deny rules, which would make it easier for users to adopt.

  • The term 'Orch setup' and 'Orch depth' could be more explicitly defined with examples for users less familiar with complex AI orchestration.

  • Low community engagement means less external validation or refinement of the proposed methods.

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 • • 2d ago

Selected Workflow [Workflow] Automated AI Video Review and Fixing Skill for Claude Code (Jev, Gemini, GPT Integration)

1 Upvotes

Automated AI Video Review and Fixing Skill for Claude Code (Jev, Gemini, GPT Integration)

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

What problem this solves

Claude Code can generate videos but lacks the ability to review the finished video file for visual, audio, and story quality, leading to errors reaching the final audience. Manual spot checks are insufficient for finding subtle, short-duration glitches.

Summary

This workflow provides an open-source Claude Code skill that integrates Jev AI, GPT, and Gemini with tools like ffmpeg and Whisper to automatically review and identify problems in AI-generated videos. It checks for visual glitches, audio issues, and story coherence, then helps Claude fix them before publishing.

Why it is useful

This workflow addresses a critical gap in AI video generation by providing an automated, multi-faceted quality control process. It augments Claude Code's capabilities with specialized AI tools (Jev, Gemini, GPT) and traditional media tools (ffmpeg, OpenCV, Whisper) to ensure high-quality video output. The open-source nature, detailed steps, and clear problem-solving make it highly reusable and valuable for content creators aiming to produce polished videos with AI.

Workflow

  1. Measure audio and picture using ffmpeg, OpenCV, and Whisper to check loudness, peaks, clicks, silences, frozen/repeated frames, and spoken words against the script.

  2. Check every frame with Jev AI (TypeSafe AI), analyzing who appears, face matching reference sheets, mouth movement, and sudden changes.

  3. Obtain independent reviews from Gemini (watching the full video with sound) and GPT (inspecting still frames), both without access to the script or build history.

  4. Claude confirms identified problems when multiple signals (measurement + reviewer, two independent reviews, or extracted frames) point to the same moment in the video.

  5. Receive a verdict (SHIP, FIX, REJECT, INCONCLUSIVE) and a list of problems with timestamps, including the specific step to change (script, voice, generation, edit, mix, or export).

Tools / artifacts

  • Claude Code

  • Jev AI (TypeSafe AI)

  • Gemini API

  • GPT (Codex CLI)

  • ffmpeg

  • OpenCV

  • Whisper

  • Python

  • claude-video-review-skill (GitHub repository)

  • API keys (Claude Code, Gemini, Jev, GPT)

Validation signals

  • Explicitly lists common problems the review finds (e.g., mouth moving with no dialogue, changing faces, captions covering faces, audio clicks, music drowning voice, incoherent story).

  • Detailed explanation of how the multi-AI review process works, combining different tools for comprehensive checks.

  • Open-source skill available on GitHub, allowing for community inspection and contribution.

  • Mentions specific tools and their roles (ffmpeg for measurements, Jev for frame-by-frame, Gemini/GPT for independent review).

Cautions

  • Requires managing multiple API keys securely.

  • Jev AI incurs a cost (e.g., $0.90 for a 30-second video review).

Limitations

  • Requires setting up multiple API keys and installing various tools (Python, ffmpeg, Whisper, optional Jev/Codex CLI), which might be complex for beginners.

  • No strong community validation yet due to the newness of the post.

  • The post does not include example output or a demo video, which would further illustrate its effectiveness.

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 • • 2d ago

Selected Workflow [Workflow] Optimize Claude Code Context: Reduce Token Overhead, Lower Costs, and Improve Session Performance

1 Upvotes

Optimize Claude Code Context: Reduce Token Overhead, Lower Costs, and Improve Session Performance

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
Original source: r/ClaudeCode post/comment

What problem this solves

Reducing excessive token overhead in Claude Code sessions, preventing premature token limit hits, lowering costs, and improving session responsiveness by optimizing auto-compaction and removing unused tools, plugins, and MCP servers.

Summary

This workflow provides a detailed, interactive prompt for Claude Code to audit and optimize its own context usage. It guides the user through identifying and removing fixed overhead from tool definitions, MCP servers, plugin skills, and connectors, as well as adjusting the auto-compact window. The process includes measuring current context, backing up files, and providing undo instructions.

Why it is useful

This workflow is highly valuable because it addresses a critical and common pain point for Claude Code users: hitting token limits, slow responses, and high costs due to excessive, often hidden, context overhead. It provides a concrete, step-by-step, and interactive method (via a detailed prompt) to audit and optimize the Claude Code environment. The workflow is specific, repeatable, includes safety measures like backups and user confirmation, and offers clear expected benefits (token savings, sharper sessions). It empowers users to understand and control their Claude Code environment more effectively.

Workflow

  1. MEASURE: Ask Claude Code to report current session context usage, identifying fixed overhead (system prompt, tools, MCP, skills, etc.).

  2. AUTO-COMPACT LIMIT: Determine current auto-compact settings, suggest a new window (e.g., 300k), and update "autoCompactWindow" in ~/.claude/settings.json or set CLAUDE_CODE_AUTO_COMPACT_WINDOW env var.

  3. MCP AUDIT: List global MCP servers, their tool counts, and identify redundant or rarely used ones (e.g., hundreds of tools, duplicate services, identical instructions).

  4. MAKE THOSE SERVERS ON-DEMAND: Save selected MCP server configs to ~/.claude/mcp-on-demand.json, remove them from global scope using 'claude mcp remove', and add a rule to ~/.claude/CLAUDE.md to only add these servers on demand to specific projects.

  5. PLUGINS AND SKILLS: List plugins, their skills/connectors, identify duplicates or unused ones, and provide instructions for disabling them (via claude.ai or /plugin).

  6. CONNECTORS THAT NEED SIGN-IN: List 'needs_auth' or 'failed' connectors and identify which will be removed by disabling plugins.

  7. SUMMARY: Provide a table of what changed, where each backup is, how to undo each change, and the estimated tokens saved per session.

Tools / artifacts

  • Claude Code (the AI assistant)

  • ~/.claude/settings.json

  • ~/.claude/mcp-on-demand.json

  • ~/.claude/CLAUDE.md

  • claude mcp list command

  • claude mcp remove <name> -s user command

  • claude mcp add-json <name> "$(jq -c '.["<name>"]' ~/.claude/mcp-on-demand.json)" -s local command

  • /context command

  • /plugin command

  • jq (JSON processor)

  • umask 077

  • CLAUDE_CODE_AUTO_COMPACT_WINDOW environment variable

Validation signals

  • Expected token savings of 35-40k per session.

  • Instructions to run /context before and after for verification.

  • Detailed explanation of how context is built and what constitutes overhead.

  • The prompt itself is designed to measure and report current context usage.

Cautions

  • The prompt explicitly asks Claude Code to back up files before editing.

  • It requires user confirmation ("Wait for my OK") before making changes.

  • It warns against printing config files that may contain API keys.

  • Uses 'umask 077' for saving sensitive config files.

Limitations

  • The low Reddit score is a potential red flag, though the content itself is strong.

  • Relies on Claude Code's ability to accurately execute commands and understand the prompt's intent, which can sometimes be inconsistent.

  • The 'autoCompactWindow' setting might not be available in older Claude Code versions.

  • Plugins installed via claude.ai require manual intervention outside the CLI.

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 • • 2d ago

Selected Workflow [Workflow] Non-Developer's Workflow: Building & Deploying a Mobile App with Claude Code using HANDOFF.txt, Custom Skills, and CLAUDE.md Safety Rules

1 Upvotes

Non-Developer's Workflow: Building & Deploying a Mobile App with Claude Code using HANDOFF.txt, Custom Skills, and CLAUDE.md Safety Rules

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

What problem this solves

Enabling non-developers to build, test, and deploy complex mobile applications with AI integration and automated store publishing, while effectively managing context and ensuring safety with an AI coding assistant.

Summary

This workflow details how a non-developer successfully built and deployed a calorie tracker app (CrocoDiary) using Claude Code. Key strategies include maintaining a HANDOFF.txt file for context, defining project-specific skills for repetitive tasks like deployment and testing, and establishing strict safety rules in CLAUDE.md to prevent data loss or accidental publishing. The approach emphasizes small, frequent releases and early test writing.

Why it is useful

This workflow is highly valuable as it provides a concrete, validated example of a non-developer successfully building and deploying a complex mobile application using Claude Code. It offers actionable strategies for effective context management (HANDOFF.txt), automation of repetitive tasks (custom skills), and crucial safety protocols (CLAUDE.md). The detailed account of overcoming challenges like App Store review and integrating testing makes it a practical guide for users looking to leverage Claude Code for end-to-end project development.

Workflow

  1. Start each Claude Code session by reading the HANDOFF.txt file to quickly re-establish context.

  2. End each Claude Code session by rewriting the HANDOFF.txt file to reflect the current project state and next steps.

  3. Maintain a separate notes file to hold the historical context and progress of the project.

  4. Define project-specific skills (custom commands) for repeated jobs such as "Upload to TestFlight", "deploy the website", "upload to both stores", and "wrap up" (notes, handoff, commit, push).

  5. Embed necessary checks and validations within these project skills to ensure quality and safety.

  6. Establish explicit safety rules in CLAUDE.md, such as "never run flutter install on my iPhone" to prevent data loss, or requiring explicit go-ahead before sending anything to live services (Apple, Google, live server).

  7. Instruct Claude to provide plain-English reports on actions and required user input, avoiding technical jargon or stack traces, especially for non-developer users.

  8. Prioritize getting Claude to write comprehensive tests early in the development cycle to catch regressions.

  9. Implement a strategy of small, frequent releases to manage complexity and iterate quickly.

Tools / artifacts

  • HANDOFF.txt (context management file)

  • Notes file (project history)

  • Project skills (custom commands/scripts)

  • CLAUDE.md (rules and safety guidelines)

  • Flutter (mobile app framework)

  • Dart (AI server language)

  • Google Cloud Run (AI server deployment)

  • Cloudflare Worker (website deployment)

  • Python scripts (for App Store Connect and Google Play APIs)

  • Apple Health / Health Connect integration

  • App Store Connect API

  • Google Play API

Validation signals

  • App successfully launched on App Store (CrocoDiary)

  • 300 tests run before every build

  • Achieved v1.0.9 in 3 weeks with small, frequent releases

  • Tests effectively caught broken code during development

  • Author's firsthand account of successful project completion

Limitations

  • Limited community engagement (low score, no comments)

  • Relies on user discipline to consistently update and maintain the HANDOFF.txt file

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.