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
npx skills add aicodeking/deepseek-stack --skill ds-sharpen -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/ds-sharpen/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/ds-sharpen/
1Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-sharpen -a codex2Manually: put the files in place
.agents/skills/ds-sharpen/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-sharpen -a cursor2Manually: put the files in place
.cursor/skills/ds-sharpen/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install aicodeking/deepseek-stack skills/ds-sharpen2Manually: put the files in place
.github/skills/ds-sharpen/SKILL.md1Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-sharpen -a gemini-cli2Platform CLI
gemini skills install https://github.com/aicodeking/deepseek-stack --path skills/ds-sharpenManually: put the files in place
.devin/skills/ds-sharpen/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-sharpen -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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