# Inki Write

> Top-level write orchestrator: outline a new page, get user approval, then draft from the outline.

- Skill: `strapi/inki-write` (Agent Skill)
- Install (CLI): `npx get-skill add strapi/inki-write`
- Raw SKILL.md: https://api.skillmd.com/api/skills/strapi/inki-write/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: strapi (https://skillmd.com/u/strapi)
- Updated: 2026-11-16
- Page: https://skillmd.com/skills/strapi/inki-write

---


# /inki-write: outline then draft

## Step 0: Parse arguments

If `$ARGUMENTS` contains `--help` or `-h`, print usage and stop, per `../inki-references/help.md`. Do not run the workflow.

Otherwise, from `$ARGUMENTS`, detect the autonomy flag anywhere in the list: `--non-interactive` (canonical), aliases `--auto-approve`, `--auto`, `--yes`, `-y`, `--no-questions-asked` (all equivalent). If present, set `AUTO=true` and remove the flag. What remains is the topic brief (text or path to a `.md` file).

Logging: unless `--no-log` is passed, write this skill's report to the run log per `../inki-references/logging.md` (`--log-dir <path>` and `--short-log` are also accepted). When invoked as part of an orchestrator (e.g. `/inki-document`), write into that run's existing directory instead of creating a new one.

## Workflow

### Interactive (`AUTO=false`, default)

1. Invoke `/inki-outline $ARGUMENTS`. Wait for user approval inside that sub-skill.
2. Once an outline file exists and the user accepted it, invoke `/inki-draft <outline-path>`.

If the user rejects the outline, stop. Do not draft.

### Auto (`AUTO=true`)

1. Invoke `/inki-outline --non-interactive $ARGUMENTS`. The outline is generated and saved without an approval gate.
2. Immediately invoke `/inki-draft <outline-path>` on the resulting outline.

In auto mode, the user sees the outline and the draft only after both are produced. They can still discard the outputs if they don't fit; nothing is committed automatically. `--non-interactive` here means "don't pause between outline and draft," not "trust the output blindly."

## Rules

- Even in auto mode, do not skip the outline step. The outline must exist as a file before drafting.
- Do not invent facts beyond what the brief and template support.
- Do not commit, push, or open a PR. Use `/inki-submit` for that.

