feat(plugin): add the tether skill — email handoff for long-running sessions#354
Merged
Conversation
…nning sessions Adds a Beta `tether` skill to the e2a plugin: a long-running coding session emails threaded status updates to the user as it sees fit and polls for emailed replies, so the user can steer an AFK agent from their inbox. Sending is agent-driven (via e2a); receiving is poll-driven (keep the session alive with /loop). An optional Notification hook alerts on permission-blocked stalls. Reuses the CLI's agent creds from `e2a login` (~/.e2a/config.json) so setup collapses to a single login. Bumps the plugin to 0.4.2 across all client + marketplace manifests and lists the skill in the README. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This was referenced Jul 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a Beta
tetherskill to the e2a plugin. During a long-running coding session, the agent emails threaded status updates to the user as it sees fit and polls for emailed replies — so a user who's AFK can steer the agent from their inbox. Replystopto end.Architecture
Coding agents are turn-based; nothing native listens to an inbox mid-session. So the two directions use different mechanisms:
tether.sh update "…"at meaningful moments (model's judgment sets cadence → no per-turn spam).tether.sh pollon an interval; keep the session alive with/loopso replies sent while idle are still picked up (no hook fires while idle).Credentials
Reuses the CLI's agent creds from
e2a login(~/.e2a/config.json) — no separate.envneeded. Falls back to~/.e2a-tether.env/ env vars. Uses the static, agent-scoped CLI api_key (the right credential for shell/hook context; the MCP OAuth token is client-managed and not reusable here).Files
skills/tether/tether.shstart/update/poll/status/stopskills/tether/lib.shskills/tether/hooks/tether-notify.shskills/tether/install.sh_selftestskills/tether/tether.env.exampleHousekeeping
Testing
node scripts/validate-plugin.mjs→ 3 skills, version 0.4.2, manifests in sync.install.sh _selftestgreen (hooks no-op unconfigured; syntax OK).curl:start → update → poll → stopwith no duplicate reply reporting.🤖 Generated with Claude Code