| name | add-rule |
| description | Use when user wants to Guided workflow for adding or editing a custom item rule in items_rules.json |
| disable-model-invocation | true |
To add or change a rule for an item:
-
Find the rules file:
ls src/autoscrapper/items/items_rules.default.json
-
Rule format:
{ "item_name": "Arc Alloy", "action": "sell" }
Valid actions: `keep`, `sell`, `recycle`
-
Do not edit items_rules.default.json - it is overwritten by the update script. Add custom rules to your custom rules file (configured in Settings).
-
Validate after adding:
uv run autoscrapper scan --dry-run
Check logs for the item - confirm the correct action appears.
`````text