I made a plugin so OpenCode questions don't wait forever

I made a plugin so OpenCode questions don't wait forever

I run OpenCode while I'm away from my desk, and a couple of times I came back to find it had been waiting on a question the whole time. I still want a chance to answer when I'm around, just not an unlimited wait.

I made a small V2 plugin that gives the built-in question tool a five-minute timeout. You can change the delay with timeoutMs. Answer in time and everything behaves normally. Otherwise the question closes, and the agent gets a clear "no answer" result so it can continue where it's safe to do so. It doesn't answer on your behalf or approve anything. Permission prompts are separate and untouched.

One odd thing I ran into while building it: my first wrapper made the question options disappear from the TUI. The released version fixes that, and I tested the choices and timeout flow on V2.0.18. I haven't tested other versions yet.

GitHub: https://github.com/balakumardev/opencode-question-timeout

Install: opencode plugin add 'github:balakumardev/opencode-question-timeout#v0.1.0'

If you've had runs stuck on questions, I'd be curious what timeout you would use.

u/spideyy_nerd — 13 days ago

/goal for Claude Code

What it is: A /goal command for Claude Code that lets you set a long task, keeps Claude working on it across many turns without stopping, and double-checks the work at the end. By default, a second, independent Claude session reviews the result — so Claude can't just claim it's done. Good for:

  • Building something from a spec: paste the requirements, walk away, come back when every item is actually implemented.
  • "Keep going until the tests pass": Claude can't cheat by deleting failing tests, because the reviewer compares the repo against the original goal.
  • Long research or prototype sessions: one goal keeps Claude going for hours instead of stopping after each turn. Optional soft token budget (e.g. --tokens 250K) tells it to wrap up when spent. Your call on strictness: adversarial (default, a separate Claude reviews the work), self (Claude reviews itself — faster and free), or off (no review). Switch with /goal config set audit.mode <value>./plugin marketplace add balakumardev/claude /plugin install claude-code-goal

​

/plugin marketplace add balakumardev/claude
/plugin install claude-code-goal
reddit.com
u/spideyy_nerd — 5 months ago

/goal for Claude Code

What it is: A /goal command for Claude Code that lets you set a long task, keeps Claude working on it across many turns without stopping, and double-checks the work at the end. By default, a second, independent Claude session reviews the result — so Claude can't just claim it's done. Good for:

  • Building something from a spec: paste the requirements, walk away, come back when every item is actually implemented.
  • "Keep going until the tests pass": Claude can't cheat by deleting failing tests, because the reviewer compares the repo against the original goal.
  • Long research or prototype sessions: one goal keeps Claude going for hours instead of stopping after each turn. Optional soft token budget (e.g. --tokens 250K) tells it to wrap up when spent. Your call on strictness: adversarial (default, a separate Claude reviews the work), self (Claude reviews itself — faster and free), or off (no review). Switch with /goal config set audit.mode <value>.

​

/plugin marketplace add balakumardev/claude
/plugin install claude-code-goal
reddit.com
u/spideyy_nerd — 5 months ago