Логотип Gesture Correction

Gesture Correction

Спільнота
cccat6
gesture-correction

Learn from observed pointer misses, scrolling overshoot and picker response, then refine gestures or use direct entry.

Огляд

Видавецьcccat6
Репозиторійiphone-agent-harness
Назва навичкиgesture-correction
Зірки
41
Форки
1
Файли в пакеті
1
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 1

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем cccat6. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Gesture Correction у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/cccat6/iphone-agent-harness/tree/main/apps/web/skills/gesture-correction
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cccat6/iphone-agent-harness.git /tmp/iphone-agent-harness
mkdir -p .claude/skills
cp -r /tmp/iphone-agent-harness/apps/web/skills/gesture-correction .claude/skills/gesture-correction
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Gesture Correction в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Gesture Correction, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Gesture Correction не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Gesture correction

This is guidance for the existing fixed phone tools, not executable code or an input permission. Use only the current verified target, frame identity, orientation epoch and declared capabilities. Coordinates are 0..10000 across the complete screenshot, not Safari CSS pixels. A HID receipt confirms submission and release, not that the intended UI changed.

Observe, predict, measure, correct

  1. Before acting, locate a safe interior target or scrollable component from a fresh full-display frame. Read the runtime interaction notes for this same target and orientation. State the expected visible effect, not a hidden implementation assumption.
  2. Start with one conservative measurement, then size later corrections from the observed response and remaining distance. A distant picker value should not require one tiny correction per model round. For precise list/picker adjustment prefer a short drag with a modest endpoint hold, so release happens after slowing/stopping. Reserve swipe for desired inertia; release velocity and path length affect travel. Keep the entire path away from screen edges, editor dismissal handles, Cancel/Save buttons and neighbouring wheel columns.
  3. After confirmed release use a component-appropriate settleMs. Defaults are tap 250, key 150, Home 450, drag/pointer 350, swipe 700 ms. A picker may need 1200–2000 ms or more; the supported override is 0..3000 ms. Request a small later frame group if values still move. Use actual timestamps/content; neither JPEG ready time nor a sleep proves a fresh or stable screen.
  4. Compare the actual screen with the expected effect. Identify a persistent anchor or selected value. For scrolling, estimate content displacement relative to the gesture length/time, direction and release style. After overshoot reduce distance and velocity, use a held endpoint and reassess. After a miss re-localize the actual target from the new screenshot; do not apply a guessed universal x/y offset.
  5. Preserve useful observed findings with phone_remember_interaction({component,finding,evidenceFrameIds}). Record the app/control, concrete parameter change, actual response and next improvement. Examples: “minute wheel moved 8 values with a short held drag; final correction should use a smaller drag, not another inertial swipe” or “single tap exposed a keyboard; use digits instead of wheel”. Include real frame IDs from this run. The tool replaces the component note rather than growing an unlimited transcript, and scopes it to this target/orientation. Evidence from one control is not a global calibration.
  6. Reuse the current Skill instructions and recorded findings instead of reloading them each correction. Continue while each attempt yields useful evidence or progress; use measured larger travel for large error and small held drags near the goal. There is no fixed two-correction/step budget. Change the approach after repeated mismatch. When the same action still fails with unchanged evidence, an external prerequisite is missing, or delivery remains unknown, explain the real blocker and ask for the specific help needed. Never replay an uncertain Save/Add/Delete sequence under a new ID. User Stop always stops; sharing loss pauses.

Choose the component's actual input method

  • Ordinary buttons: short tap at the visible interior, wait, verify destination. If a wrong app opened, return through a reviewed transition and re-observe before the next attempt.
  • Editable text/numbers: establish focus and inspect the caret/keyboard before typing. Use text-entry. Do not select-all/delete blindly.
  • Time/date wheel: use clock-and-time. A tap, or a reviewed double-tap probe, may expose direct digit entry. Double taps use settleMs:0 for the first tap and a normal wait for the second. Network-separated taps are not guaranteed to form a native double tap; inspect the UI before typing. If editing is unsupported, measure small held drags one column at a time, including wrap direction, then verify exact selected values before Save.
  • Slider: locate track/thumb and move inside the track with a held drag; compare displayed value. Do not substitute inertial list scrolling.
  • Scrolling list: use content anchors, progressively smaller travel near the target, and two later frames if inertia is unclear. Recompute coordinates after each visible motion.
  • Drag and drop: use drag-and-drop; distinguish pickup/long-press, movement, final hold and release. A dismissal or edge gesture is an unintended navigation: re-observe and restore the intended view before any dependent input.

When a submitted gesture is followed by a screenshot timeout, observe the current result before another gesture; retrying a screenshot does not authorize replaying input. Budget the gesture, settling, transport and review together, rather than repeatedly using a too-short plan deadline.

Do not write device offsets or sensitivity settings based on these notes. They are evidence-grounded planning guidance, not measured hardware calibration constants. Do not store unrelated private content in a shared Skill.

Motion and release reference

These are starting ranges for a first probe, not a fixed rhythm or a calibration shared by all apps. Express the whole down/move/up sequence in one plan so the ESP32 schedules its reports without a network round trip between points.

IntentInitial approachRelease and evidence
Turn a Home pageHorizontal travel of roughly half the display width over about 180–350 ms, inside the icon areaUse a moving release (swipe); verify a complete page snap and the page indicator
Reveal Home SearchPrefer its visible button; otherwise a moderate downward movement starting in Home content, below the status barInspect the resulting search field; an edge-origin gesture may reveal a different system surface
Scroll a content listKeep the path inside the content viewport; begin with moderate travel and speedMoving release for inertia; stop-and-hold release for a controlled displacement
Fine wheel or slider adjustmentUse the actual column/track bounds and a smaller held drag; start around 100–200 ms of endpoint holdRead the selected value after settling; prefer verified direct numeric entry when available

Release velocity depends on the final part of the path, not only total duration. A fast initial movement followed by a slow approach or endpoint dwell is not a fling. For inertia, continue moving through release and omit any final hold. For controlled placement, arrive, keep the button held while motion stops, then release. HID button-up is the lift; do not send another held report at the same endpoint first.

After a fast fling, a snapping page or a wheel change, distinguish a submitted release from a settled control. Choose a wait based on the observed speed and control: faster releases can need longer decay; a slow wheel may still animate for more than a second. Use a small time-separated frame group when settling is uncertain, comparing the same content anchors or selected row in the last two frames. If they still move, wait and observe again before computing the next coordinate or declaring an exact value. Store full frames; the control's visible bounds determine what to compare. Animated clocks, cursors and unrelated video are not motion of the target control.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Gesture Correction?

Learn from observed pointer misses, scrolling overshoot and picker response, then refine gestures or use direct entry.

Навіщо використовувати Gesture Correction у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Gesture Correction — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Gesture Correction у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/cccat6/iphone-agent-harness/tree/main/apps/web/skills/gesture-correction. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Gesture Correction?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Gesture Correction?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Gesture Correction — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Gesture Correction?

Так. Навичку опубліковано на GitHub: cccat6, за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇