用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/volcengine/SearchCLI --skill vs-shared命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | vs-shared |
| description | Shared SearchCLI setup: install, authenticate, run doctor, and verify the local environment. |
| category | shared |
| applies_to | codex, agents, external-agent |
| requires_cli | >=0.1.0 |
| keywords | install cli, auth import-env, auth login, llm login, doctor, first-time setup, profile switch, shared basics |
| commands | auth import-env, auth login, auth status, auth use, auth list, llm login, llm import-env, llm status, llm logout, doctor, skill list, skill install, app status, app diagnose, search run, chat run |
Use this skill when an external agent is setting up SearchCLI for the first time, or when it needs to check authentication, profiles, and local readiness.
Node.js >= 20 is installedscripts/install.shauth import-env: import VIKING_AK / VIKING_SK from the current shell into the local secure storeauth login: capture AK/SK interactively in a real terminalauth status: inspect the active profile, credential source, and regionauth use: switch profilesauth list: list saved profilesllm login: capture OpenAI-compatible LLM base URL, model, and API key interactively; stores the API key in the local secure storellm import-env: import VIKING_LLM_BASE_URL / VIKING_LLM_API_KEY / VIKING_LLM_MODEL into config plus secure storellm status: inspect the active LLM provider, model, base URL, and secret source without revealing the API keyllm logout: delete the stored LLM API key for a profiledoctor: check local dependencies, auth, and configurationskill list: inspect the published Viking skillsskill install: install Viking skills from the local repository checkoutapp status / app diagnose: inspect app readiness before blaming runtime behaviorsearch run / chat run: run a minimal verification requestBuilt-in region checklist (for --region and auth profiles):
cn-beijingap-southeast-1auth statusVIKING_AK / VIKING_SK, prefer auth import-envauth loginVIKING_AK / VIKING_SK in the current shell and then run auth import-envdoctor to verify the local environmentnpx skills add "<repo-url>" -y -gskill install all or install named skills from the local checkoutapp status or search/chat run for a minimal runtime checkSearch tuning query generation and LLM relevance judging need an OpenAI-compatible LLM API. Do not ask the user to paste an LLM API key into chat.
Use this priority order:
VIKING_LLM_BASE_URL, VIKING_LLM_API_KEY, and VIKING_LLM_MODEL, run vs llm import-env.vs llm login and wait for the user to enter the API key in that terminal.VIKING_LLM_BASE_URL, VIKING_LLM_API_KEY, and VIKING_LLM_MODEL in the current terminal, then run vs llm import-env.The first version supports only the openai-compatible protocol. Non-secret LLM metadata is written to ~/.viking/config.json; the API key is stored through the local secure credential store.
vs CLI surface (--help, command output, and observed runtime behavior), and explicit user-provided information.~/.viking/config.json: vs auth login / vs auth import-env / vs auth use (and even some --help paths) persist non-secret config to ~/.viking/config.json. If the agent runs inside a sandbox with a read-only home directory, these commands fail with EACCES: permission denied / Not allow operate files. Before running any vs command that touches auth or config, ensure the sandbox grants write access to ~/.viking/ (or run those commands outside the sandbox). Do not misread this environment restriction as a CLI bug.vs ... command in this shared workflow, the agent MUST first consult vs-product-qa to verify the current command surface, required flags, payload fields, input format, allowed values, and relevant command-specific constraints. This is a non-optional precondition for all shared workflow commands, including auth, doctor, LLM setup, app readiness checks, search/chat runtime checks, and skill installation. Only after that verification may the agent finalize parameters and run the command.auth import-env and do not ask them to paste secrets into chatllm import-env or llm login; do not ask the user to paste LLM API keys into chatrequires_clivs-product-qa; return to this workflow only after the grounded product answer is complete.onboarding workflow for creating datasets and applications in Viking AI Search. Supports one-time import from local files (JSON, JSONL, CSV) and MySQL databases, plus scheduled incremental sync for append-only JSONL files and MySQL. All sources are first exported to a bootstrap JSONL file; backend-driven schema inference handles detection, and optional background sync keeps the dataset up to date as new data arrives.
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.
Guide a brand-new SearchCLI/vs user from first-time usage questions to sign-up, purchase of Viking AI Search, AK/SK setup, and a working authenticated CLI. Use when the user says they downloaded or installed SearchCLI/vs and asks how to use it, how to start, sign up, buy, or onboard.