@apptoolkit/harness
v1.0.5
Published
A portable harness for configuring AI coding agents and engineering workflows.
Downloads
1,380
Readme
AppToolkit Harness
AppToolkit Harness installs project guidance, deterministic verification tools and 37 reusable engineering workflows for Codex, Claude Code and OpenCode. It supports new projects, existing repositories and a shared harness for related repositories.
Use macOS or Linux with Bun 1.4.2 or later, or Node.js 24 or later with npm. Use Git for versioned projects and RTK for project tooling. Run the installer from the target directory using one of these commands.
rtk proxy bunx --bun @apptoolkit/harness install
rtk proxy npx @apptoolkit/harness installbunx --bun selects Bun even when Node.js is absent. Plain bunx also works when Node.js is on PATH.
Choose the agents with the arrow keys and Space, then press Enter. Select the repository and service options and review the summary before applying. Open the same directory in your agent and run $apptoolkit init in Codex or /apptoolkit init in Claude Code or OpenCode. Choose project-wide or agent-only Biome as part of setup. Fresh sessions load the native bootstrap and reach the installed llm/HARNESS.md for ordinary work.
In a directory of related repositories, start the agent in the parent directory. The central harness keeps shared decisions and scoped repository context. For a newly cloned checkout, follow W20 and run add repo <path> through the installed CLI. Repositories can keep their own guidance and toolchain.
To preview an installation in a noninteractive session, inspect the target and supply the explicit choices.
rtk proxy bunx --bun @apptoolkit/harness inspect --root /absolute/workspace --json
rtk proxy bunx --bun @apptoolkit/harness install --root /absolute/workspace --hosts codex,claude,opencode --local --repo-mode .=local --plan --jsonUse --plan --json with explicit choices when you need the exact file changes. Use --yes in place of --plan to apply a reviewed noninteractive plan. Select the workspace mode separately from each Git repository's generated files. Local mode uses the repository's info/exclude metadata for the planned files. Use --repo-mode <path>=local|versioned for each selected Git repository.
Run $apptoolkit update in Codex or /apptoolkit update in Claude Code or OpenCode. An older shortcut can use the same path through the release launcher, rtk proxy bunx --bun @apptoolkit/harness@latest update --plan --json or rtk proxy npx @apptoolkit/harness@latest update --plan --json. The updater preserves project settings and learning records and compares managed files with the installation receipt. When those files conflict, choose the local version or the release using the exact hashes in the preview. A replaced local file is saved in the project's private update history. See W20 in the installed index for the resolution input and verification.
Local installations prefer host discovery without changes to tracked instructions. Codex can use an excluded AGENTS.override.md that directs it to consult the original AGENTS.md. Claude Code can use an excluded rules file. OpenCode can use an excluded project config to include the bootstrap. An occupied or higher-priority host path may need a project-specific setup choice. Review the install and init notices.
Plane and Penpot are separate opt-ins. To make a provider available after installation, preview an update with --enable-service plane or --enable-service penpot, apply it, and complete the project connection through init. The installed runbooks explain instance setup, private credentials, authorization and readiness checks. Snapshot verification requires a versioned harness and project-level opt-in. Use Bun to install the isolated Biome dependency before first using the author style profile.
The installed local CLI reads the workflow index, retrieves one workflow at a time and checks Markdown against a local document policy. See llm/HARNESS.md for the exact commands. The agent records which operations are configured and which were verified in the current environment.
Distributed under the MIT license.
