Custom skills for Codex.
This option can either be:
- An attribute set defining skills
- A path to a directory containing multiple skill folders
If an attribute set is used, the attribute name becomes the skill directory name, and the value is either:
- Inline content as a string (creates skills/<name>/SKILL.md)
- A path to a file (creates skills/<name>/SKILL.md)
- A path to a directory (creates skills/<name>/ with all files)
If a path is used, it is expected to contain one folder per skill name, each containing a SKILL.md. The directory is symlinked to skills/.
Declarations
Type
(attribute set of (strings concatenated with "\n" or absolute path)) or absolute pathDefault
{ }Example
{
pdf-processing = ''
---
name: pdf-processing
description: Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.
---
# PDF Processing
## Quick start
Use pdfplumber to extract text from PDFs:
```python
import pdfplumber
with pdfplumber.open("document.pdf") as pdf:
text = pdf.pages[0].extract_text()
```
'';
data-analysis = ./skills/data-analysis;
}