Skip to content

Other agents

See OpenCode and Kilo Code.

Any agent that can run a shell command can run slopcop: it never prompts, every check it sends makes one request, and it answers with an exit code. Run outside Claude Code, Codex or OpenCode, a check sends nothing about the session, only the repository URL, the base commit, and the patch.

If the agent cannot load skills, give it the essentials in its instructions file:

Before you finish, run `slopcop check --if-enabled --format json` from the
repository root and read the report. It sends nothing when this repository is
not enabled in the workspace.
- Exit 0: clean, or skipped because the repository is not enabled. A skip is
not a pass; do not ask the user to add the repository unless they asked you
to check it. They enable it with `slopcop enable` at a terminal.
- Exit 1: the change added findings. Fix each one and run the check again.
Read a finding whose certainty is "possible" or "heuristic" before changing
code; if it is a false positive, run `slopcop ignore <id>` with its id.
Undo a mistaken ignore with `slopcop unignore <id>`; `slopcop ignored`
lists the repository's ignored findings and their ids.
- Exit 2: some rule could not finish, or the check failed. Say which; never
treat it as clean.
- Exit 3: still running. Run the same command again.
- Exit 4: refused; only a person can clear it. Stop and report the code and
remedy from the output.
When checking committed work, pass `--base <branch the change targets>`.

The full instructions are in the skill itself, which you can read at skills/slopcop/SKILL.md and adapt.

An agent that cannot run a command, such as the ones inside Lovable and Bolt, checks over SlopCop’s hosted MCP server instead. See Lovable, Bolt, and MCP clients.

An agent runs with your login. On a machine where you cannot open a browser, store a token instead of running the device flow:

Terminal window
slopcop login --token "$SLOPCOP_TOKEN"

or set SLOPCOP_TOKEN in the agent’s environment, which needs no login at all. See Sign in. Give agents that share a login their own --workspace rather than switching the login’s workspace; see Workspaces.