gui

Detect BikeRack GUI context and output a gui boolean with session environment variables.

1|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/slabgorb/python-sidequest --skill gui
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gui
Source: https://github.com/slabgorb/python-sidequest/tree/main/.pennyfarthing/skills/pf-gui
Command: npx skills add https://github.com/slabgorb/python-sidequest --skill gui

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Enable scripts and workflows to adapt when running inside BikeRack GUI and to access session context and GUI-specific features.

Core Features & Use Cases

  • Detect whether the current process is running inside BikeRack GUI and expose a gui flag for downstream tooling.
  • Provide session context and essential environment variables (PF_GUI, PF_GUI_SESSION_ID, PF_PROJECT_DIR, PF_GUI_THEME_PATH, PF_GUI_DEV_WEB) to enabled tooling.
  • Enable GUI-aware automation and CLI workflows that adapt behavior based on GUI presence.

Quick Start

Run the gui check command to verify GUI mode and fetch the current session details.

Frequently Asked Questions about gui

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

FAQPage Schema
How do I detect if a script is running inside a BikeRack GUI session?

To detect a BikeRack GUI session, run the gui check command. It reads the PF_GUI environment variable and outputs a boolean flag in a JSON payload, allowing your script to adapt its behavior based on GUI presence.

What environment variables are available for BikeRack GUI session context?

BikeRack GUI session context exposes PF_GUI, PF_GUI_SESSION_ID, PF_PROJECT_DIR, PF_GUI_THEME_PATH, and PF_GUI_DEV_WEB environment variables. The gui check reads these and returns a consistent JSON payload for downstream tooling.

How do I build GUI-aware CLI workflows that adapt to BikeRack?

Build GUI-aware CLI workflows by capturing the JSON payload from the gui check. This payload provides a gui boolean flag and session context, enabling your automation scripts to conditionally execute GUI-specific features or CLI-only logic.

Do I need any dependencies to use the gui detection script?

No dependencies are required to use the gui detection script. It operates independently by reading specific PF_GUI environment variables and returning the session context directly as a JSON payload.

Why are my environment variables missing when running BikeRack GUI automation?

If environment variables are missing during BikeRack GUI automation, the process might be running outside the GUI context. The gui detection script reads PF_GUI variables and returns a false boolean flag if the session context is not present.