Beginner-friendly runbook for installing just, setting up justx, and giving AI agents a standard way to find and run project commands.
This package is standalone. It gives beginners and their agents a practical path for installing just, setting up justx, learning the basics, and adding a safe project command menu.
This guide helps a user hand a project to an AI agent and say:
Please get
justandjustxworking on this system, then add a simple projectjustfileso future agents know how to run common commands.
The agent should inspect the system first, explain what it found, install missing tools only with approval, preserve existing project files, and verify the result. It should also add a durable justfile-first rule to the project's agent instructions and get the user's confirmation before calling setup finished.
A justfile gives every project a simple command menu.
For a fuller explanation of why this matters for both people and AI agents, read What Is a Justfile, and Why Should You Use One With AI Agents?. You can also read and share the published X article.
Without one, a person or agent has to hunt through README files, package scripts, shell scripts, Makefiles, notes, and old chat history to figure out how the project works. That slows everything down, especially when a new agent enters the project cold.
With a justfile, the first useful question becomes:
just --listThat one command can show how to inspect the project, run tests, build, start the app, verify edits, or prepare a handoff.
For humans, this means fewer commands to memorize. For agents, it means less guessing and fewer failed attempts. Instead of spending time rediscovering the project, the agent can follow a known path:
- run
just --list - run
just agent-preflight - make the requested change
- run
just agent-verify - report what changed
This can also save inference costs. Agents burn tokens when they repeatedly search for commands, misread setup instructions, try the wrong test command, or explain avoidable errors. A good justfile turns common project actions into deterministic recipes, so the agent spends more of its reasoning budget on the actual work and less on rediscovery.
justx is optional, but it makes the same command menu easier to browse. just gives the project a reliable command interface. justx gives users a friendly way to navigate it.
The v0.1.6 setup has two simple layers:
- The project
justfilecontains the recipes. It is the project command menu. AGENTS.mdor another agent/harness instruction file tells the agent to check that menu first.
Both matter. A command can exist without an agent knowing it should use that command first. That was the exact problem seen in real Hermes use: the recipe existed, but the durable project instructions did not yet tell the agent to start there. The justfile-first rule closes that gap for Hermes, OpenClaw, and other agent harnesses.
runbook/justfile-beginner-runbook.md- Full beginner guide.runbook/quick-start-card.md- One-page starter card.prompts/install-just-and-justx.md- Copy-paste prompt for tool installation.prompts/teach-me-justfile-and-justx.md- Copy-paste prompt for learning how justfiles andjustxwork.prompts/add-standard-justfile-to-project.md- Copy-paste prompt for adding a project justfile.prompts/add-justfile-first-agent-rule.md- Copy-paste prompt for adding the durable agent/harness rule.prompts/repair-justfile-setup.md- Copy-paste prompt for troubleshooting.tutorial/justfile-and-justx-tutorial.md- Longer tutorial for humans and agents.videos/How_a_Justfile_Fixes_AI_Coding_Agents.mp4- Short visual introduction to why a justfile helps AI coding agents.examples/basic-justfile- Small example for a new project.examples/agent-standard-justfile- Reference copy of the standard agent workflow justfile.starter-kit/justfile- Copy-ready version of the same standard justfile for users to place in a project.validate-justfile-setup.py- Dependency-free checker for common setup issues.
If you are brand new, start here:
- Open
runbook/quick-start-card.md. - Copy the first prompt from the card into your agent.
- Let the agent inspect your system and recommend an install path.
- Approve the install only after the agent explains what it found.
- If you want a lesson before changing a project, copy
prompts/teach-me-justfile-and-justx.md. - After install verification, copy
prompts/add-standard-justfile-to-project.md. - Have the agent run:
just --version
just --list
just agent-preflight- Have the agent add the durable rule from
prompts/add-justfile-first-agent-rule.mdtoAGENTS.mdor the appropriate existing instruction file. - Review what changed and confirm the workflow works. Only then is setup complete.
If justx is installed, also test:
justx --version
justxPrefer to watch first? Watch or download How a Justfile Fixes AI Coding Agents.
- New to command line? Start with the Linux, WSL, or macOS path if available. For Windows beginners, WSL is the recommended path.
- Already inside a project? Use
prompts/add-standard-justfile-to-project.md. - Only want to learn first? Use
prompts/teach-me-justfile-and-justx.md. - Something is broken? Use
prompts/repair-justfile-setup.md.
Before approving install commands, make sure the agent explains what each command does and why that install method fits your system.
You do not need Git to use this package.
- Open the v0.1.8 release page.
- Download
justfile-beginner-runbook-v0.1.8.zip. - Unzip it somewhere simple, such as your Desktop or Documents folder.
- Open
runbook/quick-start-card.mdfirst. - Give the prompts to your agent from the unzipped folder.
Do not copy this repo's starter-kit/justfile into this runbook repo. Copy it into the project you want to improve.
You are done with the first setup when:
just --versionprints a version.just --listshows available recipes.- the project has a
justfile. just agent-preflightruns without a confusing error.AGENTS.mdor the appropriate agent instruction file contains the justfile-first rule.- you reviewed the changes and confirmed the workflow works.
justx --versionprints a version, if you installedjustx.
justx is helpful but optional. A project should still work with plain just.
This package is intended for:
- Linux
- WSL on Windows
- macOS
- Windows with WSL, Git Bash, MSYS, or another Bash-compatible shell
just itself can be installed on Windows, but the starter justfile recipes use Bash-style shell syntax. For native PowerShell or cmd.exe, use WSL/Git Bash or create a Windows-specific starter justfile.
just is the core tool. justx is optional. The install prompt asks the agent to detect the user's system before recommending commands.
Check a project folder:
python3 validate-justfile-setup.py /path/to/projectRequire justx too:
python3 validate-justfile-setup.py /path/to/project --require-justxMissing starter recipes are warnings unless just --list fails, just is missing, or the project has no justfile.
Status: v0.1.8 published.
Installation guidance was checked against:
justofficial manual: https://just.systems/man/en/installation.htmljustpackage list: https://just.systems/man/en/packages.htmljustxofficial repository: https://github.com/fpgmaas/justx