一键导入
vc-update
Pull latest agent harness improvements from the remote kit repository. Shows a dry-run diff summary, waits for confirmation, then applies updates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Pull latest agent harness improvements from the remote kit repository. Shows a dry-run diff summary, waits for confirmation, then applies updates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no p
AI-optimized browser automation CLI with context-efficient snapshots. Use for long autonomous sessions, self-verifying workflows, video recording, and cloud browser testing (Browserbase).
Audit Flowser context routing, shared-skill discoverability, and Claude/Codex wiring. Use when context docs or skill surfaces move, split, or drift.
Audit active Flowser plan files for staleness, completion, and routing truth. Use when cleaning up plans, reconciling active work, or archiving completed artifacts.
Audit agent harness health: Claude/Codex agent parity, skill registry consistency, README.md sync, and protocol file wiring. Use when agents, skills, README.md, or development-protocol files move, split, or drift.
Autonomous iterative optimization loop for measurable metrics like coverage, performance, or bundle size. Use when repeated experiments can be judged by a mechanical score.
| name | vc:update |
| description | Pull latest agent harness improvements from the remote kit repository. Shows a dry-run diff summary, waits for confirmation, then applies updates. |
| metadata | {"author":"vibecode","version":"2.0.0"} |
Pull the latest agent harness improvements from the remote vibecode-pro-max-kit repository into the current project.
vc-setup and wanting the latest improvementsFollow these steps exactly. Do NOT skip the dry-run or confirmation step.
Run git status --porcelain in the project root.
git stash or committing first. Do not block -- continue after warning.Read the file .vc-version in the project root.
currentVersion (a semver string like 2.0.4).currentVersion to "0.0.0" (treat as first update).TMPDIR="/tmp/vc-update-$(date +%s)"
git clone --depth 1 https://github.com/withkynam/vibecode-pro-max-kit.git "$TMPDIR"
If the clone fails (network error, auth error, repo not found):
Run the resolver script from the cloned repo:
node "$TMPDIR/resolve-manifest.mjs" --root "$TMPDIR" --json
Parse the JSON output to extract:
files (string[]) -- resolved managed file pathsmerge (string[]) -- files where user customizations are preserved (not overwritten)copyIfMissing (string[]) -- files only installed if they don't already exist locallystrip (string[]) -- files needing content stripping (informational)symlinks (object) -- symlink path -> target mappingsExtract the remote version from the manifest:
node -e "console.log(JSON.parse(require('fs').readFileSync('$TMPDIR/vc-manifest.json','utf8')).version)"
Legacy fallback: If resolve-manifest.mjs does not exist in the remote (very old kit version), fall back to reading vc-manifest.json directly and using the old managed/managedDirs/seedsDir fields for file resolution.
Compare the remote manifest version against currentVersion.
$TMPDIR. Stop.0.0.0): continue to diff.Read .vc-installed-files from the project root (if it exists). This file contains one file path per line -- the list of files installed by the last update.
If .vc-installed-files does NOT exist (first update with new system):
files list.deletions from the v2.0.4 era -- the resolver embeds these as legacyDeletions in legacy mode. For any path in the legacy deletions list that still exists locally, mark it for deletion..vc-installed-files for future updates.Compute the diff using three lists: remote files, local snapshot, and local filesystem:
files but NOT in local snapshot (new files to install).files (files removed from kit -- should be deleted locally).diff between $TMPDIR/{path} and {projectRoot}/{path}.
merge list that have local changes. Show the diff but note they will NOT be overwritten. The user must manually reconcile.copyIfMissing list that already exist locally. Show the diff but note they will NOT be overwritten.For each entry in the symlinks object (key = symlink path, value = target):
Print a summary with all collected results. Format:
vc-update dry run: v{currentVersion} -> v{remoteVersion}
FILES:
[modified] .claude/agents/vc-execute-agent.md (+12 -3)
[new] .claude/hooks/lib/new-util.cjs
[removed] .claude/skills/deprecated-skill/SKILL.md
[unchanged] .claude/agents/vc-debugger.md
...
MERGE (preserved, manual review needed):
[differs] .claude/settings.json (+2 -1)
COPY-IF-MISSING (skipped, already present):
[skipped] process/context/planning/example-simple-prd.md
SYMLINKS:
[ok] .agents/skills -> ../.claude/skills
[will fix] .codex/hooks -> ../.claude/hooks
Summary: 5 modified, 2 new, 1 removal, 1 merge skipped, 45 unchanged
STOP HERE. Tell the user:
"This is a dry-run summary. Type apply to proceed with the update, or abort to cancel. The temp clone will be cleaned up either way."
Do NOT proceed until the user explicitly says "apply" (or a clear affirmative like "yes", "go", "do it").
If the user aborts:
$TMPDIR.On user confirmation, apply in this order:
Additions and modifications: For each file in the remote files list:
merge list AND exists locally (preserve user version).copyIfMissing list AND exists locally (preserve user version).mkdir -p the parent directory, copy from $TMPDIR/{path} to {projectRoot}/{path}.Removals: For each file in the local snapshot but NOT in the remote files list:
Symlinks: For each entry in symlinks:
rm -rf it first.rm it first.ln -s {target} {path}Write snapshot: Write the remote files list (sorted, one per line) to .vc-installed-files.
Write version: Write the manifest version string to .vc-version.
Clean up: Remove $TMPDIR.
If any copy/delete fails with a permission error:
chmod on the affected path or checking file ownership.vc-update complete: v{currentVersion} -> v{remoteVersion}
Applied:
5 files modified
2 files added
1 file removed
1 symlink fixed
1 merge file preserved (review .claude/settings.json manually)
Snapshot written to .vc-installed-files
Version written to .vc-version: {remoteVersion}
process/_seeds/ is managed reference -- overwritten entirely on update (included in the resolved file list)._seeds/ (process/context/, process/features/, process/general-plans/) are NEVER touched by vc-update..vc-version is missing, treat as version 0.0.0 (first update, apply everything).merge list are never overwritten if they exist locally. Show the diff for manual review.copyIfMissing list are only installed if they don't already exist locally..vc-installed-files snapshot against the new resolved file list.For detailed algorithm, error handling matrix, and edge cases, see references/vc-update.md.