Логотип Skill Digester

Skill Digester

ОрганизацияПопулярный
lessweb
skill-digester

Reviews and improves another DeepCode skill's SKILL.md description field, and guides Agent Skill installation into user or project .agents/skills roots. Use when the user asks to digest a skill, install an Agent Skill, install a skill to user/project scope, or says "消化技能" or "安装 agent skill".

Обзор

Издательlessweb
Репозиторийdeepcode-cli
Название навыкаskill-digester
Звёзды
2.2K
Форки
215
Файлы в комплекте
1
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 1

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — lessweb. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Skill Digester в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/lessweb/deepcode-cli/tree/main/packages/core/templates/skills/bundled/skill-digester
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lessweb/deepcode-cli.git /tmp/deepcode-cli
mkdir -p .claude/skills
cp -r /tmp/deepcode-cli/packages/core/templates/skills/bundled/skill-digester .claude/skills/skill-digester
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Skill Digester в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Skill Digester, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Skill Digester не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Skill Digester

Use this skill for two related tasks:

  • Review and optionally rewrite the description field of another DeepCode skill.
  • Guide installation of an Agent Skill into an interoperable .agents/skills root.

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 or paths, install scope, language preference, duplicate matches, malformed frontmatter decisions, and whether to apply a recommended rewrite.

Workflow

First classify the request:

Digest Description Workflow

  1. Identify the target skill from the user's request.

    • If the user did not provide a skill name, use AskUserQuestion to 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:

      1. Project native skills: ./.deepcode/skills/<folder>/SKILL.md
      2. Project interoperable skills: ./.agents/skills/<folder>/SKILL.md
      3. User native skills: ~/.deepcode/skills/<folder>/SKILL.md
      4. 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 name when 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 path as the source SKILL.md to review.

    • Treat the matched skill's digestTarget.path as the only output SKILL.md path to create or edit.

    • digestTarget.path always points to the same scope's native Deep Code root:

      • Project sources from ./.deepcode/skills or ./.agents/skills digest to ./.deepcode/skills/<folder>/SKILL.md.
      • User sources from ~/.deepcode/skills or ~/.agents/skills digest to ~/.deepcode/skills/<folder>/SKILL.md.
    • If the script returns one active match, use its path for reading and digestTarget.path for writing.

    • If the script returns active and shadowed matches, present each source path and digest target path, then use AskUserQuestion before 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 AskUserQuestion to ask whether the user wants to try another name.

  2. 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 AskUserQuestion in the inferred language. For Chinese, ask: 请选择您偏好的语言。
    • Offer the inferred language first and include English as a fallback. The UI provides an Other option, so the user can type a different language.
    • Use the confirmed preferred language for every later question, recommendation, and rewritten description field.
  3. 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 description field if the user approves a rewrite.
    • If frontmatter is missing or malformed, explain the issue and use AskUserQuestion before making structural repairs.
  4. Review the current description field 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.md body. 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.
  5. 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 AskUserQuestion to ask the user to choose one of three actions in the preferred language:
      • Apply the recommended change.
      • Abandon the change.
      • Continue discussing the wording.
  6. Apply the change only after explicit approval.

    • Write only to digestTarget.path; never write the digested result to .agents/skills.
    • If digestTarget.sameAsSource is true, update only the description field in that existing native SKILL.md.
    • If digestTarget.sameAsSource is false and digestTarget.exists is false, create the native target skill directory by copying the source skill directory first, then update only the target SKILL.md description. This preserves bundled scripts, references, and assets.
    • If digestTarget.sameAsSource is false and digestTarget.exists is true, update only the description field in the existing native target SKILL.md; do not overwrite its body or bundled files unless the user explicitly asks.
    • Keep the original name and 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.

Install Agent Skill Workflow

Use this workflow when the user asks to install an Agent Skill. Installation always writes to .agents/skills, not .deepcode/skills.

  1. Identify the source skill directory.

    • If the user provided an explicit file or directory path, resolve it:
      • ~/... relative to the user's home directory.
      • ./... relative to the current project root.
      • Absolute paths as written.
      • A SKILL.md path means its parent directory is the source skill directory.
    • If the user provided a skill name instead of a path, locate it with scripts/find-skill.js using the same command and match rules as the digest workflow.
    • If the user did not provide a skill name or path, use AskUserQuestion to ask for the source skill name or path.
    • The source directory must contain SKILL.md. If it does not, report that the path is not an Agent Skill and ask for another source only if the user still wants to install.
  2. Determine the installed skill folder name.

    • Parse the source SKILL.md frontmatter.
    • Use the trimmed frontmatter name when present.
    • Otherwise use the source folder name with underscores converted to hyphens.
    • Use that resolved name as the target folder name.
  3. Ask exactly one installation scope question.

    • Use AskUserQuestion to ask whether to install the skill at user level or project level.
    • Offer only these scope choices:
      • User-level install: ~/.agents/skills/<skill-name>/
      • Project-level install: ./.agents/skills/<skill-name>/
    • Do not ask any other installation preference before copying.
  4. Copy the complete skill directory.

    • User-level destination: ~/.agents/skills/<skill-name>/.
    • Project-level destination: ./.agents/skills/<skill-name>/.
    • Copy the whole source skill directory, including SKILL.md, references/, scripts/, templates/, examples, assets, and other support files.
    • Preserve file contents and relative paths exactly.
    • Create the .agents/skills parent directory if needed.
    • If the destination directory already exists, stop and report the conflict. Do not overwrite or merge files unless the user explicitly asks in a later message.
  5. Report the result.

    • Report the source directory and installation destination.
    • Mention that the agent client may need to reload or restart before the installed skill appears.
    • Do not digest, rewrite, or normalize the installed skill unless the user separately asks for that.

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:

json
{
  "questions": [
    {
      "question": "请选择您偏好的语言。",
      "options": [
        { "label": "中文", "description": "后续询问和推荐描述都使用中文。" },
        { "label": "English", "description": "Use English for follow-up questions and the recommended description." }
      ]
    }
  ]
}
json
{
  "questions": [
    {
      "question": "How should I proceed with this description recommendation?",
      "options": [
        {
          "label": "Apply change",
          "description": "Update only the description field in the native digest output SKILL.md."
        },
        { "label": "Abandon change", "description": "Leave the file unchanged." },
        { "label": "Discuss wording", "description": "Continue refining the proposed description before editing." }
      ]
    }
  ]
}
json
{
  "questions": [
    {
      "question": "Where should I install this Agent Skill?",
      "options": [
        { "label": "User-level", "description": "Install to ~/.agents/skills so it is available across projects." },
        { "label": "Project-level", "description": "Install to ./.agents/skills so it is available in this project." }
      ]
    }
  ]
}

Review Heuristics

A strong description is short, concrete, and activation-oriented. Prefer this pattern:

text
<What the skill does>. Use when <task types, file types, tools, domains, or user phrases that should trigger it>.

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/skills is only a source root for digestion.
  • Never save installed Agent Skills under .deepcode/skills; installation writes only to .agents/skills.
  • Never move a skill between project and user level during digestion.
  • Never overwrite or merge an existing installed skill directory unless the user explicitly asks after seeing the conflict.
  • Never change the target skill's language preference after confirmation unless the user asks.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Skill Digester?

Reviews and improves another DeepCode skill's SKILL.md description field, and guides Agent Skill installation into user or project .agents/skills roots. Use when the user asks to digest a skill, install an Agent Skill, install a skill to user/project scope, or says "消化技能" or "安装 agent skill".

Зачем использовать Skill Digester в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Skill Digester — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Skill Digester в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/lessweb/deepcode-cli/tree/main/packages/core/templates/skills/bundled/skill-digester. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Skill Digester?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Skill Digester?

С любым количеством. В TypingMind вы можете использовать Skill Digester с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Skill Digester?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — lessweb. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇