본문으로 건너뛰기
cccskills
무료GitHub에 공개

perception-decoding

Use for reusable perception decoding recipes in software and coding-agent work.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Perception & state decoding — recipes (generic tier)

On-demand recipes (2). Trigger→action heuristics; pull the relevant one when its situation arises.

1. Separate OCR coordinate-calibration bugs from glyph bugs; render the frame and read off positions

generic · negative result · ⚠ session-derived, unverified

When EVERY text field on a view is misread by the same offset, suspect a GLOBAL screen-coordinate calibration error, not per-field glyph bugs: the dominant OCR failure was text y-positions systematically ~10px off (role name at y=28 not y=18, room name at y=56 not y=46). Layout/offset bugs are a different root cause from glyph-level bugs (wrong glyphs in the font table, false ambiguous-pair entries, a wrong binarization threshold), and treating one as the other wastes effort. Before touching parser constants, render the frame to an image and read off the actual (y, x, color) of each text block. Watch scan-window edges: scanning chat from chatY+2 instead of chatY+1 dropped the oldest message by one pixel of the glyph top row, so verify the window covers the FULL glyph height (ascenders live in the top row). <sub>sources: opencode:ses_20b179f2fffeJe4vpbx2D4tWuR, opencode:ses_21f8ce4f6ffe6Uh3krQPdNOwZe</sub>

2. Tiny bitmap-font OCR: read coords/metrics from the renderer, use two-sided scoring, and handle ambiguous pairs, trailing space, odd-x centering

generic · ⚠ session-derived, unverified

Read the server's RENDER routine for ground-truth glyph metrics and start positions (an authoritative cheaper source than reverse-engineering from captures), and understand a fuzzy-matcher's error metric before blaming it: an OCR maxErrors=2 looked loose ('2 of 4 chars') but meant 2 mismatched PIXELS across the whole ~60-pixel string, and on a near-black screen every opaque 'IMPS' pixel mismatches, making accidental matches far harder than they appear. Tiny bitmap-font OCR has recurring failure modes: (1) S/5 and O/0 are ambiguous -- return raw text plus as_text()/as_numeric() helpers and let the caller disambiguate by context. (2) Naive 'fraction of glyph on-pixels present' scoring lets a subset glyph (A's pixels all lie within 8's) falsely score 1.0 -- use two-sided/false-positive-aware scoring that ALSO penalizes target-colored pixels the glyph says should be OFF (missing foreground + unexpected extras, tie-break on opaque-pixel count), the model the up-to-date sibling bot used. (3) A '4 empty columns = space' rule misreads the void past text end as endless spaces up to max_chars -- stop once no glyph content follows a detected space, since the renderer emits no trailing spaces. (4) Centered text can start on an odd x that a step-2 scanner skips entirely ('Hades' at x=54, 'Hello' returns None) -- scan centered text in steps of 1, and verify each field because working view-detection does NOT imply working field extraction. A trailing marker can carry semantic state -- a role name's trailing '*' denotes leader, so strip it from the name AND set an is_leader flag. <sub>sources: opencode:ses_1ffe75d89ffeHvW4p2ARluHh51, opencode:ses_200ab2780ffe2Zt927TZY4Y8Yf, opencode:ses_204eb0641ffeIAD293yQHlSd61, opencode:ses_20c066070ffeBjXMnfQULai0Lw</sub>

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use for ab methodology recipes in scripted Coworld policy optimization.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Metta-AI/coworld172026년 10월 14일 업데이트

Use for ab methodology recipes when optimizing a Coworld player.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Metta-AI/coworld172026년 10월 14일 업데이트

Use for Crewrift-specific ab methodology recipes when optimizing a player.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Metta-AI/coworld172026년 10월 14일 업데이트

Use for reusable ab methodology recipes in software and coding-agent work.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Metta-AI/coworld172026년 10월 14일 업데이트

Use for reusable agent workflow collab recipes in software and coding-agent work.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Metta-AI/coworld172026년 10월 14일 업데이트

Use for agent workflow collab recipes when optimizing a Coworld player.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Metta-AI/coworld172026년 10월 14일 업데이트

Metta-AI의 스킬 모두 보기

이 스킬의 문제 신고