AGENT SKILL

cli-and-operations

Operate the DeepXiv command-line interface safely: choose commands and flags, preserve output streams, manage tokens and local configuration, and recover from CLI errors.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
cli-and-operations
license
MIT
metadata
{ "disco-role": "operating" }
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

02 资源文件 4

03 SKILL.md 正文

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.
  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.
  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. 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 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. The local LangGraph/OpenAI-compatible agent's internals, budgets, tools, and provider troubleshooting belong to optional-local-agent.

Safe verification helper

Run 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.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351