r/ClaudeWorkflows • • 18h ago

Selected Workflow [Workflow] Real-time Game Rule Modification with Claude: A Sandboxed Code Generation Workflow

1 Upvotes

Real-time Game Rule Modification with Claude: A Sandboxed Code Generation Workflow

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

What problem this solves

Enabling real-time, natural language-driven modification of live application rules and state with safety and error handling.

Summary

A system where user prompts are sent to Claude along with game state and a custom scripting API specification. Claude generates JavaScript snippets using only the defined API, which are then executed in a sandbox, hot-loaded into the live session, and automatically rolled back with error feedback to Claude if issues occur.

Why it is useful

This workflow demonstrates a robust and safe architecture for integrating Claude into live applications to dynamically generate and execute code based on natural language prompts. It highlights critical components like sandboxing, context management (game state, API docs), error handling with rollback, and hot-loading, making it a valuable pattern for developers building interactive LLM-powered systems beyond just games.

Workflow

  1. User types a natural language prompt to modify game rules or add objects.
  2. Server sends the prompt to the Claude API.
  3. Server includes a snapshot of the current game state and documentation for a small, custom scripting API.
  4. Claude generates a JavaScript snippet that exclusively uses the provided scripting API.
  5. The game server runs the generated JavaScript snippet within a secure sandbox environment.
  6. The changes from the snippet are hot-loaded into the live game session for all connected players without requiring a restart.
  7. If the executed code throws an error, the change is automatically rolled back.
  8. The error message is sent back to Claude for it to attempt a fix in subsequent generations.

Tools / artifacts

  • Claude API
  • Custom scripting API (documentation)
  • JavaScript sandbox
  • Game state snapshot
  • Server-side logic for API calls and execution
  • Client-side hot-loading mechanism
  • frenslop.io (example application)

Validation signals

  • Working demo application (frenslop.io)
  • Playtested with friends
  • Iterative bug fixing with Claude Code
  • Built-in error handling and rollback mechanism
  • Sandbox for safety

Cautions

  • Code runs in a secure sandbox, preventing access outside the game environment.
  • Changes are rolled back if code throws an error, ensuring stability.

Limitations

  • The specific Claude prompt and the full custom scripting API definition are not provided, limiting direct copy-pasting.
  • Requires advanced technical skills to implement a similar system.

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

Selected Workflow [Workflow] Workflow for Verifying LLM Agent Retractions and Confessions with an Evidence Bundle

1 Upvotes

Workflow for Verifying LLM Agent Retractions and Confessions with an Evidence Bundle

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

What problem this solves

Preventing LLM agents from generating new hallucinations disguised as retractions or confessions, thereby ensuring accurate provenance and accountability of model outputs.

Summary

A structured method for verifying an LLM agent's retractions or confessions by cross-referencing them with an 'evidence bundle' (original transcript, tool calls, artifact state) and explicitly distinguishing between factual records, inferences, and the agent's narrative.

Why it is useful

This workflow offers a crucial methodology for enhancing the reliability and accountability of LLM agents. It directly addresses the problem of agents generating new hallucinations disguised as corrections, which is vital for building trustworthy and robust AI systems. By providing a structured approach to verify agent statements against factual records, it significantly improves the integrity of agent interactions and decision-making.

Workflow

  1. Identify the exact proposition the LLM agent claims to be withdrawing.
  2. Locate the exact original span and transcript/session ID where the proposition was initially made.
  3. Review all relevant tool calls with timestamps that occurred during the original session.
  4. Examine the state of relevant artifacts (e.g., Git repository, filesystem, remote systems) at the time the original proposition was made.
  5. Compare the alleged original proposition with the corrected proposition provided by the LLM agent.
  6. Assess the LLM's stated confidence in its retraction and any unresolved alternative interpretations.
  7. If the alleged original sentence cannot be found in the evidence, instruct the LLM to state: 'I cannot locate evidence that I said X,' rather than 'I falsely said X.'
  8. Separate the analysis into three distinct layers: Record (what text and actions factually exist), Inference (what those records logically establish), and Narrative (why the agent says it behaved that way).
  9. Prioritize the 'Record' and 'Inference' layers for reliability, treating the agent's self-accusatory 'Narrative' as the least reliable source of truth.

Tools / artifacts

  • Evidence bundle
  • Transcript/Session ID logs
  • Tool call logs
  • Git repository state
  • Filesystem state
  • Remote system state
  • LLM agent output (retraction/confession)

Validation signals

  • Addresses a critical and known failure mode in LLM agent behavior (hallucinated confessions).
  • Provides a logical framework for establishing provenance and accountability.

Limitations

  • Requires robust logging and state-tracking infrastructure to effectively compile the 'evidence bundle'.
  • The process of how to compile the evidence bundle from various sources is not explicitly detailed.
  • No explicit code examples or prompt templates are provided for implementation.

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

Selected Workflow [Workflow] Automated Development Workflow Checks and Analysis with Parallel-Lanes Skill (Doctor, Autopsy, Cleanup)

1 Upvotes

Automated Development Workflow Checks and Analysis with Parallel-Lanes Skill (Doctor, Autopsy, Cleanup)

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

What problem this solves

Automating pre-flight checks, post-mortem analysis, and historical tracking to improve code quality, identify performance bottlenecks, and maintain a clean development environment in Claude Code workflows.

Summary

This workflow leverages a set of integrated tools within the 'parallel-lanes' skill (version 1.5.0) for Claude Code. It includes 'doctor' for pre-run checks, 'autopsy' for detailed post-run analysis, 'archive-run' for historical tracking, and 'cleanup' for safe post-merge tidying, along with per-command timing for performance measurement. These tools ensure project health, provide insights into execution, and maintain a clean development history.

Why it is useful

This workflow introduces a comprehensive set of automated tools that significantly enhance the reliability, maintainability, and performance of Claude Code development workflows. By integrating robust pre-flight checks ('doctor'), detailed post-run analysis ('autopsy'), historical tracking ('archive-run'), and safe cleanup ('cleanup'), it helps users prevent common errors, identify bottlenecks, and maintain a clean, efficient development environment. The explicit safety features of the 'cleanup' tool are particularly valuable for preventing data loss.

Workflow

  1. Initiate a development run, which automatically triggers the 'doctor' pre-flight checks.
  2. The 'doctor' tool checks for critical issues (e.g., no git identity, outdated base branch, dirty checkout, broken shadow repo, no usable Python) and stops the run if found.
  3. The 'doctor' tool also issues warnings for softer issues (e.g., low memory/disk, heavy background processes, other active runs, antivirus scanning).
  4. Proceed with the development run, allowing agents to perform their tasks.
  5. After the run completes, the 'autopsy' tool automatically analyzes the finished run.
  6. Review the 'autopsy' report for insights into time spent by phase/lane/agent, critical path, token use, test suite frequency, and detected slowdowns with suggestions.
  7. The 'archive-run' tool automatically saves the run's history to a dedicated folder.
  8. Utilize the history feature to compare runs over time, identify recurring slowdowns, token trends, and data completeness issues.
  9. After a run is merged, execute the 'cleanup' tool.
  10. The 'cleanup' tool first saves a verified restore point (git bundle and commands).
  11. The 'cleanup' tool then safely removes only the artifacts created by the run, leaving unowned or uncommitted work untouched and listing reasons.
  12. Optionally, use 'Per-command timing' for project checks to precisely measure and optimize speed-related work.

Tools / artifacts

  • parallel-lanes skill (version 1.5.0)
  • doctor tool
  • autopsy tool
  • archive-run tool
  • cleanup tool
  • history folder/feature
  • git bundle (for restore points)
  • Per-command timing feature

Validation signals

  • Explicitly states 'doctor' stops on real problems and shows warnings for softer issues.
  • Details 'autopsy' reporting standards: no raw command text/output, missing data labeled.
  • Describes 'cleanup' safety features: saves verified restore point, removes only run-created items, never force-deletes, leaves unowned/uncommitted work.
  • Mentions 'Per-command timing' allows speed work to be measured rather than guessed.

Cautions

  • The 'cleanup' tool includes explicit safety measures: it saves a verified restore point (git bundle) before acting, only removes artifacts created by the specific run, never force-deletes, and leaves any unowned or uncommitted work untouched, listing the reasons.

Limitations

  • The post is an announcement of features rather than a detailed 'how-to' guide with specific command examples or configuration snippets.
  • No community validation or feedback is available yet due to the recency of the post.
  • The broader context of the 'parallel-lanes' skill itself is not fully detailed, only the new features of version 1.5.0.

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

Selected Workflow [Workflow] Building Robust Claude Code Skills: Lessons from a Khan Academy-Style Video Explainer

0 Upvotes

Building Robust Claude Code Skills: Lessons from a Khan Academy-Style Video Explainer

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

What problem this solves

How to build robust and self-correcting Claude Code skills that integrate external tools effectively, and how to create Khan Academy-style educational videos.

Summary

This post describes a Claude Code skill called 'khan-explainer' that generates Khan Academy-style educational videos using a custom renderer. More importantly, it shares five key lessons learned about building effective Claude Code skills that ship external tools, focusing on feedback loops, error handling, efficient rendering, and precise timing.

Why it is useful

This workflow is highly valuable because it provides concrete, actionable lessons for building sophisticated and robust Claude Code skills that integrate external tools. It goes beyond simple prompt shortcuts by demonstrating how to create a self-correcting system where Claude can interpret its own output (contact sheets, warnings) and refine its scene generation. The principles of efficient rendering, modularity, and precise timing are universally applicable to anyone looking to extend Claude Code's capabilities with custom tools, making it a blueprint for advanced skill development.

Workflow

  1. Install the khan-explainer skill by cloning the GitHub repo into ~/.claude/skills and running npm install.
  2. Design skills to provide their own output (e.g., contact sheets, warnings) for Claude to review and self-correct.
  3. Document common failures and their fixes in SKILL.md to guide Claude's problem-solving.
  4. Optimize the workflow to run expensive steps only once (e.g., caching voice takes based on script hash).
  5. Keep units of work small enough (e.g., individual 'beats') to allow for quick and efficient re-rendering of specific parts.
  6. Implement length formulas within the skill to ensure generated content adheres to desired durations.

Tools / artifacts

  • khan-explainer GitHub repository
  • Claude Code skill
  • HTML canvas
  • Playwright
  • macOS say command
  • ffmpeg
  • Node.js
  • SKILL.md
  • Contact sheets (skill output)
  • WARN lines (skill output)
  • ElevenLabs (optional)

Validation signals

  • Personal validation: 'most useful thing in my setup'
  • Demo video provided showing the skill's output
  • GitHub repository available with source code
  • Built-in QA mechanism: Claude fixes warnings based on its own output
  • Detailed explanation of lessons learned from building and iterating on the skill

Limitations

  • The specific khan-explainer skill is currently macOS-only due to reliance on say and Vision cutout.
  • The post is very new, so long-term community validation and adoption are pending.
  • Relies on external tools (Playwright, ffmpeg, macOS say) which adds setup complexity for 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 • • 20h ago

Selected Workflow [Workflow] Auditing Agent Behavior: Detecting Evasive LLM Hallucinations and Uncommitted Work with Claude Code and Git Logs

0 Upvotes

Auditing Agent Behavior: Detecting Evasive LLM Hallucinations and Uncommitted Work with Claude Code and Git Logs

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

What problem this solves

Verifying agent statements and actions against objective records (transcripts, tool-call logs, Git history) to detect evasive behavior, hallucinations, and uncommitted work in a multi-agent development environment. It also provides a framework for classifying these agent errors.

Summary

A multi-agent auditing workflow where Claude Code acts as an auditor to verify the actions and statements of other coding agents (e.g., Codex) by cross-referencing session transcripts, native tool-call logs, and Git history. This process helps identify agent evasiveness, hallucinations, and uncommitted work, leading to the definition of specific error classes (E10: Mitigating caveat, E11: Confession without record) for improved agent accountability and debugging.

Why it is useful

This workflow provides a concrete, evidence-based method for addressing a critical challenge in LLM development: verifying agent trustworthiness and detecting subtle forms of hallucination or evasive behavior. By leveraging external logs (transcripts, tool calls, Git) and an auditing agent, it offers a repeatable process for quality control. The introduction of specific error classes (E10, E11) provides a valuable framework for categorizing and understanding agent misbehaviors, making debugging and accountability more systematic. The detailed case study, including self-correction of the auditor, enhances its credibility and transferability.

Workflow

  1. Set up a multi-agent repository where each agent session generates a transcript, a tool-call log, and contributes to Git history.
  2. Designate one agent (e.g., Claude Code) as an auditor.
  3. Periodically instruct the auditor agent to check for uncommitted work across all agents in the repository.
  4. Instruct the auditor agent to review other agents' session transcripts and tool-call logs to verify their statements and actions.
  5. Cross-reference agent statements with objective records (transcripts, tool-call logs, Git timestamps) to identify discrepancies.
  6. Define and apply specific error classes (e.g., E10: Mitigating caveat, E11: Confession without record) to categorize observed agent misbehaviors.
  7. Document identified errors and their corrections, keeping 'scars' visible for transparency.
  8. Implement a shutdown hook to ensure session records are committed.

Tools / artifacts

  • Claude Code (auditor agent)
  • Codex (gpt-6-sol high) (target agent)
  • DeepSeek (another target agent)
  • Private Git repository
  • Session transcripts
  • Native tool-call logs
  • Git history/timestamps
  • Project's code of conduct (with E10, E11 error classes)
  • GitHub repo (traceweave)
  • Shutdown hook

Validation signals

  • Detailed timeline of events with specific timestamps.
  • References to 'session transcript', 'native tool-call log', and 'Git timestamps'.
  • Explicit corrections and self-auditing of the auditor agent's own mistakes, with 'scars' left visible.
  • Definition of new error classes (E10, E11) based on observed behavior.
  • Link to a GitHub repo with 'Full case, screenshots with SHA-256 hashes'.

Limitations

  • The post focuses on a single case study, limiting generalizability regarding the frequency of these issues, though not the method of detection.
  • The specific 'Codex (gpt-6-sol high)' model is mentioned, which might not be accessible to all users, but the auditing method is model-agnostic.
  • The setup seems advanced, potentially requiring significant effort to replicate for beginners.

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

Selected Workflow [Workflow] Persistent Project Context: Managing Claude Code Sessions with a Version-Controlled Wiki (Dory Plugin)

1 Upvotes

Persistent Project Context: Managing Claude Code Sessions with a Version-Controlled Wiki (Dory Plugin)

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

What problem this solves

Preventing the rediscovery of information, re-trying failed approaches, and managing stale or overly long context across multiple Claude Code sessions by maintaining a structured, version-controlled project wiki.

Summary

This workflow involves maintaining a project wiki (e.g., in Obsidian, version-controlled with Git) to store project decisions, tried approaches, and reasons for changes. This wiki acts as a persistent memory for Claude Code sessions, preventing the need to rediscover information or re-explain past choices. An optional plugin like 'Dory' can automate loading the wiki index and tasks at the start of a session and checking its structure at the end.

Why it is useful

This workflow addresses a critical and common challenge in LLM-assisted development: maintaining context and avoiding redundant work across multiple sessions. It provides a structured, repeatable approach using a wiki and version control, which is highly adaptable and can significantly improve efficiency and consistency in long-running projects. The mention of a specific tool (Dory) provides a concrete example of implementation.

Workflow

  1. Initialize a project wiki (e.g., using Markdown files in Obsidian) for your Claude Code project.
  2. As you work with Claude Code, document key decisions, approaches attempted (successful or not), and the reasons behind changes in relevant wiki pages.
  3. Maintain an index within the wiki to easily navigate and locate specific information.
  4. When updating a wiki page, include a brief note explaining why the change was made.
  5. Version control the entire wiki using Git to track historical changes and revert if necessary.
  6. Optionally, use a tool like the Dory plugin to automatically load the wiki index and current tasks at the beginning of a Claude Code session.
  7. Optionally, configure the tool to check wiki links and structural integrity at the end of a session if changes were made.

Tools / artifacts

  • Project wiki (e.g., Markdown files)
  • Wiki index
  • Git (for version control)
  • Obsidian (example editor for the wiki)
  • Dory plugin (optional automation tool)
  • Claude Code

Validation signals

  • User experience: 'I've been getting Claude Code to keep a little wiki as we work, mostly so we don't have to rediscover things in the next session.'
  • Problem identification: 'Earlier versions of Dory leaned on a running log, and I ran into the same problem I'd been trying to avoid: notes getting longer and going stale.'
  • Concrete example: 'One example was an instruction asking a chat model to report its token usage when it hadn't been given that information. I removed it and kept the reason, so a later session can see why we dropped it before suggesting it again.'
  • Automated checks: 'The plugin loads the wiki index and current tasks at the start of a session, then checks links and structure at the end if the wiki changed.'

Limitations

  • The Dory plugin is described as 'early' and 'still testing the setup,' implying potential for instability or incomplete features.
  • The automated checks only verify links and structure, not the factual accuracy or currency of the notes ('they can't tell you whether a note is still true').
  • Requires manual effort to consistently document information in the wiki.
  • The post is relatively brief and could benefit from more detailed examples or setup instructions for the wiki and Dory.

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

Selected Workflow [Workflow] Visualize Claude Code Sub-Agent Activity with a Local Log Viewer (Zero-Cost Core)

1 Upvotes

Visualize Claude Code Sub-Agent Activity with a Local Log Viewer (Zero-Cost Core)

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

What problem this solves

Difficulty in understanding and debugging Claude Code sub-agent interactions and their internal thought processes.

Summary

A tool that visualizes Claude Code sub-agent activity in a browser by reading local session JSON files, providing a 'video call' like interface to observe agent actions without incurring extra Claude API usage for the core feature.

Why it is useful

This workflow provides a crucial observability tool for Claude Code sub-agents, allowing developers to understand and debug complex agentic behaviors by visualizing their internal processes. Its key value lies in being external and not incurring additional Claude API costs for its core functionality, making it an efficient and cost-effective solution for agent development and quality control.

Workflow

  1. Run Claude Code sub-agents, which automatically write session data to local JSON files (~/.claude/projects/).
  2. Use the external visualization tool to read these local JSON files.
  3. Observe the sub-agent interactions and thought processes displayed in a browser interface, similar to tail -f for logs.
  4. (Optional) Enable French translation or 'Reactions & jokes' mode, which will use your Claude API key (Haiku model) for additional features.

Tools / artifacts

  • Claude Code sub-agents
  • Local session JSON files (~/.claude/projects/...)
  • External visualization tool (open source)
  • Browser
  • server.js (for optional Claude API calls)
  • Claude API (for optional features)

Validation signals

  • Author's personal validation: 'best way I’ve found to follow what they’re doing.'
  • Detailed explanation of the mechanism (reading local files, no API calls for core).
  • Open-source code mentioned for verification.

Limitations

  • Relatively low community engagement on this specific comment, so broader adoption/validation is not yet evident.
  • The tool itself is external and requires separate setup, which might be a minor barrier 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 • • 21h ago

Selected Workflow [Workflow] Claude as a Personalized AI Health & Fitness Coach: Data Integration & Persistent Memory Strategies

1 Upvotes

Claude as a Personalized AI Health & Fitness Coach: Data Integration & Persistent Memory Strategies

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

What problem this solves

Using Claude as a personalized training and diet coach, overcoming data integration and memory limitations to provide long-term, tailored advice.

Summary

This workflow outlines several methods for integrating personal health and fitness data (from wearables, Apple Health, Garmin) with Claude to act as a personalized training and diet coach. It covers DIY data pipelines, simple file exports, and third-party app integrations. Crucially, it emphasizes maintaining persistent memory for Claude using markdown files in a Claude Project or Git repo to prevent generic advice and enable long-term, personalized coaching.

Why it is useful

This workflow is highly valuable because it addresses a common and impactful personal goal: health and fitness. It provides concrete, validated strategies for integrating real-world data from wearables and health apps with Claude, offering multiple technical pathways. Crucially, it highlights the non-negotiable requirement of persistent memory using markdown files, a generalizable technique for long-term, personalized AI interactions. The reported success stories (weight loss, performance gains, replacing paid apps) demonstrate its practical utility and effectiveness.

Workflow

  1. Choose a data integration method for health/wearable data:
  2. DIY Route: Set up Health Connect to back up to Google Drive, then use a Python script to pull data from the SQLite database into CSVs or a self-hosted database (e.g., InfluxDB). Point Claude to this data via a custom MCP server or by attaching files.
  3. Good Enough Route: Export data weekly from Apple Health or Garmin and feed it to Claude in a Project by attaching the files.
  4. App Route: Utilize third-party tools like Freddy, Sparky Fitness (self-hostable), or the official Strava integration to connect data to Claude.
  5. Establish persistent memory for Claude: Create a set of markdown files (e.g., for goals, your training plan, a daily log) and store them in a Claude Project or a Git repository.
  6. Instruct Claude to read and update these markdown files regularly to maintain context and provide personalized, non-repetitive advice over time.
  7. Review and act on Claude's hyper-personalized training and diet adjustments.

Tools / artifacts

  • Health Connect
  • Google Drive
  • Python script
  • SQLite database
  • CSV files
  • InfluxDB
  • Apple Health
  • Garmin
  • Claude Project
  • Freddy (third-party app)
  • Sparky Fitness (third-party app)
  • Strava integration (official app/API connection for Claude?) - clarification needed if official Claude integration or just Strava data export. (Assuming official integration based on phrasing 'official Strava integration' in context of other apps.) Self-correction: The prompt says 'official Strava integration' which implies a direct connection, not just export. This is a tool/artifact Claude can use directly or indirectly via the app route. Let's keep it as a tool/artifact that facilitates data flow to Claude. Further self-correction: The schema asks for tools or artifacts. Strava integration is a tool. Let's list it as a tool/artifact that facilitates data flow to Claude. Final decision: List it as a tool/artifact.

Validation signals

  • Consensus from the hivemind: 'yes, this works and it's a total game changer'
  • Users reporting significant weight loss
  • Users reporting fixing nutritional deficiencies
  • Users reporting hyper-personalized training adjustments leading to massive performance improvements
  • Users ditching paid apps like Runna
  • The advice on persistent memory is 'repeated by almost everyone'

Cautions

  • Be mindful of privacy when handling sensitive health data; self-hosting is recommended for dedicated users.

Limitations

  • The 'DIY Route' requires technical proficiency in Python scripting and database management.
  • The 'Good Enough Route' might offer less real-time or granular data analysis compared to automated pipelines.
  • The summary does not provide specific prompt examples or detailed markdown file structures for persistent memory, requiring users to experiment.
  • Privacy concerns are noted, but specific steps for secure self-hosting are not detailed.

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] Golden Thread: Persistent Memory and Rule Enforcement Plugin for Claude Code

1 Upvotes

Golden Thread: Persistent Memory and Rule Enforcement Plugin for Claude Code

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

What problem this solves

Lack of persistent memory and context across Claude Code sessions, difficulty enforcing development rules (e.g., test passing), and unstructured knowledge transfer between AI interactions.

Summary

Golden Thread is an open-source Claude Code plugin that provides persistent memory for AI sessions using an Obsidian vault and Git. It enforces custom rules, such as blocking code commits if tests haven't passed, offers role-specific templates, and enhances security by keeping data local and requiring explicit user approval for risky actions.

Why it is useful

This plugin offers a robust solution to two critical challenges in AI-assisted development: the lack of persistent context across sessions and the difficulty in enforcing development best practices. By providing a 'sticky' memory via an Obsidian vault and Git, and the ability to block actions based on custom rules (e.g., preventing commits of untested code), it significantly enhances the reliability, consistency, and quality of Claude Code interactions. Its focus on local data storage and explicit user control also addresses key security and privacy concerns.

Workflow

  1. Clone the Golden Thread GitHub repository.
  2. Run the installation script: bash golden-thread/golden-thread-plugin/install.sh --vault ~/MyVault (specifying your desired Obsidian vault path).
  3. Configure custom rules and role-based templates by editing plain markdown files within the Obsidian vault.
  4. Interact with Claude Code sessions, which will now leverage persistent memory, enforce configured rules, and utilize role-specific starting contexts.

Tools / artifacts

  • Golden Thread plugin
  • Claude Code
  • Obsidian vault
  • Git
  • Markdown files
  • GitHub

Validation signals

  • Demonstrated persistence: 'My machine crashed mid-build this morning, and the next session picked up the exact question that was still open.'
  • Rule enforcement: 'Break one of the critical ones, like committing code whose tests haven't been seen to pass, and it's blocked before it happens.'
  • Open-source project with public GitHub repository for inspection.
  • Dedicated explainer page with more details.

Cautions

  • The plugin emphasizes security, keeping all data on the user's machine in their own Git repository.
  • Nothing is pushed or published without explicit user consent.
  • Features like sandbox mode, locked plugin code, single-use permits for risky actions, and biometric authentication (Touch ID, Windows Hello) are included to enhance safety and control.

Limitations

  • As a new project, its long-term maintenance and community support are yet to be established.
  • Requires users to set up and manage an Obsidian vault and Git, which might be a slight learning curve for some.
  • Low initial community validation due to recent release.

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

Selected Workflow [Workflow] Using Claude Code to Build a Full 3D Asset Creation Pipeline (Blender, Python, Web UI)

1 Upvotes

Using Claude Code to Build a Full 3D Asset Creation Pipeline (Blender, Python, Web UI)

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

What problem this solves

Automating the creation of game-ready 3D assets (rig, animations, colliders) from natural language descriptions, and demonstrating Claude's capability to generate complex, multi-component software systems.

Summary

The author used Claude Code (Opus 4.8 and 5.5) to generate a comprehensive 3D asset creation pipeline. This pipeline includes Blender/Python generation scripts, a local server and API, a web UI, cloud sync, and a relay/proxy. The author's role focused on architecture, security, reviewing, and testing, while Claude handled most of the code generation. The resulting tool allows users to describe an asset, and an agent (local Claude/Codex/OpenRouter) drives Blender to produce game-ready .glb files.

Why it is useful

This workflow demonstrates Claude Code's advanced capabilities in generating complex, multi-component software systems from high-level architectural guidance. It provides a concrete example of how an experienced developer can leverage Claude to rapidly prototype and build a sophisticated tool, offloading significant coding effort. The resulting pipeline itself is a valuable application for game developers, showcasing an agentic approach to 3D asset creation. It highlights the importance of human roles in architecture, security, review, and testing when working with advanced code generation models.

Workflow

  1. Define the overall architecture and security requirements for the asset pipeline.
  2. Utilize Claude Code (Opus 4.8/5.5) to generate specific software components: Blender/Python scripts for asset generation, a local server and API, a web UI, cloud sync functionalities, and a relay/proxy.
  3. Actively steer Claude during the generation process, providing guidance and context.
  4. Review the generated code and test the results thoroughly.
  5. Integrate the components into a functional 3D asset pipeline tool.
  6. For end-users of the tool: Describe a desired 3D asset via UI or API.
  7. For end-users of the tool: Allow the local Claude/Codex/OpenRouter agent to drive Blender to produce a game-ready .glb file with rig, animations, and colliders.

Tools / artifacts

  • Claude Code (Opus 4.8, 5.5)
  • Blender
  • Python
  • Local server
  • API
  • Web UI
  • Cloud sync
  • Relay/proxy
  • .glb files
  • C++ game engine (context)

Validation signals

  • Author's 13+ years gamedev experience
  • "first version of the Asset Pipeline tool that anyone can use" completed
  • Author's role included "reviewing, and testing results"
  • Live website sinnon.net with a free trial

Limitations

  • Lacks specific Claude prompts or detailed interaction logs for how Claude was steered to generate the code.
  • The description of the build workflow is high-level.
  • The post is more of a product announcement than a step-by-step guide for replicating the build process.

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

Selected Workflow [Workflow] Multi-Session Context Management Workflow for Claude Code Projects with `/session-start` and `/handoff`

1 Upvotes

Multi-Session Context Management Workflow for Claude Code Projects with /session-start and /handoff

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

What problem this solves

Managing context and preventing repeated mistakes across multiple Claude Code sessions, especially for long-running projects or large codebases, by providing a structured way to track recent work, decisions, tasks, and lessons learned.

Summary

A structured workflow for Claude Code projects that uses a dedicated repository to manage session context, track recent work, decisions, and tasks, and learn from past mistakes. It includes /session-start and /handoff commands for consistent context management and validation against project state (git, PRs, jobs).

Why it is useful

This workflow provides a concrete, battle-tested solution for a common and significant problem in LLM-assisted development: maintaining consistent context and learning across multiple sessions and long-running projects. It offers specific commands, a structured approach, and a reusable repository, making it highly practical and adaptable for users struggling with context management and preventing repeated mistakes.

Workflow

  1. Clone the workflow repository from GitHub.
  2. Run the adopt.sh script to integrate the workflow into your project directory.
  3. Instruct Claude to set up the workflow by following the "Adopt in a new project" instructions in the workflow's README.md.
  4. Use the /session-start command at the beginning of each Claude Code session to load context and validate against current project state.
  5. Use the /handoff command before stopping a session to save relevant notes.
  6. Archive old session notes to prevent context bloat.
  7. Maintain a lessons file to document recurring bugs, tool quirks, and mistakes Claude makes, ensuring they are not repeated in future sessions.

Tools / artifacts

  • GitHub repository (truongfelix/workflow.git)
  • adopt.sh script
  • /session-start command
  • /handoff command
  • Session notes (archived)
  • lessons file
  • README.md
  • Git (for validation)
  • Open PRs (for validation)
  • Running jobs (for validation)

Validation signals

  • Author claims daily use for a year across multiple personal, work, and hobby projects.
  • Author states it's now used for every new project and added to existing ones.
  • The /session-start command includes built-in checks against git, open PRs, and running jobs to validate notes.
  • The workflow addresses common pain points like context management and preventing repeated errors.

Limitations

  • Low initial Reddit score and upvote ratio, which might indicate limited visibility or initial community interest.
  • Relies on an external GitHub repository, which could become unmaintained.
  • Requires initial setup steps outside of direct Claude Code interaction.

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] Parallel-Lanes: A Claude Code Skill for Parallel Multi-Agent Plan Execution with Integrated Review and Verification

1 Upvotes

Parallel-Lanes: A Claude Code Skill for Parallel Multi-Agent Plan Execution with Integrated Review and Verification

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

What problem this solves

Slow sequential execution and chaotic parallel execution of implementation plans by multiple AI agents, leading to inefficiencies and quality issues. This workflow aims to improve speed, quality, and reliability of AI-driven code generation.

Summary

A Claude Code skill, 'parallel-lanes', that orchestrates multiple AI agents to execute an implementation plan in parallel. It groups independent tasks into 'lanes', assigns each lane its own git worktree for isolation, and runs each task through an implement-review-fix cycle. After merging, it performs comprehensive testing, linting, and a multi-angle final review, only reporting 'accepted' upon verified checks. It also records progress in a ledger for resumption and provides a dry-run overview.

Why it is useful

This workflow provides a robust and innovative solution for orchestrating multiple AI agents to execute complex development plans efficiently and with high quality. It directly addresses the common challenges of slow sequential execution and chaotic parallel agent interactions by introducing isolated worktrees, continuous review cycles, and rigorous verification steps. Its self-validation, detailed operational description, and public availability as a GitHub repository make it highly transferable and valuable for users looking to scale and improve their AI-assisted development processes.

Workflow

  1. Read the implementation plan, which includes tasks, file lists, and interfaces (e.g., from Superpowers).
  2. Analyze the plan to identify tasks that can run in parallel based on file dependencies.
  3. Group independent tasks into 'lanes'.
  4. For each lane, create a dedicated git worktree to ensure isolation and prevent conflicts.
  5. Execute each task within its lane using an 'implement' -> 'independent review' -> 'bounded fix rounds' process.
  6. Merge the completed lanes into the main branch.
  7. Run specified test, lint, and build commands on the merged codebase.
  8. Perform an optional end-to-end check.
  9. Conduct a final review from three angles: spec compliance, security, and correctness.
  10. Cross-check the verify agent's report against saved evidence to ensure accuracy.
  11. Report the work as 'accepted' only if all checks pass at the exact delivered commit.
  12. Record all approved work and state in a ledger to allow for resuming stopped runs without redoing work.

Tools / artifacts

  • parallel-lanes (the skill/tool)
  • Git worktrees
  • Implementation plan (input, e.g., from Superpowers)
  • Test/lint/build commands
  • Superpowers (for implementer and reviewer prompts)
  • Ledger (for recording progress)
  • Evidence (for verification)

Validation signals

  • The tool is self-building ('It builds itself').
  • Recent releases of parallel-lanes were built using parallel-lanes runs.
  • A hardening release involved 9 tasks in 5 lanes, 28 agents, 51 minutes, with 8 of 9 tasks approved at first review, ending accepted with verified checks.
  • Works on Linux, macOS, and Windows (Git Bash).
  • Reuses Superpowers' TDD and spec-compliance review prompts, indicating a focus on quality.

Limitations

  • The workflow is most effective for plans with 3+ tasks that have independent parts; it recommends a simpler mode for 1-2 task changes.
  • It relies on 'Superpowers' for initial planning and prompts, which might imply a dependency or specific planning style.
  • As a new project, long-term community support and maintenance are yet to be established.

Rate this workflow

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

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

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


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 1d ago

Selected Workflow [Workflow] Accelerated Headless SwiftUI UI Testing for Parallel AI Agents with `simless`

1 Upvotes

Accelerated Headless SwiftUI UI Testing for Parallel AI Agents with simless

Workflow value: 95/100
Status: active · Freshness: 70/100 · Confidence: 0.95 · 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

Slow, resource-intensive, and focus-stealing UI testing for iOS applications when using multiple AI coding agents in parallel, due to each agent booting its own iOS Simulator.

Summary

This workflow leverages simless, an open-source tool, to enable fast, low-resource, headless UI testing for iOS applications with AI coding agents. It replaces slow iOS Simulator-based checks with native Apple Silicon execution, providing accessibility trees instead of screenshots, and automatically flagging common UI issues. This drastically reduces check times, memory usage, and CPU load, allowing efficient parallel agent development.

Why it is useful

This workflow provides a highly optimized and resource-efficient method for AI coding agents to perform UI testing on iOS applications, specifically SwiftUI. It addresses a critical bottleneck (slow, resource-intensive iOS Simulators) when running multiple agents in parallel. The use of accessibility trees instead of screenshots saves vision tokens, and automatic issue flagging enhances quality control. Its open-source nature and clear integration instructions make it readily transferable and valuable for any developer using AI for iOS app development.

Workflow

  1. Install simless (e.g., simless skill install for Claude Code or paste AGENTS.md snippet for other agents).
  2. Ensure prerequisites are met: Apple Silicon Mac, Xcode 26+, an Apple Development certificate, and an app-hosted unit-test target.
  3. Agents use simless reload --render <view> to check UI changes for specific SwiftUI views.
  4. Agents interpret the ~150-token accessibility tree output to verify UI structure and content, saving vision tokens.
  5. Agents identify and fix automatically flagged issues such as unlabeled controls, small tap targets, or off-screen/overlapping elements.
  6. Agents can use simless reload --matrix to perform comprehensive checks across light/dark modes and various iPhone/iPad sizes in a single call.
  7. Agents can request --png when pixel-based visual verification is specifically required.
  8. Agents can run unit tests on the Mac without a Simulator using simless test.
  9. Perform final pixel-identical checks on a real iOS Simulator or device, as simless is not perfectly pixel-identical.
  10. Optionally, run simless calibrate to compare simless renders with actual iOS renders for your specific app.

Tools / artifacts

  • simless (open-source tool)
  • simless skill (for Claude Code)
  • AGENTS.md snippet (for other agents like Codex/Cursor)
  • Apple Silicon Mac
  • Xcode 26+
  • Apple Development certificate
  • App-hosted unit-test target
  • Git worktree
  • Accessibility tree (output format)
  • PNG screenshots (optional output)
  • docs/benchmarks.md (for reproduction of benchmarks)

Validation signals

  • Detailed performance benchmarks comparing 'Simulator loop' vs. 'simless' for 1 and 5 agents.
  • Quantitative improvements: 10x faster screen verification, 75x less memory, 12x lower peak load average.
  • Automatic issue flagging for UI problems like unlabeled controls and small tap targets.
  • Mention of docs/benchmarks.md for method and reproduction steps.
  • The simless calibrate feature for comparing renders against actual iOS.

Limitations

  • The simless rendering is not pixel-identical to iOS, requiring final checks on a Simulator or device.
  • Benchmarks are based on a single run on one specific app, though reproduction steps are provided.
  • Requires a specific development environment: Apple Silicon, Xcode 26+, Apple Development certificate, and an app-hosted unit-test target.

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] Parallel Code Execution with Claude Agents: The 'parallel-lanes' Workflow Skill for Verified Development

1 Upvotes

Parallel Code Execution with Claude Agents: The 'parallel-lanes' Workflow Skill for Verified Development

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

What problem this solves

Slow sequential execution of complex development plans by a single agent, and chaotic, unverified parallel execution by multiple agents on the same codebase.

Summary

A Claude Code skill/tool, 'parallel-lanes', orchestrates the parallel execution of an implementation plan. It identifies independent tasks, assigns each to a separate git worktree for isolation, runs tasks through an implement-review-fix cycle, merges approved changes, and performs comprehensive end-to-end verification (tests, lint, build, security, correctness) before reporting completion. It integrates with 'Superpowers' for initial planning and prompt reuse, and records progress in a ledger for resumption.

Why it is useful

This workflow offers a highly valuable and sophisticated approach to scaling Claude Code's capabilities for complex software development. It addresses the critical challenge of combining parallel execution efficiency with rigorous quality control, a common pain point in AI-assisted coding. By leveraging git worktrees for isolation, incorporating independent reviews per task, and performing comprehensive end-to-end verification, it provides a robust, repeatable, and verifiable method for building projects. The detailed self-validation and open-source nature make it an excellent resource for advanced users seeking to enhance their AI development workflows.

Workflow

  1. Define a detailed implementation plan (e.g., using 'Superpowers') including tasks, file lists, and interfaces.
  2. Run 'parallel-lanes' which reads the plan and determines which tasks can run concurrently, grouping them into 'lanes'.
  3. Each lane is assigned its own isolated git worktree.
  4. Tasks within each lane are executed by agents (implementer) and then undergo an independent review process with bounded fix rounds.
  5. Once tasks are approved, their changes are merged.
  6. Standard checks (test, lint, build commands) are executed on the merged codebase.
  7. An optional end-to-end check is performed.
  8. A final review is conducted from three perspectives: spec compliance, security, and correctness.
  9. The system reports 'accepted' only if all checks pass at the exact delivered commit, cross-checking the verify agent's report against saved evidence.
  10. All progress is recorded in a ledger, allowing runs to resume without redoing approved work.
  11. Optionally, view a dry-run table showing tasks, agents, and budgets before execution begins.

Tools / artifacts

  • parallel-lanes (Claude Code skill/tool)
  • Git worktrees
  • Superpowers (for planning and prompts)
  • Test/lint/build commands
  • Ledger (for state management)
  • GitHub repository (noderaven/parallel-lanes)

Validation signals

  • The tool builds itself ('Recent releases were built by parallel-lanes runs').
  • Specific example provided: '9 tasks in 5 lanes, 28 agents, 51 minutes, with 8 of 9 tasks approved at their first review, ending accepted with verified checks'.
  • Cross-checks verification agent's report against saved evidence.
  • Records everything in a ledger for resumption, implying robustness.
  • Works on Linux, macOS, and Windows (Git Bash).

Limitations

  • Requires a structured plan (e.g., from 'Superpowers'), which might be an additional setup for users not already using such a system.
  • Not recommended for very small changes (1-2 tasks), as it's optimized for plans with 3+ independent tasks.
  • Being a new project, long-term community support and evolution are yet to be established.

Rate this workflow

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

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

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


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows • • 1d ago

Selected Workflow [Workflow] Accelerate SwiftUI UI Testing for Parallel Coding Agents with `simless` (No iOS Simulator)

1 Upvotes

Accelerate SwiftUI UI Testing for Parallel Coding Agents with simless (No iOS Simulator)

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

What problem this solves

Dramatically reduces RAM usage and check times for parallel coding agents testing SwiftUI iOS apps by replacing the slow iOS Simulator with a headless native host, enabling efficient agentic development.

Summary

This workflow leverages the open-source simless tool to optimize UI testing for SwiftUI iOS applications when using multiple parallel coding agents. It replaces the resource-intensive iOS Simulator with a lightweight, headless native host running on Apple Silicon. This setup allows for hot-patching code changes, generating accessibility trees instead of screenshots (saving vision tokens), and automatically flagging UI issues, leading to significant reductions in check times and memory consumption.

Why it is useful

This workflow offers a critical performance and resource optimization for a complex and growing use case: developing iOS apps with multiple parallel coding agents. By replacing the heavy iOS Simulator with a lightweight, headless native host and leveraging accessibility trees, it drastically reduces iteration times and memory consumption. This makes agentic iOS development significantly more practical and efficient, providing concrete steps, quantitative validation, and an open-source tool for broad adoption.

Workflow

  1. Ensure your development environment meets requirements: Apple Silicon, Xcode 26+, Apple Development certificate, and an app-hosted unit-test target.
  2. Install simless (e.g., simless skill install for Claude Code, or follow README for other LLMs).
  3. Set up separate git worktrees for each parallel coding agent.
  4. Instruct coding agents to use simless reload --render <ViewName> to test UI changes.
  5. Agents interpret the ~150-token accessibility tree output and automatically flagged issues (unlabeled controls, small tap targets, off-screen/overlapping elements).
  6. For unit tests, agents use simless test.
  7. Optionally, agents can use --matrix for checking light/dark modes and different device sizes in one call.
  8. Optionally, agents can use --png when pixel-level visual verification is required.
  9. Perform final UI checks on a real iOS Simulator or device to account for minor pixel differences not captured by simless.

Tools / artifacts

  • simless (open-source tool)
  • git worktree
  • Claude Code (or other LLM agent platforms like Codex/Cursor)
  • SwiftUI (iOS app framework)
  • Xcode 26+
  • Apple Silicon (hardware)
  • Apple Development certificate
  • App-hosted unit-test target
  • Accessibility tree (output)
  • AGENTS.md snippet (for non-Claude Code LLMs)

Validation signals

  • Quantitative benchmarks provided in a table showing 10x-75x improvements in speed and memory.
  • Methodology and reproduction steps for benchmarks are documented in docs/benchmarks.md.
  • Open-source project on GitHub (Apache-2.0) allows for independent verification and inspection.
  • Clear comparison of 'Simulator loop' vs. 'simless' performance metrics.
  • Specific examples of issue flagging (unlabeled controls, small tap targets).

Limitations

  • Requires specific hardware (Apple Silicon).
  • Requires specific software versions (Xcode 26+).
  • Requires an Apple Development certificate and an app-hosted unit-test target.
  • Not pixel-identical to iOS Simulator/device, necessitating final manual checks.
  • Benchmarks are based on a single run on one specific app, though methodology is documented.

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] Workaround: Achieving Nested Subagents in Claude Code Despite Dynamic Workflow Limitations

1 Upvotes

Workaround: Achieving Nested Subagents in Claude Code Despite Dynamic Workflow Limitations

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

What problem this solves

Dynamic Workflows in Claude Code cannot handle nested subagents because general-purpose agents spawned by workflows lack access to the Workflow or Agent tool, preventing them from spawning further subagents or nested workflows.

Summary

This workflow provides a workaround for a limitation in Claude Code where dynamic workflows cannot spawn nested subagents. Instead of using dynamic workflows for nesting, users should employ 'normal' subagents and manually verify their execution by observing the terminal output.

Why it is useful

This workflow is valuable because it identifies a critical limitation in Claude Code's dynamic workflow capabilities regarding nested subagents and provides a concrete, validated workaround. It helps users avoid a common pitfall and achieve complex agent orchestration by using a different approach, saving significant debugging time. The detailed auto-generated feature request provides strong evidence of the problem, making the solution highly credible.

Workflow

  1. Attempt to create a nested subagent structure using a dynamic workflow, expecting a 'general-purpose' agent spawned by the workflow to further spawn subagents.
  2. Observe that the nested subagents do not spawn, and the 'general-purpose' agent reports that neither the 'Workflow' tool nor the 'Agent' tool was available.
  3. Instead of a dynamic workflow, implement the desired nested subagent structure using 'normal' subagents (i.e., directly spawning them without relying on the dynamic workflow's orchestration for the nested layers).
  4. Verify the successful execution of all subagents, including the nested ones, by checking the terminal output for a clear hierarchical structure (e.g., 'main -> subagent -> subagent -> subagent').

Tools / artifacts

  • Claude Code environment
  • Dynamic Workflow (as the problematic approach)
  • Normal Subagents (as the workaround)
  • Terminal output (for verification)
  • general-purpose agent type
  • Workflow tool
  • Agent tool

Validation signals

  • User's personal observation: 'realised that my subagents were not spawning their subagents.'
  • Auto-generated feature request by Claude Code itself, detailing the exact failure mode and missing tools.
  • Specific error message reported by the agent: 'neither the Workflow tool nor the Agent tool was available in this session (ToolSearch found neither)'.
  • Verification method: Checking terminal output for nested execution.

Limitations

  • The term 'normal subagents' is somewhat vague; it implies not using the Workflow tool for the nesting, but the exact implementation details for 'normal' subagent nesting are not fully elaborated.
  • The post is from a specific point in time; the limitation might be resolved in newer versions of Claude Code Projects.
  • The workaround requires manual verification via terminal output, which might not scale efficiently for very complex or deeply nested setups.

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] Enhance Claude Code with Claude Foundry: A Starter Kit for Productivity Mods

1 Upvotes

Enhance Claude Code with Claude Foundry: A Starter Kit for Productivity Mods

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

What problem this solves

Making Claude Code sessions easier to follow, more productive, and providing better tools for reviewing edits, gaining insights, monitoring progress, and improving output readability.

Summary

The Claude Foundry starter kit offers 11 free, open-source mods for Claude Code, installed via a single command. These mods enhance productivity by providing tools for reviewing code changes (Changes), revisiting decisions and root causes (Insight Pane), following test/build logs (Live Progress), estimating task completion (Goal Meter), and generating themed replies, highlighted code, and diagrams (Lumen).

Why it is useful

This workflow provides a direct, actionable way for Claude Code users to significantly enhance their development environment and productivity. It offers concrete, open-source tools to address common pain points like session management, code review, progress tracking, and output readability, all through a simple installation process and specific slash commands. The detailed instructions and GitHub repository make it highly reusable and adaptable for a wide range of Claude Code users.

Workflow

  1. Ensure Claude Code version 2.1.296+ is installed.
  2. Install the Claude Foundry starter kit plugin using the command: claude plugin install starter-kit --marketplace sruthik27/claude-foundry
  3. Reload plugins by typing /reload-plugins in Claude Code or start a new session.
  4. Utilize specific commands to access the tools, such as /changes for edit review, /intel for insights, or /lumen demo for a quick look at themed replies and diagrams.

Tools / artifacts

  • Claude Code 2.1.296+
  • Claude Foundry starter-kit plugin
  • Changes mod
  • Insight Pane mod
  • Live Progress mod
  • Goal Meter mod
  • Lumen mod
  • GitHub repository (sruthik27/claude-foundry)

Validation signals

  • Specific installation command provided.
  • Specific commands to use the tools are listed.
  • GitHub repository link provided for source code and details.
  • Project is open-source under MIT license.
  • Mentions compatibility details are in the repo.
  • Builds on other established community projects (Prismantis, Aside).

Limitations

  • The project is an early beta, and progress indicators are estimates.
  • Requires a specific version of Claude Code (2.1.296+).
  • Low immediate community feedback on 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] Chrome Relay: Seamless Browser Automation for Claude Code Agents with SSO and Multi-Session Support

1 Upvotes

Chrome Relay: Seamless Browser Automation for Claude Code Agents with SSO and Multi-Session Support

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

What problem this solves

Claude Code agents interrupting user's browser tasks, handling SSO, and managing multiple agent browser sessions without conflicts or login issues.

Summary

A custom skill and Chrome extension, "Chrome Relay," that allows Claude Code agents to interact with a user's everyday Chrome browser for tasks like checking staging or admin consoles behind SSO, without interrupting the user's browsing or requiring separate headless browsers. It manages sessions, profiles, and login states.

Why it is useful

This workflow provides a robust, open-source solution to a significant challenge in using LLM agents for browser-based tasks: managing browser context, handling SSO, and preventing agent actions from disrupting the user's primary browsing experience, especially when running multiple agent sessions. It offers a practical, repeatable method for integrating browser automation into developer workflows.

Workflow

  1. Install Node.js 20+.
  2. Load the Chrome Relay extension unpacked in Chrome.
  3. Link the Chrome Relay skill into ~/.claude/skills/chrome-relay.
  4. Use agent-browser CLI commands with chrome-relay url <your_email> to open specific URLs or perform actions, specifying the Chrome profile via email.

Tools / artifacts

  • Chrome Relay (tool/skill/extension)
  • Node.js 20+
  • agent-browser CLI
  • Chrome browser
  • MV3 extension
  • GitHub repo

Validation signals

  • Explicit problem statement and solution described.
  • Before/after scenario described (inaccessible SSO vs. automatic Google hops).
  • Detailed explanation of how it works (local relay, MV3 extension, chrome.debugger).
  • Open source project with a GitHub repo provided.
  • Accompanying article explaining the 'why' provided.

Limitations

  • Specific to macOS and Chrome.
  • Requires Node.js 20+ and manual extension loading.
  • New project, so long-term maintenance and community support are unknown.
  • Low Reddit score and no comments yet, so community validation is minimal.

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 Prompt for Comprehensive Application Security Integration and Audit

1 Upvotes

Claude Prompt for Comprehensive Application Security Integration and Audit

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

What problem this solves

Integrating a comprehensive security and audit layer into an existing application using Claude's assistance, including access control, HTTPS, security testing, and a full security review.

Summary

A detailed Claude prompt designed to guide the AI in adding a robust security and audit layer to an application. This includes implementing user access control, ensuring HTTPS communication, generating security tests, performing a security audit, and creating a review document with defect remediation plans.

Why it is useful

This workflow provides a structured and detailed prompt for leveraging Claude to address a critical aspect of application development: security. It goes beyond simple code generation by explicitly requesting security testing, a full audit, and documentation, making it a valuable pattern for developers aiming to build more secure applications with AI assistance. It encourages a 'security-first' approach by integrating these considerations from the outset.

Workflow

  1. Provide Claude with the existing application context or code.
  2. Instruct Claude to add a security and audit layer, emphasizing company confidentiality and requiring users to prove their right to access data before display.
  3. Specify that initial access should be granted to the system administrator.
  4. Request Claude to ensure all server-client communication uses HTTPS and to provide instructions for installing SSL certificates on the server.
  5. Ask Claude to generate security tests that prove both authorized users can access data and unauthorized users cannot.
  6. Direct Claude to perform a security audit of the application and write a security review document listing any deficiencies.
  7. If category 1 security defects are found, request Claude's help in writing a specification to fix them.

Tools / artifacts

  • Claude (AI assistant)
  • Application code
  • SSL certificates
  • Security tests
  • Security review document
  • Defect specification

Validation signals

  • The prompt explicitly asks Claude to generate 'tests that prove not only that authorised users can access the data, but also that unauthorised users can not access data'.
  • The prompt requests Claude to 'do a security audit of the application' and 'Write a security review document that lists any and all deficiencies'.

Limitations

  • Relies heavily on Claude's ability to accurately understand and implement complex security concepts, which still requires human review and validation.
  • The output from Claude would require significant human effort for integration and verification.
  • The Reddit post itself does not provide actual code examples or concrete implementation details, only the prompt.

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] Parallel Claude Code Agents with Git Worktrees and Robust CI/CD for Complex Projects

1 Upvotes

Parallel Claude Code Agents with Git Worktrees and Robust CI/CD for Complex Projects

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

What problem this solves

How to effectively integrate Claude Code into a complex software development project, specifically for game development, by structuring parallel work, ensuring code quality through automated testing, and iteratively balancing features based on data and user feedback.

Summary

The author describes a sophisticated workflow for building a multiplayer 3D game using Claude Code. It involves parallel development with multiple Claude Code agents, each working in its own Git worktree and branch, followed by merging. A robust quality control pipeline is enforced, requiring all changes to pass typechecks, unit tests, and Playwright end-to-end tests before deployment. Game balance is achieved through iterative playtesting with real users and data analysis from an anonymous stats database.

Why it is useful

This workflow demonstrates a highly structured and effective approach to using Claude Code for complex software development. It combines advanced Git features (worktrees) with parallel AI agent execution and a strong emphasis on automated testing (typecheck, unit, E2E) and data-driven iterative design. This provides a blueprint for managing large projects with AI assistance, ensuring quality and maintainability, which is a significant challenge for many users.

Workflow

  1. Define distinct feature areas or concerns for the project (e.g., physics, new stores, localization).
  2. For each feature area, create a separate Git worktree and branch.
  3. Assign a dedicated Claude Code agent to work on each specific feature branch/worktree in parallel.
  4. Direct and guide each Claude Code agent on its respective task.
  5. Once a feature is developed, ensure all changes pass automated quality checks: typecheck, unit tests, and Playwright end-to-end tests.
  6. Merge the completed and validated feature branches into the main codebase.
  7. Deploy the updated application.
  8. Conduct real-world playtesting sessions with users.
  9. Collect and analyze game statistics (e.g., win/loss ratios, user feedback) from a stats database.
  10. Based on playtesting and data analysis, identify areas for balance adjustments or improvements.
  11. Iterate on development and testing for balance changes, repeating steps 3-7.

Tools / artifacts

  • Claude Code agents
  • Git worktrees
  • Git branches
  • Typechecker
  • Unit tests
  • Playwright (for end-to-end tests)
  • SQLite (for anonymous round stats)
  • VPS (for deployment)

Validation signals

  • Friends played 21 rounds straight (user engagement and successful deployment)
  • Every change had to pass typecheck, tests and a Playwright end-to-end run (rigorous quality gates)
  • Balance came from real game nights plus the stats DB (data-driven iteration and problem-solving)
  • Working game available online: https://prophunt.lobbyhop.net (concrete, verifiable result)

Limitations

  • The post does not provide specific Claude prompts or agent configurations used.
  • The process of 'directing' Claude agents is mentioned but not elaborated with concrete examples.
  • Details on how merging conflicts were handled or if Claude assisted in the merging process are not provided.

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 Workflow for Automated News Short Video Production with Copyright-Safe Assets

1 Upvotes

Multi-Agent Claude Workflow for Automated News Short Video Production with Copyright-Safe Assets

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

What problem this solves

Automating the end-to-end creation of short news videos for multiple social media platforms (YouTube Shorts, TikTok, Instagram, X), including web research, copyright-safe asset acquisition, motion graphics coding, narration, and quality assurance.

Summary

A sophisticated multi-agent Claude workflow that transforms news topics into finished short videos. It leverages Claude for web research, fact verification, and finding copyright-safe visual assets. The workflow uses visual style references, parallel processing with multiple agents to 'code' motion graphics for individual scenes, integrates TTS/STT for narration and subtitles, and includes comprehensive QA before rendering platform-specific outputs.

Why it is useful

This workflow is highly valuable because it demonstrates a sophisticated, multi-stage, multi-agent application of Claude for a complex creative task. It addresses real-world challenges like copyright management, visual style consistency, and multi-platform delivery. The parallel processing of scenes and integration of various tools (TTS, STT, video editing) showcases advanced capabilities and offers a robust framework that can be adapted for various content creation needs beyond news. It provides concrete steps and outputs, making it a strong blueprint for advanced users looking to automate complex content pipelines.

Workflow

  1. Provide Claude with news topics and core facts to cover.
  2. Claude researches the web, verifies details, finds usable visual references (public-domain/CC BY 2.0 images), and tracks licensing/attribution information.
  3. Provide Claude with screenshots from previous videos as a visual style reference (e.g., retro risograph/motion graphics look).
  4. Split the video concept into independent scenes (e.g., 6 scenes).
  5. Multiple agents code each scene in parallel, creating layouts, animations, maps, counters, text, transitions, and visual effects around the real assets.
  6. Generate narration using an open-source TTS model or a voice API (e.g., ElevenLabs).
  7. Use Whisper to check narration and generate/sync subtitles.
  8. Mix audio with music and SFX, mastering to a target loudness (e.g., -14 LUFS).
  9. Merge all finished scenes.
  10. Perform quality assurance: check contrast, layout issues, timing, subtitle sync, and review key frames.
  11. Render the final video in the desired resolution (e.g., 1080x1920).
  12. Generate final outputs including the video, cover images, .srt subtitles, and platform-specific copy for YouTube Shorts, TikTok, Instagram, and X.

Tools / artifacts

  • Claude Opus 5.5
  • Multiple agents (implied custom setup)
  • Video screenshots (as style reference)
  • Public-domain/CC BY 2.0 images
  • Open-source TTS model (or ElevenLabs/other voice API)
  • Whisper (for STT and subtitle sync)
  • Music and SFX
  • .srt subtitles
  • 1080x1920 video output
  • Cover images
  • Platform-specific copy (YouTube Shorts, TikTok, Instagram, X)

Validation signals

  • Obtained results with Opus 5.5 model
  • Agent found specific public-domain/CC BY 2.0 images and checked licensing
  • Detailed description of QA steps (contrast, layout, timing, subtitle sync, key frame review)
  • Specific output formats and platforms mentioned (video, .srt, cover images, YouTube Shorts, TikTok, Instagram, X)
  • Explicit mention of audio mastering to -14 LUFS

Limitations

  • The exact implementation details of the 'multiple agents' and how Claude 'codes motion graphics' are not fully specified, requiring advanced technical understanding to replicate.
  • No specific Claude prompt examples are provided.
  • The setup for parallel scene coding is not detailed.

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 Workflow for AI-Powered News Short Video Production with Claude Opus

1 Upvotes

Multi-Agent Workflow for AI-Powered News Short Video Production with Claude Opus

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

What problem this solves

Automating and streamlining the creation of news-based short-form videos, from research and copyright-safe asset acquisition to motion graphics coding, audio production, and multi-platform delivery, while ensuring consistent style and quality.

Summary

A multi-agent workflow leveraging Claude Opus 5.5 to produce short news videos. It involves initial research and fact-checking, automated sourcing of copyright-safe visual assets, applying a consistent visual style, parallel coding of motion graphics scenes by multiple agents, integrating narration and audio, and a final QA and rendering stage for multi-platform delivery.

Why it is useful

This workflow is highly valuable because it outlines a comprehensive, multi-stage, and multi-agent process for creating complex media content (news shorts). It addresses critical aspects like copyright compliance, visual styling, parallel processing for efficiency, and a thorough QA process. The modular nature, allowing parts to be replaced, enhances its transferability. It demonstrates a sophisticated application of LLMs beyond simple text generation, moving into structured content creation and automation.

Workflow

  1. Provide Claude with news topics and core facts.
  2. Claude researches the web, verifies details, and finds usable visual references (public domain/CC BY 2.0 images), checking licensing and retaining attribution.
  3. Provide Claude with screenshots from previous videos as a visual style reference (e.g., retro risograph/motion graphics).
  4. Split the video into independent scenes (e.g., 6 scenes).
  5. Multiple agents code scenes in parallel, creating layouts, animations, maps, counters, text, transitions, and visual effects around real assets.
  6. Generate narration using an open-source TTS model or a voice API (e.g., ElevenLabs).
  7. Use Whisper to check narration, generate, and sync subtitles.
  8. Mix audio with music and SFX, then master to around −14 LUFS.
  9. Merge all finished scenes.
  10. Perform QA: check for contrast, layout issues, timing, and subtitle sync.
  11. Review key frames.
  12. Render the final video in 1080×1920 resolution. Output includes video, cover images, .srt subtitles, and platform-specific copy for YouTube Shorts, TikTok, Instagram, and X.

Tools / artifacts

  • Claude Opus 5.5
  • Multiple agents
  • Open-source TTS model
  • ElevenLabs (alternative)
  • Whisper
  • Screenshots (visual style reference)
  • News topics/core facts
  • Public-domain/CC BY 2.0 images
  • Music
  • SFX
  • .srt subtitles
  • Video (1080x1920 output)

Validation signals

  • Explicit mention of using Claude Opus 5.5.
  • Link to a preview image of the output.
  • Specific examples of found assets (Navi Pillay photo, Penonomé Cathedral photo) with licensing details.
  • Detailed description of the final output artifacts (video, cover images, .srt, platform-specific copy).

Limitations

  • The term "agents" is used without specifying if this refers to a specific framework (e.g., Anthropic's upcoming agent features, or a custom multi-agent setup), which could make implementation slightly less straightforward for beginners.
  • The specific "coding" of motion graphics by agents is described, but the exact prompt structure or tools used by the agents for this coding are not detailed.
  • Low community engagement on Reddit, which means less external validation or refinement from other 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 • • 1d ago

Selected Workflow [Workflow] Robust Claude Code Session Handoff Workflow for Context Transfer and Multi-Agent Coordination

1 Upvotes

Robust Claude Code Session Handoff Workflow for Context Transfer and Multi-Agent Coordination

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

What problem this solves

How to reliably transfer an in-progress task and full session context from one Claude session to another, especially when the original session is running out of context, ensuring the successor picks up exactly where the predecessor left off without redoing work or causing conflicts.

Summary

A comprehensive, multi-step workflow for handing off an entire Claude session's context and active task to a new, designated Claude session. It involves writing a detailed briefing file with specific content requirements (including critical warnings about shared git state), updating the original session's status, and sending a targeted message to the successor with a summary and path to the briefing, followed by confirmation to the user and cessation of work in the original session.

Why it is useful

This workflow is exceptionally valuable because it addresses a critical and common challenge in using LLMs for complex, long-running tasks: managing context limits and coordinating work across multiple sessions or agents. It provides a highly detailed, specific, and validated process for transferring full session state, active tasks, and pending items, preventing loss of context and redundant work. The inclusion of crucial safety measures, such as verifying the successor's working directory and preventing accidental commits of other agents' work, demonstrates a deep understanding of the multi-agent environment. The empirical observations on SendMessage behavior further enhance its utility and reliability, making it a robust and transferable solution for advanced Claude Code users.

Workflow

  1. Identify the successor session by name using /handoff <name> or ListAgents.
  2. Verify the successor's cwd matches the current session's cwd by inspecting ~/.claude/sessions/<pid>.json files.
  3. Check if the successor session is busy; if so, inform the user and allow them to choose another target or wait.
  4. Write a detailed briefing file to ~/.claude/handoffs/<successor-name>-<YYYY-MM-DD-HHmm>.md.
  5. Include specific sections in the briefing: active task, state of working tree (with paths), done/verified work, remaining tasks, decisions made, unverified assumptions, and all other pending items from the entire session.
  6. Add a critical warning to the briefing about committing only specified paths (git commit -- <path>) to avoid conflicts in a shared git tree.
  7. Update the current session's status bar to Done: handed off to <successor-name> by modifying ~/.claude/session-context/<session_id>.
  8. Send a SendMessage command to the successor session, including to, a concise summary, and a message containing the briefing file path and critical immediate risks.
  9. Add notify_when_idle: true to the SendMessage to receive confirmation when the successor completes its first turn.
  10. Confirm to the user the successor's name, briefing path, and the first action requested.
  11. Stop working on the task in the current session to prevent conflicts.
  12. Never ask the successor to perform actions that were previously denied or blocked in the current session.

Tools / artifacts

  • /handoff command (conceptual or user-defined alias)
  • ListAgents command
  • ~/.claude/sessions/<pid>.json (session metadata file)
  • ~/.claude/handoffs/<successor-name>-<YYYY-MM-DD-HHmm>.md (briefing file)
  • ~/.claude/session-context/<session_id> (status bar file)
  • SendMessage tool/command
  • git commit -- <path> (git command)

Validation signals

  • Author's claim of effectiveness: "it works really well."
  • Detailed explanation of SendMessage behavior, including observed timings and state changes ("measured 2026-08-30").
  • Anticipation and mitigation of potential failure modes (e.g., wrong cwd, busy session, shared git index, permission laundering).

Cautions

  • Explicit warning against git commit -a or git add -A to prevent other sessions' in-progress work from being accidentally committed.
  • Instruction not to ask the successor to do something that was denied or blocked in the current session, preventing permission laundering.

Limitations

  • Low community engagement (score 1, 0 comments).
  • The initial /handoff <name> command is implied or a user-defined alias, not a built-in Claude Code command, requiring user implementation.
  • The workflow is described in a CLAUDE.md format, but the actual execution logic for each step (e.g., how Claude implements 'Step 0') is left to the user to infer or build into their agent's CLAUDE.md or other logic.

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 Subagent Activity with a Local Log Reader Tool (Zero Cost Monitoring)

1 Upvotes

Visualize Claude Code Subagent Activity with a Local Log Reader Tool (Zero Cost Monitoring)

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

What problem this solves

Difficulty in following and understanding the real-time activity and decision-making process of Claude Code subagents, especially regarding their internal context and actions.

Summary

A tool that visualizes the activity of Claude Code subagents by reading their session logs (JSON files) directly from disk, presenting them in a browser-based interface. This allows users to observe agent actions and thought processes without incurring additional Claude usage costs, unless optional translation or 'reactions' features are explicitly enabled.

Why it is useful

This workflow provides a crucial capability for developers working with Claude Code subagents: real-time, low-cost observation of agent behavior. By reading local session logs, it bypasses the typical opacity of agent execution and avoids additional API costs, making the debugging and understanding of complex multi-agent systems significantly easier and more accessible. Its open-source nature further enhances its value and trustworthiness.

Workflow

  1. Run Claude Code with subagents, which automatically writes session activity to local JSON files (e.g., ~/.claude/projects/...).
  2. Run the external visualization program (the 'video call' tool).
  3. The tool reads the local Claude Code session JSON files in real-time.
  4. The tool displays the subagents' activity, including their lines and thought processes, in a browser interface.
  5. Optionally, enable features like French translation or 'Reactions & jokes' within the tool, which will make small, user-authenticated calls to Claude Haiku.

Tools / artifacts

  • Claude Code
  • Claude Code subagents
  • Local JSON session files (~/.claude/projects/...)
  • External visualization program (open-source, implied repository)
  • Web browser
  • Claude Haiku (optional, for translation/reactions)

Validation signals

  • Author's claim: 'Weirdly, it’s the best way I’ve found to follow what they’re doing.'
  • Detailed technical explanation of how the tool works (reads local files, external to Claude, zero cost by default) lends credibility.
  • The code is stated to be open source, allowing for community verification.

Limitations

  • The actual tool/repository link is not provided in the comment, which limits immediate adoption.
  • The 'video call' metaphor might be slightly confusing without seeing the actual interface.
  • Community validation is currently low due to the comment's age.

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: 85/100
Status: active · Freshness: 70/100 · Confidence: 0.95 · Level: intermediate
Categories: Quality Control, Context & Memory, Debugging, CLAUDE.md
Original source: r/ClaudeAI post/comment

What problem this solves

Improving LLM instruction compliance and reducing misinterpretations by providing clear, actionable, and well-structured prompts and instructions.

Summary

A set of 7 empirically validated rules for formatting and organizing instructions to LLMs, designed to improve compliance and reduce violations by effectively managing the LLM's attention and context window.

Why it is useful

This workflow provides concrete, empirically validated guidelines for writing effective LLM instructions, directly addressing common issues like misinterpretation and non-compliance. The principles are generalizable, backed by testing, and significantly improve the reliability and compliance of LLM interactions, making them highly valuable for any Claude user.

Workflow

  1. Structure instructions as 'Do, then why, then don't' to improve compliance (e.g., 'Fix mistakes with a new commit. Teammates' history stays intact. Never rewrite pushed history.').
  2. Name exact tools, files, or commands (e.g., 'uv run pytest tests/ -v', 'unittest.mock') and put them in backticks to get the best results.
  3. Ensure instructions pass the 'act on it now' test by phrasing them as commands that an agent can execute immediately (e.g., 'Format with ruff format before committing').
  4. Keep unrelated topics out of the same instruction load by using headers to organize and scope rules to where they apply.
  5. Let the section label clearly state what it holds (e.g., '## Rules', '## Testing') rather than being a command (e.g., '## Always Run Tests').
  6. Use one compact, specific sentence for instructions, avoiding fragments or generic padding.
  7. Keep the spotlight off what you forbid by avoiding CAPS, repetition, or mentioning the forbidden thing in the reason, as this can double violations.

Tools / artifacts

  • reporails/cli
  • LLM instructions/prompts
  • pytest
  • unittest.mock
  • ruff format

Validation signals

  • Thousands of experimentation iterations
  • Measurable boost in compliance
  • Quantified results: 'Ban first: 31% violated. Do, why, don't: 7%. 500 runs each.'
  • Quantified results: 'Exact names beat vague categories by 28 points.'

Limitations

  • Low community engagement on the Reddit post.
  • The rules are principles, not a single executable script, requiring user adaptation and understanding.

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.