elevenlabs/plugin/architect-create-llm-test
Claude Code and agent skill by elevenlabs/plugin
- community
Checking that the SKILL.md file is still in the repository.
Use when the user wants a single-turn test that checks WHAT the agent says for a given turn. Fires on "add a test that the agent greets the caller", "test that it always reads the disclosure", "make sure it refuses off-topic questions", "write an eval for this reply", or "add a pass/fail check on the agent's answer". Not a multi-turn simulation and not a tool-call check.
Install
npx vskill@latest install elevenlabs/plugin/architect-create-llm-testSKILL.md
The same SKILL.md was published earlier as andyhong-productmanager/codex-ops-backup/architect-create-llm-test.
Create an LLM response test
Use this when the user wants to assert that the agent's reply to a turn matches a natural-language success condition. This is a single-turn response judgement. If they instead want to verify which tool fires, use the tool-test skill; if they want a multi-turn role-played conversation, use the simulation-test skill. For a DOM or Architect-style agent whose first action is almost always starting a procedure, prefer a simulation test instead, since a single-turn LLM test only grades that first action and returns useless verdicts.
Host https://api.elevenlabs.io, header xi-api-key: $API_KEY. The engineer supplies $API_KEY, $AGENT_ID, and $BRANCH_ID where relevant.
1. Gather context first
Read only what you need to ground the test, in parallel where independent:
GET /v1/convai/agents/$AGENT_ID?branch_id=$BRANCH_ID- to ground the success condition in the agent's actual behavior: its first message, system prompt, and any required disclosures. A condition like "greets the user" is worthless if you do not know what the greeting is supposed to be.- List existing tests to avoid a near-duplicate and to copy the naming convention already in use.
If the user is turning a real bad call into a regression test, read the conversation (GET /v1/convai/conversations?agent_id=$AGENT_ID, then GET /v1/convai/conversations/{conversation_id}) and lift the transcript into chat_history. Conversation reads carry customer PII; do not copy them into other systems or logs, and respect zero-retention-mode accounts.
2. Create the test
An LLM test needs exactly three fields:
name- non-empty string. Reuse the naming style from the existing tests.success_condition- natural-language description of what makes the reply correct.chat_history- array of{role, message}whereroleis"user"or"agent"only, and the array must end on theuserturn the agent is supposed to respond to.
3. Schema gotchas that cause failures
- Empty or missing `chat_history`. It is required and must be non-empty, ending on a
userturn. An empty array fails with "Chat history is required for llm tests". - Wrong `role` value. The enum is strictly
"user"or"agent". Do not use"assistant","system","bot", or"human". - Blank `success_condition`. A whitespace-only string also fails. Write a concrete criterion.
- Vague `success_condition`. It validates but produces a flaky test. Phrase it as an evaluation question with an explicit pass bar ("Mark SUCCESS only if the agent reads the disclosure starting with X"), not as an instruction ("The agent should read the disclosure").
- Wrong test type for the intent. If the user wants to check a tool call,
success_conditionhas no effect; use the tool-test skill. If they want a multi-turn role-play, use the simulation-test skill (chat_historyis not used there). Sending simulation fields to an LLM test is a common schema mismatch. - Putting the expected answer in `chat_history`. The final turn must be the user prompt. Do not add a trailing
agentmessage with the "right" answer; the agent generates that reply at run time and the judge scores it againstsuccess_condition. - `chat_history` over 200 messages is rejected. Trim long transcripts to the turns that set up the one under test.
4. Attach and run
Creating a test only registers it. If it should run going forward, attach it to the agent and branch, then run it:
Poll GET /v1/convai/test-invocations/{suite_id} until test_runs[0].status leaves pending, then read condition_result. If the user wants several checks, create them one at a time. If a created test keeps failing on a valid conversation, the success_condition is likely too strict; loosen it or split compound criteria.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingarchitect/skills/architect-create-llm-test/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/elevenlabs/plugin/architect-create-llm-test)