본문으로 건너뛰기
Skillpedia
에이전트81k · #1618

deepseek-reason

하는 일

이 스킬은 더 어려운 작업을 DeepSeek 추론 모델에 맡기고, 추론 과정을 최종 답과 따로 보여 줍니다. 여러 단계의 신중한 작업이 필요하고 답이 어떻게 나왔는지 보고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓계획 수립이나 근본 원인 분석처럼 단계별 추론이 필요한 작업을 할 때.
  • ✓답을 믿기 전에 모델의 사고 과정을 확인하고 싶을 때.
  • ✓어려운 문제에 일반 채팅 답변이 충분히 자세하지 않을 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-deepseek-harness/skills/deepseek-reason/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-deepseek-harness/skills/deepseek-reason/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“우리 야간 보고서가 왜 실패하는지 단계별로 따져 보고, 추론 과정도 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 프롬프트를 DeepSeek 추론 모델에 보내고, 추론 텍스트와 최종 답을 함께 읽습니다. JSON 출력에는 항상 추론이 포함되지만, 표 형식 출력에는 포함되지 않습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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.

  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

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
  }
}
자주 묻는 질문

왜 일반 채팅보다 느린가요?

추론 모델은 더 많은 단계를 거치므로 일반 채팅 모델보다 시간과 토큰 비용이 더 듭니다.

추론 모델에도 내 설정이 적용되나요?

추론 모델은 일부 샘플링 설정을 무시하므로, 이 스킬은 그런 설정을 전달하지 않습니다.

여기서 데이터는 안전한가요?

프롬프트는 제3자인 DeepSeek에 전송되므로, 비밀과 비공개 코드는 넣지 마세요.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
81k
순위
#1618
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬