lulu-sk/codexflow/claude

Claude Code and agent skill by lulu-sk/codexflow

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install lulu-sk/codexflow/claude

SKILL.md

// SPDX-License-Identifier: Apache-2.0 // Copyright (c) 2025 Lulu (GitHub: lulu-sk, https://github.com/lulu-sk)

import type { AppSettings } from "@/types/host"; import { bashSingleQuote, buildCmdCall, buildPowerShellCall, isCmdTerminal, isWindowsLikeTerminal, splitCommandLineToArgv } from "@/lib/shell";

type TerminalMode = NonNullable<AppSettings["terminal"]>;

/**

  • 解析 Claude Code 的启动命令(为空则回退为 claude)。

*/ export function resolveClaudeStartupCmd(cmd: string | null | undefined): string { const v = String(cmd || "").trim(); return v.length > 0 ? v : "claude"; }

/**

  • 构造 Claude 的“继续对话”启动命令:
  • - 优先 --resume <sessionId>(若可用),失败时回退 --continue
  • - 适配 WSL(bash)、PowerShell 与 CMD 执行环境

*/ export function buildClaudeResumeStartupCmd(args: { cmd: string | null | undefined; terminalMode: TerminalMode; sessionId: string | null | undefined; }): string { const baseCmdRaw = resolveClaudeStartupCmd(args.cmd); const sessionId = String(args.sessionId || "").trim(); const hasSessionId = sessionId.length > 0;

if (isCmdTerminal(args.terminalMode)) { const baseArgv = splitCommandLineToArgv(baseCmdRaw); const base = baseArgv.length > 0 ? baseArgv : ["claude"]; const cont = buildCmdCall([...base, "--continue"]); if (!hasSessionId) return cont; const resume = buildCmdCall([...base, "--resume", sessionId]); return ${resume} || ${cont}; }

if (isWindowsLikeTerminal(args.terminalMode)) { const baseArgv = splitCommandLineToArgv(baseCmdRaw); const base = baseArgv.length > 0 ? baseArgv : ["claude"]; const cont = buildPowerShellCall([...base, "--continue"]); if (!hasSessionId) return cont; const resume = buildPowerShellCall([...base, "--resume", sessionId]); return ${resume}; if ($LASTEXITCODE -ne 0) { ${cont} }; }

const cont = ${baseCmdRaw} --continue; if (!hasSessionId) return cont; const resume = ${baseCmdRaw} --resume ${bashSingleQuote(sessionId)}; return ${resume} || ${cont}; }

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
45
Repository forks
1
7-day trend score
19

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/lulu-sk/codexflow/claude/badge)](https://verified-skill.com/skills/lulu-sk/codexflow/claude)

Something wrong with this skill or its page? Tell us.