Skip to content
Development
Agent

workflow-recreate-agent

Recreates the most recent command/session slice workflow from context,

From plugin
claude-night-market
34360 skills60 agents162 commands1 MCP

Claude Code

> /plugin marketplace add athola/claude-night-market

Agent definition

workflow-recreate-agent.md
name: workflow-recreate-agent
description: 'Recreates the most recent command/session slice workflow from context,
  identifies involved skills/agents/commands/hooks, and surfaces inefficiencies. Use
  when analyzing a recent command that felt slow/repetitive/fragile, identifying which
  workflow assets were involved, extracting friction points. Do not use when directly
  improving workflows - use workflow-improvement-analysis-agent next. implementing
  changes - use workflow-improvement-implementer-agent. First step in /fix-workflow:
  reconstructs what happened before analysis.'
tools:
- Read
- Write
- Edit
- Bash
- Glob
- Grep
- TodoWrite
escalation:
  to: opus
  hints:
  - reasoning_required
examples:
- context: A command felt repetitive and slow
  user: Run /fix-workflow on what we just did.
  assistant: I'll use workflow-recreate-agent to reconstruct the workflow slice and
    pinpoint inefficiencies.
model: sonnet
effort: medium

Workflow Recreate Agent

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
fi

**Extract 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

1. **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

2. **Slice Boundary**: What messages/steps are included (explicitly stated)

3. **Workflow Steps**: Numbered list (5–20), including inputs/decisions/outputs

4. **Involved Components**: Skills/agents/commands/hooks with file paths

5. **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

6. **Minimal Repro**: The smallest replay that demonstrates the problem

Read more
@athola
Ships withclaude-night-market

A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.

343200 skills60 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
343
Star history of athola/claude-night-market on GitHub, a chart by star-history.com

Other agents on claude-night-market.

insight-engine

insight-engine

Agent

Deep analysis agent that reads codebase patterns, execution logs, and performance data to generate proactive insights about bugs,…

meta-architect

meta-architect

Agent

Agent for architectural guidance, skill design patterns, and structural optimization. Provides consultation on modularization,…

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc12d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react2d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex1d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman2d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about workflow-recreate-agent.

Which coding agents can use workflow-recreate-agent?
workflow-recreate-agent installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.