deepseek-v4

Use DeepSeek V4 (Flash & Pro) from the command line — one-shot Q&A, thinking mode, multi-turn chat. OpenAI-compatible API, no special CLI needed. Supports deepseek-v4-flash and deepseek-v4-pro.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "deepseek-v4" with this command: npx skills add jiajiaoy/deepseek-v4

DeepSeek V4

Use DeepSeek V4 Flash and Pro directly from your terminal — one-shot questions, deep reasoning with thinking mode, and multi-turn chat. No special CLI required; uses the OpenAI-compatible API via a small Python script.

Setup

1. Get API key: https://platform.deepseek.com/api_keys

2. Set environment variable:

export DEEPSEEK_API_KEY=your_key_here
# Add to ~/.zshrc or ~/.bashrc to persist

Models

ModelIDBest forPrice (input/output)
V4 Flash ⚡deepseek-v4-flashQ&A, writing, coding, summaries$0.014 / $0.028 per 1M
V4 Pro 🚀deepseek-v4-proHard reasoning, math, deep analysis$0.174 / $0.348 per 1M

Both support 1M token context. Cache hits are 10× cheaper.

Legacy aliases (deepseek-chat → flash, deepseek-reasoner → pro) deprecated 2026-07-24.

Commands

One-shot question (Flash — fast & cheap)

uv run {baseDir}/scripts/ask.py "Explain the difference between V4 Flash and V4 Pro"

One-shot with Pro model

uv run {baseDir}/scripts/ask.py "Write a merge sort in Rust" --model pro

Thinking mode (Pro with visible reasoning trace)

uv run {baseDir}/scripts/ask.py "Prove that there are infinitely many primes" --think

Multi-turn chat

uv run {baseDir}/scripts/chat.py --model flash
uv run {baseDir}/scripts/chat.py --model pro --think

Show models & pricing

uv run {baseDir}/scripts/models.py

Model Selection Guide

Use Flash when:

  • Everyday Q&A and explanations
  • Writing, editing, translation
  • Code generation and review
  • Summarization and classification
  • Cost is a priority

Use Pro when:

  • Multi-step math or logic problems
  • Complex debugging or architecture decisions
  • Deep research and analysis
  • You want to see the reasoning process (--think)

Tips

  • Thinking mode (--think) streams the internal reasoning before the final answer — useful for hard problems and to verify correctness
  • System prompt: --system "You are a concise assistant" to set tone
  • No streaming: --no-stream for cleaner output in scripts
  • DeepSeek's API is OpenAI-compatible — any OpenAI SDK works with base_url="https://api.deepseek.com/v1"

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Biome

Lint and format frontend code with Biome 2.4. Covers type-aware linting, GritQL custom rules, domains, import organizer, and migration from ESLint/Prettier....

Registry SourceRecently Updated
Coding

Python Development Setup

Opinionated Python development setup with uv + ty + ruff + pytest + just. Use when creating new Python projects, setting up pyproject.toml, configuring linti...

Registry SourceRecently Updated
Coding

deep-java-review

Java项目代码review工具。分析Git变更+完整调用链路上下文,推断业务需求,进行多维度评分和分类汇总,生成完整PRD文档。包含细粒度Java代码审查清单(Null安全、异常处理、Streams、并发、equals/hashCode、资源管理、API设计、性能、MyBatis/ORM、事务边界、SQL/DD...

Registry SourceRecently Updated
Coding

ccdb

CCDB Carbon Emission Factor Search Tool. Based on the Carbonstop CCDB database, it queries carbon emission factor data via the `@carbonstop/ccdb` CLI. Suppor...

Registry SourceRecently Updated