/skills:using-depictio-nf-corefrom skills
Use when turning nf-core / Nextflow pipeline results into interactive Depictio dashboards: installing or starting Depictio locally, running `depictio ingest` on an outdir, picking a template or its variables (samplesheet, GROUP_COL), checking whether a pipeline version has a Depictio template, fixing a blank or failing dashboard, auto-ingesting runs from Nextflow, or adding/updating a pipeline template after its output layout changed.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Depictio ships one template per nf-core pipeline version
(nf-core/<pipeline>/<version>): scan rules for the outdir, recipes that reshape outputs into tables,
and a ready dashboard. depictio ingest <outdir> detects pipeline + version from pipeline_info/
and builds the project. Fastest path for one person: the Python package with depictio local up
(no Docker). Docs: https://depictio.github.io/depictio-docs/latest/
| Task | Command |
|---|---|
| Install (Python 3.11–3.14) | uv tool install --python 3.12 "depictio[local]" |
| Start server (127.0.0.1:8058) | depictio local up --examples none |
| Validate, change nothing | depictio ingest <outdir> --dry-run --var ... |
| Ingest | depictio ingest <outdir> --var METADATA_FILE=$PWD/samplesheet.csv |
| Refresh after a re-run | same command + --update-config (keeps viewer edits) |
| Add another outdir to the project | ... --attach-run |
| Open / status / stop | depictio local open / status / down |
| No template for the pipeline | depictio template compose <outdir> -o <dir> |
| Delete all local data | depictio local wipe --yes |
uv tool install puts depictio on PATH in its own env (~1.6 GB). Python < 3.11
fails; --python 3.12 lets uv fetch one without touching conda. Prefer it over uvx (no
depictio command left for status/down).T=$(echo "$(uv tool dir)"/depictio/lib/python3.*/site-packages/depictio/projects/nf-core/<pipeline>)
ls "$T" # versions shipped
sed -n '/variables:/,/^ reference:/p' "$T"/<version>/template.yaml
Per-tab docs (optional inputs, env flags) are only on GitHub:
depictio/projects/nf-core/<pipeline>/<version>/docs/dashboards.md.
No exact version → the closest older one is auto-selected (log line Auto-selected template:).
Run older than every shipped version, or wrong pick → pass --template nf-core/<pipeline>/<version>.up downloads MongoDB, Redis, SeaweedFS (~170 MB, a few minutes)
into ~/.depictio/local; later starts take seconds. Env flags must be set on up itself (see
Common mistakes).--input. Templates read it from a
variable (name differs per template: METADATA_FILE, SAMPLESHEET_FILE, ...), default usually
<outdir>/input/samplesheet.csv. If --input was a URL, get it from
pipeline_info/params_*.json and download it. Either pass --var NAME=/abs/path or copy it
into <outdir>/input/samplesheet.csv.! Sources not found); fix those first. Ingest prints
project + dashboard URLs. Open one and check every tab has data.template.yaml, run --dry-run + a real ingest on your new
test output, then open a PR adding depictio/projects/nf-core/<pipeline>/<new-version>/. Guide:
https://depictio.github.io/depictio-docs/latest/developer/contributing-templates/
Recipes in <pipeline>/recipes/ are shared across versions; add a per-version override only
when a file's schema changed.depictio template compose <outdir> -o <dir> builds one from the generic
tool catalog (MultiQC, FAMSA, HMMER, SeqKit, ...). Treat it as a draft: it can mislabel
pipeline-specific files as other pipelines' outputs and drops collections it can't resolve
(listed under Left out). Edit, then depictio ingest <outdir> --template <dir>.depictio config nextflow --install adds an onComplete
handler to ~/.nextflow/config (failed runs are never ingested). One run only:
nextflow run ... -c $(depictio config nextflow).| Symptom | Cause / fix |
|---|---|
| Install fails / no matching version | Python < 3.11 (e.g. conda base 3.10); uv tool install --python 3.12 ... |
Dry-run: ! Sources not found ... input/samplesheet.csv | Samplesheet not given; step 4. Ingesting anyway leaves the sample hub empty |
| Tabs empty after a pipeline update | Output paths no longer match template; maintainer section |
| 3D structure tile: "Structure lookup is disabled" | Restart: depictio local down, then DEPICTIO_STRUCTURE_RESOLVER_ENABLED=true depictio local up. Sends sequences/accessions to public ESMFold / AlphaFold DB / UniProt; ESMFold folds ≤ 400 aa |
Other DEPICTIO_* vars ignored | local up drops shell DEPICTIO_* except TELEMETRY_, VERSION_CHECK_, REMOTE_, FASTAPI_EMBED_, STRUCTURE_RESOLVER_ |
✗ Project '...' already exists on this server | Same outdir: --update-config. Another outdir of the same study: --attach-run. Separate project: --project "<name>" |
| Logs | ~/.depictio/local/logs/ (api.log, worker.log) |
Shared machines: the local server is single-user with no login. On an HPC login node every user of that node can reach its port. Use Docker Compose in multi-user mode there (https://depictio.github.io/depictio-docs/latest/installation/docker/).
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub vagkaratzas/skills --plugin skills10 skills in this plugin
/drawio-nf-core-metromapsUse when creating, updating, or exporting an nf-core / Nextflow pipeline metro map (subway-style workflow diagram) with draw.io (app.diagrams.net) through Claude in Chrome: redrawing the map for a new release, adding or removing module stations and lanes, editing an existing draw.io metro map, drawing a map of how several pipelines chain (stations = pipelines with their logos), or exporting light and dark PNG/SVG versions into docs/images. Not for maps drawn with Inkscape, the nf-metro plugin, or other tools.
/migrate-nf-core-static-typesUse when migrating, or reviewing a PR that migrates, an nf-core / Nextflow pipeline to typed
parameters or static types — e.g. "add parameter types", "typed params block", "strict typing",
"nextflow.enable.types", "convert to records", bumping to Nextflow >= 26.04, or nf-core lint
failing on nextflow_config / schema_params after moving params into main.nf.
/plan-nf-core-releasesUse when creating, revising, or re-prioritising a release roadmap (ROADMAP.md) for an nf-core / Nextflow pipeline: deciding what goes into the next version, splitting a large feature across releases, choosing minor vs major (breaking) version, or mapping open GitHub issues, PRs, and a maintainer's to-do list onto upcoming releases. Do not trigger for writing the CHANGELOG, cutting/tagging a release, or implementing roadmap items.
/redesignUse this skill only when the user explicitly asks to redesign code, such as "redesign this code", "redesign this module", or invokes $redesign. Do not trigger for ordinary code review, refactoring, cleanup, naming, documentation, or comment-writing requests unless the user specifically asks for a redesign.
/token-saviourPick the most token-efficient tool for a coding task instead of reflexively reading whole files, dumping raw command output into context, or writing more code than asked. Use this skill BEFORE you explore or explain a codebase, locate a symbol/definition/callers, trace a call path, map an architecture, plan or implement a feature across layers, or run verbose commands (tests, builds, git, grep, directory listings) — and whenever context/token budget, cost, or "make this use fewer tokens" comes up. It routes the scenario to serena, rtk, caveman, Ponytail, or plain tools, with concrete commands and the combinations to use vs. avoid. Reach for it even when the user doesn't name a tool: if you're about to `cat`/Read several files, or about to generate a big implementation, that's the trigger.
/uv-auditPython dependency security auditor using uv. Use this skill whenever asked to audit dependencies, check for security vulnerabilities or CVEs, update packages, fix outdated dependencies, run pip-audit, or keep a Python project's pyproject.toml current and safe. Trigger proactively when the user mentions dependency hygiene, wants to harden their Python project, or asks anything about package versions, security issues, or dependency updates — even if they don't use the word "audit".