vs-shared

A shared setup guide for SearchCLI, the command-line tool used with Viking AI Search. It covers installation, saved profiles, authentication keys, an optional language-model provider, and local readiness checks.

In plain words
What is it for?
Use it to import or enter Viking access keys, switch or inspect profiles, configure an OpenAI-compatible language model, run the diagnostic check, and inspect available SearchCLI skills.
Why use it?
It removes the uncertainty around where credentials and configuration come from and whether the local environment is ready. It also provides safe status checks that do not reveal secret keys.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/volcengine/searchcli/vs-shared
Any agent
npx skills add volcengine/SearchCLI --skill vs-shared
Clone the repo
git clone --depth 1 https://github.com/volcengine/SearchCLI

Made for: Claude Code, Codex.

Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,449 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00022 $0.01449
Opus 5 $0.00011 $0.00724
Sonnet 5 $0.00004 $0.00290
Haiku 4.5 $0.00002 $0.00145

Measured yesterday against content hash 4e97a368c962, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

vs-shared scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/vs-shared/SKILL.md · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 >= 20 is installed
  • the repository has already been cloned, or the CLI has already been installed with scripts/install.sh

Commands

  • auth import-env: import VIKING_AK / VIKING_SK from the current shell into the local secure store
  • auth login: capture AK/SK interactively in a real terminal
  • auth status: inspect the active profile, credential source, and region
  • auth use: switch profiles
  • auth list: list saved profiles
  • llm login: capture OpenAI-compatible LLM base URL, model, and API key interactively; stores the API key in the local secure store
  • llm import-env: import VIKING_LLM_BASE_URL / VIKING_LLM_API_KEY / VIKING_LLM_MODEL into config plus secure store
  • llm status: inspect the active LLM provider, model, base URL, and secret source without revealing the API key
  • llm logout: delete the stored LLM API key for a profile
  • doctor: check local dependencies, auth, and configuration
  • skill list: inspect the published Viking skills
  • skill install: install Viking skills from the local repository checkout
  • app status / app diagnose: inspect app readiness before blaming runtime behavior
  • search 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

Read the full file on GitHub · 85 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 85 lines · 22 tokens per session scan A 4e97a368c962

Subscribe to this mod's changes

vs-shared is a skill published in the GitHub repository volcengine/SearchCLI (1,176 stars, last pushed 5d ago), licensed Apache-2.0. It adds 22 tokens to every session and 1,449 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

xerj-code

Reference-coding with XERJ. Clone the libraries that already solved your problem, index them locally, and retrieve the exact implementation before writing code — so the agent reads passages instead of re-deriving algorithms across retry loops. Use when starting a task in an unfamiliar API, porting an algorithm, or…

xerj-org/xerj · 79 tokens

xerj-security-audit

Coverage-guaranteed whitebox security audit of a codebase using XERJ + tree-sitter AST. Use when the user wants to security-review PHP (or other-language) code with a provable "we enumerated every dangerous call" guarantee, or asks to run the WordPress-style sink census / audit. Drives an index-once, query-read-reason…

xerj-org/xerj · 97 tokens

linkly-ai

Search, browse, read, and take notes across the user's documents indexed by Linkly AI — local files and linked cloud libraries. Use when the user asks to 'search my documents', 'find files about a topic', 'read a local document', 'what's in this folder', 'list the files in that library', 'browse document outlines'…

LinklyAI/linkly-ai-skills · 221 tokens

zero-api-key-web-search

OpenClaw skill for source-backed web search, page reading, and evidence-aware claim checking. No API keys required by default; optional providers can be enabled for stronger coverage. v23: multi-engine SERP (7 engines), Web Unlocker for blocked pages, auto-fallback on 403/429.

wd041216-bit/zero-api-key-web-search · 68 tokens

zero-api-key-web-search

Claude Code-compatible skill for source-backed web search, page reading, and evidence-aware claim checking. Use it when an answer depends on current facts, live sources, or explicit support/conflict handling. v23: multi-engine SERP (7 engines), Web Unlocker for blocked pages, auto-fallback on 403/429.

wd041216-bit/zero-api-key-web-search · 72 tokens

zero-api-key-web-search

Codex-compatible skill for source-backed web search, page reading, and evidence-aware claim checking. Use it to verify factual answers with live results and explicit source handling. v23: multi-engine SERP (7 engines), Web Unlocker for blocked pages, auto-fallback on 403/429.

wd041216-bit/zero-api-key-web-search · 66 tokens