Skip to content
Back to skills

Deep Danbooru

ASecurity

"Use DeepDanbooru for anime-style image tag estimation, project and

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
toolspythonsqlapidatabasebackendperformance

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Deep Danbooru?

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

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

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: deep-danbooru
description: "Use DeepDanbooru for anime-style image tag estimation, project and
  Danbooru-style dataset preparation, TensorFlow training, image evaluation,
  TFLite conversion, and experimental Grad-CAM workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# DeepDanbooru

Use this repo skill when a task names DeepDanbooru or `deepdanbooru`, asks for
anime-style multi-label image tagging, or needs the package's project, dataset,
training, evaluation, TensorFlow Lite, or Grad-CAM workflows. This skill covers
the 1.0.0 source contract represented by the provenance snapshot; read it before
refreshing against a changed checkout.

## Route by task

- **Project, tags, or dataset layout**: read
  [`project-data-setup`](sub-skills/project-data-setup/SKILL.md). It owns
  `create-project`, `download-tags`, `make-training-database`, `project.json`,
  `tags.txt`, SQLite `posts`, and `images/<prefix>/` validation.
- **Training or checkpoint recovery**: read
  [`model-training`](sub-skills/model-training/SKILL.md). It owns config
  validation, supported ResNet/optimizer/loss values, data preflight,
  `train-project`, checkpoints, and `.keras` exports.
- **Tag inference or evaluation**: read
  [`inference-evaluation`](sub-skills/inference-evaluation/SKILL.md). It owns
  `evaluate`, `evaluate-project`, Python inference APIs, preprocessing,
  thresholds, recursive folders, and `.txt` sidecars.
- **Export or attribution artifacts**: read
  [`post-training-tools`](sub-skills/post-training-tools/SKILL.md). It owns
  `conv2tflite`, TFLite checks, and experimental `grad-cam` output.

Use the owning sub-skill rather than trying to make the root a full API manual.
The root references below contain cross-cutting install, CLI, and failure
information.

## Install and verify

The source package declares a base install plus a TensorFlow extra. For the
repository's documented full workflow, install the TensorFlow requirements in a
fresh compatible Python environment:

```console
python -m pip install "deepdanbooru[tensorflow]"
# Or, when the distribution's published requirements file is available:
python -m pip install -r requirements.txt
```

The package imports TensorFlow and TensorFlow I/O through its public module and
CLI paths. Do not call a CPU import proof of CUDA readiness. Start with the
bundled no-download diagnostic:

```console
python scripts/environment_smoke.py
python -m deepdanbooru --help
python -m deepdanbooru evaluate --help
```

The console entry point is `deepdanbooru`. CPU TensorFlow is the verified
correctness backend for this skill. `evaluate` is CPU-first unless
`--allow-gpu` is explicitly supplied; this source snapshot did not verify GPU
libraries or GPU performance.

## Operating boundaries

- Do not download Danbooru tags, model weights, or datasets without explicit
  network/credential approval. The bundled scripts are offline and safe by
  default.
- Do not launch full training as a smoke test. Validate the project, tags,
  SQLite schema, image paths, and package imports first; training is expensive
  and writes checkpoints/exports.
- Treat the known 1.0.0 `evaluate-project` loader defect as real: its native
  route calls the absent `dd.data.load_tags_from_project` symbol. For production
  folder inference, use `evaluate --project-path ... --allow-folder`, which uses
  the available project tag loader. The bundled project smoke helper exercises
  that fallback and does not claim an unverified native run.
- The native `evaluate --save-txt` path can fail for an empty selected-tag list
  and overwrites an existing sibling sidecar with `w`. Use the skill helper
  `sub-skills/inference-evaluation/scripts/save_txt_guard.py` when sidecar output
  needs a local safety boundary: it rejects empty selections and sibling
  directories, and requires an explicit flag to overwrite a regular file.
- Read [`repo-provenance.md`](references/repo-provenance.md) before deciding
  whether this graph is stale; package/source version drift remains possible.
- Read [`install-and-cli.md`](references/install-and-cli.md) for the full command
  map and dependency/version caveat.
- Read [`troubleshooting.md`](references/troubleshooting.md) for package-wide
  recovery.

Files in this skill

  • SKILL.md4.2 KB
  • references/install-and-cli.md2.8 KB
  • references/repo-provenance.md1.6 KB
  • references/repo-routing-metadata.json332 B
  • references/troubleshooting.md3.6 KB
  • scripts/environment_smoke.py2.4 KB
  • sub-skills/inference-evaluation/SKILL.md5.1 KB
  • sub-skills/inference-evaluation/references/api-reference.md5.9 KB
  • sub-skills/inference-evaluation/references/cli-reference.md4.6 KB
  • sub-skills/inference-evaluation/references/image-inputs-and-tags.md4.3 KB
  • sub-skills/inference-evaluation/references/troubleshooting.md7.3 KB
  • sub-skills/inference-evaluation/scripts/dummy_evaluate_smoke.py1.7 KB
  • sub-skills/inference-evaluation/scripts/evaluate_project_smoke.py3.4 KB
  • sub-skills/inference-evaluation/scripts/image_preprocess_smoke.py1.9 KB
  • sub-skills/inference-evaluation/scripts/save_txt_guard.py2.3 KB
  • sub-skills/model-training/SKILL.md7.3 KB
  • sub-skills/model-training/references/model-and-loss-reference.md5.5 KB
  • sub-skills/model-training/references/training-data-pipeline.md5.4 KB
  • sub-skills/model-training/references/training-workflows.md5.9 KB
  • sub-skills/model-training/references/troubleshooting.md7.1 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.