Skip to content

Install the agent skill

The archidocs-authoring skill tells a coding agent how to edit the Model: load the authoring guide, follow its edit loop, and finish with check. The skill itself is a short stub; the guide it points to ships with the CLI, so agents always get the version that matches it.

archidocs init installs it with the Workspace:

Terminal window
archidocs init

It writes archidocs-authoring/SKILL.md into each folder where harnesses look for skills (.agents/skills, .claude/skills and .github/skills), and appends an “Architecture model” section to AGENTS.md, and to CLAUDE.md if there is one, that names the skill.

A repo whose code the Model describes, without a Workspace of its own, gets the skill alone:

Terminal window
archidocs init --skill --workspace ../architecture/archidocs

--workspace is the path to a checkout of the Workspace repo; init prints the MCP command that serves it. See Connect an agent over MCP.

Run archidocs init again after upgrading the CLI. It rewrites the stubs if they changed and leaves everything else alone. The guide itself needs no updating: archidocs guide and the MCP get_authoring_guide tool always serve the installed version’s.

  • archidocs guide, or get_authoring_guide with no topic: the Model in brief, the edit loop, and the list of task topics.
  • archidocs guide <topic>, or get_authoring_guide(topic): one task, such as add-service or bootstrap.

You can read the same guide, for the latest release, under Reference › Authoring guide for agents.