Agent skill

Content To Skill

by gnipbao in gnipbao/content-to-skill

Converts arbitrary source material into an executable structured Codex skill package.

MITAuto-check passedDocuments & Office

Install Content To Skill

skills CLI
$ npx skills add gnipbao/content-to-skill --skill content-to-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install gnipbao/content-to-skill content-to-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
content-to-skill
GitHub stars
102
Token cost
~2.8k tokens
SKILL.md length
1,249 words
Files
11 (incl. scripts, references)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Converts arbitrary source material into an executable structured Codex skill package.

  • Works in 7 steps: Route The Request → Establish Evidence Boundary → Extract Mechanism Cards → …
  • The user provides text
  • SKILL.md covers Resource Guide, First Principle, Core Workflow and Output Protocols, plus 3 more sections
  • Runs Python scripts from its folder

What it does

Content To Skill is an agent skill from 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.

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including scripts and reference files (for example `README.md`, `agents/openai.yaml` and `examples/retest-prompts.md`).

It sits in Documents & Office. The repository describes itself as: Convert source material into executable Agent Skill packages. The licence is MIT.

When your agent uses it

  • The user provides text
  • Rough ideas and asks to turn them into a Skill
  • Reusable agent workflow
  • Operational prompt

Example prompts

  • “Use the content-to-skill skill to convert arbitrary source material into an executable structured Codex skill package”
  • “/content-to-skill”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Route The Request
  2. Establish Evidence Boundary
  3. Extract Mechanism Cards
  4. Choose Skill Shape
  5. Generate The Skill Package
  6. Validate
  7. Report

What it can do on your machine

Read from SKILL.md and the folder at commit ce5776a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Content To Skill loads about 2.8k tokens when it runs, and up to ~5.5k if it reads all its reference files. Until then it costs about 117 tokens; SKILL.md has 1,249 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~117
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from gnipbao/content-to-skill at commit ce5776a, republished under its MIT licence (© gnipbao). 1,249 words, ~2,780 tokens.

Download SKILL.mdSave it as .claude/skills/content-to-skill/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.
name
content-to-skill
description
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.

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
Show full SKILL.md (481 more words)Show less
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.

© gnipbao, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 10 other files (scripts, references) in the repository root of gnipbao/content-to-skill.

  • SKILL.md
  • .gitignore
  • LICENSE
  • README.md
  • agents/openai.yaml
  • examples/retest-prompts.md
  • references/evaluation-rubric.md
  • references/skill-construction-protocol.md
  • references/source-intake.md
  • scripts/check_skill_package.py
  • test-prompts.json

Open the folder on GitHubat commit ce5776a

Compare with similar skills

Content To Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Content To Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Content To Skill this skillgnipbao/content-to-skill102—~2.8kAutomated safety check: PassMIT
Markdown Article FormatterJimLiu/baoyu-skills27k6 repos~3.5kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0
DOCXrvdbreemen/OTGW-firmware20733 repos~4.3kAutomated safety check: PassProprietary
Word Document Reader and WriterHKUDS/DeepTutor41k—~2.5kAutomated safety check: PassApache-2.0

Similar skills

  • Markdown Article Formatter

    JimLiu/baoyu-skills

    Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.

    27k GitHub starsUsed in 6 repos~3.5k tokens
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • DOCX

    rvdbreemen/OTGW-firmware

    A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx files).

    207 GitHub starsUsed in 33 repos~4.3k tokens
    Documents & OfficeAuto-check passed
  • Reads, creates and edits Word .docx files with python-docx, and drops to raw OOXML for tracked changes, comments and byte-exact edits.

    41k GitHub stars~2.5k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Crossposting

    wasp-lang/wasp

    Crosspost Wasp blog articles (MDX) to DEV.to and Medium. An agent skill from wasp-lang/wasp.

    19k GitHub stars~1.1k tokensUpdated today
    Documents & OfficeAuto-check passed

Questions about Content To Skill

What does Content To Skill do?

Converts arbitrary source material into an executable structured Codex skill package. Content To Skill is an agent skill from gnipbao/content-to-skill. Converts arbitrary source material into an executable structured Codex skill package.

When should I use Content To Skill?

Content To Skill fits situations like: the user provides text; rough ideas and asks to turn them into a Skill; reusable agent workflow; operational prompt.

How do I install Content To Skill in Claude Code?

Run `npx skills add gnipbao/content-to-skill --skill content-to-skill -a claude-code`. Or copy the skill folder (the gnipbao/content-to-skill repository) into .claude/skills/content-to-skill in your project. Claude Code loads it when a task matches its description.

How do I install Content To Skill in Codex?

Run `npx skills add gnipbao/content-to-skill --skill content-to-skill -a codex`. Or copy the skill folder (the gnipbao/content-to-skill repository) into .agents/skills/content-to-skill in your project. Codex loads it when a task matches its description.

Can I use Content To Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add gnipbao/content-to-skill --skill content-to-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/content-to-skill, .gemini/skills/content-to-skill, .github/skills/content-to-skill and .opencode/skills/content-to-skill in your project.

What does Content To Skill need to run?

Going by SKILL.md and its folder, Content To Skill needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Content To Skill access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Content To Skill safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Content To Skill use?

Content To Skill is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Content To Skill use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.7k tokens, read only when the agent opens those files.

What are the alternatives to Content To Skill?

Skills that share tags, products or a category with Content To Skill: Markdown Article Formatter (JimLiu/baoyu-skills, 27k stars), Markitdown (ImCa0/just-laws, 781 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and DOCX (rvdbreemen/OTGW-firmware, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Content To Skill?

gnipbao (a GitHub user) maintains it in gnipbao/content-to-skill, which has 102 GitHub stars. The repository was last updated on June 15, 2026.

Source: gnipbao/content-to-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.