extract-context

Extract patterns, constraints, and success indicators from LLM outputs.

58|9|Updated Nov 16, 2025
One-click install
npx skills add https://github.com/HermeticOrmus/claude-code-game-development --skill extract-context-hermeticormus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: extract-context
Source: https://github.com/HermeticOrmus/claude-code-game-development/tree/main/tools/meta-prompting-framework/skills/extract-context
Command: npx skills add https://github.com/HermeticOrmus/claude-code-game-development --skill extract-context-hermeticormus

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires meta_prompting_engine, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps analyze Large Language Model (LLM) outputs to extract patterns, constraints, and success indicators, facilitating iterative improvements in AI-generated content.

Core Features & Use Cases

  • Pattern Extraction: Identifies techniques and approaches used in LLM outputs.
  • Constraint Analysis: Determines hard requirements, preferences, and anti-patterns.
  • Complexity Factor Identification: pinpoints what makes a task challenging.
  • Success Indicator Detection: Highlights what's working well.
  • Error Pattern Recognition: Identifies potential failure modes.
  • Improvement Suggestion Generation: Proposes gaps to address in subsequent iterations.
  • Use Case: After generating code, use this Skill to analyze the output and extract context for refining the next iteration.

Quick Start

Analyze the output from the last code generation with the command: /extract-context last-output.md

Frequently Asked Questions about extract-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract patterns and constraints from LLM outputs for iterative code improvement?

To extract patterns from LLM outputs for iterative improvement, apply a 7-phase context extraction framework that identifies techniques, constraints, and success indicators. This structured analysis uses heuristic fallbacks to parse generated code and design outputs robustly.

What is structured context extraction from AI-generated code?

Structured context extraction from AI-generated code is the process of analyzing LLM outputs to pinpoint complexity factors, error patterns, and success indicators. It facilitates iterative improvement by proposing specific gaps to address in subsequent generation iterations.

How do I analyze AI code review outputs to identify failure modes and anti-patterns?

You analyze AI code review outputs to identify failure modes and anti-patterns by applying a 7-phase extraction framework. This process recognizes error patterns and determines hard constraints, generating targeted improvement suggestions for the next iteration.

Can I use the meta_prompting_engine dependency to parse structured data from LLM text?

Yes, the meta_prompting_engine dependency supports parsing structured data from LLM text outputs. The extraction framework relies on this engine to apply its 7-phase analysis, utilizing structured data parsing alongside heuristic fallbacks for robust context recovery.

Does context extraction work with unstructured LLM outputs when structured data parsing fails?

Context extraction works with unstructured LLM outputs by applying heuristic fallbacks when strict structured data parsing fails. This ensures robust pattern recognition and constraint analysis even when the AI-generated text lacks predictable formatting.