소스 정보
- 저장소
- GeorgeDoors888/GB-Power-Market-JJ
- 최근 소스 활동
- 2026년 4월 16일 00:11
- 감지된 SKILL.md 언어
- 영어
- 스타
- 3
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/GeorgeDoors888/GB-Power-Market-JJ --skill gui-observe명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | gui-observe |
| description | Observe current screen state before any GUI action. |
| Method | Returns | Coordinates? |
|---|---|---|
OCR (detect_text) | Text + bounding box | ✅ YES |
GPA-GUI-Detector (detect_icons) | UI components + bounding box | ✅ YES (no labels) |
| image tool | Semantic understanding | ⛔ NEVER |
detect_text) → read all text + get coordinatesdetect_icons) → detect all UI components + coordinatesUse template matching instead of full detection:
_detect_visible_components() → which saved components are on screenidentify_state_by_components() → which known state matchesclick_component (no GPA-GUI-Detector needed)detect_all() returns image pixel coordinates (raw detection output).
Callers create an ImageContext to convert to screen click coordinates.
Cropping uses image pixel coords directly — no conversion needed.
ui_detector.py)from scripts.ui_detector import ImageContext
ctx = ImageContext.mac_fullscreen() # Mac screencapture fullscreen
ctx = ImageContext.mac_window(wx, wy) # Mac window screenshot (win pos in click-space)
ctx = ImageContext.remote() # VM / remote / downloaded image (1:1)
# Image pixels → screen click coords
click_x, click_y = ctx.image_to_click(el["cx"], el["cy"])
# Screen click coords → image pixels (for cropping)
px_x, px_y = ctx.click_to_image(click_x, click_y)
ImageContext knows two things:
backingScaleFactor: Retina=2.0, else 1.0)| Source | Coordinates |
|---|---|
| detect_all output | image pixels |
| detect_icons / detect_text | image pixels |
| cv2 image crop | image pixels |
| gui_action.py click | click-space (use ctx.image_to_click()) |
| template_match raw | image pixels |
States are identified by which components are visible (F1 score matching):
from app_memory import identify_state_by_components, _detect_visible_components
visible = _detect_visible_components(app_name)
state, f1 = identify_state_by_components(app_name, visible)