ghx-to-llmlisted
Install: claude install-skill Bauhaus-InfAU/infau-skill-base
# GHX to LLM Converter
Convert Grasshopper `.ghx` files into two complementary outputs for LLM understanding and RAG retrieval.
## How to Use This Skill
1. User provides path to `.ghx` file
2. Run Python converter script → creates `{name}_Definition.md`
3. Analyze conversion output → create `{name}_Summary.md`
4. Both files saved to same folder as input
## When to Use This Skill
- User invokes `/ghx-to-llm [path]`
- User asks to convert/document a Grasshopper file
- Creating RAG context for GH definitions
- Preparing GH workflows for LLM analysis
## CLI Scripts
| Script | Purpose | Usage |
|--------|---------|-------|
| `scripts/ghx_to_llm.py` | Convert .ghx to LLM-readable markdown | `python scripts/ghx_to_llm.py input.ghx [-o output.md]` |
**Script options:**
- `input` - Path to .ghx file (required)
- `-o, --output` - Custom output path (default: `{input}_Definition.md`)
- `--stdout` - Print to console instead of file
## Output Files
| Input | Output 1 (Phase 1) | Output 2 (Phase 2) |
|-------|--------------------|--------------------|
| `Task_01.ghx` | `Task_01_Definition.md` | `Task_01_Summary.md` |
## Example Workflow
```bash
# Phase 1: Convert (from skill folder)
python .claude/skills/ghx-to-llm/scripts/ghx_to_llm.py "path/to/Definition.ghx"
# Output: path/to/Definition_Definition.md
# Phase 2: Summarize (LLM reads conversion, writes summary)
# Read the _Definition.md file
# Create: path/to/Definition_Summary.md
```
## Critical Requirements
- **Input form