volcengine/searchcli/vs-recommend
Claude Code and agent skill by volcengine/searchcli
- community
Checking that the SKILL.md file is still in the repository.
Recommend runtime and V2 scene management: run recommendation requests, manage recommend scenes and rules, and verify the deployed recommendation path.
Install
npx vskill@latest install volcengine/searchcli/vs-recommendSKILL.md
Viking Recommend
When to Use
Use this skill for:
- recommendation runtime checks
- V2 recommend scene inspection, creation, publishing, deletion, and deployment verification
- V2 recommend rule inspection and management
- diagnosing whether bad recommendation results come from scene config, behavior-scene binding, user context, parent/item context, data readiness, or online config propagation
- separating persistent scene defaults from request-only runtime parameters
If the user asks a general product/API/auth/pricing question rather than a recommend workflow action, temporarily hand off to vs-product-qa and return here only after the grounded product answer is complete.
Version Check
Before starting this skill workflow, run vs version check --json. Continue only when status is up-to-date. If status is update-available, stop and tell the user to update the cloned vs repository, then run git pull --ff-only, bash ./scripts/install.sh, and bash ./scripts/install-skills.sh all --target auto --force (PowerShell: scripts/install.ps1 and scripts/install-skills.ps1). If the status is unknown, stop and report that the CLI version could not be verified.
Preconditions
- an
application-idis available - runtime checks need a
scene-idand usually at least one ofuser-id,parent-id, or shopping-cart item context - scene creation needs an item dataset bound to the application and at least one behavior scene value from the bound UserEvent dataset; when the value is not explicit, resolve it with
vs dataset get --id <user-event-dataset-id> --fullfrom the UserEvent schema field whose business attribute is UserEventScene - if the scene does not exist yet, inspect the existing scene list first and only create a new scene when reuse is not possible
- the agent should treat the installed CLI behavior as authoritative when help text, skill text, and runtime behavior disagree
Scope
Before changing anything, decide whether the user wants:
- a temporary runtime verification with
vs recommend run - a persistent V2 recommend scene publish
- a new V2 recommend scene for a target page or module
- a reusable V2 recommend rule change
- a readiness, binding, or online-config diagnosis for a failing recommendation app
This skill stays at the recommendation workflow level. Do not embed low-level API field mappings, payload design, or enum interpretation here. When a concrete command needs exact parameters, first consult vs-product-qa and the matching API reference. For recommend scene update, the authoritative update contract is PublishRecommendSceneV2.
V2 API Semantics
Recommend scene and rule commands now use the V2 OpenAPI surface.
recommend scene create->CreateRecommendSceneV2recommend scene list->ListRecommendScenesV2recommend scene get->GetRecommendSceneV2recommend scene update->PublishRecommendSceneV2recommend scene delete->DeleteRecommendSceneV2recommend rule list->ListRecommendRulesV2recommend rule get->GetRecommendRuleV2recommend rule upsert->UpsertRecommendRuleV2recommend rule delete->DeleteRecommendRuleV2
V2 naming differences:
- request IDs use
ApplicationId,SceneId,RuleId,DatasetId,ItemDatasetId - behavior-scene binding is
UserEventScenes[]; use--user-event-scenes RecommendModelis a string:defaultorlong_sequenceRecommendOptimizationTargetis a string:ctror empty- create/publish/delete/upsert write APIs support
DryRun - scene lists return
Scenes[]; rule lists returnRules[] - rule type values are snake_case in V2, for example
user_interest,item_cf,force_item,boost_bury_cond,cold_start,rec_reason
Deployment Semantics
Recommend scene deployment is not just a row update.
recommend scene updatecallsPublishRecommendSceneV2. The backend validates the scene, persists the updated scene/config/rule bindings, generates online recommendation metadata, writes runtime config, and marks the scene aspublished.- Standard-model scene creation with an item dataset can synchronously deploy through the same online path. Long-sequence scene creation submits an async workflow; treat
SceneConfigPhase/Statusas part of the deployment state. - Online deployment writes generated
recommend_scene_metaunder the scene namespace in ConfigCenter; DTS then syncs it to the online runtime store used by rec-retriever. - Deployment also updates application-level behavior-scene mapping under
event_scene_mapping: it storesscene-id -> selected UserEventScenes[]. This is the selected binding, not the full list of possibleevent_scenevalues. - Deployment updates deduplication/invert configs when impression/exposure dedupe is enabled.
GetRecommendSceneExpConfigV2is a preview/experience-config helper and is not a public CLI/OpenAPI workflow.
Important difference from search scenes: SearchSceneV2 supports partial Config publish semantics. Recommend PublishRecommendSceneV2 should be treated as a full scene publish. Build update payloads from the current vs recommend scene get response and preserve unrelated config areas unless the user explicitly asks to replace them. When using the CLI, --config and advanced flags are merged over the readback at the first Config level; if changing a nested field, provide the full updated first-level object.
Commands
vs recommend run: send a production-style recommendation requestvs recommend scene create/vs recommend scene list/vs recommend scene get: manage V2 recommend scenesvs recommend scene update: publish V2 recommend scene metadata andRecommendSceneConfigV2vs recommend scene delete: delete and undeploy a recommend scenevs recommend rule list/vs recommend rule get: inspect V2 reusable recommend rulesvs recommend rule upsert/vs recommend rule delete: create, update, or delete V2 reusable recommend rulesvs dataset get --full: inspect item/UserEvent schema, enum metadata, and exact field casingvs app dataset-config get --full: inspect app-bound dataset field config when a non-workflow diagnostic explicitly needs app-level configvs app status/vs app diagnose: inspect readiness before blaming runtime results
Workflow
- Start by determining whether the user wants:
- a runtime recommendation check
- a persistent recommend scene publish
- a new recommend scene
- a reusable recommend rule change
- a readiness, behavior-scene binding, or online-config diagnosis
- Before running any concrete command, consult
vs-product-qato confirm the current command behavior and exact parameter requirements. - For runtime checks, use
vs recommend runfirst, then inspectresult.rec_results,extra_info, recall info, boost status, diversity status, and invalid parent items from the raw response. - For natural-language scene-change requests, use
references/recommend-scene-natural-language-routing.mdto identify the target V2 field, config area, deployment check, or rule-resource workflow before running resource-specific read/write commands such asvs dataset get,vs recommend rule list/get/upsert/delete, orvs recommend scene update. - For persistent changes to an existing scene, run the selected workflow's first
vs recommend scene get --application-id <application-id> --scene-id <scene-id>step before any later schema, dataset, rule, or publish command. Treat the readback as the base payload for a full publish; first-levelConfigsections may be replaced, but nested field edits require a full updated first-level section. - Before building a
recommend scene createorrecommend scene updatepayload, consult the matching V2 API reference. The routing reference identifies where to edit; it is not sufficient for final payload values. - Before creating or updating a recommend scene, resolve the target page/module and the required
UserEventScenes. For real writes, pass--confirm-entry-binding. - Resolve dataset facts before writing:
- use
vs dataset get --id <user-event-dataset-id> --fullto inspectevent_sceneandevent_typeenum values; forevent_scene, find the schema field whose business attribute is UserEventScene and readEnumerateMeta[].EnumerateValue - use
vs dataset get --id <item-dataset-id> --fullfor exact item field casing and filterable fields
- For rule-resource changes, follow the concrete command sequence in
references/recommend-scene-natural-language-routing.md; do not replace a requiredvs recommend rule getstep withvs recommend rule list, or replace a requiredvs recommend scene getstep withvs recommend scene list. - After every scene mutation, immediately read the scene back with
vs recommend scene get --application-id <application-id> --scene-id <scene-id>and verify that the intended persistent fields are visible. - When deployment matters, run a runtime check with
vs recommend runafter readback. If results do not reflect the update, inspect readiness/status and propagation before changing config again. - If command behavior conflicts with the skill text or
--help, trust the installed CLI behavior first, and only then inspect repository code when needed to explain or fix the gap.
References
references/recommend-scene-natural-language-routing.md: workflow-oriented mapping from natural-language recommend-scene requests to the first V2 config area, scene field, deployment check, or rule-resource workflow you should inspect../vs-product-qa/references/api-references/control-plane/scene/CreateRecommendSceneV2.md: authoritative V2 recommend-scene creation fields, enum values, and behavior-event constraints../vs-product-qa/references/api-references/control-plane/scene/PublishRecommendSceneV2.md: authoritative V2 recommend-scene publish payload,Configfields, enum-like string values, and validation notes../vs-product-qa/references/api-references/control-plane/scene/GetRecommendSceneV2.md: authoritative V2 recommend-scene readback shape../vs-product-qa/references/api-references/control-plane/scene/UpsertRecommendRuleV2.md: authoritative V2 reusable recommend-rule upsert payload and rule type values../vs-product-qa/references/api-references/data-plane/online-api/Recommend.md: authoritative online recommendation request and response contract forvs recommend run
Customer Environment Principle
- In customer environments, assume repository source code is unavailable.
- Execute tasks using only the installed skills, the packaged
vsCLI surface (--help, command output, and observed runtime behavior), and explicit user-provided information. - Do not rely on reading local repository source files, generated repo snapshots, or implementation details to decide runtime actions.
- If the installed CLI behavior conflicts with a skill, trust the installed CLI behavior first.
- If the skills and the packaged CLI still do not provide enough information to proceed safely, stop and ask the user instead of searching source code.
Constraints
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/vs-recommend/SKILL.md
Popularity
- Repository stars
- 900
- Repository forks
- 24
- 7-day trend score
- 34
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
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
[](https://verified-skill.com/skills/volcengine/searchcli/vs-recommend)