Skip to content
Back to skills

Synthdog

ASecurity

"Generate synthetic OCR-free document datasets with SynthDoG,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
datapython

Works with

  • cli

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill synthdog --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Synthdog?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Synthdog
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-synthdog/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-synthdog)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: synthdog
description: "Generate synthetic OCR-free document datasets with SynthDoG,
  render language-specific configs, and adapt the template for custom corpora."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# SynthDoG

Use this sub-skill when a user wants to generate synthetic document samples, make OCR-free document data, swap between the English/Japanese/Korean/Chinese template configs, or adapt SynthDoG to a new corpus.

## Route first

- Read [`references/workflows.md`](references/workflows.md) for the render-then-run flow, tiny-fixture smoke, split layout, and metadata layout.
- Read [`references/configuration.md`](references/configuration.md) for the config knobs, language bundle mapping, and custom-corpus adaptation.
- Read [`references/resource-layout.md`](references/resource-layout.md) for the background/paper/corpus/font directory contract and the asset bundling decision.
- Read [`references/troubleshooting.md`](references/troubleshooting.md) when `synthtiger`, `pytweening`, NumPy, OpenCV, fonts, corpora, or output paths fail.
- Use [`scripts/render_config.py`](scripts/render_config.py) when you need to turn the bundled placeholder configs into a runnable config that points at external resource directories.
- For shared install/import issues with the broader Donut stack, check the parent-tree troubleshooting file at [`../../references/troubleshooting.md`](../../references/troubleshooting.md) once it exists.
- If the user is actually trying to fine-tune on generated data, hand off to [`../training/SKILL.md`](../training/SKILL.md).

## Boundaries

- Include: template behavior, background/document/content/layout helper modules, language configs, resource requirements, CLI invocation through `synthtiger`, output directory and metadata layout, tiny-fixture generation.
- Exclude: Donut training, inference, and evaluation metrics.

## Quick checks

- `python scripts/render_config.py --help`
- `synthtiger --help` if SynthDoG is installed in the active environment
- `python -m py_compile scripts/render_config.py scripts/template.py scripts/elements/*.py scripts/layouts/*.py`

## What to do

1. Choose the language bundle and resource root.
2. Render a config with `scripts/render_config.py`.
3. Run `synthtiger` from this sub-skill root with `scripts/template.py`, the `SynthDoG` template class name, and the rendered config.
4. Inspect the split directories and `metadata.jsonl` files that `template.py` writes.
5. If the user later wants model training on the generated data, route the dataset to the training sub-skill.

Files in this skill

  • SKILL.md2.5 KB
  • references/configs/config_en.yaml2.6 KB
  • references/configs/config_ja.yaml2.6 KB
  • references/configs/config_ko.yaml2.6 KB
  • references/configs/config_zh.yaml2.6 KB
  • references/configuration.md3.9 KB
  • references/resource-layout.md2 KB
  • references/troubleshooting.md3.3 KB
  • references/workflows.md2.8 KB
  • scripts/elements/__init__.py323 B
  • scripts/elements/background.py608 B
  • scripts/elements/content.py3.5 KB
  • scripts/elements/document.py2.4 KB
  • scripts/elements/paper.py391 B
  • scripts/elements/textbox.py1.1 KB
  • scripts/layouts/__init__.py169 B
  • scripts/layouts/grid.py2.3 KB
  • scripts/layouts/grid_stack.py2.4 KB
  • scripts/render_config.py6.6 KB
  • scripts/template.py5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.