Skip to content

HEY skill should reuse stored authentication for unattended agents #147

Description

@wgj

The bundled SKILL.md currently tells agents to run hey auth login before all data commands. This unnecessarily launches browser OAuth, even when valid stored credentials are already available, which breaks unattended tasks.

Suggested behavior:

  • Run hey auth status --json.
  • If authenticated, proceed. The CLI can refresh expiring tokens automatically.
  • If authentication fails during an unattended task, report it as blocked rather than launching a browser.
  • Use hey auth login only for interactive recovery when the user is present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions