lessweb/deepcode/skill-digester
- community
Checking that the SKILL.md file is still in the repository.
Reviews and improves another DeepCode skill's SKILL.md description field against the Agent Skills description-field rules. Use when the user asks to "digest" a skill, including requests like "digest the pdf skill" or "消化 pdf 技能".
Install
npx vskill@latest install lessweb/deepcode/skill-digesterSKILL.md
Skill Digester
Use this skill to review and optionally rewrite the description field of another DeepCode skill.
Interaction Rule
Whenever user input is needed, call the AskUserQuestion tool. Do not ask follow-up questions as plain assistant text. This includes missing skill names, language preference, duplicate matches, malformed frontmatter decisions, and whether to apply a recommended rewrite.
Workflow
- Identify the target skill from the user's request.
- If the user did not provide a skill name, use
AskUserQuestionto ask for one. - Locate the skill by running the bundled Node script from this skill directory:
``bash node ~/.deepcode/skills/skill-digester/scripts/find-skill.js "<skill-name-or-path>" "<project-root>" ``
If this skill is loaded from a project-level or different user-level path, use the scripts/find-skill.js file next to this SKILL.md instead.
- The script searches the same roots Deep Code CLI scans, in priority order:
- Project native skills:
./.deepcode/skills/<folder>/SKILL.md - Project interoperable skills:
./.agents/skills/<folder>/SKILL.md - User native skills:
~/.deepcode/skills/<folder>/SKILL.md - User interoperable skills:
~/.agents/skills/<folder>/SKILL.md
- Treat
./as the current Deep Code project root only; do not scan parent directories unless the running project root is changed. - The script resolves each candidate's skill name the way Deep Code does: use the trimmed frontmatter
namewhen present, otherwise use the folder name with underscores converted to hyphens. - Match the user's input against the resolved skill name first. If needed, also consider the folder name or an explicit path the user provided.
- Treat the matched skill's
pathas the sourceSKILL.mdto review. - Treat the matched skill's
digestTarget.pathas the only outputSKILL.mdpath to create or edit. digestTarget.pathalways points to the same scope's native Deep Code root:- Project sources from
./.deepcode/skillsor./.agents/skillsdigest to./.deepcode/skills/<folder>/SKILL.md. - User sources from
~/.deepcode/skillsor~/.agents/skillsdigest to~/.deepcode/skills/<folder>/SKILL.md. - If the script returns one active match, use its
pathfor reading anddigestTarget.pathfor writing. - If the script returns active and shadowed matches, present each source path and digest target path, then use
AskUserQuestionbefore using a shadowed source. - If the script returns no match, state that the skill was not found in Deep Code's scanned skill roots and use
AskUserQuestionto ask whether the user wants to try another name.
- Infer the user's preferred language before reviewing.
- Infer a likely language from the user's wording. For example, if the user says
消化pdf技能, infer Chinese. - Confirm the language with
AskUserQuestionin the inferred language. For Chinese, ask:请选择您偏好的语言。 - Offer the inferred language first and include
Englishas a fallback. The UI provides anOtheroption, so the user can type a different language. - Use the confirmed preferred language for every later question, recommendation, and rewritten
descriptionfield.
- Read the source
SKILL.md.
- Parse the YAML frontmatter and Markdown body from the matched source path.
- Preserve all frontmatter fields and body content except for the
descriptionfield if the user approves a rewrite. - If frontmatter is missing or malformed, explain the issue and use
AskUserQuestionbefore making structural repairs.
- Review the current
descriptionfield against the Agent Skills specification.
- Required constraints:
- It must be non-empty.
- It must be 1-1024 characters.
- It should describe what the skill does.
- It should describe when to use the skill.
- It should include specific keywords that help agents identify relevant tasks.
- Compare the description with the actual
SKILL.mdbody. Flag mismatches, missing capabilities, overbroad activation language, vague wording, or important trigger keywords that are absent. - Do not rewrite for style alone if the existing description is accurate, specific, and useful.
- Present the review and recommendation.
- If the description is already good, say so and do not change the file unless the user asks.
- If improvements are useful, show:
- The current description.
- Concise review findings.
- A recommended replacement written in the preferred language.
- The source path being reviewed.
- The digest output path that would be created or edited.
- Use
AskUserQuestionto ask the user to choose one of three actions in the preferred language: - Apply the recommended change.
- Abandon the change.
- Continue discussing the wording.
- Apply the change only after explicit approval.
- Write only to
digestTarget.path; never write the digested result to.agents/skills. - If
digestTarget.sameAsSourceis true, update only thedescriptionfield in that existing nativeSKILL.md. - If
digestTarget.sameAsSourceis false anddigestTarget.existsis false, create the native target skill directory by copying the source skill directory first, then update only the targetSKILL.mddescription. This preserves bundled scripts, references, and assets. - If
digestTarget.sameAsSourceis false anddigestTarget.existsis true, update only thedescriptionfield in the existing native targetSKILL.md; do not overwrite its body or bundled files unless the user explicitly asks. - Keep the original
nameand any other frontmatter fields unchanged in the file being written. - Preserve body content exactly unless the user separately asks to edit it.
- After editing, report the source path, updated digest output path, and final description.
AskUserQuestion Patterns
Use one question at a time unless two decisions are tightly coupled. Each question must include options; rely on the UI's Other option for free-form input.
Examples:
Review Heuristics
A strong description is short, concrete, and activation-oriented. Prefer this pattern:
Avoid descriptions that are only generic labels, marketing copy, or internal implementation notes.
Safety Notes
- Never modify a different skill with a similar name without asking.
- Never save the digested output under
.agents/skills;.agents/skillsis only a source root for digestion. - Never move a skill between project and user level during digestion.
- Never change the target skill's language preference after confirmation unless the user asks.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtemplates/skills/bundled/skill-digester/SKILL.md
Popularity
- Repository stars
- 99
- Repository forks
- 13
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lessweb/deepcode/skill-digester)