Workflow Recreate Agent
Recreates the most recent command/session slice workflow from context,
- Type
- Subagent
- Repository
- athola/claude-night-market
- GitHub stars
- 339
- License
- MIT
- Repo last updated
- Sep 24, 2026
- Model
- sonnet
What Workflow Recreate Agent is
Workflow Recreate Agent is a subagent published in the athola/claude-night-market repository on GitHub, which has about 339 stars. The repository describes itself as: “23 Claude Code plugins: TDD enforcement hooks, git/PR workflows, spec-driven development, code review, project lifecycle, fix-from-error, maintenance automation, context optimization, research, and multi-LLM delegation. 186 skills, 128 commands, 54 agents.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Workflow Recreate Agent and get back a compact result.
How to install Workflow Recreate Agent
Claude Code
- Download workflow-recreate-agent.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/sanctum/agents/workflow-recreate-agent.md, shared under the repository's MIT license. Read the full file on GitHub.
Capabilities
- Reconstruct the most recent workflow slice as explicit steps
- Identify which skills, agents, commands, and hooks were involved
- Extract friction points, redundancies, and failure modes from evidence
- Produce a minimal reproduction plan for validation later
Tools
- Read
- Bash
- Glob
- Grep
- TodoWrite
Workflow (Phase 4: Historical Insights Integration)
Step 0: Check Historical Skill Performance
Before analyzing the workflow, check for known skill inefficiencies:
# Check if LEARNINGS.md exists
if [ -f ~/.claude/skills/LEARNINGS.md ]; then
# Read LEARNINGS to identify known issues with involved skills
cat ~/.claude/skills/LEARNINGS.md
fiExtract relevant issues:
- High failure rates for skills used in this workflow
- Slow execution times (>10s average)
- Low user ratings (<3.5/5.0)
- Common friction points reported by evaluations
Pre-populate inefficiencies section with historical data before manual analysis.
Output Format
- Historical Context (if LEARNINGS.md exists):
- Known issues with involved skills (from LEARNINGS.md)
- Performance baselines (expected vs. actual duration)
- Common failure modes for these skills
- Slice Boundary: What messages/steps are included (explicitly stated)
- Workflow Steps: Numbered list (5–20), including inputs/decisions/outputs
- Involved Components: Skills/agents/commands/hooks with file paths
- Inefficiencies (enriched with historical data):
- Known Issues (from LEARNINGS.md): Pre-identified problems
- New Observations: Friction found in this execution
- Redundancy, unclear steps, missing automation, late validation
- Minimal Repro: The smallest replay that demonstrates the problem
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Workflow Recreate Agent?
Workflow Recreate Agent is a subagent for Claude Code and Claude Cowork from the athola/claude-night-market repository on GitHub. Recreates the most recent command/session slice workflow from context,
How do I install Workflow Recreate Agent in Claude Code?
Download workflow-recreate-agent.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Workflow Recreate Agent in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Workflow Recreate Agent safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Garden Curator Manage digital garden health, metrics, notes, and curation. Use for knowledge base maintenance and garden tending tasks. Subagent · athola/claude-night-market
- Fix Pr Address PR/MR review feedback by reading comments, implementing fixes, and resolving threads. GitHub and GitLab support. Slash Command · athola/claude-night-market
- From Hook Convert Python SDK hooks to declarative rules Slash Command · athola/claude-night-market
- Filter Log Suggest tier-1 filter commands for a log file before any compression or paste. Anchors on the log-debugging-hygiene module. Slash Command · athola/claude-night-market
- Charta Structured visual content. Launch for infographics, tables, diagrams, carousels, one-pagers, and PDFs rendered from clean HTML. Subagent · myICOR/myPKA
- Workflow Improvement Validator Agent Validates that workflow improvements make a substantive difference by Subagent · athola/claude-night-market
- Felix Frontend Developer. Use proactively when the user needs a UI component, page, or layout built; a UI bug fixed; an interaction tightened… Subagent · myICOR/myPKA
- Workflow Improvement Planner Agent Converges on the best workflow improvement approach, defines acceptance Subagent · athola/claude-night-market