volcengine/searchcli/vs-recommend

Claude Code and agent skill by volcengine/searchcli

Trust tier 2
  • community
LLM review pending
Source check pending

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-recommend

SKILL.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-id is available
  • runtime checks need a scene-id and usually at least one of user-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> --full from 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 -> CreateRecommendSceneV2
  • recommend scene list -> ListRecommendScenesV2
  • recommend scene get -> GetRecommendSceneV2
  • recommend scene update -> PublishRecommendSceneV2
  • recommend scene delete -> DeleteRecommendSceneV2
  • recommend rule list -> ListRecommendRulesV2
  • recommend rule get -> GetRecommendRuleV2
  • recommend rule upsert -> UpsertRecommendRuleV2
  • recommend rule delete -> DeleteRecommendRuleV2

V2 naming differences:

  • request IDs use ApplicationId, SceneId, RuleId, DatasetId, ItemDatasetId
  • behavior-scene binding is UserEventScenes[]; use --user-event-scenes
  • RecommendModel is a string: default or long_sequence
  • RecommendOptimizationTarget is a string: ctr or empty
  • create/publish/delete/upsert write APIs support DryRun
  • scene lists return Scenes[]; rule lists return Rules[]
  • 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 update calls PublishRecommendSceneV2. The backend validates the scene, persists the updated scene/config/rule bindings, generates online recommendation metadata, writes runtime config, and marks the scene as published.
  • 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 / Status as part of the deployment state.
  • Online deployment writes generated recommend_scene_meta under 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 stores scene-id -> selected UserEventScenes[]. This is the selected binding, not the full list of possible event_scene values.
  • Deployment updates deduplication/invert configs when impression/exposure dedupe is enabled.
  • GetRecommendSceneExpConfigV2 is 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 request
  • vs recommend scene create / vs recommend scene list / vs recommend scene get: manage V2 recommend scenes
  • vs recommend scene update: publish V2 recommend scene metadata and RecommendSceneConfigV2
  • vs recommend scene delete: delete and undeploy a recommend scene
  • vs recommend rule list / vs recommend rule get: inspect V2 reusable recommend rules
  • vs recommend rule upsert / vs recommend rule delete: create, update, or delete V2 reusable recommend rules
  • vs dataset get --full: inspect item/UserEvent schema, enum metadata, and exact field casing
  • vs app dataset-config get --full: inspect app-bound dataset field config when a non-workflow diagnostic explicitly needs app-level config
  • vs app status / vs app diagnose: inspect readiness before blaming runtime results

Workflow

  1. 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
  1. Before running any concrete command, consult vs-product-qa to confirm the current command behavior and exact parameter requirements.
  2. For runtime checks, use vs recommend run first, then inspect result.rec_results, extra_info, recall info, boost status, diversity status, and invalid parent items from the raw response.
  3. For natural-language scene-change requests, use references/recommend-scene-natural-language-routing.md to identify the target V2 field, config area, deployment check, or rule-resource workflow before running resource-specific read/write commands such as vs dataset get, vs recommend rule list/get/upsert/delete, or vs recommend scene update.
  4. 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-level Config sections may be replaced, but nested field edits require a full updated first-level section.
  5. Before building a recommend scene create or recommend scene update payload, consult the matching V2 API reference. The routing reference identifies where to edit; it is not sufficient for final payload values.
  6. Before creating or updating a recommend scene, resolve the target page/module and the required UserEventScenes. For real writes, pass --confirm-entry-binding.
  7. Resolve dataset facts before writing:
  • use vs dataset get --id <user-event-dataset-id> --full to inspect event_scene and event_type enum values; for event_scene, find the schema field whose business attribute is UserEventScene and read EnumerateMeta[].EnumerateValue
  • use vs dataset get --id <item-dataset-id> --full for exact item field casing and filterable fields
  1. For rule-resource changes, follow the concrete command sequence in references/recommend-scene-natural-language-routing.md; do not replace a required vs recommend rule get step with vs recommend rule list, or replace a required vs recommend scene get step with vs recommend scene list.
  2. 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.
  3. When deployment matters, run a runtime check with vs recommend run after readback. If results do not reflect the update, inspect readiness/status and propagation before changing config again.
  4. 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, Config fields, 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 for vs recommend run

Customer Environment Principle

  • In customer environments, assume repository source code is unavailable.
  • Execute tasks using only the installed skills, the packaged vs CLI 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/volcengine/searchcli/vs-recommend/badge)](https://verified-skill.com/skills/volcengine/searchcli/vs-recommend)

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