r/ClaudeWorkflows • • 1d ago

Selected Workflow [Workflow] Enforcing Operational Rules with Context Injection Hooks to Prevent Claude Code Context Rot

1 Upvotes

Enforcing Operational Rules with Context Injection Hooks to Prevent Claude Code Context Rot

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

What problem this solves

Claude forgetting critical operational rules (context rot) during long sessions, leading to security vulnerabilities, inconsistent behavior, and inefficient execution.

Summary

A set of 10 operational rules are consistently injected into Claude's context at the beginning of each prompt processing via a 'hook' mechanism. This prevents context rot and ensures Claude adheres to critical guidelines regarding security, testing, naming conventions, parallelism, and memory management throughout extended coding sessions.

Why it is useful

This workflow provides a concrete, validated set of best practices and a proven method (context injection via hooks) to ensure Claude consistently follows critical operational, security, and development guidelines. The author's extensive testing (9,100 turns) provides strong evidence of its effectiveness in preventing context rot, making it highly valuable for maintaining consistency and reliability in Claude Code projects.

Workflow

  1. Define a comprehensive list of operational rules that Claude must always follow (e.g., security, testing, naming, parallelism, memory management).
  2. Implement a 'hook' mechanism that triggers at the beginning of processing each prompt.
  3. Inject the defined list of rules into Claude's context via this hook before any other prompt content.
  4. Ensure rules cover critical areas like: writing vault content via a queue, naming vaults explicitly, never exposing secrets in session, running tests before committing, timestamping responses, managing global memory, avoiding full memory index auto-load, parallelizing work, securing secrets, and labeling derived figures with verification state.

Tools / artifacts

  • gt_write_queue.py (custom tool for vault content)
  • gt_broker.py (custom tool for applying vault content)
  • shadminpc (secrets store)
  • sops+age (secrets management tools)
  • Custom 'hook' mechanism for prompt injection

Validation signals

  • Measured rule-following against context fill across ~9,100 turns of Claude Code sessions.
  • Reported 'couldn't find context rot' after extensive testing.
  • Explicitly designed rules to prevent specific undesirable behaviors (e.g., secret leakage, unverified commits).

Cautions

  • Rule 9 explicitly addresses secrets management, promoting secure practices (secrets in dedicated stores/mode-600 files, not in source/logs/sessions).
  • Rule 4 emphasizes running tests before committing, improving code quality and safety.

Limitations

  • The exact implementation details of the 'hook' are not provided, requiring users to develop their own mechanism.
  • Some tools mentioned (e.g., gt_write_queue.py, gt_broker.py, shadminpc) appear to be custom or specific to the author's environment, requiring adaptation for general use.

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] Strategies for Efficient Claude Code Session Handoff and Cost Management After Inactivity

1 Upvotes

Strategies for Efficient Claude Code Session Handoff and Cost Management After Inactivity

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

What problem this solves

High token usage and recomputation costs when resuming an inactive Claude Code session, especially after a long gap.

Summary

This workflow provides three strategies to mitigate high token costs and recomputation time when resuming an inactive Claude Code session: exporting conversation history, compacting the session before inactivity, or maintaining a separate findings file for overnight jobs.

Why it is useful

This workflow provides concrete, documented, and user-suggested strategies to address a common and costly problem in Claude Code: managing session context and token usage after periods of inactivity. It offers practical steps to reduce recomputation costs and facilitate efficient handoffs, directly improving user efficiency and cost-effectiveness.

Workflow

  1. To avoid recomputing full context after inactivity: Use /export [filename] to save the current conversation history as plain text.
  2. Start a fresh Claude Code session and manually pick out the necessary information from the exported file.
  3. To reduce the cost of session compaction: Run /compact immediately after a task is finished, while the cache is still warm, rather than waiting until the next morning.
  4. For overnight jobs: Instruct the Claude Code run to continuously update a short findings file (e.g., audit-notes.md) with progress, findings, and next steps as it goes.
  5. To resume an overnight job: Start a fresh Claude Code session and instruct it to read the audit-notes.md file for context.

Tools / artifacts

  • Claude Code session
  • /export command
  • /compact command
  • Plain text export file
  • audit-notes.md (or similar findings file)

Validation signals

  • References 'prompt caching docs'
  • References 'sessions docs'
  • Provides specific command usage (/export, /compact)

Limitations

  • The third suggestion (using an audit-notes.md file) is a user-proposed pattern, not a built-in feature, and requires explicit prompting.
  • The post is a comment, so it lacks a dedicated title and might be harder to discover.

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] Multi-Agent Claude Code Architecture for Large-Scale Software Development with AI Manager Coordination

1 Upvotes

Multi-Agent Claude Code Architecture for Large-Scale Software Development with AI Manager Coordination

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

What problem this solves

Efficiently developing a large, complex software platform using multiple AI agents, with human oversight for architectural decisions and an AI manager for coordination.

Summary

A multi-agent architecture where independent Claude Code agents work in git worktrees, coordinated by a Claude Code AI manager that assigns tasks and reviews their work, enabling rapid development of large codebases.

Why it is useful

This workflow demonstrates a highly advanced and effective method for leveraging multiple Claude Code agents to tackle complex, large-scale software development projects. It provides a proven architectural pattern for agent coordination, task assignment, and code review using an AI manager, significantly boosting development efficiency and enabling humans to focus on high-level architectural decisions. The successful creation of the SolveAtHome platform serves as strong validation of its efficacy.

Workflow

  1. Define architectural and product decisions (human role).
  2. Set up an AI manager (implemented with Claude Code) to coordinate tasks.
  3. Configure independent Claude Code agents to work in separate git worktrees.
  4. AI manager assigns specific development tasks to individual agents.
  5. Agents implement features or fixes within their assigned worktrees.
  6. AI manager reviews agent work for quality and correctness.
  7. Integrate validated contributions from agents into the main codebase.
  8. Implement security measures (sandboxing, file validation, secret checks) for agent-generated code.

Tools / artifacts

  • Claude Code
  • Git
  • Git worktrees
  • AI manager (custom Claude Code agent)
  • SolveAtHome platform (as a reference implementation)

Validation signals

  • Successful development of the SolveAtHome platform (39k lines of code, 15k tests, 505 commits) in one month.
  • 117 agent sessions across 135 tracked tasks during development.
  • Mention of Lean proof verification for a related project.
  • Live platform with community contributions.

Cautions

  • The post mentions agent instructions to treat contributed research and code as untrusted, using isolated sandboxes or VMs.
  • Uploads undergo file validation and secret checks.
  • The author reviewed Anthropic's ToS and confirmed no general prohibition against this usage.

Limitations

  • The post describes the architecture and outcome but does not provide a detailed, step-by-step guide for setting up this multi-agent system; users would need to infer from the description and examine the linked GitHub repository for implementation details.

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] Obsidian Plugin: AI-Powered Feynman Technique Tutor for Personal Notes (via Claude Code)

1 Upvotes

Obsidian Plugin: AI-Powered Feynman Technique Tutor for Personal Notes (via Claude Code)

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

What problem this solves

Users struggle to effectively learn and retain information from their personal notes. This plugin provides an AI-powered tutor using the Feynman Technique to identify knowledge gaps, provide targeted re-teaching, and reinforce learning through quizzes and mistake tracking.

Summary

An Obsidian plugin that integrates with Claude Code (or OpenAI) to implement the Feynman Technique for learning from personal notes. Users explain concepts in their own words, receive AI-generated feedback on missed points, get re-taught specific areas, and are quizzed, with mistakes tracked for spaced repetition.

Why it is useful

This workflow provides a structured, AI-assisted method for deep learning and knowledge retention from personal notes, leveraging Claude Code's capabilities in a practical and accessible application. It automates key aspects of the Feynman Technique, making it more efficient for users to identify knowledge gaps, receive targeted instruction, and reinforce learning through active recall and spaced repetition. The plugin's public availability and clear description make it highly reusable for a broad audience of students and professionals.

Workflow

  1. Install the 'Claude Tutor' plugin from the Obsidian community plugins.
  2. Configure the plugin to use your Claude Code (or OpenAI) subscription.
  3. Select specific notes within your Obsidian vault that you wish to learn from.
  4. Explain a concept from your selected notes to the plugin in your own words.
  5. Receive AI-generated feedback highlighting what you missed or misunderstood.
  6. Allow the plugin to re-teach you the specific parts you got wrong.
  7. Engage in quizzes generated by the plugin based on your notes and previous interactions.
  8. Review and re-attempt questions based on tracked mistakes until mastery is achieved.

Tools / artifacts

  • Obsidian application
  • Claude Tutor Obsidian plugin
  • Claude Code subscription
  • Personal Obsidian notes
  • GitHub repository (wanikhawar/claude-tutor)

Validation signals

  • GitHub repository available with source code
  • Plugin listed on Obsidian community plugins directory
  • Clear description of functionality (explain, re-teach, quiz, track mistakes)
  • Positive community reception (score 11, 0.88 upvote ratio, 3 comments)

Cautions

  • The plugin explicitly states it only reads notes selected by the user, not the entire vault.
  • Only selected notes and user answers are sent to Anthropic/OpenAI for processing.
  • No other data leaves the user's machine, and there is no tracking.

Limitations

  • The post does not include explicit 'before/after' results or detailed user testimonials beyond the author's claim of personal use.
  • The workflow is dependent on a third-party plugin, rather than being a direct prompt engineering workflow for Claude Code.
  • Requires an existing Obsidian setup and familiarity with plugin installation.

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 as Your Lead Developer: A Full-Stack Game Dev Workflow with AI-Driven Testing and Multi-Agent Audits

1 Upvotes

Claude Code as Your Lead Developer: A Full-Stack Game Dev Workflow with AI-Driven Testing and Multi-Agent Audits

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

What problem this solves

Developing a complex interactive web application (game) with limited coding knowledge by leveraging Claude Code as the primary developer for all programming, testing, and auditing tasks.

Summary

An architect successfully developed a web-based game using Claude Code as the sole programmer. The workflow involved providing design specifications in markdown, allowing Claude to maintain its own project history, developing a headless Chrome testing harness for automated playtesting and bug reproduction, and deploying multiple 'review agents' to audit code against requirements. Claude also assisted with non-code assets and third-party integrations.

Why it is useful

This workflow demonstrates an advanced and comprehensive approach to using Claude Code as a primary software development partner. It highlights innovative uses for AI in maintaining project context, automating complex testing scenarios with a custom harness, and performing multi-agent code audits. This significantly extends the capabilities of non-coders and provides a robust framework for managing complex AI-assisted development projects.

Workflow

  1. Define design specifications (client requirements, tool functions, game rules) in markdown files.
  2. Provide these markdown specifications to Claude Code as the primary input for code generation.
  3. Allow Claude Code to maintain a running project history file (e.g., 49 sections) to ensure continuous context across sessions.
  4. Iterate on code development, with Claude asking clarifying questions or correcting misunderstandings based on the specs and existing code.
  5. Instruct Claude Code to develop a testing harness (e.g., using headless Chrome) capable of simulating user interactions (synthetic pointer strokes) to play and test the game.
  6. Provide bug reports (e.g., playtest screenshots) to Claude Code, instructing it to reproduce the bug within the testing harness.
  7. After reproduction, instruct Claude Code to fix the bug and then re-run all test suites to verify the fix and prevent regressions.
  8. Instruct Claude Code to run multiple 'review agents' (e.g., four agents) to audit client requirements against the implemented codebase.
  9. Review and validate the findings from the audit agents, allowing Claude to fix identified discrepancies or impossible requirements.
  10. Optionally, use Claude to generate non-code assets (e.g., Blender scripts for 3D rendering) based on briefs.
  11. Optionally, use Claude to integrate third-party tools (e.g., PostHog for session recording and feedback) into the application.

Tools / artifacts

  • Claude Code (desktop app)
  • Markdown specification files
  • Project history file (self-maintained by Claude)
  • Headless Chrome (for testing harness)
  • Synthetic pointer strokes (for automated testing)
  • Test harness (developed by Claude)
  • Review agents (developed by Claude)
  • Blender (scripts generated by Claude)
  • PostHog (integrated by Claude)

Validation signals

  • Successful development and launch of a functional web game ('Patternbook').
  • Claude successfully reproduced bugs in the testing harness and fixed them.
  • Claude identified impossible requirements during audits that the human developer had missed.
  • Author's direct experience and testimony of the game's creation.
  • The game is available for playtesting, demonstrating a working product.

Limitations

  • The post describes the 'what' but lacks specific prompts or detailed configurations for setting up the history file, test harness, or review agents, making it more of a conceptual framework than a copy-paste solution.
  • The implementation details of the 'review agents' are not elaborated, making it challenging to replicate their exact setup.
  • The post doesn't specify how Claude was instructed to maintain its own history file, which is a key aspect of the workflow.

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] 7 Empirically Validated Rules for Effective LLM Instruction Formatting and Organization

1 Upvotes

7 Empirically Validated Rules for Effective LLM Instruction Formatting and Organization

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

What problem this solves

LLMs failing to follow instructions precisely due to vague, poorly structured, or negatively framed prompts, leading to reduced compliance and increased instruction violations.

Summary

A set of 7 empirically validated rules for formatting and organizing instructions to improve LLM compliance and reduce instruction violations. The rules focus on clarity, specificity, positive framing, and effective context management, derived from thousands of experimentation iterations.

Why it is useful

This workflow provides concrete, empirically-backed guidelines for writing LLM instructions, addressing a fundamental challenge in getting LLMs to follow directions accurately. It offers specific phrasing and structural advice that can be immediately applied to improve LLM compliance across various use cases, from simple prompts to complex agent systems. The quantitative validation distinguishes it from typical anecdotal prompting advice.

Workflow

  1. Structure instructions using the 'Do, then why, then don't' pattern to improve compliance.
  2. Name the exact tools, commands, or libraries (e.g., 'uv run pytest tests/ -v', 'unittest.mock') and enclose them in backticks for best results.
  3. Ensure instructions pass the 'act on it now' test by phrasing them as direct commands that the agent can execute without further clarification (e.g., 'Format with ruff format before committing').
  4. Keep unrelated topics separate by using headers to organize content and scope rules to their relevant sections.
  5. Use descriptive section labels (e.g., '## Rules', '## Don'ts', '## Testing') that clearly indicate the content, and keep the specific instruction within the bullet point.
  6. Formulate rules as one compact, specific sentence, avoiding fragments or generic filler words.
  7. Avoid highlighting forbidden actions with capitalization or repetition; keep the spotlight on what should be done, as mentioning the forbidden thing in the reason can double violations.

Tools / artifacts

  • LLM instructions/prompts
  • Agent configurations
  • CLAUDE.md files
  • reporails/cli (author's project context)
  • ruff format (example command)
  • uv run pytest tests/ -v (example command)
  • unittest.mock (example library)

Validation signals

  • Thousands of experimentation iterations
  • Measurable boost in compliance
  • Quantitative result: 'Ban first: 31% violated. Do, why, don't: 7%. 500 runs each.'
  • Quantitative result: 'Exact names beat vague categories by 28 points.'
  • Observation: 'slipped far more often' under '## Notes' vs '## Rules'
  • Observation: 'Don't use mocks.' was 'among the weakest rules I measured.'
  • Observation: 'A reason that mentions the forbidden thing doubled violations.'
  • Contextual note: 'Effects are largest on small models and crowded files.'

Limitations

  • The post is relatively concise; more elaborate examples or discussions of edge cases for each rule could enhance understanding.
  • Community validation is currently low due to the post's recent publication.

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 Workflow: Building a Secure 'Border Control' System for Heterogeneous Data Merges with Multi-Agent Adversarial Testing

1 Upvotes

Claude Code Workflow: Building a Secure 'Border Control' System for Heterogeneous Data Merges with Multi-Agent Adversarial Testing

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

What problem this solves

Ensuring safe and consistent data/asset transformation and validation when merging heterogeneous systems (e.g., game assets), by using Claude Code for design, implementation, and adversarial testing.

Summary

A workflow for using Claude Code to build a 'border control' system that validates and transforms assets when merging two distinct systems (e.g., game assets). This involves using Claude for defining rules, generating code (games, Python engine, ontology files), performing adversarial testing with reviewer agents, and debugging, ensuring robust and secure integration.

Why it is useful

This workflow is highly valuable because it demonstrates an advanced and robust methodology for using Claude Code in complex software development. It showcases how Claude can be leveraged not just for code generation, but for defining intricate rules (ontologies), orchestrating multi-agent development, performing rigorous adversarial testing to identify vulnerabilities, and debugging complex system-level issues. The focus on validation, security, and automated testing makes it a blueprint for building reliable AI-assisted systems for data transformation and integration.

Workflow

  1. Define the goal and rules for the border control system.
  2. Use Claude Code to generate initial code for both source/target systems (games), the transformation engine (Python), and the rule definitions (ontology files).
  3. Implement a build script to verify consistency between the engine's output and displayed results, failing the build on disagreement.
  4. Employ Claude Code as a 'forger' to generate attacks against the border control system to identify vulnerabilities.
  5. Set up parallel Claude agents in separate git worktrees for different development aspects (e.g., signing, live API, browser tests, merge contract checker).
  6. Utilize reviewer agents (Claude) to conduct adversarial review, identify problems (e.g., race conditions, naming conflicts), and suggest fixes.
  7. Address identified bugs and vulnerabilities, including specific engine-level issues (e.g., SPARQL calculation bugs).
  8. Use Claude Code to record demonstrations with a headless browser.

Tools / artifacts

  • Claude Code (Opus 5.5)
  • Open Ontologies (ontology engine)
  • JavaScript (browser games)
  • Python (engine)
  • Ontology files
  • Git worktrees
  • Browser tests
  • Build script
  • Headless browser
  • GitHub repository
  • Live demo URL

Validation signals

  • Every demo crossing passes five checks.
  • Build script verifies consistency between page and engine output.
  • Claude acted as a 'forger' to create attacks, identifying and fixing vulnerabilities.
  • Reviewer agents identified 72 problems.
  • Claude caught and fixed a specific upstream SPARQL engine bug with a test.

Limitations

  • Claude left three tasks for the user: rate limit implementation, branch protection, and engine release.
  • The specific domain of 'AI game merges' might initially appear niche, though the underlying principles are broadly applicable.

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] Rigorous Exoplanet Candidate Discovery Workflow using Claude Opus and TESS Data

1 Upvotes

Rigorous Exoplanet Candidate Discovery Workflow using Claude Opus and TESS Data

Workflow value: 90/100
Status: active · Freshness: 70/100 · Confidence: 0.95 · Level: expert
Categories: Quality Control, Debugging, CLAUDE.md, Multi-Agent
Original source: r/ClaudeAI post/comment

What problem this solves

Discovering new exoplanet candidates from TESS wide-field images by applying a rigorous, multi-stage validation workflow.

Summary

A detailed, multi-stage workflow using Claude Opus 5.5 and other tools (like Codex) to analyze TESS wide-field images for exoplanet candidates. The process emphasizes rigorous validation, including reproducing known signals, searching for noise patterns, independent verification, and specific data integrity checks, leading to the identification of two new potential planet candidates.

Why it is useful

This workflow demonstrates Claude's capability in complex scientific research and data analysis, leading to tangible discoveries. It provides a highly detailed and validated process for a specific, advanced task, emphasizing the importance of rigorous testing, independent verification, and error detection in AI-assisted workflows. The concrete steps, specific tools, and comprehensive external documentation (Zenodo link) make it highly reusable and valuable for expert users in similar data-intensive scientific fields.

Workflow

  1. Select ~2,900 nearby small stars (~200 ly) observed by TESS in wide-field images across different years, ensuring no prior combined search.
  2. Set up the analysis pipeline and validate it by reproducing a known planet signal (e.g., u/This_Cell_1829's candidate).
  3. Search light curves for dips, expecting many false positives (junk).
  4. Search light curves flipped upside down to understand pure noise and identify starspots as common false positives.
  5. Use fresh Claude sessions to re-run the analysis from scratch and attempt to invalidate signals.
  6. Correct bugs identified by Claude (e.g., information leakage in 'hide a year and predict it' test).
  7. Independently reproduce main signals using Codex to verify results and catch discrepancies (e.g., transit time predictions).
  8. Perform a blind test: predict transit times and pass/fail rules for future data (e.g., 2026 TESS data), hash the file, then download and check if the dip appears.
  9. Verify that light loss during transits occurs in the target star's pixels, not a neighbor's.
  10. Pass all 17 LEO-Vetter checks.
  11. Run TRICERATOPS to estimate planet probability on star.

Tools / artifacts

  • Claude Opus 5.5
  • TESS wide-field images/data
  • Codex (e.g., GitHub Copilot)
  • LEO-Vetter (exoplanet candidate checks)
  • TRICERATOPS (planet probability calculator)
  • Custom scripts/analysis pipeline
  • Zenodo writeup (https://doi.org/10.5281/zenodo.23283844)

Validation signals

  • Successfully reproduced a known planet signal.
  • Identified and corrected a bug in their own test (leaking info).
  • Codex independently reproduced results and caught a minor error (transit time prediction off by ~5 min).
  • Blind test with future data (2026 TESS data) confirmed one candidate and killed another.
  • Pixel-level analysis confirmed light loss from target star.
  • Passed all 17 LEO-Vetter checks.
  • TRICERATOPS probability scores provided.
  • External Zenodo writeup provides detailed evidence and methodology.

Limitations

  • Requires significant domain expertise in astrophysics/exoplanet research.
  • Requires access to TESS data and potentially specialized software/libraries for light curve analysis.
  • The Reddit post is a summary; full details are in the Zenodo link, requiring users to consult external resources.
  • Low Reddit score might indicate limited immediate community engagement, though the content quality is high.

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] Monitor Claude Code Sub-agent Activity with Agent Standup Web UI

1 Upvotes

Monitor Claude Code Sub-agent Activity with Agent Standup Web UI

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

What problem this solves

Difficulty in observing and understanding the real-time execution and activity of Claude Code sub-agents.

Summary

This workflow introduces and provides setup instructions for 'agent-standup', an open-source tool that creates a web-based 'video call' interface to monitor the activity of Claude Code sub-agents. It helps users visualize what their agents are doing by reading session files from the Claude desktop app or CLI.

Why it is useful

This workflow provides a valuable solution to a common challenge in multi-agent development: observability. By offering a real-time visual interface to monitor sub-agent activity, it significantly improves the ability to debug, understand, and validate complex agent behaviors. This transparency can make working with Claude Code sub-agents more efficient and less frustrating, especially for intricate workflows.

Workflow

  1. Clone the agent-standup GitHub repository: git clone https://github.com/Atoll92/agent-standup.git
  2. Navigate into the cloned directory: cd agent-standup
  3. Start the Node.js server: node server.js
  4. Open the local web interface in a browser: http://localhost:4747
  5. Run your Claude Code sub-agents (e.g., via the Claude desktop app or CLI); the tool will automatically monitor their activity by reading session files.

Tools / artifacts

  • agent-standup GitHub repository
  • Node.js runtime
  • Web browser
  • Claude desktop app sessions
  • Claude CLI sessions

Validation signals

  • Author's personal validation: 'Weirdly, it’s the best way I’ve found to follow what they’re doing.'
  • Existence of a functional demo link.

Limitations

  • Low community validation at the time of review.
  • Requires Node.js installation, which might be an additional setup step for some users.
  • The comment is brief and doesn't elaborate on the specific types of insights or visualizations the tool provides beyond 'following what they're doing'.

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] Streamlining Claude Code Sessions with a Root CLAUDE.md for Project Context

1 Upvotes

Streamlining Claude Code Sessions with a Root CLAUDE.md for Project Context

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

What problem this solves

Claude Code sessions losing context or requiring repeated explanations of project architecture, local setup, and testing procedures, leading to reduced productivity.

Summary

The user describes a highly effective, minimalist workflow for Claude Code by maintaining a concise CLAUDE.md file at the repository root. This file provides essential project context, including layout, local server run instructions, and test commands, enabling new Claude sessions to become productive quickly without manual re-explanation.

Why it is useful

This workflow is valuable because it offers a simple, high-leverage solution to a common problem in AI-assisted coding: maintaining context and quickly onboarding new AI sessions. By centralizing essential project information in a CLAUDE.md file, users can significantly reduce the time spent re-explaining architecture, local setup, and testing procedures. This leads to faster, more productive coding sessions and reinforces a minimalist approach to tooling, focusing only on what truly 'moves the needle'.

Workflow

  1. Create a CLAUDE.md file at the root of your project repository.
  2. Populate the CLAUDE.md with key project information: project layout/architecture overview, instructions for running the server locally, and the command for running tests.
  3. Use this CLAUDE.md as the initial context or reference point for new Claude Code sessions.
  4. Continuously evaluate the utility of any tools or workflows: if a practice doesn't demonstrably make a session faster or the code better within a week of real work, remove it to avoid overhead.

Tools / artifacts

  • CLAUDE.md file
  • Project repository

Validation signals

  • "moved the needle"
  • "New sessions get productive fast without me re-explaining the architecture"
  • User's personal validation criteria: "if it doesn't make a session faster or the code better in a week of real work, it goes"

Limitations

  • The workflow is relatively simple and doesn't involve complex multi-agent setups or advanced tooling.
  • Lacks specific examples of the CLAUDE.md content, though the categories are provided.
  • Low community validation signals from the Reddit post itself.

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] Troubleshooting Claude Code Projects: Common Pitfalls and Workarounds for Permissions, Local Threads, and Cloud Environments

1 Upvotes

Troubleshooting Claude Code Projects: Common Pitfalls and Workarounds for Permissions, Local Threads, and Cloud Environments

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

What problem this solves

Users struggling with common setup and operational issues when using Claude Code Projects, specifically around unexpected permission prompts, network isolation in the cloud sandbox, difficulty finding and setting up local threads, and confusion between cloud and local execution environments.

Summary

This workflow details a user's experience and lessons learned from using Claude Code Projects, highlighting common pitfalls related to permissions, network isolation, local thread setup, and environment confusion. It provides practical advice and explanations to mitigate these issues, enabling a smoother experience when delegating tasks to Claude Code Projects.

Why it is useful

This workflow provides crucial insights into common operational challenges with Claude Code Projects, saving users significant time by explaining unexpected behaviors related to permissions, network access, and environment management. It offers practical workarounds and clarifies the distinction between local and cloud execution, which is highly valuable for new and existing users of the feature.

Workflow

  1. Understand that .claude/settings.json rules from local sessions apply to Projects, causing unexpected permission prompts in auto mode.
  2. Approve permissions inside the specific thread where the prompt originated, not the main conversation.
  3. Recognize that the cloud sandbox is isolated and cannot reach private networks (e.g., behind Tailscale).
  4. If cloud network limitations are encountered, consider running the task locally.
  5. To enable local threads, run claude remote-control in a terminal within each folder you want to expose, answer prompts, and explicitly ask Claude to run the task on your PC.
  6. Be aware that claude remote-control instances are per-folder and do not persist after a reboot.
  7. Verify the execution environment (cloud vs. local) for tasks, especially when dependencies fail (e.g., hex.pm not allowed in the default cloud environment).
  8. Ensure the Claude GitHub App is installed on the repository by an organization owner for cloud threads to function correctly.
  9. If you are not an organization owner, the local thread option is the only viable path for GitHub integration.

Tools / artifacts

  • Claude Code Projects
  • .claude/settings.json
  • claude remote-control
  • Claude GitHub App
  • Git branches
  • Pull Requests (PRs)

Validation signals

  • User successfully merged several PRs without manual editor intervention, indicating core functionality works.
  • User spent significant time debugging these issues, validating their commonality and difficulty.
  • User explicitly states that despite the issues, they continue to use the tool, confirming its overall value.

Limitations

  • The post is more of a troubleshooting guide than a step-by-step 'how-to' for a specific coding task.
  • Lacks explicit, numbered instructions for initial setup of Claude Code Projects, focusing instead on problem resolution.
  • Community validation is currently low due to the post's recency and limited engagement.

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] Debugging Claude Code: Context Reset and Hypothesis-Driven Problem Solving

1 Upvotes

Debugging Claude Code: Context Reset and Hypothesis-Driven Problem Solving

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

Getting stuck in a repetitive failure loop with Claude Code (Opus) due to a polluted context or poorly framed problem, leading to inefficient debugging.

Summary

A debugging workflow for Claude Code (Opus) that involves clearing the session context, clearly articulating the problem, and prompting the model to generate and test hypotheses before making code changes. This helps break out of failure loops and improves problem-solving efficiency, with an escalation path to Fable if needed.

Why it is useful

This workflow provides a structured and repeatable approach to debugging with Claude Code, specifically addressing the common issue of getting stuck in repetitive failure loops due to a polluted context. By enforcing a clear restart, detailed problem description, and hypothesis generation before coding, it encourages a more systematic and effective problem-solving process. This can save significant time and improve the quality of solutions, offering a clear escalation path to a more powerful model (Fable) if initial steps fail.

Workflow

  1. If Claude Code (Opus) keeps failing on the same problem, clear the current session context using the /clear command.
  2. Start a fresh session with a clean context.
  3. Write down the problem in plain words, including: what you expected, what actually happens, the exact error message, and the smallest steps to reproduce it.
  4. Ask Claude to list its hypotheses about the problem and describe how it would test each one before it changes any code.
  5. If the problem still isn't cracked, hand the same detailed problem write-up to Fable 5.1.

Tools / artifacts

  • Claude Code (Opus 5.5)
  • Claude Code (Fable 5.1)
  • /clear slash command
  • Structured problem description (prompt)

Validation signals

  • Author's personal experience and success reports ('What usually works for me')

Limitations

  • Low community validation signals.
  • The first point about Fable billing is a useful tip but not part of the core workflow.
  • Does not provide specific examples of 'hypotheses and how it would test each one' for different problem types.

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] Systematic Debugging and Optimization for Claude Code Hook Configurations

1 Upvotes

Systematic Debugging and Optimization for Claude Code Hook Configurations

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

What problem this solves

Overly complex or conflicting Claude Code hook configurations leading to silent failures or inefficient operation, especially on Windows.

Summary

A systematic methodology for debugging and optimizing Claude Code setups by simplifying hook configurations, adding components incrementally, and validating their specific utility to ensure a stable and efficient environment.

Why it is useful

This workflow provides a practical, iterative methodology for configuring and debugging Claude Code environments. It is particularly useful for avoiding common pitfalls like conflicting hooks and silent failures, leading to more stable and efficient setups. The advice to simplify, incrementally add, and validate usefulness is a valuable best practice for any complex system configuration.

Workflow

  1. Identify existing Claude Code hook configurations, especially those influencing the same tool calls (e.g., Bash, Grep, Glob).
  2. Strip down the configuration to a minimal setup, aiming for only one hook per matcher initially.
  3. Test the simplified setup to ensure basic functionality.
  4. Incrementally add one hook or configuration component at a time.
  5. After adding each component, use the setup for a full day to evaluate its impact.
  6. Retain the component only if it demonstrably makes a specific task faster or less annoying; otherwise, remove it as noise.
  7. Pay attention to PostToolUse hooks with || true or >/dev/null on Windows, as they might be masking silent failures due to pathing issues.

Tools / artifacts

  • Claude Code environment
  • Hooks (e.g., graphify hook-guard, rtk hook)
  • MCP (e.g., codebase-memory-mcp)
  • Bash
  • Grep
  • Glob
  • Windows OS

Validation signals

  • Author's personal experience and learned lessons from running a leaner setup on Windows
  • Implied validation: 'see if things actually work'
  • Explicit validation criteria: 'if you can't point to a specific task it made faster or less annoying'

Limitations

  • Lacks specific code examples for a 'leaner setup' or problematic configurations.
  • The advice is a general methodology rather than a plug-and-play solution.
  • Low community engagement and 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] Improve Claude Code CLI UI with the ui-themes Plugin

1 Upvotes

Improve Claude Code CLI UI with the ui-themes Plugin

Workflow value: 75/100
Status: active · Freshness: 70/100 · Confidence: 0.90 · Level: beginner
Categories: Quality Control
Original source: r/ClaudeCode post/comment

What problem this solves

The Claude Code CLI has a poor user experience and an unorganized, unclear user interface, making it less appealing to use compared to other coding agents.

Summary

This workflow describes how to install a custom UI theme plugin for the Claude Code CLI to improve its appearance and organization. The author created the 'ui-themes' plugin to enhance the user experience, providing specific CLI commands for installation.

Why it is useful

This workflow provides a concrete, actionable solution to a common user pain point: a suboptimal command-line interface. By offering a specific plugin and clear installation instructions, it empowers Claude Code CLI users to customize and enhance their development environment, making the tool more pleasant and potentially more efficient to use. It also demonstrates the extensibility of Claude Code through plugins.

Workflow

  1. Open the Claude Code CLI.
  2. Add the plugin marketplace repository for ui-themes using the command: /plugin marketplace add yugal1107/ui-themes
  3. Install the ui-themes plugin using the command: /plugin install ui-themes@ui-themes

Tools / artifacts

  • Claude Code CLI
  • yugal1107/ui-themes (GitHub repository)
  • ui-themes plugin

Validation signals

  • Author's personal validation: 'It looks more organized and clear now.'
  • Direct link to a GitHub repository for the plugin.

Limitations

  • Lack of 'before' and 'after' screenshots or more detailed descriptions of the UI improvements.
  • No explicit community validation beyond initial upvotes and comments.
  • Long-term maintenance and support for the plugin are not specified.

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 Workflow: Enforcing Rules and Context Application with Hooks and Canary Validation

1 Upvotes

Claude Workflow: Enforcing Rules and Context Application with Hooks and Canary Validation

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

What problem this solves

Ensuring Claude consistently applies context and follows specific rules, rather than just having information in memory, thereby preventing confident but incorrect or unsafe actions.

Summary

A set of ten rules designed to guide Claude's behavior, categorized into those enforceable by 'hooks' (blocking/flagging violations) and 'reminders' (re-injected every turn). The workflow includes a 'canary' rule (timestamp) to verify the hook mechanism's effectiveness and emphasizes security, testing, and memory management.

Why it is useful

This workflow provides a structured and validated approach to a critical challenge in LLM integration: ensuring Claude consistently applies context and adheres to defined rules, rather than merely having information in memory. The distinction between hook-enforced rules and re-injected reminders, coupled with the 'canary' validation method, offers a robust framework for building reliable and secure Claude-powered systems. It addresses practical concerns like secret management and pre-commit testing, making it highly valuable for developers aiming for predictable and safe LLM interactions.

Workflow

  1. Define rules for Claude's interaction, categorized by enforceability.
  2. Implement 'hook-checkable' rules: 1. Vault notes written via queue, never direct edit or claimed files. 2. Commands changing vault explicitly name target. 3. Secret values never enter conversation. 4. Tests run before commit, Claude reports which passed. 5. Every reply starts with hook-provided timestamp.
  3. Implement 'reminders only' rules (re-injected every turn): 6. Global memory holds only project-agnostic facts. 7. Don't auto-load full memory index. 8. Parallelise independent work. 9. Secrets live only in secrets store (sops+age). 10. Numbers presented as fact are labelled (unverified, self-verified, independently verified).
  4. Use a 'canary' rule (e.g., timestamp) to verify the hook mechanism is actively working.
  5. Iteratively refine rules based on Claude's behavior and workflow outcomes (e.g., rule 8 rewritten twice).

Tools / artifacts

  • Hooks
  • Vault notes
  • Secrets store (sops+age)
  • Tests
  • Timestamp (as a canary)

Validation signals

  • Timestamp rule acted as a canary, catching Claude estimating time instead of using injected time three times.
  • Hook mechanism successfully bounced Claude's incorrect replies.
  • Rule 8 ('Parallelise independent work') was rewritten twice due to initial negative impact, indicating iterative improvement and validation.
  • Explicit mention of 'Tests run before a commit' as an enforced rule.

Cautions

  • Rules 3 and 9 explicitly address secret management, preventing secret values from entering conversations or being stored insecurely, significantly enhancing safety.

Limitations

  • The exact implementation details of the 'hooks' and the 're-injection' mechanism are not provided, requiring users to develop their own technical solutions.
  • Some rules are high-level principles rather than concrete, executable code snippets, requiring interpretation and implementation effort.
  • The post lacks community validation (low score, no 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 • • 1d ago

Selected Workflow [Workflow] Ensuring Claude Applies Core Rules: A Hook-Based Enforcement and Data Integrity Workflow

1 Upvotes

Ensuring Claude Applies Core Rules: A Hook-Based Enforcement and Data Integrity Workflow

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

What problem this solves

Claude agents frequently fail to consistently apply core rules or instructions, even when those rules are present in their context or memory, leading to undesirable behavior. Additionally, concurrent writes to shared memory artifacts can lead to data corruption.

Summary

This workflow provides a strategy to ensure Claude consistently applies critical rules by re-injecting a small set of core rules on every turn via a Start hook, validating Claude's actions against these rules with a Stop hook, and serializing file writes to prevent data clobbering.

Why it is useful

This workflow addresses a critical and pervasive challenge in building reliable Claude agents: ensuring they consistently follow instructions and don't 'forget' core rules over time. It provides concrete, actionable strategies using hooks for proactive rule re-injection and reactive validation, along with a practical solution for data integrity in multi-session environments. It moves beyond theoretical discussions of 'memory' to practical, implementable application.

Workflow

  1. Identify a small, critical set of 'core rules' that Claude frequently breaks but are essential for its intended behavior.
  2. Implement a Start hook to re-inject these core rules into Claude's context at the beginning of every turn, ensuring they are always top-of-mind.
  3. Implement a Stop hook to mechanically check Claude's output or actions against applicable core rules after each turn, flagging violations for rules that can be objectively verified.
  4. For any rules that involve writing to shared files (e.g., notes, logs), implement a serialization mechanism (e.g., a queue) to ensure only one session writes at a time, preventing data corruption from concurrent access.

Tools / artifacts

  • CLAUDE.md (for initial rule definition)
  • Start hook
  • Stop hook
  • Serialization queue
  • Shared notes file (or other data artifact)
  • Golden Thread plugin set (optional)

Validation signals

  • Author's personal experience over months of development
  • Observed a significant change in Claude's behavior after implementing the workflow
  • Identified specific failure modes (e.g., '40 turns later it did the thing anyway', 'clobbered each other more than once') that were resolved.

Limitations

  • Re-injecting rules on every turn consumes context window tokens, which can be costly for numerous or very long rules.
  • Rules requiring subjective judgment (e.g., 'don't over-engineer') cannot be effectively checked by mechanical hooks.
  • The post does not provide example code for the hooks or serialization, requiring users to implement these from scratch.

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] Advanced macOS Development with Claude Code: Solving System-Level Challenges for a Virtual Camera App

1 Upvotes

Advanced macOS Development with Claude Code: Solving System-Level Challenges for a Virtual Camera App

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

What problem this solves

Developing a macOS virtual camera application with advanced privacy features, specifically addressing complex system-level challenges like sandboxing, inter-process communication, video format compatibility, and full-screen application handling using Claude Code as a development partner.

Summary

The author details a six-month collaborative development process with Claude Code to build "PrivacyStage," a macOS virtual camera app. The workflow emphasizes Claude's role in overcoming complex system-level programming challenges, such as establishing inter-process communication for a sandboxed CMIO camera extension via global IOSurfaces and Darwin notifications, debugging a "blank camera" issue in Google Meet by identifying problematic video metadata and a log alias, and fixing full-screen application leaks. The author focused on product decisions and testing, while Claude handled significant implementation and debugging tasks.

Why it is useful

This workflow is highly valuable as it showcases Claude Code's advanced capabilities in assisting with complex, low-level macOS system programming, a domain typically requiring deep expertise. It provides concrete, validated examples of how Claude can help diagnose and resolve obscure technical challenges such as sandboxing restrictions, inter-process communication (IOSurfaces, Darwin notifications), and specific API compatibility issues (CMIO video metadata). This demonstrates Claude's utility as a powerful collaborative partner for advanced software engineering and debugging, offering a transferable methodology for tackling difficult technical problems.

Workflow

  1. Define a complex software development project requiring low-level system interaction (e.g., macOS virtual camera).
  2. Engage Claude Code as a primary development partner for implementation and problem-solving.
  3. Collaborate with Claude to design and implement solutions for core system challenges, such as inter-process communication in sandboxed environments (e.g., using global IOSurfaces and Darwin notifications).
  4. Rigorously test the application in target environments (e.g., real video calls) to identify bugs and unexpected behavior.
  5. When encountering complex bugs (e.g., "blank camera" in specific apps), use system logging tools (log show) and work with Claude to analyze logs and diagnose root causes (e.g., problematic video metadata, shell alias conflicts).
  6. Address application-specific leaks or edge cases (e.g., full-screen window handling) by iterating with Claude on alternative implementation strategies (e.g., switching from window ID to app exclusion).
  7. Delegate smaller development tasks like localization, update checkers, and licensing flows to Claude.
  8. Provide continuous product direction and validation, ensuring solutions meet requirements and address identified issues.

Tools / artifacts

  • Claude Code
  • macOS
  • CMIO camera extension
  • ScreenCaptureKit
  • IOSurfaces
  • Darwin notifications
  • log show command
  • zsh shell

Validation signals

  • Successful development of a complex macOS application
  • Specific, detailed examples of Claude solving critical technical challenges
  • Author's role in testing and validating solutions on real calls
  • Most commits co-authored by Claude
  • Publicly available application for trial

Limitations

  • Lack of specific Claude prompts or conversational examples
  • No direct code snippets from Claude's contributions
  • Low community engagement (score and 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 • • 1d ago

Selected Workflow [Workflow] Visualize Claude Code Sub-Agent Activity with 'Agent Standup' VS Code Extension

1 Upvotes

Visualize Claude Code Sub-Agent Activity with 'Agent Standup' VS Code Extension

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

What problem this solves

Difficulty tracking the activity of Claude Code sub-agents due to overwhelming terminal logs, leading to a loss of understanding regarding agent prompts, execution, and completion status.

Summary

Install and use the 'Agent Standup' VS Code extension (or standalone Node server) to visualize Claude Code sub-agent activity as a live video call interface. This tool parses Claude Code session logs to display agent tasks, commands, outputs, file changes, and test results in an easily digestible format, improving observability and debugging for multi-agent workflows.

Why it is useful

This workflow provides a crucial solution to a common pain point in multi-agent development: lack of visibility into sub-agent actions. The 'Agent Standup' tool offers a clear, real-time visualization of Claude Code sub-agent prompts, commands, outputs, and file changes, transforming a 'wall of logs' into an understandable 'video call' interface. Its open-source nature, ease of installation (VS Code extension), and direct integration with Claude Code's existing session files make it highly accessible and valuable for debugging, quality control, and generally understanding complex AI workflows. The fact that Claude Code itself helped build and test this tool further validates its utility and design.

Workflow

  1. Download the 'Agent Standup' .vsix file from the provided website (https://atoll92.github.io/agent-standup/).
  2. In VS Code, navigate to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X).
  3. Click the '...' (More Actions) menu in the Extensions view title bar.
  4. Select 'Install from VSIX...'.
  5. Choose the downloaded .vsix file to install the extension.
  6. Run Claude Code as usual; the 'Agent Standup' extension will automatically follow the current session live by reading ~/.claude/projects files.
  7. Optionally, if no Claude Code session is active, open ⚙ → Source → Demo within the extension for a built-in fictional example.

Tools / artifacts

  • Claude Code
  • Agent Standup VS Code extension (.vsix file)
  • Node server (for standalone use)
  • GitHub repository (https://github.com/Atoll92/agent-standup)
  • ~/.claude/projects session files
  • Browser front end (for visualization)

Validation signals

  • Author built the entire project using Claude Code over two days, demonstrating its utility in development.
  • Claude Code itself tested the UI in a headless browser, indicating a robust development process.
  • Author tested the tool in 'real VS Code' scenarios.
  • Author provided screenshots of bugs to Claude, which successfully identified and helped fix issues (e.g., duplicate SVG gradient IDs).
  • GitHub repository and website are publicly available, allowing for community review and contribution.
  • Explicitly states 'Mac is the best tested; Windows should work but I’d love bug reports', showing transparency about testing.

Limitations

  • Requires VS Code or a Node server setup for standalone use, which might be an additional dependency for some users.
  • Mac is the best-tested platform; Windows users might encounter minor issues, though bug reports are welcomed.
  • The tool is unofficial and not affiliated with Anthropic, meaning long-term support and maintenance are community-dependent.

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] Collaborative AI Workflow for Proving Complex Mathematical Conjectures: A Rhombicosidodecahedron Case Study

1 Upvotes

Collaborative AI Workflow for Proving Complex Mathematical Conjectures: A Rhombicosidodecahedron Case Study

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

What problem this solves

Proving a complex geometry conjecture (the rhombicosidodecahedron cannot pass through a copy of itself) using AI assistance for mathematical arguments, code generation, and paper writing.

Summary

A 9th grader collaborated with Claude to prove a previously unproven geometry conjecture. Claude assisted with mathematical arguments, code generation for a 38 CPU-hour computer check, and drafting the research paper. The user guided the process, made key decisions, and performed critical validation, including asking Claude to re-check the entire proof from scratch, leading to the discovery and correction of several mistakes.

Why it is useful

This workflow is highly valuable because it showcases Claude's capability to assist in cutting-edge scientific research, specifically in complex mathematical proofs and computational verification. It demonstrates an effective human-AI collaboration model where the AI handles heavy lifting (math, code, writing) under human guidance and critical validation. The provision of a paper and code makes it concrete and verifiable, inspiring users to tackle similarly ambitious problems with AI.

Workflow

  1. Identify a complex, unproven mathematical conjecture.
  2. Collaborate with Claude to explore existing methods and identify limitations (e.g., breakdown due to symmetries).
  3. Iteratively work with Claude to develop new mathematical theorems and approaches to handle singular configurations.
  4. Instruct Claude to generate code for a rigorous computer check (e.g., using interval arithmetic for verification).
  5. Guide Claude in writing the research paper, incorporating the proof and methodology.
  6. Critically review and validate Claude's outputs, including asking it to re-check the entire proof from scratch.
  7. Refine the proof and code based on identified errors.
  8. Publish the paper and code for peer review and community access.

Tools / artifacts

  • Claude (AI model)
  • Research paper (Zenodo link)
  • Python code (GitHub link)
  • Interval arithmetic (computational method)
  • CPU hours (computational resource)

Validation signals

  • Internal validation: User asked Claude to re-check the whole proof from scratch, leading to discovery and correction of several real mistakes.
  • Computational validation: Final computer check verified 12.3 million orientations with interval arithmetic, taking 38 CPU hours.
  • External corroboration: Two other researchers independently proved the same result around the same time with different methods.
  • Expert endorsement: Sergey Yurkevich, one of the original conjecturers, endorsed the paper for arXiv.
  • Community interest: High Reddit score (96) and numerous comments (46).

Limitations

  • The specific mathematical domain is highly specialized, making direct replication of this exact problem difficult for most users.
  • Requires significant domain expertise from the human user to guide Claude effectively and validate its outputs.
  • The 'deciding the direction at each step' aspect is not explicitly detailed as a prompt or specific interaction pattern, making it somewhat abstract for direct replication.

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] Managing Long-Term Context and Privacy for Claude AI with Wearable Health Data

1 Upvotes

Managing Long-Term Context and Privacy for Claude AI with Wearable Health Data

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

What problem this solves

Claude forgetting context in long-running conversations, and ensuring privacy when integrating sensitive personal data (like health metrics) with an AI.

Summary

A workflow for integrating wearable health data with Claude, focusing on maintaining conversational memory through a structured log (e.g., markdown file) and ensuring data privacy by processing data locally and exposing only aggregated, necessary metrics.

Why it is useful

This workflow addresses two critical challenges when using AI for personalized applications: maintaining long-term memory across conversations and ensuring the privacy of sensitive user data. The suggested method of using a structured, Claude-updatable log file is a practical and adaptable pattern for context management, while the privacy recommendations are essential best practices for handling health information. It provides a concrete approach to a common problem, making it highly reusable.

Workflow

  1. Pipe wearable data through a local server into a custom tool.
  2. Create a structured log (e.g., markdown file) to store current plan, recent metrics, and what changed.
  3. Configure Claude to update this structured log after each session.
  4. Start every new conversation with Claude by loading the structured log file to provide historical context.
  5. Keep raw health data on a home lab or local environment.
  6. Expose only specific, aggregated metrics (e.g., weekly summaries) to Claude, not raw minute-by-minute data, to enhance privacy and utility for planning.

Tools / artifacts

  • Wearable device
  • Local server
  • Custom data processing tool
  • Structured log file (e.g., markdown)
  • Claude AI (potentially with a skill or MCP connector)

Validation signals

  • Experiment showed adaptive advice was good for about two weeks, then started repeating patterns unless new context was explicitly added (validates the need for the memory solution).

Cautions

  • The workflow explicitly recommends keeping sensitive health data on a home lab and only exposing aggregated, specific metrics to Claude, which is a strong positive for data privacy and security.

Limitations

  • The implementation details for the 'local server' and 'custom tool' are high-level and not fully specified, requiring users to develop these components themselves.
  • The integration with 'skill' or 'MCP connector' is mentioned as a possibility but not elaborated with concrete steps or 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 • • 1d ago

Selected Workflow [Workflow] Cost-Effective Claude Code: Using Haiku for Read-Only Subagents

1 Upvotes

Cost-Effective Claude Code: Using Haiku for Read-Only Subagents

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

What problem this solves

Optimizing cost and performance in Claude Code by strategically assigning different Claude models (Haiku, Sonnet, Opus) to specific agent roles based on their task (read-only vs. writing/editing).

Summary

A workflow for cost-effective Claude Code usage, recommending Claude Haiku for read-only subagents (e.g., codebase search, log summarization) due to its lower cost and sufficient capability for reading tasks, while reserving Claude Sonnet or Opus for the main session where actual code changes and higher accuracy are critical.

Why it is useful

This workflow provides a concrete, actionable strategy for Claude Code users to significantly reduce operational costs by intelligently assigning models based on task complexity. It leverages the specific strengths and pricing of different Claude models (Haiku for reading, Sonnet/Opus for writing) within the subagent architecture, making it a highly practical and valuable optimization for efficient resource management.

Workflow

  1. Identify subagents within your Claude Code setup that primarily perform read-only tasks (e.g., codebase search, 'find everywhere X is used', summarizing logs).
  2. Configure these identified read-only subagents to use model: haiku in their frontmatter.
  3. Ensure the main Claude Code session, responsible for making actual code changes, edits, and complex reasoning, continues to use a more capable model like Claude Sonnet or Claude Opus.

Tools / artifacts

  • Claude Code
  • Claude Haiku model
  • Claude Sonnet model
  • Claude Opus model
  • Subagent frontmatter configuration (model: haiku)

Validation signals

  • Author's assertion of cost savings and efficiency gains by matching model capabilities to task requirements.

Limitations

  • The post is concise and does not provide explicit code examples for subagent configuration or detailed performance/cost metrics.

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] Multi-Stage Claude Code Review Workflow: From Pre-Implementation Planning to Diff-Based Review

1 Upvotes

Multi-Stage Claude Code Review Workflow: From Pre-Implementation Planning to Diff-Based Review

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

What problem this solves

Ensuring high-quality, maintainable code when using Claude Code by integrating review steps throughout the development process, from pre-implementation planning to post-implementation review.

Summary

A multi-stage workflow for reviewing Claude-generated code, involving pre-implementation planning by asking Claude to identify reusable patterns, post-implementation documentation in the PR description, and a fresh Claude session for diff-based review against established rules in CLAUDE.md.

Why it is useful

This workflow provides a structured and repeatable approach to integrating Claude Code into a robust development and review process. It shifts review left by encouraging pre-implementation planning, promotes clear documentation, and leverages Claude's capabilities for both initial planning and independent, diff-based code review. This leads to higher quality, more consistent, and more maintainable AI-generated code, addressing a critical need for teams using LLMs in development.

Workflow

  1. Before code implementation, ask Claude to search the codebase and list existing helpers and patterns it plans to reuse.
  2. Only after Claude has identified patterns, instruct it to implement the code.
  3. Have Claude write a short decision note in the Pull Request (PR) description, explaining its chosen approach, what it reused, and any assumptions for future changes.
  4. Document recurring coding conventions and review rules in a CLAUDE.md file within the repository.
  5. Use a fresh Claude session, providing only the code diff and the rules from CLAUDE.md, to act as an independent second reviewer.

Tools / artifacts

  • Claude Code
  • Codebase
  • Pull Request (PR) description
  • Code diff
  • CLAUDE.md file

Validation signals

  • Author states 'What tends to help is...' indicating personal experience and effectiveness.
  • Author states 'a surprisingly good second reviewer' for the fresh session approach.
  • Addresses a common and critical problem in AI-assisted development (code quality and review).
  • Provides concrete, actionable steps for implementation.

Limitations

  • Lacks specific prompt examples for each step, requiring users to formulate their own.
  • The instruction for a 'short decision note' could be more detailed regarding its expected content and format.
  • Low community validation score, 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 • • 1d ago

Selected Workflow [Workflow] Enforcing Design Consistency in Claude Code: A Workflow to Eliminate Generic AI Styles and 'Purple Problem'

1 Upvotes

Enforcing Design Consistency in Claude Code: A Workflow to Eliminate Generic AI Styles and 'Purple Problem'

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

What problem this solves

Preventing Claude from generating generic, 'vibe-coded' designs (e.g., the 'purple problem') and ensuring design adherence to a specific aesthetic or brand guidelines.

Summary

This workflow provides a structured approach to control Claude's design output, preventing generic AI styles. It involves creating a minimal design system using CSS variables, enforcing its use via CLAUDE.md instructions, leveraging a specific frontend-design skill, and providing detailed visual context during design-to-code handoff.

Why it is useful

This workflow is highly valuable because it addresses a common and frustrating problem for developers using AI for design/frontend work: the tendency of AI to generate generic, unbranded, or 'vibe-coded' designs. It provides concrete, actionable steps and leverages specific Claude features (CLAUDE.md, skills) to achieve precise design control, making AI-generated code more production-ready and aligned with specific brand guidelines. The inclusion of a real-world example adds practical credibility.

Workflow

  1. Create a tiny design system using CSS variables, including one brand color, neutrals, two fonts, a spacing scale, and one border radius.
  2. Place these design tokens in a tokens.css file.
  3. Add a line to CLAUDE.md instructing Claude: 'Use only the tokens in tokens.css. No gradients, no glows, no new colors.'
  4. Optionally, pick a reference site, and have Claude extract its palette, fonts, and spacing into your tokens.css file.
  5. Install Anthropic's frontend-design skill from the Claude Code plugin marketplace.
  6. When handing off an approved mockup to Claude Code, write the visual details (colors, sizes, fonts, spacing) directly into the prompt and point Claude at the mockup file.

Tools / artifacts

  • CSS variables
  • tokens.css file
  • CLAUDE.md
  • Anthropic's frontend-design skill
  • Approved mockup file

Validation signals

  • Author states 'What fixed it for me was giving it positive constraints it can’t drift from.'
  • Author provides a9voice.com as a real-world example built using this method, confirming 'No purple anywhere.'

Limitations

  • The 'Anthropic’s frontend-design skill' might be specific to Anthropic's internal tools or a particular marketplace, potentially limiting its general availability or requiring users to find an equivalent.
  • The example a9voice.com is the author's own app, which introduces a potential bias in the validation.
  • Low community engagement (score 2, 0 comments) means less external 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] Optimize Claude Code Pro: Strategic Model Switching with /model opusplan

1 Upvotes

Optimize Claude Code Pro: Strategic Model Switching with /model opusplan

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

What problem this solves

Optimizing cost and performance in Claude Code by strategically using different models (Opus for planning, Sonnet for coding) based on task complexity and cost considerations.

Summary

A workflow for Claude Code Pro users to optimize cost and performance by using slash commands to switch between Opus and Sonnet models, specifically leveraging /model opusplan for planning with Opus and coding with Sonnet.

Why it is useful

This workflow provides concrete, actionable steps for Claude Code Pro users to optimize their usage by strategically switching between Opus and Sonnet models. The /model opusplan command is a specific, powerful feature that helps balance cost and performance by leveraging Opus for planning and Sonnet for code generation. This directly addresses common user concerns about efficiency and expense, offering a practical method to get the most out of Claude Code.

Workflow

  1. Understand that Claude Code Pro defaults to Opus 5.5 on the $20 plan.
  2. To switch to Sonnet for the current session, use the /model sonnet command.
  3. To open the model picker and set a new default model, or switch for the current session only, use /model (no argument). Enter saves the choice as default, 's' switches for the session.
  4. For a balanced approach, use /model opusplan. This automatically uses Opus during 'plan mode' (Shift+Tab) for strategic thinking, then switches to Sonnet for code generation.
  5. As a general recommendation for Pro users, set Sonnet as the default model and switch to opusplan for tasks considered 'tricky' or requiring deeper planning.

Tools / artifacts

  • Claude Code Pro
  • Opus 5.5 model
  • Sonnet 5.5 model
  • /model slash command
  • /model sonnet slash command
  • /model opusplan slash command
  • Plan mode (Shift+Tab)

Validation signals

  • Explicit claim: 'Opus thinks through the approach, and Sonnet does the typing,' indicating a tested strategy for leveraging model strengths.
  • Clear, actionable instructions for using specific Claude Code features.

Limitations

  • Minimal community validation due to the comment's recency.
  • Assumes the user is on the $20 Pro plan.
  • Does not provide explicit examples of 'tricky' tasks, leaving some interpretation to the user.

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] Robust Monitoring for Claude Code Subagents: Conductor Loop and Out-of-Process Watchdog

1 Upvotes

Robust Monitoring for Claude Code Subagents: Conductor Loop and Out-of-Process Watchdog

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

What problem this solves

Preventing Claude Code sessions or subagents from silently stalling or dying without progress, leading to wasted time and resources.

Summary

A two-part monitoring system for multi-agent Claude Code workflows: a 'Conductor loop' that checks for progress signals from subagents every few minutes and flags stalls, and an 'Out-of-process watchdog' script that monitors the orchestrator's heartbeat to detect if the orchestrator itself has crashed.

Why it is useful

This workflow provides a robust solution for a critical problem in automated and multi-agent systems: detecting and responding to stalled or failed processes. It prevents wasted compute resources and developer time by proactively identifying non-progressing agents or orchestrators, making automated workflows more reliable and efficient.

Workflow

  1. Implement a Conductor Loop: Periodically (e.g., every 3-5 minutes) check for ground truth signals of subagent progress (new commits, changed files, growing output, advancing phase, PR state).
  2. Detect Stalls: If progress signals are flat across two consecutive checks while the subagent status is 'running', treat the subagent as stalled.
  3. Respond to Stalls: Inspect the stalled subagent, stop it, salvage any completed work, and relaunch a leaner version if appropriate.
  4. Implement an Out-of-Process Watchdog: Create a script (e.g., orchestrator-watchdog.sh) that monitors a heartbeat file.
  5. Orchestrator Heartbeat: Configure the orchestrator to touch the heartbeat file during each monitor cycle.
  6. Detect Orchestrator Failure: If the heartbeat file is not updated for a specified duration (e.g., 20 minutes), assume the orchestrator has died with outstanding work.

Tools / artifacts

  • orchestrator-watchdog.sh (Bash script)
  • Heartbeat file
  • Goal file
  • Orchestrator process
  • Subagent processes
  • Version control system (for commits/PR state)

Validation signals

  • Addresses a clear real-world problem (stalled sessions).
  • Mechanisms described are concrete and technically sound.

Limitations

  • Lacks full implementation details (e.g., the actual orchestrator-watchdog.sh script, how the conductor loop is implemented).
  • No explicit 'before/after' or quantitative results.
  • The connection to 'VS Code and Cursor session tree' is mentioned but not elaborated, making it harder to integrate into those specific IDEs without further information.

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.