call-lifecycle

call-lifecycle is a skill for Claude Code from Josh-E-S/awesome-pexip-skills. It costs 150 tokens per session (2,400 once invoked), scanned A, original, MIT.

A guide to the stages and user steps involved in joining and leaving a Pexip meeting. It covers the call connection itself separately from screens such as entering a PIN, choosing an identity provider, or confirming host status.

In plain words
What is it for?
Use it to build loading and join screens, connect or leave calls, handle PIN and host flows, restart a connection after a network problem, and respond to transfers.
Why use it?
It prevents a meeting app from treating joining as one function call when the server may require several steps. It also provides a place to handle reconnects, transfers, breakouts, and the end of a meeting.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pexip plugin — 17 skills shipped together

Good fit Use it to build loading and join screens, connect or leave calls, handle PIN and host flows, restart a connection after a network problem, and respond to transfers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/josh-e-s/awesome-pexip-skills/call-lifecycle
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Josh-E-S/awesome-pexip-skills --skill call-lifecycle
Clone the repo
git clone --depth 1 https://github.com/Josh-E-S/awesome-pexip-skills

Made for: Claude Code.

Or install pexip, the plugin that ships this one along with the rest of its 17 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for call-lifecycle

README.md
[![agentmods](https://agentmods.dev/badge/skills/josh-e-s/awesome-pexip-skills/call-lifecycle/github.svg)](https://agentmods.dev/skills/josh-e-s/awesome-pexip-skills/call-lifecycle)
Your own site
<a href="https://agentmods.dev/skills/josh-e-s/awesome-pexip-skills/call-lifecycle"><img src="https://agentmods.dev/badge/skills/josh-e-s/awesome-pexip-skills/call-lifecycle/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for call-lifecycle

Your own site · 80×15
<a href="https://agentmods.dev/skills/josh-e-s/awesome-pexip-skills/call-lifecycle"><img src="https://agentmods.dev/badge/skills/josh-e-s/awesome-pexip-skills/call-lifecycle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,400 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00150 $0.02400
Opus 5 $0.00075 $0.01200
Sonnet 5 $0.00030 $0.00480
Haiku 4.5 $0.00015 $0.00240

Measured 10d ago against content hash 446b9cdfb1b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

call-lifecycle scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/call-lifecycle/SKILL.md · 271 lines

How it starts

The opening of the file, as written. The whole thing — 271 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pexip call lifecycle

Joining a Pexip meeting is not "call this function and you're in." There are 6 call stages, ~30 event handlers, a join-flow state machine with 7+ steps, and several invariants that webapp3 has fought through in production. This skill captures the shape that actually works.

The two state machines

Every Pexip call has two state machines that run in parallel:

CallStage              MeetingFlow (UI step)
─────────              ────────────────────
New                    Loading
  ↓                      ↓
EventStreamConnected   Idp / EnterPin / AreYouHost / EnterExtension
  ↓                      ↓
Connected              ReadyToJoin
  ↓                      ↓
Restarting (on ICE)    InMeeting
  ↓                      ↓
Ending                 PostMeeting
  ↓
Ended

CallStage is internal — driven by SDK events. MeetingFlow is what the user sees. They're decoupled: Loading may persist across New → EventStreamConnected while the server decides whether to ask for a PIN.

export enum CallStage {
    New = 0,
    EventStreamConnected = 1,
    Connected = 2,
    Restarting = 3,
    Ending = 4,
    Ended = 5,
}

export enum MeetingFlow {
    Loading,
    Idp,
    EnterPin,
    EnterHostPin,
    AreYouHost,
    EnterExtension,
    ReadyToJoin,
    InMeeting,
    Ended,
}

Quick start: minimal call setup

import {
    createInfinityClient,
    createInfinityClientSignals,
    createCallSignals,
} from '@pexip/infinity';

// 1. Create the signal hubs (see signals-pattern skill)
const infinityClientSignals = createInfinityClientSignals([], {
    batchScheduleTimeoutMS: 100,
    batchBufferSize: 50,
});
const callSignals = createCallSignals([]);

// 2. Create the client
const infinityClient = createInfinityClient(
    infinityClientSignals,
    callSignals,
);

// 3. Wire the events you care about (BEFORE calling .call())
infinityClientSignals.onPinRequired.add(({hasHostPin, hasGuestPin}) => {
    // Server demands a PIN — show the appropriate UI step
    setMeetingStep(
        hasHostPin && hasGuestPin ? MeetingFlow.EnterPin : MeetingFlow.AreYouHost
    );
});

infinityClientSignals.onConnected.add(() => {
    // Event stream is up. Sync initial mute state to the server NOW.
    void infinityClient.clientMute({mute: media.audioMuted ?? true});
    void infinityClient.muteVideo({muteVideo: media.videoMuted ?? true});
});

callSignals.onRemoteStream.add(stream => {
    // Wire to <video srcObject={stream} />
    setRemoteStream(stream);
    setMeetingStep(MeetingFlow.InMeeting);
});

infinityClientSignals.onPeerDisconnect.add(async () => {
    // ICE failed — call restartCall to recover without rejoining
    await infinityClient.restartCall({
        ...callConfigs,
        conferenceAlias,
        mediaStream: media.stream,
    });
});

// 4. Make the call
await infinityClient.call({
    conferenceAlias: 'meet.alice',
    callType: 'AudioSendRecvVideoSendRecvPresentationSendRecv',
    bandwidth: 1264,
    clientId: 'my-client-id',
    displayName: 'Alice',
    node: 'pexip.example.com',
    mediaStream: media.stream,
});

Read the full file on GitHub · 271 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 271 lines · 150 tokens per session scan A 446b9cdfb1b9

Subscribe to this mod's changes

call-lifecycle is a skill published in the GitHub repository Josh-E-S/awesome-pexip-skills (1 stars, last pushed 3mo ago), licensed MIT. It adds 150 tokens to every session and 2,400 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

menu-transitions-rtl

Animate react-horizontal-scrolling-menu scrolling and build right-to-left menus: noPolyfill defaults to true since v8, so transitionDuration (default 500), a custom-easing-function transitionBehavior, and per-call ScrollOptions { duration, boundary } on scrollToItem/scrollNext/scrollPrev are silently ignored unless…

asmyshlyaev177/react-horizontal-scrolling-menu · 137 tokens