[BUG] Duplicate scheduled triggers cannot be managed — running Claude Code via API key (no claude.ai OAuth)
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Summary
I have two duplicate scheduled triggers for a custom skill (aha-status) that I cannot access or delete. Both are firing on the wrong day/time (Monday, ~12:43 PM and ~1:36 PM
instead of Thursday 9 AM).
Environment
- Running Claude Code via Node/API key — not authenticated via claude.ai OAuth
- macOS, Claude Code CLI
Problem
When I attempt to manage scheduled triggers via the CLI, I receive:
▎ "Not authenticated with a claude.ai account. Run /login and try again."
When I attempt /login, I receive an error stating my account cannot be linked because I'm running Claude Code via Node. My Elsevier SSO account is not cleanly linkable to Claude
Code in this setup.
The triggers were created via the /schedule skill from the CLI. I do not have a personal claude.ai account associated with these triggers.
What I need
Please delete all scheduled triggers associated with my account/API key so I can recreate a single correct trigger once the authentication issue is resolved.
What Should Happen?
Expected behavior
Users running Claude Code via API key should be able to list and manage their scheduled triggers without requiring claude.ai OAuth login. Or, SSO between the two should work more cleanly.
Error Messages/Logs
Steps to Reproduce
When I attempt to manage scheduled triggers via the CLI, I receive:
▎ "Not authenticated with a claude.ai account. Run /login and try again."
When I attempt /login, I receive an error stating my account cannot be linked because I'm running Claude Code via Node. My Elsevier SSO account is not cleanly linkable to Claude
Code in this setup.
The triggers were created via the /schedule skill from the CLI. I do not have a personal claude.ai account associated with these triggers.
Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.87
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗