archidocs init
Set up a Workspace in this repo and install the agent skill, or with --skill install only the skill in a code repo. Safe to re-run.
archidocs init [--skill [--workspace <dir>]]Examples
Section titled “Examples”Write archidocs/workspace.yaml if the repo has no Workspace yet, and install the agent skill.
archidocs initIn a code repo, install only the agent skill, and print the MCP command for the Workspace checked out beside it.
archidocs init --skill --workspace ../architecture/archidocs--skill
Section titled “--skill”--skill · Off by default.
Install only the agent skill and its pointers, for a code repo that has no Workspace of its own.
--workspace
Section titled “--workspace”--workspace <dir>
With --skill: the Workspace checkout that the printed MCP command points at.
Exit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
0 |
The Workspace and the agent skill are set up, or already were. Each file written or updated is printed. |
2 |
It could not run: an unknown flag, a flag missing its value, --workspace without --skill, or a file it could not write. |
Exit 2 prints the reason to stderr as archidocs: <message>, and after most mistakes in the command line, the usage summary.
See also
Section titled “See also”- Quick start: starts a Workspace with it.
- Install the agent skill: what the skill is, and
--skillfor a code repo. - How the Workspace is found: where it looks for
workspace.yaml.
Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.