name: vs-product-qa
description: "Answer Viking AI Search product questions, CLI usage questions, API/auth questions, configuration questions, and troubleshooting questions by grounding every claim in either the installed vs CLI's own output or official Volcengine documentation. Never fabricate."
category: shared
applies_to: codex, agents, external-agent
requires_cli: ">=0.2.0"
keywords: viking ai search, product question, product concept, concept, how to, usage, api, authentication, ak sk, configuration, error, troubleshooting, docs, official docs, help, faq
commands: doctor, auth status, llm status, skill list, skill search, skill show
vs-product-qa
When to Use
Use this skill when the user asks grounded questions about Viking AI Search, including:
- product concepts such as scene, dataset, hybrid search, ANN, rerank, or agentic search
- capability or configuration questions such as recommendation setup, boost/bury, or rerank enablement
- API and authentication questions such as AK/SK usage, field semantics, or error meaning
- CLI usage and local troubleshooting such as
vs item apply,vs auth status, or local stack traces - console path, billing, pricing, or quota questions
Do not use this skill for workflow execution. Delegate instead:
- sign-up, purchase, payment, or first AK/SK setup ->
vs-user-onboarding - item data ingestion or dataset creation ->
vs-item-onboarding - search tuning suggestions or execution ->
vs-search-tuning
If another skill is active and the user asks a product question outside that skill's scripted scope, answer with vs-product-qa, then return to the original workflow after the answer is complete.
Preconditions
- The installed
vsCLI is available when answering CLI behavior, local auth, LLM configuration, or local error questions. - This skill includes a bundled internal documentation helper under references/volcengine-documentation/SKILL.md.
- Official Volcengine documentation must be fetched through that bundled helper when answering product concepts, API field semantics, purchase, billing, quota, or console UI path questions.
- The agent must classify the question before choosing a source.
- If no selected source can answer, explicitly say the point is not covered by the CLI output or official documentation checked in this turn, then suggest support-ticket / oncall escalation.
Core Principle
Treat the user's installed vs CLI as authoritative for how vs behaves on that machine. For CLI behavior, always check the real CLI first. If CLI output conflicts with documentation, trust the CLI and state that the documentation may be stale.
This skill must not rely on repository source code, generated snapshots, or model memory as the source of truth for customer-facing product answers.
Question Routing
Classify the question before choosing a source.
| Question type | Primary source | Example |
|---|---|---|
| CLI command / flag / usage | vs <cmd> --help |
"How do I use vs item apply" |
| Local authentication / credential | vs auth status / vs doctor |
"Why does vs auth status say invalid" |
| Local CLI error / stack trace | the error's own recovery output | "I see ERR_AUTH_REQUIRED; what now" |
| Product concept | official docs via the bundled documentation helper | "What is a scene in Viking AI Search" |
| API field semantics / request-response shape | official docs via the bundled documentation helper | "What does recall_mode accept" |
| Purchase / billing / pricing / quota | official docs via the bundled documentation helper | "How do I upgrade my plan" |
| Console UI path / where to click | official docs via the bundled documentation helper | "Where do I configure boost/bury" |
Do not use vs --help to answer product-concept questions. Do not use docs to explain command flags when the installed CLI can answer directly.
Knowledge Sources
CLI source
Allowed CLI checks include:
vs --helpvs <cmd> --helpvs doctorvs auth statusvs llm statusvs skill listvs skill search <query>vs skill show <name>
Before recommending any command or flag, verify that it exists through vs skill list, vs <domain> --help, or vs <cmd> --help.
Documentation source
This skill includes a private bundled documentation helper under references/volcengine-documentation/SKILL.md. Use it only as an internal sub-workflow of vs-product-qa. Do not expose it as a separate skill, and do not ask the user to install, trigger, or switch to it.
Use the helper only for official Volcengine documentation, with these fixed rules:
- base root URL:
https://www.volcengine.com/docs/85296/1544972 - Chinese questions use
https://www.volcengine.com/docs/85296/1544972?lang=cn - non-Chinese questions use
https://www.volcengine.com/docs/85296/1544972?lang=en - stay within that root page and its child pages only
- do not access sibling product pages, other documentation roots, site-wide search, homepage navigation, or external sites
- do not switch between
?lang=cnand?lang=enin the same answer unless the user's language changes in a later turn
For Viking AI Search documentation lookup, the data-source restriction is hard:
- product code is
Universal AI Search - the helper script's
searchaction must useServiceCodes="Universal AI Search" - the helper script's
fetchaction must use URLs underhttps://www.volcengine.com/docs/85296only
Documentation lookup protocol:
- Choose the root URL by the user's language.
- If the page URL is already known, or the user provides a page URL under the allowed root, use the helper script's
fetchaction first. - Otherwise, use the helper script's
searchaction withServiceCodes="Universal AI Search". - After identifying the correct page under the same subtree, use
fetchto retrieve the full page content and extract the relevant section. - If exact sub-page lookup fails because of selector change, network error, or timeout, return the selected root URL and tell the user to browse manually. Do not guess sub-page URLs.
Fetch budget:
- at most 3 fetches per answer
- at most 5 seconds per fetch
- total budget 15 seconds or less
- on timeout or overrun, degrade honestly and cite the root URL
Not used in MVP:
https://www.volcengine.com/llms.txthttps://www.volcengine.com/sitemap.xml- undocumented per-page markdown endpoints
These may be used later only if they become publicly available and are actually fetched during the current turn.
Commands
doctor: inspect local CLI environment and service readinessauth status: inspect local Viking AK/SK auth statellm status: inspect local LLM auth state for LLM-backed featuresskill list: list installed skills before recommending handoffskill search: find a relevant installed skill before recommending handoffskill show: inspect another skill's workflow before delegatingvs <cmd> --help: inspect command usage and flags; this is a source rule, not a frontmatter command entry
Workflow
- Classify the question using Question Routing.
- Pick the source:
- CLI usage -> run the relevant
vs ... --help - local auth / environment -> use
vs auth status,vs doctor, orvs llm status - local CLI error -> use the recovery output from this turn first; only run more CLI checks if needed
- product docs -> use the bundled documentation helper privately, with the hard
Universal AI Search+docs/85296restriction
- CLI usage -> run the relevant
- Extract only the lines or sections needed to answer.
- Respond using the required output format.
- If the topic involves credentials, environment variables, or
vs auth import-env, append the AK/SK security notice from references/aksk-notice.md. - If the request implies write operations such as
apply,update,create, orbind, explain only the safe draft or dry-run path unless the user explicitly switches to the correct execution workflow. - If no grounded source can answer, return
unknown, cite the checked CLI command or documentation root URL, and suggest support-ticket / oncall escalation.
Output Format
Use this structure and omit fields that have no grounded content:
**Conclusion**: <one-line direct answer>
**Source**: <doc URL + section heading> OR <CLI command + relevant output>
**Steps**: <ordered steps, only if actionable>
**CLI entry**: <`vs ...` command, or "see `vs <x> --help`">
Rules:
- for CLI-usage questions,
Sourcecites the command output used in this turn - for doc-grounded answers,
Sourcemust be a real URL retrieved in this turn - do not fill missing fields with speculation
- do not paste large documentation blocks; summarize in your own words and link the source
Constraints
- Grounded only: every factual claim must cite either CLI output from this turn or an official documentation URL retrieved in this turn.
- No memory answers: do not answer Viking AI Search product questions from training memory.
- No fabricated URLs: sub-page URLs must come from routing actually performed in this turn. Do not guess paths.
- No CLI hallucination: do not recommend commands or flags that do not exist.
- CLI overrides docs: when CLI help and documentation conflict, trust the installed CLI and say the docs may be stale.
- No silent execution: do not run write commands such as
apply,update,create, orbindon the user's behalf. - AK/SK notice required: whenever credentials or
vs auth import-envare involved, append the AK/SK security notice. - Honest unknowns: if available sources cannot answer, say
unknown, explain what source was checked, and suggest escalation. - Honest fallback: if exact sub-page lookup fails, explicitly say: "exact sub-page lookup failed; here is the chapter root."
- No large doc dumps: summarize rather than pasting long documentation blocks.
- Bundled helper only: use the documentation helper only inside
vs-product-qa; do not expose it as a standalone skill. - Language-aware docs: use
?lang=cnfor Chinese questions and?lang=enfor non-Chinese questions. - Strict doc scope: only access
https://www.volcengine.com/docs/85296/1544972and its child pages in the same subtree. - Hard source restriction: for Viking AI Search docs,
searchmust useServiceCodes="Universal AI Search", andfetchmust stay underhttps://www.volcengine.com/docs/85296. - Delegate specialized workflows: use references/delegation.md when the user actually needs onboarding, item workflow execution, or tuning execution.
Delegation
Use references/delegation.md. When delegating, briefly say which skill takes over and why, then stop.
Examples
CLI usage question
User: "What does the --scene-id flag of vs search run do?"
- Classify as CLI usage.
- Run
vs search run --help. - Answer using only that command output.
Expected shape:
**Conclusion**: Per `vs search run --help`, `--scene-id` selects the configured search scene used for the request.
**Source**: `vs search run --help` output from this turn.
**CLI entry**: `vs search run --scene-id <id> ...`
Product concept question
User: "What is a scene in Viking AI Search?"
- Classify as product concept.
- Use the bundled documentation helper privately inside
vs-product-qa. - Choose the documentation root by user language:
?lang=cnfor Chinese, otherwise?lang=en. - Run the helper script's
searchaction withServiceCodes="Universal AI Search". - Use the helper script's
fetchaction only if the chosen page URL stays underhttps://www.volcengine.com/docs/85296. - Answer using only retrieved documentation.
Delegation question
User: "How do I buy Viking AI Search and create my first AK/SK?"
Answer: "This is covered by vs-user-onboarding because it is a sign-up, purchase, and first AK/SK workflow. Handing off."
References
- AK/SK security notice: references/aksk-notice.md
- Delegation matrix: references/delegation.md
- Bundled documentation helper: references/volcengine-documentation/SKILL.md