va-session
GitHub用于在 Codex 环境中解析当前会话 ID,供 VibeAround 工具链进行生命周期管理。通过 MCP 元数据或环境变量获取上下文信息,确保跨技能调用的会话连续性。
Trigger Scenarios
Install
npx skills add jazzenchen/VibeAround --skill va-session -g -y
SKILL.md
Frontmatter
{
"name": "va-session",
"description": "Codex only: resolve the current Codex session ID for VibeAround tools. Called by va-preview and vibearound handover when running in Codex."
}
VibeAround Session ID
Resolve the current Codex session ID. Other VibeAround Codex skills reference this skill when they need session context for lifecycle management.
How to Resolve
Read these values if available:
- Current working directory
$VIBEAROUND_LAUNCH_ID$VIBEAROUND_PROFILE_ID$VIBEAROUND_CHANNEL_KIND$VIBEAROUND_CHAT_ID
Method 1: Via Codex MCP metadata (preferred)
Call the get_session_id MCP tool with agent_kind set to codex. Include
only optional arguments whose values are present:
Do not inspect MCP resources or resource templates for this step. VibeAround
exposes get_session_id as a tool; Codex's /mcp command can be used only for
human diagnostics.
Tool: get_session_id
Server: vibearound
Arguments:
agent_kind: "codex"
cwd: "<current working directory>"
launch_id: "<value of $VIBEAROUND_LAUNCH_ID if present>"
profile_id: "<value of $VIBEAROUND_PROFILE_ID if present>"
channel_kind: "<value of $VIBEAROUND_CHANNEL_KIND if present>"
chat_id: "<value of $VIBEAROUND_CHAT_ID if present>"
VibeAround reads Codex's MCP call metadata and returns the current Codex
thread/session ID and records it against the launch context when launch_id
is available.
Return Value
Return the session ID string to the calling skill. If neither method succeeds, return nothing — callers handle the missing case gracefully.
Version History
- e54feb7 Current 2026-07-05 20:13


