Logo de Content To Skill

Content To Skill

Comunidade
gnipbao
content-to-skill

Converts arbitrary source material into an executable structured Codex skill package. Use when the user provides text, notes, documents, PDFs, transcripts, videos, courses, articles, repositories, workflows, chat logs, or rough ideas and asks to turn them into a Skill, SKILL.md, skill scaffold, reusable agent workflow, operational prompt, or structured capability. Also use for 把内容变成skill, 文档转skill, 视频转skill, 课程转skill, 工作流沉淀成skill, or 从资料生成可执行Skill.

Visão geral

Publicado porgnipbao
Repositóriocontent-to-skill
Nome da habilidadecontent-to-skill
Estrelas
106
Forks
16
Arquivos incluídos
7
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 7

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por gnipbao no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Content To Skill no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/gnipbao/content-to-skill/tree/main
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gnipbao/content-to-skill.git \
  .claude/skills/content-to-skill
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Content To Skill em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Content To Skill automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Content To Skill não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Content To Skill

Content To Skill turns messy source material into a runnable skill package. It extracts repeatable mechanisms from content, rejects unsupported claims, and produces a SKILL.md plus any references, examples, scripts, and validation prompts needed for another agent to execute the method later.

Default to Chinese unless the user asks for another language. Prefer creating or patching files when a writable target path is available.

Resource Guide

  • Read references/source-intake.md before processing documents, transcripts, videos, multiple files, or unclear source boundaries.
  • Read references/skill-construction-protocol.md before writing a SKILL.md, scaffold, references, examples, or validation plan.
  • Read references/evaluation-rubric.md when reviewing a generated skill, deciding whether it is publishable, or repairing a weak conversion.
  • Run scripts/check_skill_package.py /path/to/generated-skill after creating or materially editing a local skill package.
  • Read examples/retest-prompts.md when you need realistic forward tests for a newly generated skill.

First Principle

A source is not the skill. A skill is the compressed control system that lets a future agent repeat the useful behavior without rereading the whole source.

Every conversion must preserve this chain:

txt
source evidence -> reusable mechanism -> executable workflow -> output contract -> validation signal

Core Workflow

1. Route The Request

模式选择: choose the smallest mode that preserves the source evidence and produces an executable artifact.

Choose the smallest mode that fits:

TriggerModeRequired action
User pastes short text or a clear methodQUICK_CONVERTExtract mechanisms and produce a first-pass SKILL.md or patch.
User provides documents, folders, transcripts, video, or many sourcesSOURCE_AUDITBuild a source inventory, evidence boundary, mechanism cards, then generate.
User asks for files, scaffold, installable skill, or gives a pathPACKAGE_BUILDCreate files first, then validate.
User provides an existing generated skill and says it failedREPAIR_FROM_FEEDBACKCompare source intent, generated behavior, and failure signal before patching.
Source cannot be accessedBLOCKED_SOURCEAsk for the missing file, transcript, text, or accessible path; do not invent source content.

If multiple modes match, prefer the one with stronger evidence requirements: REPAIR_FROM_FEEDBACK, PACKAGE_BUILD, SOURCE_AUDIT, QUICK_CONVERT.

1.5. CHECKPOINT / STOP Gates

Emit CHECKPOINT / STOP and wait before:

  • overwriting an existing skill folder with unrelated local edits
  • publishing or pushing a generated skill to a public repository
  • processing private, paid, sensitive, or inaccessible source material
  • expanding one source into a router, skill family, or SkillBank
  • claiming full_test quality without actually running an independent or fresh-context test

The checkpoint must name the target path or repository, files affected, validation command, rollback point, and exact approval needed.

2. Establish Evidence Boundary

Identify what was actually read and what remains unavailable.

Capture:

  • source type: text, document, PDF, spreadsheet, slide deck, audio, video, repository, web page, notes, or mixed
  • accessible artifacts: pasted text, local paths, transcripts, extracted text, screenshots, metadata, or summaries
  • unavailable artifacts: video without transcript, unreadable binary files, private links, missing attachments, or unsupported formats
  • user goal: new skill, skill family, prompt workflow, repair, or evaluation
  • target runtime: Codex skill folder, single SKILL.md, repository scaffold, or patch plan

For video or audio, first obtain a transcript, chapter notes, subtitles, or user-provided summary using available tools. If none is available, ask for the transcript or permission to extract it. Never infer detailed methods from a title alone.

3. Extract Mechanism Cards

Do not summarize the source paragraph by paragraph. Extract portable controls:

md
## Mechanism Card
Name:
Source evidence:
Trigger:
User job:
Decision rule:
Procedure:
Output:
Quality signal:
Failure mode:
Skill location:
Keep / merge / discard:

Keep only mechanisms that change future agent behavior. Discard anecdotes, slogans, duplicate examples, and unsupported claims unless they become examples, boundaries, or tests.

4. Choose Skill Shape

Select one production shape before writing files:

  • Single procedural skill: one bounded repeated task.
  • Engineering workflow pack: coding, debugging, architecture, tests, issues, or PR workflows.
  • Methodology toolbox: router plus focused diagnostic skills.
  • Cognitive distillation skill: a person, worldview, creator, company, or field turned into a perspective lens.
  • Skill family or SkillBank: many independent skills with routing, acquisition, versioning, or state.

Default to a single procedural skill unless the source clearly requires routing, shared state, multiple domains, or independent subskills.

5. Generate The Skill Package

When a writable path is available and the user asks to create or convert, create files before the final answer.

Minimum package:

txt
skill-name/
├── SKILL.md
├── agents/
│   └── openai.yaml
└── examples/
    └── retest-prompts.md

Add references/ when the source has detailed protocols, rubrics, evidence notes, examples, or domain facts that should not bloat SKILL.md.

Add scripts/ only when repeated mechanical checks, extraction, conversion, or validation should be deterministic.

For public GitHub repositories, add only the human-facing files needed for reuse:

txt
README.md
LICENSE
.gitignore
test-prompts.json

Keep the skill package itself portable: SKILL.md, agents/, references/, examples/, and scripts/ must still work if copied into any skills-compatible runtime.

Generated SKILL.md must include:

  • frontmatter with only name and description
  • overview and first principle
  • resource guide with direct links to references and scripts
  • routing or operating modes
  • stable workflow that produces decisions or artifacts
  • output protocols
  • boundaries and anti-patterns
  • quality standard and validation loop

6. Validate

For local packages:

  1. Run the repository or generated package validator when available.
  2. Run scripts/check_skill_package.py /path/to/generated-skill.
  3. Read validator failures, patch once, and rerun.
  4. If validation still fails, report the failing command, likely cause, and rollback point.

For non-local outputs, use the checklist in references/evaluation-rubric.md and label the result as dry-run.

6.5. Failure Branches

TriggerRequired actionDo not do
Source cannot be readAsk for accessible source, transcript, or a local pathDo not invent source mechanisms
Target folder already existsInspect files and patch only intended pathsDo not overwrite unrelated files
Existing skill fails validationPatch one minimal structural issue and rerunDo not add broad new sections to chase score
Public repo requestedValidate locally, create README/LICENSE, then ask or use explicit approval before publishingDo not push unvalidated files
User asks for a skill familyCreate a mechanism map and stop at CHECKPOINT / STOPDo not explode one source into many skills by default
Test tooling is unavailableMark result dry-run and provide retest promptsDo not call it full_test

7. Report

Final reports should include:

md
## Skill Created
Source boundary:
Generated path:
Skill shape:
Files changed:
Validation:
Rollback point:
Next retest:

Keep design explanation short unless the user explicitly asks for the full extraction notes.

Output Protocols

Source-To-Skill Brief

md
## Source-To-Skill Brief
Source boundary:
Root job:
Target user:
Mechanisms kept:
Mechanisms discarded:
Skill shape:
Package plan:
Validation plan:
Open uncertainty:

Mechanism Extraction Report

md
## Mechanism Extraction
Evidence read:
High-signal mechanisms:
Conflicts or weak evidence:
Candidate skill modules:
Discarded material:
Recommended package:

Generated Package Report

md
## Skill Created
Path:
Name:
Description trigger:
Source boundary:
Files created or changed:
Validation commands:
Validation result:
Retest prompt:
Rollback point:

Boundaries

  • Do not claim to have read inaccessible documents, videos, private links, or repositories.
  • Do not turn every idea in the source into a rule. Prefer fewer mechanisms that can be executed.
  • Do not copy large passages from source material into the skill. Extract controls, examples, and evidence notes.
  • Do not create a skill family when one procedural skill will work.
  • Do not create scripts for tasks that are better handled by clear instructions.
  • Do not add README, install guides, or public docs unless the user asks for a public repository.
  • Do not overwrite user files outside the target skill folder without explicit approval.
  • Do not claim benchmark quality without validation or forward tests.

Anti-Patterns

  • Summary-as-skill: the output explains the source but cannot guide future behavior.
  • Template flood: the skill has many sections but no decision rules.
  • Evidence laundering: weak or unavailable source material becomes confident instruction.
  • Skill bloat: every chapter becomes a subskill.
  • Tool fantasy: the skill assumes unavailable transcription, parsing, browser, or API tools.
  • No retest: the conversion is never checked against a realistic future request.

Quality Standard

A successful conversion:

  • names the source boundary honestly
  • extracts mechanisms, not just themes
  • has a clear trigger description
  • can run without the original source in context
  • has stable workflow steps and output contracts
  • stores detailed evidence in references, not the main prompt
  • names failure branches and stop conditions
  • includes retest prompts or fixtures
  • passes structural validation when files exist locally
  • stops at CHECKPOINT / STOP before public publishing, broad generation, or sensitive source processing

Default score:

md
Root job clarity: 0-20
Mechanism extraction: 0-20
Executable workflow: 0-20
Output usability: 0-15
Evidence honesty: 0-10
Validation loop: 0-10
Concise expression: 0-5
Total: 100

Below 70: do not publish. 70-84: usable MVP. 85-94: publishable. 95+: benchmark-quality after independent or forward-test evidence.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Content To Skill faz?

Converts arbitrary source material into an executable structured Codex skill package. Use when the user provides text, notes, documents, PDFs, transcripts, videos, courses, articles, repositories, workflows, chat logs, or rough ideas and asks to turn them into a Skill, SKILL.md, skill scaffold, reusable agent workflow, operational prompt, or structured capability. Also use for 把内容变成skill, 文档转skill, 视频转skill, 课程转skill, 工作流沉淀成skill, or 从资料生成可执行Skill.

Por que usar Content To Skill no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Content To Skill é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Content To Skill no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/gnipbao/content-to-skill/tree/main. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Content To Skill?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Content To Skill?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Content To Skill com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Content To Skill é gratuita?

Sim. A habilidade é publicada no GitHub por gnipbao sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇