Agent skill

Deepseek Reason

by ruvnet in ruvnet/ruflo

Reasoning-mode completion against DeepSeek's deepseek-reasoner model (R1) via /v1/chat/completions.

MITAuto-check: notesAI & LLM Engineering

Install Deepseek Reason

skills CLI
$ npx skills add ruvnet/ruflo --skill deepseek-reason -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ruvnet/ruflo deepseek-reason --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ruvnet/ruflo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ruflo-deepseek-harness/skills/deepseek-reason .claude/skills/deepseek-reason && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
deepseek-reason
GitHub stars
74k
Token cost
~626 tokens
SKILL.md length
160 words
Files
1
Skills in repo
264
Repo updated
First seen
Licence
MIT

At a glance

Reasoning-mode completion against DeepSeek's deepseek-reasoner model (R1) via /v1/chat/completions.

  • Works in 5 steps: Read DEEPSEEK_API_KEY from env. Degrade… → POST to /v1/chat/completions with {… → Extract choices[0].message.content AND… → …
  • Tasks that involve LLM API integration
  • SKILL.md covers When to use, Algorithm and Example
  • Calls node; needs DEEPSEEK_API_KEY

What it does

Deepseek Reason is an agent skill from ruvnet/ruflo. Reasoning-mode completion against DeepSeek's deepseek-reasoner model (R1) via /v1/chat/completions. Surfaces the model's chain-of-thought (reasoningcontent) separately from the final answer (content), so callers can display or discard the CoT without re-parsing. Reads DEEPSEEKAPIKEY; degrades gracefully (exit 0 with status:degraded envelope) when unset or the API is unreachable. Ignores temperature/topp per DeepSeek's spec for reasoner models.

Its SKILL.md is about 630 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering LLM API integration. It works with DeepSeek. The repository describes itself as: 🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory…. The licence is MIT.

When your agent uses it

  • Tasks that involve LLM API integration

Example prompts

  • “/deepseek-reason”

Requirements

  • A credential in DEEPSEEK_API_KEY
  • Pre-approved tools (allowed-tools): Bash

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Read DEEPSEEK_API_KEY from env. Degrade gracefully when missing.
  2. POST to /v1/chat/completions with { model: 'deepseek-reasoner', messages, max_tokens? }.
  3. Extract choices[0].message.content AND choices[0].message.reasoning_content.
  4. JSON output always includes reasoning; table mode omits it unless
  5. reasoningTokens (from usage.completion_tokens_details.reasoning_tokens)

What it can do on your machine

Read from SKILL.md and the folder at commit 6051f67. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • DEEPSEEK_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Deepseek Reason loads about 626 tokens when it runs. Until then it costs about 118 tokens; SKILL.md has 160 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~118
When it runs · the whole SKILL.md, loaded when a task matches
~626

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ruvnet/ruflo at commit 6051f67, republished under its MIT licence (© ruvnet). 160 words, ~626 tokens.

Download SKILL.mdSave it as .claude/skills/deepseek-reason/SKILL.md (or your agent's skills folder).
name
deepseek-reason
description
Reasoning-mode completion against DeepSeek's `deepseek-reasoner` model (R1) via /v1/chat/completions. Surfaces the model's chain-of-thought (`reasoning_content`) separately from the final answer (`content`), so callers can display or discard the CoT without re-parsing. Reads DEEPSEEK_API_KEY; degrades gracefully (exit 0 with status:degraded envelope) when unset or the API is unreachable. Ignores temperature/top_p per DeepSeek's spec for reasoner models.
allowed-tools
Bash
argument-hint
--prompt <text> [--system <text>] [--model deepseek-reasoner] [--max-tokens 4096] [--show-reasoning] [--format table|json] [--alert-on-error]

Wraps DeepSeek's reasoning model so ruflo callers can get an explicit chain-of-thought back with the final answer, without having to parse it out of the message content. Same subprocess-invocation shape as the sibling deepseek-chat skill.

When to use

  • Multi-step reasoning tasks: proofs, plans, root-cause analysis, hard bug triage.
  • You want to see the model's thinking (for audit, for training data, or to sanity-check its final answer).
  • You can tolerate the higher latency and token cost of a reasoner vs deepseek-chat.

Algorithm

Implementation: scripts/reason.mjs.

  1. Read DEEPSEEK_API_KEY from env. Degrade gracefully when missing.
  2. POST to /v1/chat/completions with { model: 'deepseek-reasoner', messages, max_tokens? }. Per DeepSeek's docs, temperature/top_p are ignored for reasoner models — this script does not forward them.
  3. Extract choices[0].message.content AND choices[0].message.reasoning_content.
  4. JSON output always includes reasoning; table mode omits it unless --show-reasoning is passed.
  5. reasoningTokens (from usage.completion_tokens_details.reasoning_tokens) is surfaced separately so callers can attribute cost.

Example

bash
node plugins/ruflo-deepseek-harness/scripts/reason.mjs \
  --prompt "Prove that sqrt(2) is irrational." \
  --format table --show-reasoning

Table output shows the reasoning block, then the answer. JSON mode returns:

json
{
  "status": "ok",
  "model": "deepseek-reasoner",
  "content": "sqrt(2) is irrational because …",
  "reasoning": "Assume for contradiction that sqrt(2) = p/q in lowest terms …",
  "finishReason": "stop",
  "usage": {
    "promptTokens": 14,
    "completionTokens": 812,
    "reasoningTokens": 640,
    "totalTokens": 826
  }
}

© ruvnet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/ruflo-deepseek-harness/skills/deepseek-reason of ruvnet/ruflo.

Open the folder on GitHubat commit 6051f67

Compare with similar skills

Deepseek Reason next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Deepseek Reason compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Deepseek Reason this skillruvnet/ruflo74k—~626Automated safety check: NotesMIT
Dingo VerifyMigoXLab/dingo757—~833Automated safety check: PassApache-2.0
DeepseekAnil-matcha/awesome-muse-connectors1.3k—~1.1kAutomated safety check: PassMIT
ModLens Image Vision Bridgeliustack/modlens4.2k1 repos~1.3kAutomated safety check: NotesMIT
PiDeck Usage Probe Helperayuayue/PiDeck1k—~1.4kAutomated safety check: PassMIT
Mmsp PythonPrism-Shadow/model-message-stream-protocol113—~1.4kAutomated safety check: PassApache-2.0

Similar skills

  • Dingo Verify

    MigoXLab/dingo

    A skill your agent uses when the user wants to fact-check an article or verify factual claims in a document.

    757 GitHub stars~833 tokensUpdated 10 days ago
    AI & LLM EngineeringAuto-check passed
  • Deepseek

    Anil-matcha/awesome-muse-connectors

    Use DeepSeek's chat API: list models, run chat completions, check account balance.

    1.3k GitHub stars~1.1k tokensUpdated 3 days ago
    AI & LLM EngineeringAuto-check passed
  • Gives text-only models sight by running the modlens CLI on an image path or URL and returning structured JSON evidence with transcribed text, layout and semantics.

    4.2k GitHub starsUsed in 1 repo~1.3k tokens
    AI & LLM EngineeringAuto-check: notes
  • Helps show a model provider's usage, balance or quota in PiDeck: checks built-in support, points to the dialog templates, or writes a custom probe entry.

    1k GitHub stars~1.4k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Mmsp Python

    Prism-Shadow/model-message-stream-protocol

    Guidance for using the MMSP Python SDK (mmsp). An agent skill from Prism-Shadow/model-message-stream-protocol.

    113 GitHub stars~1.4k tokensUpdated 4 days ago
    AI & LLM EngineeringAuto-check passed
  • Mmsp Typescript

    Prism-Shadow/model-message-stream-protocol

    Guidance for using the MMSP TypeScript SDK (@prismshadow/mmsp).

    113 GitHub stars~1.4k tokensUpdated 4 days ago
    AI & LLM EngineeringAuto-check passed

More from ruvnet/ruflo

All 264 skills in this repo
  • Stores, searches, and retrieves successful patterns with HNSW-indexed semantic search so agents can reuse past solutions instead of relearning them.

    74k GitHub starsUsed in 3 repos~830 tokens
    Auto-check passed
  • Runs claude-flow CLI security scans for input validation, path traversal, SQL injection, XSS, hardcoded secrets and known CVEs, and writes an audit report.

    74k GitHub starsUsed in 2 repos~823 tokens
    Auto-check passed
  • Applies the SPARC method (specification, pseudocode, architecture, refinement, completion) with 17 specialized modes and multi-agent orchestration, from research to deployment.

    74k GitHub starsUsed in 2 repos~829 tokens
    Auto-check passed
  • Coordinates a hierarchical swarm of specialized agents through the claude-flow CLI for work that spans several files or modules at once.

    74k GitHub starsUsed in 2 repos~779 tokens
    Auto-check passed
  • Sets up and drives Ruflo, an npm-installed orchestration layer for multi-agent swarms, persistent memory, routing, hooks and its MCP tool catalog.

    74k GitHub starsUsed in 1 repo~975 tokens
    Auto-check passed
  • Agent Coordination

    ruvnet/ruflo

    Reference for spawning, listing, monitoring and stopping agents with claude-flow commands, with agent type families, routing codes and coordination tips.

    74k GitHub starsUsed in 2 repos~519 tokens
    Auto-check passed

Works with

Questions about Deepseek Reason

What does Deepseek Reason do?

Reasoning-mode completion against DeepSeek's deepseek-reasoner model (R1) via /v1/chat/completions. Deepseek Reason is an agent skill from ruvnet/ruflo. Reasoning-mode completion against DeepSeek's deepseek-reasoner model (R1) via /v1/chat/completions.

When should I use Deepseek Reason?

Deepseek Reason fits situations like: tasks that involve LLM API integration.

How do I install Deepseek Reason in Claude Code?

Run `npx skills add ruvnet/ruflo --skill deepseek-reason -a claude-code`. Or copy the skill folder (plugins/ruflo-deepseek-harness/skills/deepseek-reason in ruvnet/ruflo) into .claude/skills/deepseek-reason in your project. Claude Code loads it when a task matches its description.

How do I install Deepseek Reason in Codex?

Run `npx skills add ruvnet/ruflo --skill deepseek-reason -a codex`. Or copy the skill folder (plugins/ruflo-deepseek-harness/skills/deepseek-reason in ruvnet/ruflo) into .agents/skills/deepseek-reason in your project. Codex loads it when a task matches its description.

Can I use Deepseek Reason in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ruvnet/ruflo --skill deepseek-reason -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/deepseek-reason, .gemini/skills/deepseek-reason, .github/skills/deepseek-reason and .opencode/skills/deepseek-reason in your project.

What does Deepseek Reason need to run?

Going by SKILL.md and its folder, Deepseek Reason needs the command-line tools its instructions call (node) and credentials named DEEPSEEK_API_KEY. Our summary lists: A credential in DEEPSEEK_API_KEY. Its frontmatter pre-approves these tools: Bash.

Does Deepseek Reason access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Deepseek Reason safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Deepseek Reason use?

Deepseek Reason is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Deepseek Reason use?

About 626 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Deepseek Reason?

Skills that share tags, products or a category with Deepseek Reason: Dingo Verify (MigoXLab/dingo, 757 stars), Deepseek (Anil-matcha/awesome-muse-connectors, 1.3k stars), ModLens Image Vision Bridge (liustack/modlens, 4.2k stars) and PiDeck Usage Probe Helper (ayuayue/PiDeck, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Deepseek Reason?

ruvnet (a GitHub user) maintains it in ruvnet/ruflo, which has 74,089 GitHub stars. The repository holds 264 skills in this directory. The repository was last updated on October 8, 2026.

Source: ruvnet/ruflo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.