> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentlinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# agentlinkops agent remove

> Remove unchanged installer-owned skills and MCP entries while preserving customer records.

```bash theme={null}
agentlinkops agent remove [--scope project|user] [--apply] [--json]
```

## Behavior and output

Uses the matching scoped receipt. Edited or foreign files and preexisting MCP entries remain. Removal preserves the ledger and other customer records; ambiguous config ownership is not removed.

## Arguments

\--scope defaults to project. Without --apply, prints the proposed actions. --apply performs the validated operation. --json prints machine-readable output.

## Exit status

0 on success; 2 on usage, configuration, input or request failure.

Read [configuration and file ownership](/reference/local/configuration) before automating this command. Read [local file contracts](/reference/local/artifacts) for artifact fields. Browse the [local command index](/reference/local/index) for related commands.

<Note>Check the selected environment and workspace access before calling hosted operations. See [capability status](/capability-status).</Note>
