mvanhorn/last30days-skill · error · SystemExit

Unknown config key: {args.key}

Error message

Unknown config key: {args.key}

What it means

Error "Unknown config key: {args.key}" thrown in mvanhorn/last30days-skill.

Source

Thrown at skills/last30days/scripts/watchlist.py:268

        )
        return {"topic": topic["name"], "status": "failed", "error": f"parse error: {exc}"}
def cmd_config(args):
    if args.key == "budget":
        store.set_setting("daily_budget", str(args.value))
        print(json.dumps({"action": "config", "key": "daily_budget", "value": str(args.value)}))
        return
    if args.key == "delivery":
        value = str(args.value)
        # Reject a non-https channel at write time so the operator gets
        # immediate feedback, rather than discovering it via a stderr line
        # buried in a research run hours later. Matches the delivery-time guard
        # in _deliver_findings.
        if value and urllib.parse.urlparse(value).scheme != "https":
            raise SystemExit(f"delivery_channel must be an https:// URL, got {value!r}")
        store.set_setting("delivery_channel", value)
        print(json.dumps({"action": "config", "key": "delivery_channel", "value": value}))
        return
    raise SystemExit(f"Unknown config key: {args.key}")


def build_parser() -> argparse.ArgumentParser:
    parser = argparse.ArgumentParser(description="Manage the last30days watchlist")
    sub = parser.add_subparsers(dest="command")

    add = sub.add_parser("add")
    add.add_argument("topic")
    add.add_argument("--schedule")
    add.add_argument("--weekly", action="store_true")
    add.add_argument("--queries")
    add.set_defaults(func=cmd_add)

    remove = sub.add_parser("remove")
    remove.add_argument("topic")
    remove.set_defaults(func=cmd_remove)

    list_parser = sub.add_parser("list")

View on GitHub (pinned to c7460f6114)

Solutions

  1. Use one of the supported config keys: 'budget' (daily budget) or 'delivery' (https delivery channel URL).
  2. Check 'watchlist.py config --help' for the current list of supported keys.

When it happens

Trigger: Fires when the user runs the watchlist config command with a key that the tool does not recognize. Typically caused by a typo in the key name or by using a key from a different tool version.

Common situations: See trigger scenarios.


AI-assisted analysis of mvanhorn/last30days-skill@c7460f6114 (2026-08-15). Data as JSON: /api/errors/e2cffb1a100044e3. Report an issue: GitHub.