---
name: GOF
description: Use when the user asks about using the GOF EDA tool to do AI based netlist processing. 
---

## Prerequirement
Linux environment GOFDIR should be defined before the following steps are run. If GOFDIR is not defined, set it to the directory name this SKILL.md is in.
  
## Step 1: Launch GOFAI Server
- use "ps aux | grep GOFAI_SERVER" to Check if gofai_server.py is already run. 
- If the server is not up yet, launch the gofai_server.py in a non-block xterm in background 
nohup xterm -title "GOFAI_SERVER" -e '$GOFDIR/scripts/gofai_server.py --platform <platform-name> --model <model-in-use>' &
Replace <platform-name> with the CLI name, claude, codex or opencode, and <model-in-use> the exact model ID is in use
  
For example
nohup xterm -title "GOFAI_SERVER" -e '$GOFDIR/scripts/gofai_server.py --platform claude --model claude-sonnet-6-4' &  

## Step 2: Launch GOFAI Client

- use "ps aux | grep GOFAI_CLIENT_<current-direcotry>" to check if gofai_client is running
If not, run gofai_client.py script in a new non-blocking xterm
When the user asks about using the GOF EDA tool to do AI based netlist processing.  
nohup xterm -title "GOFAI_CLIENT_<current-direcotry>" -hold -e $GOFDIR/scripts/gofai_client.py "The user inputed netlist processing request the eco spec file of sm_eco.md" --yes &
  
For Example

In working directory gof_eco  
query: Use GOF to do netlist eco spec eco_spec1.md
nohup xterm -title "GOFAI_CLIENT_gof_eco" -hold -e $GOFDIR/scripts/gofai_client.py "Do netlist eco spec eco_spec1.md" --yes &

AFTER SUBMIT THE SCRIPT, YOU MUST WALK AWAY AND WAIT FOR USER INPUT. DO NOT MONITOR THE SCRIPT STATUS. 

  
