deepseek-reason
What it does
This skill asks DeepSeek's reasoning model to tackle a harder task and shows its reasoning separately from the answer. It is for people who need careful multi-step work and want to see how an answer was reached.
When to use it
- ✓When a task needs step-by-step reasoning, such as planning or root-cause analysis.
- ✓When you want to check the model's thinking before you trust its answer.
- ✓When a simple chat answer is not detailed enough for a hard problem.
Skill link
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-deepseek-harness/skills/deepseek-reason/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Work through why our nightly report fails, step by step, and show me your reasoning.”
5 new skills a week. 1 minute to read.
How it works
The skill sends your prompt to DeepSeek's reasoner model and reads both the reasoning text and the final answer. The JSON output always includes the reasoning, while the table view does not.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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.
Data handling
The prompt and any --system text are sent over the network to api.deepseek.com, a third party. Do not put secrets, credentials, personal data or proprietary code you are not allowed to share into them. The API key is read from DEEPSEEK_API_KEY in your shell only; never paste it into a prompt, a file or a command line.
Algorithm
Implementation: scripts/reason.mjs.
- Read
DEEPSEEK_API_KEYfrom env. Degrade gracefully when missing. - POST to
/v1/chat/completionswith{ model: 'deepseek-reasoner', messages, max_tokens? }. Per DeepSeek's docs,temperature/top_pare ignored for reasoner models — this script does not forward them. - Extract
choices[0].message.contentANDchoices[0].message.reasoning_content. - JSON output always includes
reasoning; table mode omits it unless--show-reasoningis passed. reasoningTokens(fromusage.completion_tokens_details.reasoning_tokens) is surfaced separately so callers can attribute cost.
Example
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:
{
"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
}
}
FAQ
Why is this slower than a normal chat?
Reasoning models work through more steps, which adds time and token cost compared with a plain chat model.
Are my settings applied to the reasoning model?
Some sampling settings are ignored by reasoner models, so the skill does not pass them on.
Is my data safe here?
The prompt is sent to DeepSeek, a third party, so keep secrets and private code out of it.
Details
Original description by the author
Reasoning completion against DeepSeek's `deepseek-reasoner` (R1), returning the chain of thought apart from the answer. Use when a task needs step-by-step reasoning from DeepSeek. Reads DEEPSEEK_API_KEY; returns status:degraded when unset or unreachable.
repo: ruvnet/ruflo
Popularity
- GitHub stars
- 81k
- Ranking position
- #1618
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-adaptive-coordinator
81kHelps your agent split and rebalance a group of AI agents as the workload changes, choosing a layout that fits the task.
agent-agent
81kTeaches your agent to turn a big goal into an ordered plan of actions, and to replan when conditions change.
agent-agentic-payments
81kHelps your agent manage spending mandates for AI shopping, with spend caps, time windows, merchant rules and signed approvals.
agent-analyze-code-quality
81kHelps your agent review code for quality, finding code smells, technical debt and refactoring ideas without changing the files.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.