---
name: source-command-prd-autonomy
description: Show or set the PRD Plugin autonomy level (autonomous | key_decision | guided). Host-native /prd-autonomy equivalent for hosts that load skills instead of Claude command files; trigger on "/prd-autonomy", "prd-autonomy", or a request to run the prd-autonomy operation.
---

# /prd-autonomy (host-native command skill)

Generated from `commands/prd-autonomy.md` by `scripts/generate_command_skills.py` — do not edit by hand; edit the command file and regenerate.

Treat the user's invocation as this command. Where the instructions use `$ARGUMENTS`, substitute the arguments the user supplied (expected: [autonomous|key_decision|guided]  (empty = show current)).

Run the PRD Plugin autonomy helper, then report the result in one plain line.

The argument is: `$ARGUMENTS`

Run the `prd_gate.py set-autonomy` command with that argument (omit the argument
to show the current level). Use the downstream path if it exists, else the hub
path:

- downstream: `python .prd_plugin/scripts/prd_gate.py set-autonomy $ARGUMENTS`
- hub: `python scripts/prd_gate.py set-autonomy $ARGUMENTS`

Then tell the user the current/new level and that it takes effect immediately for
how you decide vs. ask. Do not do anything else.

## Staleness

This adapter owns no records of its own; apply the shared policy in `.prd_plugin/method/staleness-rules.md` to any records the underlying operation reads or writes.
