| name | scitex-template |
| description | [WHAT] Project scaffolding cloner + code snippet library for the SciTeX
ecosystem — 6 templates (pip-project, minimal, cloud-module, research,
singularity, paper) vendored in a single monorepo and populated into user
targets via a `~/.scitex/template/cache/` shallow-clone.
[WHEN] Starting a new SciTeX-flavored project (pip package, research repo,
paper, container, or cloud module) and you want the canonical layout.
[HOW] `scitex-template clone <id> <target>`, or `from scitex_template
import clone_template_from_cache`. MCP: `template_clone`, `template_list`.
|
| user-invocable | false |
| tags | ["scitex-template"] |
| invocation | ["clone a scitex research template","create a new scitex-* package skeleton","scaffold a pip project"] |
scitex-template
Standalone cloner for the SciTeX ecosystem's six project templates. Every
template lives vendored under templates/<id>/ in this monorepo. Wheel
stays ~100 KB; content populated on first use by a shallow-clone into
~/.scitex/template/cache/.
The six templates
| id | purpose |
|---|
pip-project | Generic Python pip package (CI, tests, docs) |
minimal | Minimal scitex-* starter (src/tests/pyproject only) |
cloud-module | SciTeX Cloud workspace module (TS + Python) |
research | Full research project + writer + scholar + MNIST |
singularity | Apptainer/Singularity recipe + build scripts |
paper | LaTeX manuscript scaffold |
Public surface
scitex-template list-templates
scitex-template show-info research
scitex-template clone research ./my-proj
scitex-template refresh-cache
from scitex_template import clone_template_from_cache, load_registry
clone_template_from_cache("research", "./my-proj")
for entry in load_registry():
print(entry.id, entry.version, entry.description)
MCP tools: template_list, template_info, template_clone,
template_cache_refresh.
Sub-skills
Architecture
- Wheel small, content in git.
templates/<id>/ excluded from wheel
(~22 MB); first clone_* runs git clone --depth 1 into
~/.scitex/template/cache/.
- Local-state per
01_arch_06 — cache at ~/.scitex/template/cache/
(honors SCITEX_DIR).
- Downstream-clean per
01_arch_02 — zero runtime dep on the scitex
umbrella for the cache fast-path; legacy remote-clone uses scitex.git
via [legacy] extra.