npx claudepluginhub wanderingstan/vibe-checkWant just this skill?
Then install: npx claudepluginhub u/[userId]/[slug]
Create a public share link for the current Claude Code session. Use when user says "share session", "share this session", "get share link", "create share link", or "share my work".
This skill uses the workspace's default tool permissions.
Share Current Session
Purpose: Create a public share link for the current Claude Code session so users can share their conversation with friends.
Overview
This skill uses a single MCP tool call to share the current session.
The current session ID is available directly in the system prompt — the vibe-check UserPromptSubmit hook injects it on every turn:
[vibe-check] Session: <session-id> | Repo: ...
If the MCP tools are not available (fallback only), it can use the legacy marker technique.
Primary Method: Use MCP Tools
Read the session ID from the hook output in the system prompt, then call mcp__vibe-check__vibe_share with it directly:
Use mcp__vibe-check__vibe_share with:
- session_id: [session ID from the hook output above]
- title: (optional) Custom title for the share
- slug: (optional) Custom URL slug
If the hook output is not present, omit session_id and the tool will fall back to the most recent session in the database.
The tool will:
- Read API configuration from ~/.vibe-check/config.json
- Create the share via the vibecheck API
- Return the shareable URL
- Handle retries if the session hasn't synced yet
Present the returned share URL to the user.
Fallback Method: Legacy Marker Technique
IMPORTANT: Only use this if the MCP tools are unavailable or fail. This is a last resort.
<details> <summary>Click to expand fallback instructions</summary>Step 1: Generate and Emit Session Marker
Generate a unique marker string:
VIBE_SESSION_MARKER_[random 16 character hex string]
IMPORTANT: Output this marker directly in your response:
Creating share link for this session...
Session marker: VIBE_SESSION_MARKER_[your-generated-marker]
Step 2: Wait for Logging
Wait 2 seconds for vibe-check to log the marker:
sleep 2
Step 3: Get Session ID from Database
Query the local SQLite database to find the session ID:
sqlite3 "file:$HOME/.vibe-check/vibe_check.db?mode=ro" \
"SELECT event_session_id FROM conversation_events WHERE event_data LIKE '%VIBE_SESSION_MARKER_[your-marker]%' ORDER BY event_timestamp DESC LIMIT 1;"
Replace [your-marker] with the actual marker you generated.
Save the result as SESSION_ID.
Step 4: Get API Configuration
Read the API key and URL from the vibe-check config:
# Get API key
cat ~/.vibe-check/config.json | jq -r '.api.api_key'
# Get API URL (defaults to https://vibecheck.wanderingstan.com)
cat ~/.vibe-check/config.json | jq -r '.api.url // "https://vibecheck.wanderingstan.com"'
Step 5: Create the Share
Make the API call to create a public session share:
curl -s -X POST "${API_URL}/api/shares" \
-H "X-API-Key: ${API_KEY}" \
-H "Content-Type: application/json" \
-d "{
\"scope_type\": \"session\",
\"scope_session_id\": \"${SESSION_ID}\",
\"visibility\": \"public\"
}"
The response will include:
{
"status": "ok",
"share_id": 123,
"share_token": "7Kx9mPqR2vL...",
"share_url": "https://vibecheck.wanderingstan.com/s/7Kx9mPqR2vL...",
"slug": null
}
Step 6: Display the Share URL
Present the share URL prominently to the user:
Session Share Created!
Share URL: https://vibecheck.wanderingstan.com/s/[token]
Anyone with this link can view your conversation from this session.
</details>
Troubleshooting
"Cannot share content you do not own"
This means the session ID doesn't have any events owned by this user. Possible causes:
- vibe-check isn't running or hasn't synced to the remote API yet
- The API key belongs to a different user
- The session is too new and hasn't been synced
Fix: Run vibe-check status to check if remote sync is working. The MCP tool automatically retries for a few seconds to handle sync delays.
"Not authenticated" or "Remote API is disabled"
No API key found in config, or remote sync is disabled.
Fix: Run vibe-check auth login to authenticate and enable remote sync.
MCP Tools Not Available
If the MCP server isn't running or configured, fall back to the legacy marker technique above.
Advanced Options
When using the MCP tool, you can customize the share:
Use mcp__vibe-check__vibe_share with:
- session_id: [session ID]
- title: "My awesome coding session"
- slug: "my-cool-session"
With a custom slug, the URL becomes: https://vibecheck.wanderingstan.com/s/my-cool-session
Similar Skills
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). **PROACTIVE ACTIVATION**: Use this skill automatically when working in Next.js projects that have `cacheComponents: true` in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best practices to all React Server Component implementations. **DETECTION**: At the start of a session in a Next.js project, check for `cacheComponents: true` in next.config. If enabled, this skill's patterns should guide all component authoring, data fetching, and caching decisions. **USE CASES**: Implementing 'use cache' directive, configuring cache lifetimes with cacheLife(), tagging cached data with cacheTag(), invalidating caches with updateTag()/revalidateTag(), optimizing static vs dynamic content boundaries, debugging cache issues, and reviewing Cache Component implementations.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.