mokout
v0.1.3
Published
Quick scaffolding for agentic AI projects — uv/npm, Claude-ready CLAUDE.md, and modern tooling in one command.
Readme
mokout-cli
Quick scaffolding for agentic AI projects. One command sets up version control,
a package manager, and a Claude-ready CLAUDE.md — a lean, essentials-only
starter so you can build instead of configure.
npx mokout initWhat it does
mokout init scaffolds the current directory with only the essentials:
git init— version-controlled from the first commit- Package manager —
uv(Python, withpytest,ruff,pyreflydev deps) orbun(JavaScript, with@biomejs/biomedev dep) CLAUDE.md— a workflow doctrine for coding agents, auto-tailored with a Project Setup section (your actual lint/test commands) and a Definition of DoneAGENTS.md→ symlinked toCLAUDE.md, so any agent reads one source of truth.claude/settings.json— a permission allowlist for the project's safe commands, so Claude Code runs them without promptingtasks/— structuredtodo.md+lessons.md, referenced by the doctrine- Lint + format config — ruff (folded into
pyproject.toml) or Biome (biome.json) .gitignore+.env.example
That's it — no justfile, hooks, or CI cruft. It is idempotent and safe:
existing files are never overwritten. The CLAUDE.md doctrine lives in a managed
block that mokout updates in place on re-run — any content you add around it is
preserved. Run it in a fresh directory or an existing project.
Output
Python (mokout init --python) — 10 files:
pyproject.toml # uv project + [tool.ruff] + pytest/ruff dev deps
.python-version
uv.lock
.gitignore
.env.example
CLAUDE.md
AGENTS.md → CLAUDE.md
.claude/settings.json
tasks/todo.md
tasks/lessons.mdJavaScript (mokout init --js) — 9 files:
package.json
biome.json
.gitignore
.env.example
CLAUDE.md
AGENTS.md → CLAUDE.md
.claude/settings.json
tasks/todo.md
tasks/lessons.mdUsage
mokout init # interactive — asks Python or JavaScript
mokout init --python # Python project
mokout init --js # JavaScript project
mokout init --dry-run # print what would be created, write nothingAdd just the agent files to an existing project
Already have a project and only want it agent-ready? add agents drops in
CLAUDE.md, the AGENTS.md symlink, and tasks/ — no package manager, git, or
tooling changes:
mokout add agents # add CLAUDE.md + AGENTS.md + tasks/ here
mokout add agents --dry-run # previewIdempotent: re-running refreshes the doctrine's managed block in CLAUDE.md
and leaves everything else (including your own notes) untouched.
Install
No install needed — npx mokout init runs the latest version. To install globally:
npm install -g mokoutRequirements
- Node ≥ 18 (for
npx) uvon PATH for Python projects;bunfor JavaScript
License
MIT
