Pause the agent and wait for human feedback via a browser-based UI connected through WebSocket. Includes a task queue for batch execution of pre-loaded tasks.
Follow these guidelines when this skill is active:
ask_human_feedback with a summary and options for next steps. This lets the user decide what to do next rather than ending the session.ask_human_feedback with your question instead of making assumptions. Getting explicit input leads to better results.ask_human_feedback is your next instruction. Execute it, then call ask_human_feedback again when done. This creates a productive feedback loop.ask_human_feedback again when complete. The queue feeds tasks until empty.set_feedback_mode(enabled: false) to work without pausingset_feedback_mode(enabled: true) to resume the confirmation loopask_human_feedbackPauses execution and sends the reason to the browser UI. Returns the human's text response. If the task queue is non-empty, the next task is auto-dequeued and returned (with a short delay for UI visibility).
Parameters: reason (string) — summary of work done and what input you need.
Example reason format:
Completed: [specific work done]
Changes: [files modified, endpoints added, etc.]
What would you like me to do next?
1. [Option A]
2. [Option B]
3. Something else
set_feedback_modeToggle feedback confirmation on/off. When off, ask_human_feedback returns immediately without pausing.
Parameters: enabled (boolean)
npm install && npm run build
MCP configuration:
{
"command": "node",
"args": ["build/index.js"],
"cwd": "/path/to/skill-feedback-collector"
}
Browser UI: http://
| Env Variable | Default | Description |
|---|---|---|
| --- | --- | --- |
FEEDBACK_PORT | 18061 | HTTP and WebSocket port |
FEEDBACK_TOKEN | (empty) | Optional access token for the UI |
User message → Agent works → calls ask_human_feedback("Done. Next?")
↓
[Queue has tasks?] → YES → returns next task → Agent continues
↓ NO
[Waits for human input via browser UI]
↓
Human responds → Agent receives → works → calls ask_human_feedback again
↓
... loop continues until user indicates they are done ...
FEEDBACK_TOKEN when deploying on shared or public networks to restrict access0.0.0.0 by default for convenience; restrict network access at the OS or firewall level if neededfeedback-history.json) is stored locally in the skill directory; review and rotate if it contains sensitive information共 1 个版本