# New

> Create a new, tracked Stencila document with scaffolded frontmatter.

- Skill: `stencila/new` (Agent Skill)
- Install (CLI): `npx skillmds@latest add stencila/new`
- Raw SKILL.md: https://api.skillmd.com/api/skills/stencila/new/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: stencila (https://skillmd.com/u/stencila)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/stencila/new

---


# /stencila:new

Create a new document at the path in `$ARGUMENTS`.

Use the stencila CLI path reported in session context; otherwise
`${CLAUDE_PLUGIN_OPTION_STENCILA_PATH}` if set, else `stencila`. If no CLI
is available, point the user at `/stencila:doctor` and stop.

```sh
NO_COLOR=1 <stencila> new <path> --yes
```

This creates a tracked article (`--type article` is the default; do not use
`--type chat` unless explicitly asked). Prefer an `.smd` extension unless
the user works in MyST or Quarto.

Then scaffold frontmatter appropriate to what the user is writing — at
minimum a `title` and `description`:

```smd
---
title: <title>
description: <one-sentence description>
---
```

Ask what the document is about if it is not clear from context. See the
`authoring` skill before adding executable content.

