본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)6.0k · #14454

refine-live

하는 일

이 스킬은 지속적인 에이전트가 설정되어 있지 않을 때, AI가 transitions.dev Timeline Inspector의 Refine 버튼 뒤에서 답하는 모델 역할을 하도록 합니다. 웹 프로젝트에서 모션을 조정하는 사람을 위한 것입니다.

사용하는 경우

  • ✓refine live 명령을 실행해 AI가 Refine 클릭에 응답하게 하고 싶을 때.
  • ✓릴레이는 실행 중이지만 지속 에이전트 명령이 연결되지 않았을 때.
  • ✓작업을 마치고 라이브 Refine 루프를 멈추고 싶을 때.

스킬 링크

https://github.com/Jakubantalik/transitions.dev/blob/main/refine/.agents/skills/refine-live/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Jakubantalik/transitions.dev/blob/main/refine/.agents/skills/refine-live/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Refine을 라이브로 실행해서, 이 채팅에서 제 전환 제안에 답해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 로컬 릴레이에서 Refine 작업을 계속 확인하고, 각 전환에 대한 제안을 작성해 패널에 다시 보냅니다. 대기 중 확인마다 채팅 턴을 쓰므로, 끝나면 루프를 멈춰야 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Refine Live

Two modes

Persistent (recommended — run and forget)
Run npx transitions-refine live from your project. The CLI starts the relay and wires REFINE_AGENT_CMD so the relay spawns your agent CLI per Refine click. No chat loop; idle = zero credit burn. Works hours later as long as the relay process keeps running. Stop with Ctrl-C (or npx transitions-refine stop).

In-chat loop (fallback — this skill)
Run /refine live in Cursor/Claude/Codex when the relay is up but has no REFINE_AGENT_CMD. You become the poller via GET /jobs/next. The Agent tab stays available only while you keep polling — each idle poll cycle consumes chat turns/credits. Say "stop refine" to exit.

Use the in-chat loop only when you cannot wire a persistent agent CLI.


Turn yourself into the LLM behind the Timeline Inspector's Refine button (in-chat fallback mode). While this loop runs, the panel's LLM tab is "available": each click sends one transition here, you reason about it, and your suggestions appear in the panel.

You are the poller. Nothing is installed — you just talk to a small local relay (default http://localhost:7331) that the npx injector already started.

How it works

Browser (Refine, LLM tab) ──POST /jobs──► relay ──GET /jobs/next──► YOU
                          ◄──GET /jobs/:id── relay ◄──POST /jobs/:id/result── YOU

The loop — stay live, but don't burn credits forever

Keep polling so the panel's LLM tab stays "available", but this loop costs chat turns/credits even while idle, so it is not truly run-and-forget — it has three exits, in priority order:

  1. Relay stop signal (authoritative). GET /jobs/next may return 200 with {"stop": true}. The relay sends this when the user clicks Stop in the panel, or automatically after ~10 min with no jobs. Always honor it: stop looping immediately, tell the user the LLM tab will go unavailable and how to resume (/refine live), and end your turn. Never re-poll after a stop signal.
  2. The user says so — "stop refine", "exit live", etc.
  3. Your own idle backoff (safety net). A long stretch of 204s is normal — it just means no one has clicked Refine yet — but to avoid spending credits on a forgotten loop, back off as idle grows instead of hammering immediately: re-poll right away for the first few empty cycles, then pause ~5s between polls, and after ~10 min of unbroken idle stop on your own (same as the relay's auto-stop) and tell the user how to resume. Any real job resets the backoff.

The relay reports the agent as "available" for ~120s after your last poll, so short pauses keep you live. A successful job always resets idle, so an active session never backs off.

  1. Announce yourself once, before the first poll. The relay keeps a sticky Stop latch: after a panel Stop (or the idle auto-stop) it answers every GET /jobs/next with {"stop": true} until a new agent explicitly resumes — so a stopped session can't silently come back. Clear the latch a single time at startup, then begin polling:

    curl -s -X POST http://localhost:7331/poller/start
    

    Do not call this again mid-loop (it would defeat a user's Stop). Only on a fresh /refine live.

  2. Claim the next job (long-poll). This call blocks up to ~25s, then returns.

    curl -s http://localhost:7331/jobs/next
    
    • HTTP 204 / empty body → no work yet. Poll again, applying the idle backoff above (immediate at first, then ~5s pauses, then stop after ~10 min).

    • HTTP 200 with {"stop": true} → the loop must end. Stop polling, tell the user the LLM tab is now unavailable and that /refine live resumes it, and end your turn. Do not treat it as a job.

    • HTTP 200 with a job JSON → work to do. Shape:

      {
        "id": "uuid",
        "request": {
          "label": "Resize + Color",
          "selector": ".box-resize",
          "mode": "llm",
          "refineType": "small",
          "timings": [
            { "property": "width", "durationMs": 400, "delayMs": 0, "easing": "ease-out" },
            { "property": "background", "durationMs": 400, "delayMs": 0, "easing": "ease-out" }
          ]
        }
      }
      
    • If request.kind === "scan" this is not a suggestion job — the panel is asking you to group the page's transitions by reading the source. Jump to [`##

자주 묻는 질문

이것이 권장 설정인가요?

아니요. 권장 방법은 채팅 루프 없이 실행되는 지속 에이전트 명령입니다.

왜 크레딧을 쓰나요?

대기 중 확인이 채팅에서 일어나고, 대기 확인에도 채팅 턴과 크레딧이 쓰이기 때문입니다.

어떻게 멈추나요?

채팅에 stop refine이라고 입력하면 루프를 빠져나옵니다.

상세 정보

작성자의 원본 설명

In-chat fallback for the Timeline Inspector Refine agent. Use when the user runs `/refine live`, asks to "refine live", "go live", or answer refine jobs — but ONLY when no persistent agent is wired (no `npx transitions-refine live`). Prefer `npx transitions-refine live` for run-and-forget (relay spawns agent per click, no idle credit burn). This skill long-polls the relay, posts suggestions, handles scan/apply jobs.

repo: Jakubantalik/transitions.dev

인기도

GitHub 스타
6.0k
순위
#14454
라이선스
—
업데이트
2026. 10. 29.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬