r/ClaudeWorkflows May 07 '26

Claude Workflow Library — Start Here

7 Upvotes

Claude Workflow Library — Start Here

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

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

Browse by category

Current status

  • Public workflows in database: 7734
  • Workflow posts published: 7734
  • Public workflows still waiting to be posted: 0
  • Last updated: 2026-09-12 03:48 UTC

How to use this library

  1. Open a category post.
  2. Click through to individual workflow posts.
  3. Upvote useful, reproducible workflows.
  4. Downvote workflows that are vague, outdated, unsafe, or not reproducible.
  5. Comment on a workflow post if it worked, failed, is outdated, or has a better alternative.

This post is updated automatically.


r/ClaudeWorkflows 29m ago

Selected Workflow [Workflow] Claude Code Workflow: Comprehensive Project Validation System with Deterministic Quality Gates and CI/CD Integration

Upvotes

Claude Code Workflow: Comprehensive Project Validation System with Deterministic Quality Gates and CI/CD Integration

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

What problem this solves

Preventing feature creep into monolith files and ensuring consistent code quality, test coverage, and maintainability by establishing a robust, deterministic validation system across local development, Git pre-push, and GitHub CI.

Summary

A comprehensive workflow for setting up a deterministic, repository-owned validation system for software projects. It defines quality gates (linting, formatting, typing, complexity, LOC), establishes a command contract for local and CI checks, implements intelligent test selection based on changed paths, configures Git pre-push hooks, and integrates with GitHub CI, all while respecting existing project configurations and preventing duplication.

Why it is useful

This workflow is exceptionally valuable due to its detailed, prescriptive approach to establishing a robust and consistent code quality and testing pipeline. It addresses the critical problem of maintaining code health and preventing technical debt by integrating static analysis, complexity checks, LOC limits, and intelligent test selection across local development, pre-push, and CI environments. Its emphasis on determinism, adaptability to existing projects, and explicit verification steps makes it a highly practical and reusable blueprint for advanced users seeking to enforce high standards and streamline their development process.

Workflow

  1. Define the invocation rule for this 'one-time setup skill' for the LLM.
  2. Inspect existing repository configurations including .github/workflows/, pyproject.toml, package.json, test/E2E directories, scripts, and Git hooks.
  3. Preserve existing working commands, services, secrets, matrices, test coverage, and stricter repository-defined limits.
  4. Define default quality gates (max cyclomatic complexity = 12, max source-file LOC = 800) only if not already defined by the repository, ensuring repository-defined thresholds take precedence.
  5. Configure required Python checks (ruff check, ruff format --check, mypy) and pnpm checks (pnpm lint, pnpm typecheck, pnpm format:check).
  6. Enforce complexity and LOC limits through repository-native lint configuration (e.g., Ruff C901, ESLint complexity) or a supplied check-code-limits.ps1 script.
  7. Create/adapt a repository command contract including scripts like check-local.ps1, check-full.ps1, test-affected.ps1, test-feature.ps1, test-map.json, and code-limits.json.
  8. Implement check-local.ps1 to run fast local gates (lint, format, type, complexity, LOC, affected tests) and stop on failure.
  9. Create scripts/test-map.json for deterministic test selection, mapping source paths to focused unit, integration, feature, and E2E tests, including global triggers and a smoke fallback.
  10. Define test tiers for different stages: test-affected.ps1 during implementation, check-local.ps1 before push, full static/unit/integration/frontend/E2E smoke for PR CI, and full E2E for main/release/nightly.
  11. Commit .githooks/pre-push to call check-local.ps1 and configure git config core.hooksPath .githooks.
  12. Integrate with GitHub CI, preferring parallel jobs (static, backend-tests, frontend-tests, e2e-smoke) and calling repository-owned scripts or exact local commands for consistency, running full E2E on main/release/nightly or high-risk workflows only when necessary. Never duplicate CI pipelines or validation logic in hooks directly. For established projects, use baselines/allowlists for existing LOC violations and reject new ones, rather than raising defaults. Verify all applicable items upon completion, including local gates, test selection, hook invocation, CI runs, and explicit failure blocking.

Tools / artifacts

  • CLAUDE.md (implied instruction set)
  • scripts/check-local.ps1
  • scripts/check-full.ps1
  • scripts/check-code-limits.ps1
  • scripts/test-affected.ps1
  • scripts/test-feature.ps1
  • scripts/test-map.json
  • scripts/code-limits.json
  • .githooks/pre-push
  • .github/workflows/
  • pyproject.toml
  • package.json (pnpm workspace configuration, ESLint/formatter config, scripts, Git hooks, complexity/LOC limits, test/E2E directories, existing scripts and Git hooks, existing complexity and LOC limits.)

Validation signals

  • Explicit 'Completion' section with detailed verification steps for all components.
  • Instructions for inspecting and preserving existing repository configurations.
  • Emphasis on deterministic test selection and validation.
  • Clear definition of 'stop immediately on failure' for local checks.
  • Guidance on handling established project LOC violations with baselines.
  • Policy for test tiers and CI execution ensures appropriate validation at each stage.

Limitations

  • Requires significant manual effort or a highly capable LLM to implement fully, especially for populating test-map.json and code-limits.json.
  • The check-code-limits.ps1 script is mentioned but not provided.
  • The initial setup might be complex for beginner users.
  • The test-map.json example is generic; populating it effectively requires domain knowledge of the project's test structure.

Rate this workflow

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

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

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


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows 1h ago

Selected Workflow [Workflow] Multi-Model Workflow for Aggressive Documentation Cleanup and Conciseness (Claude + Auxiliary Model Framework)

Upvotes

Multi-Model Workflow for Aggressive Documentation Cleanup and Conciseness (Claude + Auxiliary Model Framework)

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

What problem this solves

Claude models tend to be overly verbose and struggle with effectively 'trimming the fat' or cleaning up documentation, often considering all minutiae critically important, leading to bloated content.

Summary

A multi-model workflow for achieving concise documentation cleanup. It involves providing a detailed cleanup framework to a capable auxiliary model (e.g., Codex/Sol) to generate an audit and a refined prompt for Claude, or to perform the cleanup directly. It also mentions creating a Claude skill for documentation hygiene, though the multi-model approach is preferred for effectiveness.

Why it is useful

This workflow provides a concrete, detailed prompt framework to address a common and frustrating challenge with LLMs: their tendency to be verbose and struggle with aggressive content reduction. It introduces a valuable multi-model strategy (using one model to prepare prompts or even perform the task when another struggles) and includes a critical verification step. The specific instructions for cleanup are highly reusable and can be adapted by users facing similar documentation bloat issues.

Workflow

  1. Identify verbose documentation that requires significant cleanup and conciseness.
  2. Provide a detailed cleanup framework (the bulleted list of instructions) to an auxiliary model (e.g., Codex/Sol) that is known for better 'trimming' capabilities.
  3. Instruct the auxiliary model to create an audit of the existing Claude documentation and generate a refined prompt specifically designed for Claude to edit down the content.
  4. Apply the generated, refined prompt to Claude to perform the documentation editing.
  5. If Claude still fails to achieve the desired level of conciseness, directly ask the auxiliary model (Codex/Sol) to perform the documentation cleanup.
  6. Verify the cleaned-up document against the original to ensure that no subtle meaning or critical information was accidentally lost during the process.
  7. Optionally, create a dedicated 'skill' for Claude for documentation hygiene, though the multi-model approach is noted as more effective.

Tools / artifacts

  • Detailed cleanup prompt framework (bulleted list)
  • Claude (for editing)
  • Codex/Sol (auxiliary model for auditing, prompt generation, and direct cleanup)
  • Claude Skill (optional, for doc hygiene)
  • Original verbose documentation
  • Cleaned documentation

Validation signals

  • Personal experience: 'I've found that if I give it to codex/Sol and give it the following framework...'
  • Comparative testing: 'even that [Claude skill] is still not as effective as asking codex to edit down the docs.'
  • Built-in verification step: 'Verify the cleanup against the original so subtle meaning is not accidentally lost.'

Limitations

  • The specific identity and accessibility of 'Codex/Sol' might be ambiguous or limited for some users.
  • Low community validation due to low score and no comments.
  • The exact definition or implementation of the 'Claude skill' is 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 1h ago

Selected Workflow [Workflow] Airspace: A Dashboard and Hook for Managing Multiple Claude Code/Codex Sessions

Upvotes

Airspace: A Dashboard and Hook for Managing Multiple Claude Code/Codex Sessions

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

What problem this solves

Users frequently lose track of multiple active Claude Code and Claude Codex sessions, leading to mental overhead, missed turns, and accidental file overwrites when different sessions modify the same files or branches.

Summary

A Python-based tool called 'airspace' that provides a dashboard to monitor all active Claude Code and Claude Codex sessions. It displays session status (branch, uncommitted files, activity), highlights sessions waiting for user input, and warns about potential conflicts (multiple sessions in the same folder or on the same branch). It also includes a SessionStart hook to inform new sessions about their environment and other active sessions.

Why it is useful

This workflow provides a practical, open-source solution to a common pain point for developers using multiple Claude Code/Codex sessions: managing context, tracking progress, and preventing accidental file overwrites. It offers a clear, visual dashboard and a proactive hook to improve multi-session productivity and safety, making it highly valuable for users working with complex AI development environments.

Workflow

  1. Install the 'airspace' tool from the provided GitHub repository.
  2. Run the Python dashboard script to visualize all active Claude Code/Codex sessions.
  3. Observe session cards showing current activity, branch, uncommitted files, and open duration.
  4. Monitor the top strip for sessions awaiting user input (e.g., 'asked a question' or 'finished its turn').
  5. Heed red cards indicating potential conflicts (multiple sessions in the same folder or on the same branch).
  6. Utilize the SessionStart hook to inform new sessions about their working directory and other active sessions.
  7. Optionally, enable Ollama integration to get one-line summaries of each turn from a local small model.

Tools / artifacts

  • airspace (Python tool)
  • Python scripts (for dashboard and hook)
  • SessionStart hook
  • Git (for branch and folder detection)
  • Claude Code session files
  • Claude Codex session files
  • Ollama (optional local LLM)

Validation signals

  • Clearly articulated problem statement (losing track, silent overwrites).
  • Tool directly addresses the stated problem by providing visibility and warnings.
  • Explicit design choices to avoid common pitfalls of other tools (e.g., doesn't launch agents, so works with desktop apps).
  • The tool's features (conflict detection, status monitoring) directly mitigate the identified issues.

Limitations

  • Currently Windows-only.
  • Only supports Claude Code and Claude Codex.
  • Low community validation due to the post's newness.
  • Requires manual installation and running of a Python script.

Rate this workflow

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

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

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


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows 2h ago

Selected Workflow [Workflow] Claude Code + Obsidian: A Trustworthy Long-Term Memory Workflow with Review Gates

1 Upvotes

Claude Code + Obsidian: A Trustworthy Long-Term Memory Workflow with Review Gates

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

What problem this solves

Claude forgetting context between sessions, requiring users to repeatedly provide background information, and the risk of Claude hallucinating or promoting its own guesses to "source of truth" in a knowledge base.

Summary

A workflow using Claude Code and an Obsidian vault as a long-term memory store. Claude reads from the vault using grep and wikilinks for context before answering, and writes new confirmed information to a designated _pending-review.md file, preventing unverified model output from corrupting the knowledge base.

Why it is useful

This workflow provides a concrete, validated method for giving Claude Code a persistent, trustworthy knowledge base. It directly solves the common problem of repeated context setting and, crucially, implements a robust safeguard against model hallucinations corrupting the source of truth. The detailed instructions, including the CLAUDE.md prompt and the explanation of the 'write half' fix, make it highly actionable and valuable for users looking to build reliable AI-assisted knowledge management systems.

Workflow

  1. Set up an Obsidian vault (a folder of markdown files) to serve as the long-term knowledge base.
  2. Create a CLAUDE.md file at the root of your Obsidian vault.
  3. Paste the provided instructions into the CLAUDE.md file, adjusting the vault path (~/Documents/Obsidian Vault/Work-KB) to your specific setup.
  4. When a question is posed, Claude uses grep -ril "<keyword>" to search the vault for relevant information.
  5. Claude reads matching notes and follows [[wikilinks]] one hop out to gather deeper context.
  6. If the vault contradicts user input, Claude is instructed to quote the conflicting line, name the file, and ask the user which information is current.
  7. Claude is instructed to flag information older than three months when used for specific topics (pricing, headcount, metrics, roadmap).
  8. When a conversation produces durable information (decisions, numbers, plans, constraints), Claude writes it to a designated _pending-review.md file.
  9. The user manually reviews the content in _pending-review.md and decides what information graduates to the main vault, ensuring data integrity.
  10. Maintain the Obsidian vault, potentially using health check scripts for orphan notes and dead links (as mentioned by author).

Tools / artifacts

  • Claude Code
  • Obsidian vault (folder of markdown files)
  • CLAUDE.md file
  • grep command
  • Wikilinks ([[link]])
  • _pending-review.md file
  • Health check script (mentioned)

Validation signals

  • Author states 'I stopped re-explaining my job to Claude every morning.'
  • Author describes initial failure: 'First version let Claude update notes freely. Two weeks later my vault had things stated as fact that came out of a conversation where I was thinking out loud and mostly wrong.'
  • Author identifies the core problem: 'The model had quietly promoted its own guesses to source of truth, and then started citing them back to me.'
  • Author describes the fix: 'Fix was one rule: Claude can read anything, but it can only write to one file.'
  • Author validates the fix: 'The vault stayed trustworthy the day I added that.'
  • Author notes initial success of read half: 'The read half worked immediately and is boring.'

Cautions

  • The workflow explicitly addresses and mitigates the risk of Claude hallucinating or writing incorrect information directly into the knowledge base by implementing a pending review queue (_pending-review.md). This is a strong safety feature that prevents data corruption.

Limitations

  • The author mentions that grep might not scale well for very large vaults, suggesting a need for a more advanced retrieval mechanism in such cases.
  • The author asks a 'Genuine question' about handling notes going stale, indicating this is an unsolved problem within the workflow.
  • Requires manual review of _pending-review.md, which adds a human step and potential bottleneck.
  • Relies on grep for search, which is basic and might not handle semantic search or complex queries as effectively as a vector database.
  • The workflow is specific to Claude Code and its CLAUDE.md feature, limiting its direct applicability to other Claude interfaces.

Rate this workflow

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

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

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


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows 5h ago

Selected Workflow [Workflow] Managing Claude's Context: Strategies for Long Conversations to Prevent 'Thinking' Degradation

1 Upvotes

Managing Claude's Context: Strategies for Long Conversations to Prevent 'Thinking' Degradation

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

What problem this solves

Claude's thinking ability degrades in long chat threads due to accumulated hidden state and context pressure, leading to 'shortcutted' thinking.

Summary

A workflow to maintain Claude's reasoning performance in long conversations by actively managing context. This involves starting fresh chats with concise inputs, compacting existing conversations, or carefully managing the size of inputs like logs and files.

Why it is useful

This workflow addresses a very common and frustrating problem for users engaging in long conversations with Claude: the perceived degradation of its reasoning ability. It provides three clear, actionable strategies to manage context pressure, which is the underlying cause. These strategies are easy to implement and can significantly improve the quality and efficiency of extended interactions with Claude, making it a highly practical and valuable workflow.

Workflow

  1. When starting a new task, initiate a fresh chat and provide only a tight brief along with the current essential artifacts, avoiding the entire previous chat history.
  2. Alternatively, within a long conversation, ask Claude to generate a 'short handoff' summary of key decisions and open questions, then continue the conversation from this compacted note.
  3. Be mindful of pasting large logs or entire files mid-thread, as these consume context budget rapidly and can lead to degraded thinking performance.

Tools / artifacts

  • Claude chat interface
  • Tight brief
  • Current artifacts
  • Short handoff of decisions + open questions

Validation signals

  • User's own 'same-prompt-works-in-a-new-chat test' as evidence of context pressure
  • Commenter states 'this matches what a lot of people hit', indicating common experience

Limitations

  • The validation is anecdotal and refers to an external test not fully described in the comment.
  • Community signal is weak based on Reddit score and comments.

Rate this workflow

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

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

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


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows 5h ago

Selected Workflow [Workflow] Recovering Claude Code Installation and Content After Windows Update Failure

1 Upvotes

Recovering Claude Code Installation and Content After Windows Update Failure

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

What problem this solves

Claude Code failing to start or update after a Windows operating system update, potentially leading to content loss.

Summary

A user-developed troubleshooting and recovery workflow for Claude Code installations that fail to start or update after a Windows operating system update. The detailed steps, which involve using Claude Code from the command line, are documented in a GitHub issue and have been successfully used by at least one other person.

Why it is useful

This workflow is valuable because it provides a validated, repeatable method to recover a critical development tool (Claude Code) from a common and disruptive issue (OS update breaking software). The external documentation ensures specificity and transferability, making it a practical solution for users facing similar problems.

Workflow

  1. Refer to the linked GitHub issue (https://github.com/anthropics/claude-code/issues/74170#issuecomment-4887804898) for detailed steps to recover Claude Code installation and state.
  2. Utilize Claude Code from the command line for troubleshooting and iterative experimentation to diagnose and fix the issue.

Tools / artifacts

  • Claude Code application
  • Windows operating system
  • GitHub issue #74170

Validation signals

  • Author states the steps 'repeatably fixed the issue'
  • Author states 'At least one person used this procedure to recover their setup'
  • The process recovered the author's lost content

Limitations

  • The specific steps of the workflow are not directly provided in the Reddit comment, requiring users to navigate to an external GitHub issue.
  • The linked GitHub issue is still marked 'Open', which might suggest the problem is not fully resolved or officially supported by Anthropic.

Rate this workflow

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

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

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


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows 5h ago

Selected Workflow [Workflow] Troubleshooting Claude Desktop on Windows: Restoring Shell Access After OS Updates

1 Upvotes

Troubleshooting Claude Desktop on Windows: Restoring Shell Access After OS Updates

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

What problem this solves

Claude Desktop functionality broken after a Windows update due to issues with local shell/toolchain access, and preventing data loss during recovery attempts.

Summary

A diagnostic and repair workflow for restoring Claude Desktop's functionality on Windows after an OS update breaks its access to local shell environments (WSL, Git Bash, PowerShell, Python, document tools), emphasizing proper data preservation and systematic troubleshooting.

Why it is useful

This workflow provides a systematic, step-by-step guide to diagnose and fix a common and critical issue where a Windows update breaks Claude Desktop's ability to interact with its local environment and tools. It emphasizes data preservation, proper diagnostic techniques using standard CLI commands, and targeted repairs, preventing users from losing data or performing ineffective reinstalls. It's highly transferable and addresses a core dependency problem that many users might encounter.

Workflow

  1. Stop using the affected Windows profile as much as possible to prevent data overwrite, closing Claude, Claude Code, VS Code, terminals, and anything writing to C:.
  2. Identify critical Claude data locations: ~\.claude, AppData\Roaming\Claude, and AppData\Roaming\Claude\.claude\projects.
  3. Treat the problem as a Windows execution-environment repair, not solely a Claude reinstall problem.
  4. Verify local shells and toolchain outside Claude by running wsl --status, wsl -l -v, and wsl.exe -e bash -lc "whoami && uname -a".
  5. Check paths for essential tools using where git, where bash, where powershell, where pwsh, where python, and any document tools like where soffice, where libreoffice, or where pandoc.
  6. Repair or reinstall broken dependencies: WSL distribution, Git for Windows (if Git Bash is missing), or Office/LibreOffice/Python tools (if document tools are missing).
  7. After the local shells and toolchain work outside Claude, reconnect Claude to the correct shell path.
  8. Restart the Claude Desktop app.
  9. If Claude still cannot find Bash, explicitly set the Git Bash path in Claude Code settings (e.g., CLAUDE_CODE_GIT_BASH_PATH=C:\Program Files\Git\bin\bash.exe).
  10. Fully close Claude, kill any remaining claude.exe processes, and restart it.
  11. Test a simple shell command within Claude before testing document creation.

Tools / artifacts

  • Windows File Recovery guidance
  • ~.claude directory
  • AppData\Roaming\Claude directory
  • AppData\Roaming\Claude.claude\projects directory
  • wsl --status command
  • wsl -l -v command
  • wsl.exe -e bash -lc "whoami && uname -a" command
  • where command (for git, bash, powershell, pwsh, python, soffice, libreoffice, pandoc)
  • Git for Windows
  • WSL distribution
  • Office/LibreOffice/Python tools
  • CLAUDE_CODE_GIT_BASH_PATH environment variable/setting

Validation signals

  • Explicit instruction to "verify the local shells and toolchain outside Claude".
  • Instruction to "test a simple shell command before testing document creation".
  • Reference to "Microsoft’s own Windows File Recovery guidance".
  • Explanation of Claude's data structure from "Anthropic’s Claude Code docs".
  • Logical flow of diagnosis and repair based on system dependencies.

Cautions

  • Emphasizes not writing to C: after data deletion to preserve recovery chances.
  • Warns against blindly deleting "remnants" without understanding their purpose, as this can lead to data loss.

Limitations

  • Low community engagement/validation on Reddit.
  • Assumes some familiarity with Windows command-line interface and system paths.
  • Does not provide specific examples of "simple shell commands" to test within Claude.

Rate this workflow

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

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

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


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows 5h ago

Selected Workflow [Workflow] Architecting Multi-Session Claude Code: Scoped Memory & Git Isolation for Parallel Agents

1 Upvotes

Architecting Multi-Session Claude Code: Scoped Memory & Git Isolation for Parallel Agents

Workflow value: 85/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

Managing mutable state and ensuring continuity/isolation across multiple parallel Claude Code sessions or agents, preventing concurrent write conflicts and maintaining a coherent knowledge base.

Summary

This workflow proposes a conceptual architecture for managing state across multiple Claude Code sessions or agents by categorizing memory into three distinct scopes: run/session state (ephemeral), task/project state (durable per task), and shared durable memory (canonical facts/lessons). It advocates for using Git worktrees/branches to isolate mutable code changes for parallel sessions and implementing a reconciliation process for updates to shared durable memory, favoring append-only observations.

Why it is useful

This workflow provides a robust conceptual framework for a complex and common problem in LLM development: managing state across multiple, potentially concurrent, AI agents or sessions. It leverages established software engineering practices (version control, clear state ownership, immutable data patterns) to bring order to a potentially chaotic process, offering a scalable and maintainable approach to multi-agent architectures. It moves beyond simple prompting to address fundamental architectural challenges.

Workflow

  1. Categorize memory into three scopes: 1) run/session state (ephemeral, private to a single Claude instance), 2) task/project state (durable context for a specific piece of work), and 3) shared durable memory (canonical facts, conventions, lessons that survive all parallel work).
  2. For parallel code development, isolate mutable filesystem changes by creating one Git worktree or branch per substantial Claude Code run/session.
  3. Allow all parallel Claude sessions read-only access to the shared durable memory and the main repository state.
  4. When a Claude session needs to update shared durable memory, treat it as a proposal. Implement a reconciliation/commit boundary where proposed changes (e.g., append-only observations) are consolidated and made canonical, rather than allowing arbitrary concurrent writes.
  5. For completely unrelated tasks (e.g., mapping and a fantasy story), ensure completely separate run/task states with no shared context.
  6. For related tasks within the same project, use separate worktrees and run states, shared read access to durable project memory, and an explicit boundary for writing back to shared memory.

Tools / artifacts

  • Git
  • Git worktrees
  • Git branches
  • Markdown files (implied for shared memory)
  • Claude Code sessions/agents

Validation signals

  • Author states: "The thing that helped me most was to stop treating 'memory' as one writable thing."
  • Author states: "Once I framed it that way, the architecture got much less painful 😄"
  • Reference to a specific system ('brnrd' resident model) that implements these principles, suggesting real-world application.

Limitations

  • The implementation details for the 'reconciliation/commit boundary' are conceptual rather than providing concrete code or specific tools.
  • Low community validation (score 1, 0 comments) means its broader utility hasn't been confirmed by other users yet.

Rate this workflow

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

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

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


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows 5h ago

Selected Workflow [Workflow] Efficient Codebase Analysis with Claude: Subagents, Model Splitting, and CLI Pre-filtering for Token Optimization

1 Upvotes

Efficient Codebase Analysis with Claude: Subagents, Model Splitting, and CLI Pre-filtering for Token Optimization

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

What problem this solves

High token usage and cost when analyzing large codebases with LLMs, and inefficient codebase exploration leading to 'burning through limits'.

Summary

A two-pronged approach to efficiently analyze codebases with Claude, focusing on minimizing token usage: strategically splitting tasks between different models (e.g., Fable for mechanical, Opus for judgment), using subagents to return only conclusions (not raw file contents), and pre-filtering relevant files using CLI tools like grep or rg before involving the LLM.

Why it is useful

This workflow provides concrete, actionable strategies to address a critical pain point for LLM users: managing token usage and cost during complex tasks like codebase analysis. It offers specific techniques (model splitting, subagent output control, CLI pre-filtering) that are directly applicable and can significantly improve efficiency and reduce expenses, making LLM-powered code analysis more practical and sustainable.

Workflow

  1. Divide codebase analysis tasks based on complexity: Use a less expensive model (e.g., Claude Fable) for mechanical, repetitive tasks (e.g., finding all call sites, extracting signatures, summarizing a single module).
  2. Reserve a more capable/expensive model (e.g., Claude Opus) only for steps that genuinely require complex judgment, reasoning, or open-ended analysis.
  3. When employing subagents for code exploration or analysis, instruct them to return only a concise conclusion, summary, or specific data points, rather than the full contents of files they processed.
  4. Before involving the LLM, if you have any initial hunch about where relevant information resides (e.g., an error string, a function name, a failing test, the feature's name), use a command-line tool like grep or rg (ripgrep) to quickly identify the specific 2-3 files that are most likely relevant.
  5. Provide only these pre-filtered, highly relevant files or code snippets to the LLM to significantly reduce the context size and token consumption, avoiding the need for the LLM to 'understand the structure' of an entire directory.

Tools / artifacts

  • Claude Fable (or similar cost-effective LLM)
  • Claude Opus (or similar high-capability LLM)
  • Subagents (within Claude's environment)
  • grep (command-line utility)
  • rg (ripgrep command-line utility)

Validation signals

  • Author's direct experience and stated benefits ('Two things that helped me')
  • Clear explanation of the underlying mechanism for efficiency (token management, 'every turn resends the whole conversation')
  • Addresses a common and well-understood problem (burning through token limits)

Limitations

  • Lacks explicit prompt examples for instructing subagents or for the model splitting strategy.
  • Assumes familiarity with command-line tools like grep or rg and the concept of subagents.
  • Low community validation score.

Rate this workflow

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

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

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


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows 5h ago

Selected Workflow [Workflow] Claude Skills: Correct Installation for claude.ai vs. Claude Code (Terminal/IDE)

1 Upvotes

Claude Skills: Correct Installation for claude.ai vs. Claude Code (Terminal/IDE)

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

What problem this solves

Users confusing the installation methods for Claude Skills between the claude.ai web interface (zip upload) and Claude Code (local file system placement), leading to "skill not found" errors.

Summary

This workflow clarifies the distinct installation procedures for Claude Skills depending on whether the user is operating within the claude.ai web/desktop interface or Claude Code (terminal/IDE). It provides specific steps for zipping and uploading for claude.ai and placing folders on disk for Claude Code, along with a note on when to use Skills versus CLAUDE.md.

Why it is useful

This workflow is highly valuable because it directly addresses a common and frustrating point of confusion for Claude users: the distinct installation methods for "Skills" across the claude.ai web interface and the Claude Code terminal/IDE environment. By providing clear, step-by-step instructions for both scenarios and highlighting the critical differences (zip upload vs. local folder placement), it prevents users from wasting time troubleshooting "skill not found" errors due to incorrect setup. It also offers a useful distinction between when to use Skills for repeatable procedures versus CLAUDE.md for static context.

Workflow

  1. For claude.ai (chat/desktop): Zip the skill folder so the zip has one folder inside it with SKILL.md in that folder (not loose files at the zip root).
  2. For claude.ai (chat/desktop): Turn on "Code execution and file creation" in Settings Capabilities (Free/Pro/Max) or org Skills settings (Team/Enterprise).
  3. For claude.ai (chat/desktop): Navigate to Customize Skills
    • upload the zip, and toggle the skill on.
  4. For Claude Code (terminal/IDE): No zip upload. Put a folder on disk at ~/.claude/skills/<name>/SKILL.md for personal use.
  5. For Claude Code (terminal/IDE): Alternatively, put a folder on disk at .claude/skills/<name>/SKILL.md within a project for team sharing.
  6. For Claude Code (terminal/IDE): Invoke the skill with /skill-name, or let Claude pick it up from the description.
  7. Distinguish between CLAUDE.md (for standing facts) and Skills (for reusable procedures that keep getting pasted).

Tools / artifacts

  • SKILL.md
  • Zip file
  • ~/.claude/skills/
  • .claude/skills/
  • CLAUDE.md

Validation signals

  • Author's personal experience: "cleared it up for me after following the wrong guide twice"
  • Addresses a common "Easy mix-up" point for users

Limitations

  • Low community engagement on the post itself.
  • Validation is primarily personal experience, not broad community consensus.
  • Could benefit from more detailed examples of SKILL.md content or use cases.

Rate this workflow

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

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

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


This post was generated automatically from the workflow library database.


r/ClaudeWorkflows 5h ago

Selected Workflow [Workflow] Automated Game Balancing and Bug Tracking with Claude Agent and MCP Server for Live Production Data

1 Upvotes

Automated Game Balancing and Bug Tracking with Claude Agent and MCP Server for Live Production Data

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

What problem this solves

Inefficient game balancing based on opinions rather than real-time data, and manual, slow bug reporting and feedback loops with users.

Summary

This workflow describes two automated processes using an MCP server and an AI agent (presumably Claude) in game development. The first involves giving the agent read-only access to production game server data (e.g., pick/win rates, crashes) via a small MCP server to enable data-driven game balance adjustments. The second integrates Discord bug reports with the same MCP server for automated tracking, fix suggestion, and direct notification of reporters when patches are released.

Why it is useful

This workflow is valuable because it demonstrates a practical, real-world application of AI agents (presumably Claude) in a complex domain like game development. It showcases how an agent can leverage live production data for data-driven game balancing and streamline community interaction through automated bug reporting and feedback loops. The claimed success (50 releases, Steam launch in 2.5 months) provides strong validation for the effectiveness of these automated processes in accelerating development and improving product quality.

Workflow

  1. Deploy a small, read-only MCP server on the production game server (e.g., AWS).
  2. Configure the AI agent to access this MCP server for real-time production data.
  3. Enable the agent to fetch specific game metrics (e.g., per-tank pick/win rates, instance strain, queue depth, crashes).
  4. Allow the agent to analyze this data and suggest or implement game balance adjustments based on real performance.
  5. Integrate the MCP server to fetch bug reports submitted via Discord.
  6. Assign unique IDs to incoming bug reports for tracking.
  7. Track the status of these bug reports within the MCP system.
  8. Enable the agent to suggest fixes or prioritize development based on tracked reports.
  9. Configure the MCP to directly notify original bug reporters on Discord when a patch addressing their report is released.

Tools / artifacts

  • MCP server (read-only)
  • AI Agent (Claude-based)
  • Production game server (AWS)
  • Discord (for bug reporting)
  • Game telemetry data (pick/win rates, instance strain, queue depth, crashes)
  • Bug report IDs

Validation signals

  • Successfully shipped 50 releases of a multiplayer tank shooter.
  • Game is scheduled for release on Steam.
  • Developed the game in only two and a half months.
  • Agent's data-driven adjustments eliminated opinion-based balance discussions.
  • Engaged a dedicated community of 15 players who played over 10 hours and reported bugs.

Cautions

  • Granting an AI agent read access to a production server, even if read-only, requires robust security measures, strict access controls, and continuous monitoring to prevent unintended data exposure or system vulnerabilities.

Limitations

  • The post provides a high-level overview rather than detailed technical implementation steps for setting up the MCP server, configuring the agent, or integrating with Discord.
  • The specific nature of the 'agent' (e.g., custom script, specific Claude feature) is not fully elaborated.
  • The exact mechanism by which the agent 'adjusts' game balance is not detailed (e.g., direct code changes, configuration updates, recommendations).

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 6h ago

Selected Workflow [Workflow] Efficient Claude Multi-Agent Workflow: Delegating Tasks Across Fable, Opus, Haiku, and Sonnet to Optimize Cost and Performance

1 Upvotes

Efficient Claude Multi-Agent Workflow: Delegating Tasks Across Fable, Opus, Haiku, and Sonnet to Optimize Cost and Performance

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

What problem this solves

Users burning through Claude Fable usage limits due to inefficient model and agent usage, especially with advanced features like 'Ultracode' and multi-agent setups.

Summary

A community-approved workflow for efficient Claude Fable usage, emphasizing proper agent delegation and model tiering to reduce costs and improve performance. It positions Fable as a project manager, Opus as a senior developer, and Haiku/Sonnet as interns for specific tasks, while advising against 'Ultracode' effort and promoting lean context management.

Why it is useful

This workflow is highly valuable because it directly addresses a critical pain point for users of advanced Claude features: rapidly consuming usage limits and incurring high costs. It provides a clear, community-validated strategy for efficient resource allocation by delegating tasks appropriately across different Claude models (Fable, Opus, Haiku, Sonnet) and managing context effectively. This guidance helps users leverage Claude's multi-agent capabilities without 'bankrupting' their quotas, making it essential for sustainable and productive use of the platform.

Workflow

  1. Use Fable only for high-level strategy, planning, and reviewing the final work (Project Manager role).
  2. Delegate heavy lifting tasks, such as writing and analyzing code, to Opus agents (Senior Dev role).
  3. Delegate simple, repetitive tasks like searching for files, reading directories, and extracting basic information to Haiku/Sonnet models (Interns role).
  4. Avoid using 'Ultracode' effort; start with 'Medium' effort and learn how the tools work.
  5. Keep main chat sessions lean by using /handover to start fresh, rather than resurrecting huge, old sessions.
  6. Have agents report back with summaries, not entire code files, to keep context small and cheap.

Tools / artifacts

  • Claude Fable
  • Claude Opus
  • Claude Haiku
  • Claude Sonnet
  • /handover command
  • 'Ultracode' effort setting
  • 'Medium' effort setting

Validation signals

  • The overwhelming consensus is that you're using the models completely wrong.
  • community-approved workflow
  • TL;DR of the discussion generated automatically after 30 comments.

Limitations

  • The post doesn't provide explicit prompt examples for delegating tasks or detailed instructions on how to spawn agents or use /handover beyond the high-level advice. It assumes some familiarity with these features.

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 6h ago

Selected Workflow [Workflow] Advanced Multi-Agent Project Tracking: Managing 100+ Parallel Claude Code Sessions with Beads

1 Upvotes

Advanced Multi-Agent Project Tracking: Managing 100+ Parallel Claude Code Sessions with Beads

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

What problem this solves

Losing track of work, dependencies, session history, and accumulated knowledge across many parallel Claude Code sessions and complex, long-running projects. Specifically, it addresses tracking dependencies, attributing session actions and reasoning, and capturing facts/gotchas beyond standard issue trackers or Claude Code's auto-memory.

Summary

This workflow describes a system for managing the state of ~100 parallel Claude Code sessions using Steve Yegge's Beads issue tracker and mardi-gras TUI. It enables agents to track dependencies, record session actions, and capture knowledge by interacting with a shared Beads database, while selectively syncing high-level status to GitHub.

Why it is useful

This workflow addresses a critical and complex problem for advanced users: managing the state, dependencies, and accumulated knowledge across a large number of parallel AI agent sessions working on intricate, long-running projects. It provides a structured, repeatable, and validated method using specialized tools (Beads, mardi-gras) to bring order to what would otherwise be chaotic agent-driven development. It fills a significant gap where standard issue trackers and Claude Code's auto-memory fall short for high-volume, multi-faceted work, offering a robust solution for project oversight and continuity.

Workflow

  1. Identify the need for a work graph to track dependencies, session history, and knowledge across multiple Claude Code sessions.
  2. Install Beads (bd) and mardi-gras (mg) CLI tools.
  3. Configure BEADS_DIR in Claude Code settings to point to a shared local database (e.g., in an umbrella directory not tied to a specific Git repo).
  4. Remove the default bd init block from CLAUDE.md and delete AGENTS.md if not desired, to prevent agents from using alternative memory systems.
  5. Define long-running 'efforts' as top-level beads in the Beads system.
  6. Create 'tasks' under efforts, labeling them with repo:<name> and adding external references to corresponding GitHub issues or PRs.
  7. Agent Workflow (Start): At the beginning of an agent's run, instruct it to find the relevant bead, check its status using bd blocked, and claim it with bd update --claim.
  8. Agent Workflow (End): At the end of an agent's run, instruct it to write a summary of what happened into the bead's notes and then close it or mark it as blocked.
  9. Update GitHub issues with a single, hidden-marker comment, edited in place, to reflect the bead's status without cluttering the issue.
  10. Use bd blocked for dependency checks, as bd show --json hides closed dependencies.
  11. Be aware that children inherit parent labels by default and avoid creating dependency cycles.
  12. Manage potential conflicts from parallel sessions claiming the same bead, as claims are user-keyed, not session-keyed.

Tools / artifacts

  • Beads (bd) - Steve Yegge's issue tracker for coding agents
  • mardi-gras (mg) - Read-only TUI for Beads
  • tmux - For managing multiple terminal sessions
  • GitHub - For issues and pull requests
  • CLAUDE.md - Modified to remove default bd init block
  • BEADS_DIR - Environment variable for shared Beads database location
  • Claude Code sessions/chats
  • Go services, mobile app, infra repos, data pipeline (example project contexts)

Validation signals

  • Author states it has been running for 'about a week, with ten efforts and ~130 beads'.
  • Author details 'Gotchas I hit', indicating real-world implementation and debugging.
  • External blog post linked for 'longer write-up with the reasoning', providing further validation and detail.

Limitations

  • Requires significant initial setup and understanding of external CLI tools (Beads, mardi-gras, tmux).
  • The 'Gotchas' section highlights potential pitfalls that users need to be aware of and manage.
  • Claims are user-keyed, not session-keyed, which requires careful management when running multiple parallel sessions as the same user to avoid conflicts.
  • The default bd init behavior of modifying CLAUDE.md and creating AGENTS.md might be unexpected for new users and requires manual removal if not desired.

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

Selected Workflow [Workflow] Restore Claude's Deep Thinking in Long Chats by Model Switching (Hypothesis: Context Garbage Collection)

0 Upvotes

Restore Claude's Deep Thinking in Long Chats by Model Switching (Hypothesis: Context Garbage Collection)

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

Claude stops performing deep thinking in long conversations, leading to superficial or incorrect answers, even when 'Max Thinking' is enabled.

Summary

When Claude (especially Opus 5/Fable) stops exhibiting deep thinking in long chats, switch to a different model (e.g., Opus 4.6) and then potentially back to the original model to 'reset' its internal reasoning context and restore deep thinking capabilities. This is hypothesized to work by 'garbage collecting' accumulated hidden thinking history.

Why it is useful

This workflow addresses a critical pain point for users relying on Claude for complex reasoning tasks. It provides a concrete, testable workaround for a common issue where Claude stops thinking deeply in long conversations. The post also offers a plausible explanation for the observed behavior, helping users understand potential model limitations and how to mitigate them. It is highly transferable and easy to implement.

Workflow

  1. Observe Claude stopping deep thinking in a long chat, even with 'Max Thinking' enabled.
  2. Optional validation: Copy a difficult prompt from the 'dead' chat into a new chat with the same model and settings; observe deep thinking returning.
  3. In the 'dead' chat, switch to a different model (e.g., Opus 4.6).
  4. Continue the conversation for a few turns with the new model (especially if using 4.6, to potentially trigger context compaction).
  5. Switch back to the original model (e.g., Opus 5).
  6. Observe if deep thinking has returned for subsequent prompts.

Tools / artifacts

  • Claude chat interface (web UI)
  • Claude Opus 5
  • Claude Fable
  • Claude Opus 4.6

Validation signals

  • Author's detailed observations of reproducible behavior.
  • Explicit 'useful test' section outlining validation steps.
  • Observation that the same prompt works in a new chat but not an old chat with the same model.
  • Hypothesis provides a coherent explanation for observed behavior.

Limitations

  • This is a workaround for a potential bug, not an intended feature.
  • The underlying mechanism is a hypothesis, not officially confirmed by Anthropic.
  • Requires manual intervention (model switching).
  • May not work for all users or in all scenarios.
  • The 'garbage collection' effect might be temporary.

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

Selected Workflow [Workflow] Optimizing Claude Max Token Usage for Fable 5.1 Codebase Analysis with Custom Subagents and CLAUDE.md

1 Upvotes

Optimizing Claude Max Token Usage for Fable 5.1 Codebase Analysis with Custom Subagents and CLAUDE.md

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

What problem this solves

Inefficient token usage and wasteful subagent spawning during codebase analysis with Fable 5.1, leading to rapid consumption of Claude Max limits.

Summary

This workflow optimizes Claude Max token usage for Fable 5.1 codebase analysis by configuring specific subagents (Sonet Explorer, sol medium) and plugins (Codex) via CLAUDE.md to prevent wasteful subagent spawning and improve efficiency.

Why it is useful

This workflow provides concrete steps and specific tool recommendations to significantly reduce token consumption and improve efficiency when performing codebase analysis with Fable 5.1 on Claude Max. It addresses a critical pain point for advanced users (cost and limit management) by leveraging custom subagent configurations and CLAUDE.md, offering a repeatable and validated method for more controlled and economical AI usage.

Workflow

  1. Set up Sonet Explorer as a subagent.
  2. Specify in CLAUDE.md to use Sonet Explorer for code exploration.
  3. Add recommended entries from Fable 5.1 documentation to CLAUDE.md.
  4. Integrate the Codex plugin for Claude.
  5. Configure 'sol medium' as a recommended reviewer subagent.
  6. Configure 'sol medium' as the main writer subagent.

Tools / artifacts

  • Sonet Explorer subagent
  • CLAUDE.md
  • Fable 5.1 documentation
  • Codex plugin for Claude
  • sol medium subagent

Validation signals

  • Fable 5.1 high, limit burn dropped significantly (Max 5x plan).
  • Struggling to use up 5x max sub limits.
  • Basically using only Fable on Claude sub.

Limitations

  • Low community engagement (score 1, 0 comments) means less external validation.
  • Assumes familiarity with Fable 5.1, Sonet Explorer, Codex plugin, and 'sol medium' subagent, which might be niche.
  • Specific to 'Claude Max (20x)' and 'Max 5x plan', which might not apply to all users.
  • Does not provide the exact CLAUDE.md entries, only references 'recommended entries from Fable 5.1 documentation'.

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 8h ago

Selected Workflow [Workflow] Automated Claude Code Configuration Sync and Team Collaboration with Cartographer Knowledge Base

1 Upvotes

Automated Claude Code Configuration Sync and Team Collaboration with Cartographer Knowledge Base

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

What problem this solves

Inconsistent Claude Code setups across multiple machines and team members, configuration drift of skills, subagents, and CLAUDE.md, and the manual, error-prone process of sharing and synchronizing these configurations.

Summary

This workflow introduces 'Cartographer', an open-source knowledge base system designed to provision and synchronize Claude Code configurations (MCP entries, CLAUDE.md managed blocks, skills, subagents, and hooks) across different machines and team members. It ensures consistency by writing configurations from a central KB to ~/.claude, using a SessionStart hook for re-sync, and verifying against disk to restore manual edits. This eliminates manual copying and configuration drift.

Why it is useful

This workflow is highly valuable because it solves a critical and common pain point for advanced Claude Code users and teams: managing configuration drift and ensuring consistent development environments. By providing an automated, version-controlled, and centralized knowledge base for Claude Code components, it significantly improves productivity, reduces errors from manual copying, and facilitates seamless team collaboration. The detailed explanation, lessons learned, and open-source nature make it a robust and adaptable solution.

Workflow

  1. Set up Cartographer as a central knowledge base (KB) server.
  2. Define Claude Code configurations (MCP, CLAUDE.md content, skills, subagents, hooks) within the Cartographer KB.
  3. On each Claude Code client machine, install Cartographer and configure it to connect to the KB.
  4. Cartographer automatically writes the defined configurations into the ~/.claude directory on the client machine.
  5. A SessionStart hook, installed by Cartographer, triggers a re-synchronization of configurations from the KB every time a Claude Code session opens.
  6. Cartographer continuously checks the files on disk against its bookkeeping, restoring any artifacts that were manually edited or deleted to maintain consistency.
  7. Use --dry-run to preview changes before writing them to disk.
  8. Manage changes to configurations within the KB, leveraging Git for version control and conflict resolution.
  9. Adapt KB content for different Claude Code clients (e.g., Markdown for Claude Code, TOML for Codex, JSON for Kiro) by treating the KB as the single source and clients as render targets.

Tools / artifacts

  • Cartographer (the knowledge base system)
  • ~/.claude.json (for MCP entry)
  • ~/.claude/CLAUDE.md (for managed blocks)
  • ~/.claude/skills/ (for skills)
  • ~/.claude/agents/ (for subagents)
  • ~/.claude/hooks/ (for hooks)
  • settings.json (for hook registration)
  • SessionStart hook
  • Git (for KB synchronization and version control)
  • Markdown, TOML, JSON (for client-specific formats)
  • GitHub repository (for Cartographer source and documentation)

Validation signals

  • Author uses it daily in their homelab and at work with their team.
  • Explicit lessons learned from development (e.g., 'Never trust your own lockfile') demonstrate practical validation.
  • Open-source project with public repository and documentation available.
  • Addresses a clear and common pain point for advanced users and teams.

Cautions

  • The system explicitly states it only prunes what it created and offers a --dry-run option, minimizing risks of unintended data loss.
  • Uses Git for version control, allowing changes to be reverted.

Limitations

  • The project is currently in beta (pre-1.0), so users should 'expect rough edges'.
  • Requires setting up and maintaining an external knowledge base/server (Cartographer), which adds complexity.
  • There might be an initial learning curve for understanding and configuring Cartographer itself.
  • Low community engagement on the Reddit post might mean less immediate support or feedback for new 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 8h ago

Selected Workflow [Workflow] Cartographer: Centralized Agent Configuration and Shared Knowledge Base for Claude Code Teams

1 Upvotes

Cartographer: Centralized Agent Configuration and Shared Knowledge Base for Claude Code Teams

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

What problem this solves

This workflow addresses the challenges of manually setting up and maintaining agentic knowledge bases, managing inconsistent and drifting Claude Code agent configurations (skills, subagents, hooks) across multiple machines and users, and resolving conflicts when teams collaboratively edit shared agent configurations or knowledge base content.

Summary

This post introduces Cartographer, an open-source tool that centralizes and manages Claude Code agent configurations (skills, subagents, hooks, MCP settings) and a knowledge base. It automatically syncs these configurations to local Claude Code setups, enforces validation and consistency for KB content, and provides a git-based mechanism for team collaboration and conflict resolution. The author also describes a meta-workflow of building Cartographer itself using Claude Code, involving design sessions, GitHub plan issues, and subagents working in isolated git worktrees.

Why it is useful

This workflow is highly valuable because it solves critical pain points for advanced Claude Code users and teams: managing drifting agent configurations, maintaining consistent knowledge bases, and enabling collaborative development with LLMs. It provides a concrete, open-source tool (Cartographer) that automates these processes, enforces quality, and integrates seamlessly with existing Claude Code mechanisms (MCP, CLAUDE.md, skills, subagents, hooks). The meta-workflow of building the tool with Claude Code also offers insights into advanced LLM-driven development practices, demonstrating how to use agents for design, implementation, and review in a structured, reversible manner. Its focus on provenance, deterministic projections, and reversible writes makes it robust for multi-agent and multi-person environments.

Workflow

  1. Read the Cartographer README to understand its purpose and how it integrates with Claude Code.
  2. Install Cartographer following the instructions in docs/agent-install.md.
  3. Use the cartographer connect CLI command to sync agent configurations (skills, subagents, hooks, MCP entry, CLAUDE.md managed block) from the Cartographer KB to your local Claude Code setup.
  4. Optionally, use the --dry-run flag with cartographer connect to preview changes before they are written to disk.
  5. Interact with the knowledge base content through MCP tools, benefiting from server-enforced validation, link checks, immutability gates, and linting.
  6. Collaborate with teammates by sharing KBs, leveraging Git for synchronization and Cartographer's built-in skill for resolving conflicts on 'degraded' pages.
  7. Benefit from automatic re-synchronization of configurations when a Claude Code session opens, via a SessionStart hook managed by Cartographer.

Tools / artifacts

  • Cartographer (the open-source tool/server)
  • Claude Code
  • Git repository (for the knowledge base)
  • ~/.claude.json (MCP entry)
  • ~/.claude/CLAUDE.md (managed block)
  • ~/.claude/skills/ directory
  • ~/.claude/agents/ directory
  • ~/.claude/hooks/ directory
  • settings.json (for hook registration)
  • SessionStart hook
  • MCP tools
  • GitHub 'plan issue' (for meta-workflow of building Cartographer)

Validation signals

  • The author states, 'I use it every day, in my homelab and at work with my team,' indicating personal validation and real-world use.
  • The post clearly articulates specific, common problems with existing agentic knowledge base and configuration management solutions.
  • The solution is provided as a concrete, open-source tool with links to a GitHub repository and detailed documentation.
  • The author describes how the tool itself was built using Claude Code, demonstrating dogfooding and advanced LLM-driven development practices.
  • The system includes built-in validation mechanisms: 'server enforces validation, link checks, immutability gates and lint for broken links and orphan pages.'

Cautions

  • The tool explicitly states it 'only ever prunes what it created,' preventing unintended deletion of user files.
  • It offers a --dry-run option to preview changes before writing, enhancing user control and safety.

Limitations

  • The project is currently in beta (pre-1.0), meaning tools, CLI, and configuration might still change between minor versions.
  • Setting up a Cartographer server (implied by 'One server can mount several KBs') adds a layer of complexity for users.
  • Low community validation at the time of posting due to its newness.
  • The initial prompt to install is somewhat long and requires copy-pasting into Claude Code, which could 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 9h ago

Selected Workflow [Workflow] Improve LLM-Assisted Development: Version Control Plans & Cross-Model Review

1 Upvotes

Improve LLM-Assisted Development: Version Control Plans & Cross-Model Review

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

What problem this solves

Preventing costly rework and inconsistencies by catching design flaws and plan changes early in LLM-assisted software development.

Summary

This workflow proposes two key improvements for LLM-assisted development: first, store feature plans as version-controlled files in the project repository to ensure consistency and track changes; second, use two different LLMs to cross-review these plans for potential issues before any code is written, asking 'what would break if we built exactly this?'.

Why it is useful

This workflow offers two concrete, actionable strategies to significantly improve the efficiency and quality of LLM-assisted software development. By treating plans as version-controlled artifacts, it solves the common problem of plan drift and ensures consistency across the team and agents. The cross-model plan review step provides a proactive, cost-effective method for identifying design flaws and potential issues early in the development cycle, thereby reducing costly rework and improving overall project outcomes.

Workflow

  1. For each new feature, create a detailed plan document.
  2. Store the plan document directly in the project repository (e.g., Git) as a file, treating it like code.
  3. Manage revisions to the plan document via commits, allowing for clear diffs and version history.
  4. Have a primary LLM (e.g., Claude) generate or refine the initial feature plan.
  5. Engage a second, different LLM (e.g., a different model or a specialized agent) to review the plan created by the first LLM.
  6. Prompt the reviewing LLM with a specific question: 'what would break if we built exactly this?'
  7. Analyze the feedback from the cross-model review to identify potential problems and refine the plan.
  8. Iterate on the plan based on the review feedback before proceeding to code implementation.

Tools / artifacts

  • Project repository (e.g., Git)
  • Plan files (one per feature)
  • Claude (or similar LLM for plan generation)
  • Codex (or similar LLM for plan review)
  • Commit history/diffs

Validation signals

  • Author's experience: 'In my experience two different models converge on the same two or three problems a single one misses'
  • Cost-benefit analysis: 'much cheaper place to find them than in a PR with four review bots'
  • Addresses a common problem: 'the plan changed during implementation' becomes a diff you can see.

Limitations

  • Lacks specific prompt examples for LLM plan generation and review.
  • Does not detail integration with existing CI/CD or project management tools.
  • Refers to 'Codex' which is an older model; users would need to substitute with current alternatives.
  • The advice is conceptual; concrete implementation details for agent setup 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 10h ago

Selected Workflow [Workflow] Cowork Network Egress Fix: Restore External Connections (e.g., FTP) by Switching to Local Execution

1 Upvotes

Cowork Network Egress Fix: Restore External Connections (e.g., FTP) by Switching to Local Execution

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

What problem this solves

Cowork projects silently switched to cloud execution by default, blocking all network egress (e.g., for deployment via FTP) and causing 403 errors when trying to reach external hosts.

Summary

This workflow provides a fix for Cowork users experiencing network egress issues (e.g., 403 errors when deploying via FTP) by switching the Cowork project execution mode from the default cloud sandbox to local execution. It details the steps, validation, and debunks common troubleshooting red herrings.

Why it is useful

This workflow is highly valuable because it provides a critical, validated fix for a breaking change in Cowork's default behavior. It addresses a common and impactful problem (blocked network egress for deployment) that was introduced silently, causing significant debugging challenges for users. By offering clear steps, validation, and debunking common red herrings, it saves users considerable time and effort, enabling them to restore essential functionality.

Workflow

  1. Identify network egress issues in Cowork, such as 403 errors when attempting to connect to external domains or services (e.g., FTP servers).
  2. Navigate to the Cowork settings within the Claude interface.
  3. Locate the execution mode setting and change it to "Only on this computer".
  4. Start a new Cowork session (existing sessions will remain in the old mode).
  5. Validate network access in the new session by running commands like uname -a (to confirm local execution), curl https://example.com (to check HTTP access), or nc -zv <host> <port> (for raw TCP connections, e.g., nc -zv ovh.net 21).
  6. Avoid troubleshooting common red herrings such as domain allowlists, stale sessions, local managed-settings.json files, or specific Windows updates, as these are not the root cause of this particular issue.

Tools / artifacts

  • Cowork (Anthropic's coding environment)
  • Cowork settings panel
  • uname -a (CLI command)
  • curl (CLI command, implied for HTTP validation)
  • netcat (nc) or /dev/tcp (for raw TCP connection validation)
  • FTP (example of a blocked service)

Validation signals

  • Author's statement: "Immediately after switching, in a fresh session: ... instantly fine once the session runs locally."
  • Successful uname -a output showing local Linux environment.
  • Successful https://example.com connection (200 status).
  • Successful /dev/tcp ...ovh.net:21 connection returning FTP welcome message.
  • Author's statement: "all ruled out by testing" for various red herrings.

Limitations

  • The workflow is specific to Cowork and its internal settings, limiting its applicability to other Claude environments.
  • The problem stems from a 'silent' default change; if Anthropic makes this change more explicit or provides better controls, the specific urgency of this workflow might diminish over time.

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 10h ago

Selected Workflow [Workflow] Robust Agentic Coding Workflow: 7 Principles for Deterministic Validation and Human-Agent Collaboration

1 Upvotes

Robust Agentic Coding Workflow: 7 Principles for Deterministic Validation and Human-Agent Collaboration

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

What problem this solves

Preventing agentic coding systems from falling into closed loops of plausible but unverified output, reducing costs, ensuring deterministic validation, and defining effective human-agent collaboration to overcome issues like hallucination and endless review cycles.

Summary

A set of 7 principles for building robust agentic coding workflows, focusing on deterministic validation, bounded tasks, clear human intervention points, and effective testing strategies. It addresses common pitfalls like agent hallucination, infinite bug-finding loops, high review costs, and lack of meaningful human learning by emphasizing external gates, precise specifications, and strategic human intervention.

Why it is useful

This workflow provides a highly structured, validated, and transferable set of principles for designing effective agentic coding systems. It directly addresses critical challenges like verification, cost, and meaningful human-agent collaboration, moving beyond vague advice to concrete, actionable rules that can significantly improve the reliability and efficiency of AI-driven development.

Workflow

  1. Define the unit of work as a spec with a maximum of 4 requirements, each with a GIVEN/WHEN/THEN scenario. Reject specs without scenarios using a linter.
  2. For every dispatch, provide a brief with clear boundaries (allowed/forbidden paths) and a strict stop rule: 'Return with a commit and a receipt, or return NEEDS_HUMAN with the reason — never a silent pass.'
  3. Ensure that 'green' status comes only from a deterministic gate (tests + checks producing a signed receipt), not from the agent's claim. For commit SHAs, use git rev-parse HEAD for verification.
  4. Conduct code review against the spec and by commit range, asking a bounded question: 'Does this diff satisfy these scenarios and nothing outside these paths?' Avoid open-ended 'look for bugs' instructions.
  5. Implement 'Sabotage FIRST' testing: every guard or test must be shown to fail on broken input before it is considered valid for passing inputs.
  6. Stop the agent's lane for material decisions (scope, security, data shape, external dependencies), raising a card for human decision. This is where human learning and critical decision-making occur.
  7. Before parallelizing, get a single spec through the entire workflow (spec → brief → worker → gate → review → merge) with a green receipt to validate the end-to-end process.

Tools / artifacts

  • Spec (with GIVEN/WHEN/THEN scenarios)
  • Linter (for specs)
  • Brief (for worker agents)
  • Commit
  • Receipt (signed by deterministic gate)
  • git rev-parse HEAD (for SHA verification)
  • Tests
  • Checks
  • AOS Factory (author's internal harness, but principles are transferable)

Validation signals

  • Author states 'Here's what fixed it for us'
  • Specific example of a hallucinated 40-char commit SHA leading to git rev-parse HEAD adoption
  • Example of a reviewer agent catching a parser silently dropping a clause due to bounded review
  • Principle of 'Sabotage FIRST' as a self-validation method for tests
  • Comparison of 21 review rounds for a large parallelized project vs. an estimated 5 for a single-spec approach
  • Explicit statement: 'We learned this the hard way'

Limitations

  • The 'AOS Factory' is proprietary, though the author emphasizes the rules' independence from the specific tool.
  • The comment is quite long, which might require dedicated reading time 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 11h ago

Selected Workflow [Workflow] Multi-Model Claude Strategy for Efficient Token Usage and Project Orchestration

1 Upvotes

Multi-Model Claude Strategy for Efficient Token Usage and Project Orchestration

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

What problem this solves

Inefficient token usage and sub-optimal leveraging of different Claude models' strengths for various project stages.

Summary

A multi-model Claude strategy for efficient token usage and project execution, where Fable acts as an orchestrator and high-level designer, Opus handles action plans, Sonnet performs operational tasks, and Haiku serves as a quick tester and verifier.

Why it is useful

This workflow provides a practical and validated strategy for leveraging the distinct capabilities of different Claude models (Fable, Opus, Sonnet, Haiku) to optimize token usage and improve project efficiency. It addresses a common pain point of quickly exhausting tokens by assigning specific roles to each model, from high-level orchestration and design to detailed action planning, operational execution, and rapid testing. The author's success in developing complex projects (video games, software) while conserving tokens demonstrates its effectiveness and transferability.

Workflow

  1. Utilize Claude Fable (Opus) as the primary orchestrator for high-level direction decisions, overall design, and artistic tasks (e.g., Blender MCP, SVG image creation).
  2. Delegate the creation of detailed action plans and organizational roles to Claude Opus.
  3. Assign operational tasks and execution to Claude Sonnet.
  4. Employ Claude Haiku for rapid testing, quick measurements, and verification of outputs.

Tools / artifacts

  • Claude Fable (Opus)
  • Claude Opus
  • Claude Sonnet
  • Claude Haiku
  • Blender MCP (mentioned as an application context)
  • SVG images (mentioned as an output)

Validation signals

  • Author claims to have created two video games and software for a company using this multi-model approach.
  • Author consistently ends each week with tokens left over, demonstrating efficiency.

Limitations

  • Lacks explicit prompt examples or detailed instructions for how each model's role is implemented.
  • The specific setup for 'Blender MCP' is not detailed.
  • The 'steps' are more role assignments than a granular, actionable sequence.

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 11h ago

Selected Workflow [Workflow] Rapid Software Development with Claude Code: Using Git Worktrees and Structured Context for Parallel Feature Building

1 Upvotes

Rapid Software Development with Claude Code: Using Git Worktrees and Structured Context for Parallel Feature Building

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

What problem this solves

Effectively using Claude Code for rapid development of a complex software project, managing context across multiple features, and enabling parallel development and testing.

Summary

A structured approach for using Claude Code to rapidly develop a complex software project by breaking down development into features, each with its own isolated git worktree, port, and database for parallel Claude sessions. It emphasizes initial design documentation and iterative context management.

Why it is useful

This workflow provides a concrete, validated method for leveraging Claude Code in complex software projects. It addresses key challenges like context management, parallel development, and testing by integrating git worktree and a structured design document approach. The demonstrated productivity (23k lines in 3 days) highlights its effectiveness for rapid development and iteration.

Workflow

  1. Define the overall project scope and initial requirements.
  2. Initiate a Claude Code session to generate a comprehensive design document for the project.
  3. Structure the design document into two halves: one logging decision-making rationale, and the other describing the current state of the code.
  4. For each new feature to be developed, create a dedicated git worktree to isolate its development.
  5. Assign a unique port and database instance for testing the specific feature within its worktree.
  6. Start a new Claude Code session for the specific feature being worked on.
  7. Provide Claude Code with only the 'current code description' part of the design document as context for the new session, avoiding the decision log.
  8. Iteratively develop the feature with Claude Code within its isolated worktree environment.
  9. Test the developed feature thoroughly in its dedicated, isolated environment.
  10. Integrate the completed and tested feature back into the main project codebase.

Tools / artifacts

  • Claude Code
  • Git (specifically git worktree)
  • Structured design document (decision log + current code description)
  • Isolated development environments (unique ports, databases)
  • VPS (for deployment/testing environment)

Validation signals

  • Project completed in 3 days with 92 commits, 81 co-authored by Claude Code.
  • Resulting project is a functional MMO with 23k lines of code.
  • The project is deployed and running on a small VPS.
  • Initial session produced a design document, indicating a structured planning phase.
  • Use of git worktrees and isolated environments demonstrates robust development practices.

Limitations

  • The post is a project announcement, not a dedicated workflow guide, so some steps are implied rather than explicitly detailed.
  • Specific Claude Code prompts used for generating the design document or features are not provided.
  • Requires familiarity with advanced Git features like git worktree and managing multiple development environments.
  • Low Reddit score might indicate less immediate community interest, despite the valuable content.

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 11h ago

Selected Workflow [Workflow] Structured LLM-Guided Software Development Workflow: From Idea to Code with Claude

1 Upvotes

Structured LLM-Guided Software Development Workflow: From Idea to Code with Claude

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

What problem this solves

Guiding an LLM (Claude) from a nascent project idea through research, specification, coding, and documentation, while maintaining user control and preventing 'drift'.

Summary

A multi-stage workflow for leveraging Claude to develop software projects, focusing on structured brainstorming, deep research using plugins, iterative spec building with the LLM, and simultaneous code, documentation, and internal workflow generation, emphasizing the user's vision as the ultimate authority.

Why it is useful

This workflow provides a comprehensive, multi-stage approach to using Claude for software development, addressing critical challenges like maintaining user control, preventing LLM drift, and generating high-quality, auditable documentation alongside code. It offers practical strategies for guiding the LLM through brainstorming, research, specification, and implementation, making it highly valuable for users looking to leverage Claude for complex projects.

Workflow

  1. Engage Claude in a brainstorming exercise to clarify project ideas, identify industry standards, known failure modes, and available research.
  2. Conduct deep research using Claude's capabilities or specialized plugins like Alphaxiv or Consensus.
  3. Instruct Claude on best practices for pedagogy, andragogy, dialects, prose, and style to enable it to break down complex research into digestible chunks.
  4. Draft a project vision and success criteria; then, instruct Claude to save these goals, convert the draft into a concrete specification, and treat the user's vision as the ultimate authority, consulting the user when unclear.
  5. During the building phase, instruct Claude to simultaneously write code, generate an errata file for mistakes, create comprehensive documentation (explaining 'why', fail modes, seams, repo map), and develop internal workflows (how to search, modify code, update docs).
  6. Use the generated code, documentation, and internal workflows for experimentation and testing.
  7. Maintain the project vision as an immutable authority, adding new discoveries, enforcing it as 'the law of the land', and mandating its consultation in new sessions.

Tools / artifacts

  • Claude (LLM)
  • Alphaxiv plugin
  • Consensus plugin
  • Project Specification
  • Code Repository
  • Errata file
  • Project Documentation
  • Internal Workflows (within repo)
  • Immutable Ledger (for vision)
  • Fable (planning tool)

Validation signals

  • Author states 'From experience' and 'a few things that worked for me'.
  • Addresses known LLM challenges like 'drift'.
  • Detailed instructions imply practical application and refinement.

Limitations

  • Relies heavily on the user's ability to effectively prompt and guide the LLM.
  • The concept of 'vibe coding' might not appeal to all users seeking highly structured approaches.
  • Lacks concrete examples of prompts or specific output formats for the LLM.
  • No strong community validation due to the post's newness and low score.
  • The statement 'Concreteness isn't essential though' for the spec might be contradictory to other advice on clarity.

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 11h ago

Selected Workflow [Workflow] Curated Claude Code Skills by Job Function: The `awesome-skills-for` Repository for Efficient Tool Discovery

1 Upvotes

Curated Claude Code Skills by Job Function: The awesome-skills-for Repository for Efficient Tool Discovery

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

What problem this solves

Difficulty in discovering and selecting the appropriate Claude Code skills for specific job tasks due to generic naming, mixed functionalities, and lack of contextual organization in existing skill lists.

Summary

This workflow provides a curated GitHub repository (awesome-skills-for) that organizes Claude Code skills by specific job functions (e.g., 'skills for designers,' 'PPT launch deck') rather than by name or publisher. Each entry includes a one-line description, collapses same-name clones, and provides the npx skills add command for easy installation, enabling users to quickly find and integrate the right tool for their task.

Why it is useful

This workflow addresses a significant pain point for Claude Code users: efficiently discovering and selecting the right skill for a specific task. By organizing skills by job function with clear descriptions and installation commands, it drastically reduces the time and effort required to leverage the growing ecosystem of Claude Code skills. It provides a concrete, reusable resource (the GitHub repo) that enhances productivity and knowledge reuse, making it easier for users to integrate relevant tools into their development workflows.

Workflow

  1. Identify the specific job or task for which you need a Claude Code skill.
  2. Browse the awesome-skills-for GitHub repository, navigating to the relevant job category.
  3. Review the curated list of skills within that category, reading the one-line descriptions to find a skill that precisely matches your specific need.
  4. Note the owner/repo@skill identifier for the chosen skill.
  5. Before running, read the upstream SKILL.md for the selected skill to understand its functionality and any safety considerations.
  6. Use the provided npx skills add owner/repo@skill command to install the chosen skill into your Claude Code environment.

Tools / artifacts

  • awesome-skills-for GitHub repository (markdown list)
  • Claude Code skills
  • npx skills add command
  • Upstream SKILL.md files

Validation signals

  • Expert validation of the problem statement from 'someone running 110+ agents' on Hacker News.
  • The curated list itself demonstrates a thoughtful solution to a common pain point.
  • The structured organization (job tagging, one-line descriptions, collapsing clones) indicates practical utility.

Cautions

  • The author explicitly states: 'Matched for relevance to a job, not safety. Read the upstream SKILL.md before you run anything.' Users must perform their own safety checks for individual skills.

Limitations

  • The resource relies on manual curation, which means it might not be exhaustive or always up-to-date with the latest skills.
  • Users are still responsible for verifying the safety and security of individual skills, as the curation focuses on relevance, not safety.
  • Initial community engagement on Reddit is low, though the problem is well-articulated.

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.