verify-agent-server
БесплатноБез исполняемых скриптовНе проверенThis skill should be used to "verify Agent Server APIs", "test the REST or WebSocket API like an agent would", "drive the agent-server", "check an API change…
от OpenHands★ 1 439 звёзд на GitHubОб этом скилле
Verify the Agent Server through its real API
Prove what an API consumer observes, not that a handler returned or CI passed.
The consumers are agents and the programs that carry them: the SDK's
RemoteConversation/RemoteWorkspace, the TypeScript client, Agent Canvas and
automations. Three parts work together:
control-agent-server(scripts/) is the lever. It launches this checkout as an isolated real server (privateHOME, persistence dir, config file, session key, secret key, port), and turns every API step into a command you can rerun: REST calls, WebSocket captures, LLM-backed conversations, fixtures, SDK programs.- The feature map (references/feature-map/)
lists every agent-facing behavior with stable IDs, the routes each family
owns, entry points (REST, WebSocket, SDK and TypeScript client methods),
exact
control-agent-serverrecipes, observable results and gotchas. - Evidence: saved request/response exchanges, WebSocket frames, webhook deliveries and program transcripts, plus a pass/fail/blocked/not-run ledger that survives cleanup.
Neither this skill nor the map authorizes external writes, paid models beyond the budget you were given, or product fixes the user did not ask for.
The CLI comes first
Put it on PATH and read its help before anything else:
export PATH="$PWD/.agents/skills/verify-agent-server/scripts:$PATH"
control-agent-server --help # then: control-agent-server <command> --help
Requirements: make build (or uv sync --dev) in the repository root; the
CLI runs on the repository's .venv and needs nothing else. git is needed
for fixtures, tmux for bash and terminal tools, and a DeepSeek key for
model-backed recipes. Every command prints one JSON object; exit 0 ok,
1 action failed, 2 usage, 3 environment.
In a container whose PID 1 does not reap children, run the entire
map run --fresh or test command under a subreaper such as tini -s --
(Docker's docker-init -s -- is also suitable). For manual runs, wrap the
shell containing launch, drive and stop; wrapping launch alone exits the
supervisor too early. Otherwise exited descendants can remain zombies, causing cleanup
checks to mistake them for live work. Keep the original failure evidence and
report this environment difference; do not weaken the cleanup assertions.
If an agent-facing path cannot be driven with the CLI, that is a harness
gap: extend scripts/control_agent_server.py (document the verb in its
--help with examples and in this file), prove it live, then write the recipe.
Never work around a gap with an untracked one-off script the next agent cannot
rerun. api and ws reach every route, so most gaps are about waiting,
fixtures or observing side effects, not about calling an endpoint. Other agents
may be running the same script: edit a copy, run its tests and
map check, then move it into place in one step.
Launch → doctor → drive → evidence → cleanup
export AGENT_SERVER_VERIFY_RUN=$(control-agent-server launch --new --print-run)
control-agent-server doctor # read-only; must be ok before driving
control-agent-server llm preset deepseek # deepseek-flash (active) + deepseek-pro from $DEEPSEEK_API_KEY,
# or, with $LLM_BASE_URL and $LLM_API_KEY, deepseek-flash through that LiteLLM proxy
CID=$(control-agent-server conversation start --prompt 'Create hello.txt containing hi' --wait --print-id)
control-agent-server conversation events "$CID" --kinds ObservationEvent --contains hello.txt
control-agent-server api GET "/api/conversations/$CID" --expect 200 --save F03.get/after-run
control-agent-server evidence add --feature F03.get --result pass --entry "GET /api/conversations/{id}" \
--expected "execution_status finished" --actual "finished" --artifact evidence/F03.get/after-run.json
control-agent-server stop # stops only this run; evidence stays
- Which run. Commands use
--run DIR(anywhere on the line), else$AGENT_SERVER_VERIFY_RUN, else the only live run. With several live runs they refuse to guess, so exportAGENT_SERVER_VERIFY_RUNin every shell when other agents share the machine: an agent that drives someone else's run corrupts both evidence ledgers. Neverpkill -forkillallby pattern;control-agent-server stopends only your run's process groups. - Launch runs
python -m openhands.agent_serverfrom the checkout in its own process group, with cwd,HOME,OH_PERSISTENCE_DIR, the config file (OPENHANDS_AGENT_SERVER_CONFIG_PATH), tmux dir, worktree root, session key (OH_SESSION_API_KEYS_0) and secret key (OH_SECRET_KEY) all private to the run. The caller'sOH_*, LLM and cloud variables are not inherited; pass what a recipe needs with--env K=Vor--pass-env NAME. Useful variants:--no-auth(unauthenticat
Установить verify-agent-server в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл verify-agent-server?
This skill should be used to "verify Agent Server APIs", "test the REST or WebSocket API like an agent would", "drive the agent-server", "check an API change against a real server", "create or update the agent-server feature map", or "run the weekly API audit". Ships control-agent-server (launch, doctor, api, ws, llm, conversations, fixtures, exec, assert, evidence, map) and the maintained map of every agent-facing feature.
Как установить скилл verify-agent-server?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл verify-agent-server запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic