
Vs Shared
- 2 installs
- 1.2k repo stars
- Updated July 31, 2026
- volcengine/searchcli
Sets up SearchCLI for the first time: install, authenticate with AK/SK, configure LLM credentials, and run doctor to verify local readiness.
About
Shared SearchCLI setup skill covering install, authentication, LLM credential config, and local environment checks. A developer uses it for first-time setup or to verify auth, profiles, and readiness before running Viking search commands.
- auth import-env/login/status/use and llm login/import-env manage credentials in a secure store
- doctor and app status/diagnose verify local readiness; needs Node.js >= 20
Vs Shared by the numbers
- 2 all-time installs (skills.sh)
- +1 installs in the week ending Jul 27, 2026 (Skillselion tracking)
- Ranked #445 of 550 CLI & Terminal skills by installs in the Skillselion catalog
- Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/volcengine/searchcli --skill vs-sharedAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 2 |
|---|---|
| repo stars | ★ 1.2k |
| Last updated | July 31, 2026 |
| Repository | volcengine/searchcli ↗ |
What it does
Sets up SearchCLI for the first time: install, authenticate with AK/SK, configure LLM credentials, and run doctor to verify local readiness.
Files
Viking Shared
When to Use
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.
Preconditions
Node.js >= 20is installed- the repository has already been cloned, or the CLI has already been installed with
scripts/install.sh
Commands
auth import-env: importVIKING_AK/VIKING_SKfrom 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: importVIKING_LLM_BASE_URL/VIKING_LLM_API_KEY/VIKING_LLM_MODELinto 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 request
Regions
Built-in region checklist (for --region and auth profiles):
- Beijing:
cn-beijing - Johor:
ap-southeast-1
Workflow
1. Confirm that the CLI is installed, then run auth status 2. If the current shell already has VIKING_AK / VIKING_SK, prefer auth import-env 3. Otherwise, if the agent can keep an interactive real terminal alive, run auth login 4. If interactive login is not possible, ask the user to set VIKING_AK / VIKING_SK in the current shell and then run auth import-env 5. Run doctor to verify the local environment 6. External agents should install Viking skills with npx skills add "<repo-url>" -y -g 7. Repository maintainers can use skill install all or install named skills from the local checkout 8. Before deeper debugging, use app status or search/chat run for a minimal runtime check
LLM Setup
Search 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:
1. If the current real terminal already has VIKING_LLM_BASE_URL, VIKING_LLM_API_KEY, and VIKING_LLM_MODEL, run vs llm import-env. 2. Otherwise, if the agent can keep an interactive real terminal alive, run vs llm login and wait for the user to enter the API key in that terminal. 3. If interactive login is not possible, tell the user to set 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.
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
- If the user has already placed credentials in the current shell, prefer
auth import-envand do not ask them to paste secrets into chat - If LLM credentials are needed, prefer
llm import-envorllm login; do not ask the user to paste LLM API keys into chat - Before installing or distributing a skill, confirm that the current CLI version satisfies
requires_cli