tecxbro/lemonslice-skills/lemonslice-hosted-daily
Claude Code and agent skill by tecxbro/lemonslice-skills
- community
Checking that the SKILL.md file is still in the repository.
Implement a React/Next.js Daily frontend for LemonSlice Hosted Pipeline credentials. Covers two-gate readiness, event parsing, placeholder images, image-change sequencing, retries with fresh credentials, and cleanup.
Install
npx vskill@latest install tecxbro/lemonslice-skills/lemonslice-hosted-dailySKILL.md
The same SKILL.md was published earlier as tecxbro/lemonslice-skills/lemonslice-hosted-daily.
LemonSlice Hosted Daily frontend
Follow `../references/implementation-contract.md`.
The official Hosted creation response includes room_url, token, image_url, and session_id.
A product backend may intentionally omit image_url from its browser response when the frontend does not use the placeholder, but it should first validate the complete upstream LemonSlice response. Never call LemonSlice REST or expose X-API-Key from browser code.
State machine
Use explicit states such as idle, creating_room, joining_daily, pipeline_ready, waiting_for_frame, active, ending, ended, and retryable_failed.
Placeholder image
Use image_url as an initialization placeholder when appropriate. Do not treat placeholder display as visual avatar readiness.
Transition to active call UI only after the actual remote avatar video track renders a frame.
Readiness contract
- Pipeline readiness: incoming Daily
app-messagewhereev.data.type === "bot_ready". - Visual readiness: first rendered avatar frame using
useAvatarReadyfrom@lemonsliceai/avatar/react.
bot_ready enables lifecycle/control eligibility but does not prove a rendered frame. Keep ringing UI until useAvatarReady fires.
Identify the agent safely using participant metadata/identity established by the backend or documented user_name; do not assume every remote participant is LemonSlice.
Event directions
Incoming LemonSlice events use ev.data.type. Outgoing controls use event:
Do not confuse incoming type with outgoing event. Ignore unknown nonfatal incoming messages while recording their envelope and type in structured diagnostics.
Image-change sequence
When runtime appearance changes are enabled, model the complete asynchronous sequence rather than a single optimistic update:
- send the documented
/imagine ...message throughchat-msg; - mark the UI as update-requested;
- handle generation/start/progress/completion/failure messages defensively;
- keep the current avatar visible until a replacement track/frame is actually ready;
- update local state only after completion and first rendered replacement frame;
- surface failure without ending an otherwise healthy call.
Do not send another image-change request while one is active unless the documented protocol explicitly supports replacement or cancellation.
If the new image update fails, preserve the active call and existing avatar whenever the current media remains healthy. Do not promise sub-second completion.
Failure and cleanup
Handle startup timeout, fatal daily_error, Daily top-level error, identified-agent participant-left, left-meeting, idle_timeout, video_generation_error, late events after local hangup, component unmount, and user hangup.
Retry must call the backend for fresh room credentials. Never reuse a stale Daily token after terminal failure. Clear timers, tokens, room URLs, placeholder URLs, tracks, event listeners, and call objects.
See:
- `references/event-matrix.md`
- `references/state-machine.md`
- https://lemonslice.com/docs/reference/production-checklist.md
Security
- Security scanPassed, 98 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinglemonslice-hosted-daily/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tecxbro/lemonslice-skills/lemonslice-hosted-daily)