Agent skill · Code Review & Quality

langgraph-human-in-loop

LangGraph human-in-the-loop patterns. Use when implementing approval workflows, manual review gates, user feedback integration, or interactive agent supervision.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill langgraph-human-in-loop --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Version: 1.0.0
Declared author: SkillForge
Path: skills/agent/langgraph-human-in-loop/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# LangGraph Human-in-the-Loop Pause workflows for human intervention and approval. ## Basic Interrupt ```python workflow = StateGraph(State) workflow.add_node("draft", generate_draft) workflow.add_node("review", human_review) workflow.add_node("publish", publish_content) # Interrupt before review app = workflow.compile(interrupt_before=["review"]) # Step 1: Generate draft (stops at review) config = {"configurable": {"thread_id": "doc-123"}} result = app.invoke({"topic": "AI"}, config=config) # Workflow pauses here ``` ## Resume After Approval ```python # Step 2: Human reviews and updates state state = app.get_state(config) print(f"Draft: {state.values['draft']}") # Human decision state.values["approved"] = True state.values["feedback"] = "Looks good" app.update_state(config, state.values) # Step 3: Resume workflow result = app.invoke(None, config=config) # Continues to publish ``` ## Approval Gate Node ```python def approval_gate(state: WorkflowState) -> WorkflowState: """Check if human approved.""" if not state.get("human_reviewed"): # Will pause here due to interrupt_before return state if state["approved"]: state["next"] = "publish" else: state["next"] = "revise" return state wo

What's inside
Steps it walks through
  1. Basic Interrupt
  2. Resume After Approval
  3. Approval Gate Node
  4. Feedback Loop Pattern
  5. API Integration
  6. Multiple Approval Points
  7. Key Decisions
  8. Common Mistakes
  9. Related Skills
  10. Capability Details
  11. interrupt-before
  12. resume-workflow
  13. approval-patterns
  14. feedback-integration
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the langgraph-human-in-loop skill do?

LangGraph human-in-the-loop patterns. Use when implementing approval workflows, manual review gates, user feedback integration, or interactive agent supervision.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill langgraph-human-in-loop --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going