Logo Content To Skill

Content To Skill

Cộng đồng
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.

Tổng quan

Nhà phát hànhgnipbao
Kho mãcontent-to-skill
Tên kỹ năngcontent-to-skill
Sao
106
Bản fork
16
Tệp đi kèm
7
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 7 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được gnipbao công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Content To Skill trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/gnipbao/content-to-skill/tree/main
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gnipbao/content-to-skill.git \
  .claude/skills/content-to-skill
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Content To Skill trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Content To Skill ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Content To Skill với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Content To Skill làm được gì?

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.

Vì sao nên dùng Content To Skill trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Content To Skill là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Content To Skill trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/gnipbao/content-to-skill/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Content To Skill?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Content To Skill với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Content To Skill với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Content To Skill có miễn phí không?

Có. Kỹ năng này được gnipbao phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇