Skip to main content
skill CX Codex

ds-sharpen — Claude Code skill: what it does, how to install

The ds-sharpen Claude Code skill refines your prompts, deepens tasks, and stress-tests plans for AI agents. It runs before starting vague or high-stakes work to identify potential weaknesses.

MIT 542 installs ★ 320 updated 2026-10-28

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add aicodeking/deepseek-stack --skill ds-sharpen -a claude-code
Open on GitHub

What ds-sharpen does

ds-sharpen restates the user's goal, deepens the task, and rewrites the prompt, with an optional stress test for the plan. The skill first rephrases the user's request and the underlying problem in up to three sentences. If it cannot, it asks a single clarifying question.

Next, it deepens the task by considering what a top professional would do, what raw materials they would use, and which methods or tools they would apply. It also suggests an external check to validate the result, independent of the agent or user. Following this, ds-sharpen rewrites the prompt, keeping its scope unchanged, and lists any open choices for the user.

Optionally, the skill can perform a stress test: it spawns two or three subagents with fresh context, provides them with the plan and goal, and instructs them to find flaws. Each identified weakness must be backed by a concrete run, such as a failing test, a probe script, or actual command output. Findings without such evidence are discarded. The skill stops when the user accepts or edits the rewritten prompt, or when the stress test completes.

What it helps with

  • Clarify a vague AI prompt
  • Deepen a task for a more professional approach
  • Rewrite a prompt for an agent
  • Identify weaknesses in a work plan
  • Stress-test a plan using subagents

Example prompts for the agent

  • /ds-sharpen
  • Sharpen this plan: I need to refactor the authentication module.
  • What am I really asking when I ask for a React component?

How to install ds-sharpen

1Skills CLI (Vercel)

npx skills add aicodeking/deepseek-stack --skill ds-sharpen -a claude-code

2Manually: put the files in place

~/.claude/skills/ds-sharpen/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/ds-sharpen/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about ds-sharpen

How to install ds-sharpen in Claude Code?

To install ds-sharpen in Claude Code, use these commands: first npx skills add aicodeking/deepseek-stack --skill ds-sharpen -a claude-code, then ~/.claude/skills/ds-sharpen/SKILL.md.

What does ds-sharpen do?

The ds-sharpen skill helps clarify and deepen prompts for AI agents. It rephrases user requests and stress-tests plans to identify potential issues before work begins.

What are the operating rules for ds-sharpen?

The ds-sharpen skill focuses on deepening a task rather than expanding its scope, and it does not add new features. It reports findings from stress tests but does not apply fixes. Any finding without concrete output or a run is disregarded.

Source text

SKILL.md · MIT
---
name: ds-sharpen
description: "Restate the user's goal, make the task deeper rather than bigger, rewrite the prompt, and optionally attack the plan to find weak spots. Use before starting vague or high-stakes work, for 'sharpen this', 'what am I really asking', 'stress test this plan', or /ds-sharpen."
---

# ds-sharpen

A sharper prompt saves more tokens than any loop. Fix the ask before doing the work.

## Steps

1. Restate, in your own words, what the user wants and the problem behind it. Keep it to three sentences. If you cannot, ask one question.
2. Deepen the task. Answer briefly:
   - What would a top professional do here that the user did not ask for?
   - What raw material would they start from, instead of a summary?
   - What methods and tools would they use?
   - What outside check, not you or the user, would show the result is right? Name a command, test, metric or source.
3. Rewrite the prompt to ask for exactly that. Keep it no bigger in scope. Leave choices that belong to the user open and list them.
4. Optional stress test, when the plan is risky or the user asks. Spawn two or three subagents with fresh context and give each the plan and the goal. Ask each to break it and back every finding with a run: a failing test, a probe script, or real command output. Drop findings with no run behind them.
5. Present the restatement, the rewritten prompt, open choices, and any surviving findings with their commands and output.

## Stop when

- The user accepts or edits the rewritten prompt.
- Or the stress test returns. Do not loop it more than once without the user.

## Rules

- Deeper, not bigger. Do not add features.
- Do not apply fixes from the stress test. Report them.
- A finding without output is an opinion. Leave it out.

© aicodeking · MIT · aicodeking/deepseek-stack

Similar skills

All skills for AI and ML →

From the same set29

The whole set →
ds-blueprint Defines types, signatures, and module boundaries before writing code bodies. It triggers on /ds-blueprint or when asked to design the structure first. CX Codex +1 546installs ds-ledger This Claude Code skill logs decisions during long or unattended work. It is triggered for multi-phase tasks, work that a person will review later, or with /ds-ledger. CX Codex +1 545installs ds-explain Skill explains code logic and architectural reasons in plain language for Claude Code, Codex, and Cursor. Runs during subsystem onboarding or via /ds-explain. CX Codex +1 545installs ds-lessons ds-lessons is a Claude Code skill that turns recurring agent mistakes in a repository into hard checks, from types to linters. It runs after user corrections, repeated bugs, or long sessions. CX Codex +1 544installs ds-tdd The ds-tdd Claude Code skill guides bug fixes through a failing test, then a minimal code change. It activates for TDD or regression-test requests and bugs with a simple local test target. CX Codex +1 542installs ds-catchup ds-catchup — a skill for Claude Code summarizes changes since the last message and lists decisions awaiting the user's input. It runs when someone returns after a long pause or asks what happened. CX Codex +1 540installs ds-jury The ds-jury Claude Code skill gathers independent reviews of a code change from several models. The agent works through accepted findings and runs another review round until the reviewers agree. CX Codex +1 539installs ds-best-of-n The ds-best-of-n Claude Code skill creates several independent versions of a task and combines the strongest result with selected parts from the others. It runs for substantial work where a single attempt may take the wrong direction. CX Codex +1 539installs

Project sponsors

Companies that keep this analytics open