Skip to content
Back to skills

Cli And Operations

ASecurity

"Operate the DeepXiv command-line interface safely: choose commands

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 8, 2026
businessshellapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill cli-and-operations --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cli And Operations?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cli And Operations
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-cli-and-operations-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-cli-and-operations-arex-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cli-and-operations
description: "Operate the DeepXiv command-line interface safely: choose commands
  and flags, preserve output streams, manage tokens and local configuration, and
  recover from CLI errors."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# DeepXiv CLI and operations

Use this route when the task is about invoking `deepxiv`, selecting CLI flags,
redirecting output, configuring credentials, or diagnosing a CLI failure. Keep
shell commands and token/configuration handling here; use the linked routes for
API-level research and local-agent behavior.

## Operating route

1. Establish that the executable is the DeepXiv 1.0 CLI and inspect
   `deepxiv --help` / `deepxiv --version` before relying on a flag. The expected
   source command set and options are in [the CLI reference](references/cli-reference.md).
2. Select the smallest command for the task. Use `ask` for a cited answer,
   `search` for candidate papers, `paper`/`pmc`/`biorxiv`/`medrxiv` for direct
   retrieval, and `trending` for a social-signal list.
3. Choose the backend-specific flags before running `ask`: arXiv uses
   `--top-k`; web uses `--search-type`, `--gl`, and `--hl`. Do not mix these
   partitions. See [the reference](references/cli-reference.md#ask).
4. For an answer that will be piped or saved, preserve the stream contract:
   answer text is stdout; citations, source annotations, quota notices, and
   progress are stderr. Use `--json` only when a complete structured payload is
   wanted.
5. Before an authenticated call, resolve credentials using
   [configuration guidance](references/configuration.md). Never put a real
   token or LLM key in a transcript, committed file, shell history, process
   listing, or generated report.
6. On failure, classify the message using
   [troubleshooting](references/troubleshooting.md) before retrying. In
   particular, a `403` from `ask` means the key lacks registered agentic access;
   it is not fixed by repeatedly retrying an auto-registered SDK token.

## Command boundary

This skill covers the hosted CLI surface, including `agent query` and
`agent config` only as invocation/configuration boundaries. Detailed `Reader`
methods, research sequencing, answer-source interpretation, and hosted-agent
API behavior belong to [reader-and-paper-research](../reader-and-paper-research/SKILL.md).
The local LangGraph/OpenAI-compatible agent's internals, budgets, tools, and
provider troubleshooting belong to [optional-local-agent](../optional-local-agent/SKILL.md).

## Safe verification helper

Run [scripts/cli_smoke.py](scripts/cli_smoke.py) from any working directory to
check that the installed package imports and that the CLI group exposes the
expected help and version without making a network request, reading
credentials, or writing configuration. It is deliberately not a live command
test.

Files in this skill

  • SKILL.md2.8 KB
  • references/cli-reference.md12.9 KB
  • references/configuration.md5.5 KB
  • references/troubleshooting.md6.8 KB
  • scripts/cli_smoke.py2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.