OpenSwarm: Agent for Claude Code

.claude/agents/qa-tester.md

qa-tester is an agent for Claude Code from VRSEN/OpenSwarm. It costs 17 tokens per session (1,296 once invoked), scanned A, a copy of qa-tester, MIT.

An agent that connects an Agency Swarm setup and tests it with five realistic example requests. Agency Swarm is a framework for building groups of cooperating AI agents.

In plain words
What is it for?
Wiring the agency, validating dependencies and configuration, running example queries, and suggesting improvements.
Why use it?
It checks whether the complete group works together and identifies concrete improvements after the individual parts have been created.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is VRSEN/OpenSwarm's own configuration. It tells Claude Code how to work on OpenSwarm itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything OpenSwarm configures →

About the project

OpenSwarm is an open-source multi-agent system in which specialized agents coordinate to produce deliverables such as presentations, research reports, data visualizations, documents, images, and videos. It is intended for people who want to request complex creative or analytical work from a terminal, with connections to external services. Its catalogue entries define agents, commands, rules, and instructions for those workflows.

VRSEN/OpenSwarm · 2,873 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to VRSEN/OpenSwarm. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/VRSEN/OpenSwarm/main/.claude/agents/qa-tester.md
Clone the repo
git clone --depth 1 https://github.com/VRSEN/OpenSwarm

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for qa-tester

README.md
[![agentmods](https://agentmods.dev/badge/agents/vrsen/openswarm/qa-tester/github.svg)](https://agentmods.dev/agents/vrsen/openswarm/qa-tester)
Your own site
<a href="https://agentmods.dev/agents/vrsen/openswarm/qa-tester"><img src="https://agentmods.dev/badge/agents/vrsen/openswarm/qa-tester/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for qa-tester

Your own site · 80×15
<a href="https://agentmods.dev/agents/vrsen/openswarm/qa-tester"><img src="https://agentmods.dev/badge/agents/vrsen/openswarm/qa-tester.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,296 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.01296
Opus 5.5 $0.00007 $0.00518
Sonnet 5.5 $0.00003 $0.00259
Haiku 4.5 $0.00002 $0.00130

Measured 1mo ago against content hash 1d3427ad6689, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

qa-tester scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to qa-tester — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/qa-tester.md · 179 lines

How it starts

The opening of the file, as written. The whole thing — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Wire agency components and test with 5 realistic queries, then provide specific improvement suggestions.

Background

Agency Swarm v1.0.0 testing focuses on real-world usage. Tools are already tested by tools-creator. Our job is to test the complete agency with realistic queries and suggest improvements.

Prerequisites

  • API keys already collected and in .env
  • agent-creator created all agent files
  • instructions-writer created all instructions
  • tools-creator implemented and tested all tools
  • Tool test results available at agency_name/tool_test_results.md

Testing Process

1. Wire agency.py

Complete the agency setup based on PRD:

from dotenv import load_dotenv
from agency_swarm import Agency
from agent1_folder.agent1 import agent1
from agent2_folder.agent2 import agent2

load_dotenv()

agency = Agency(
    agent1,  # CEO/entry point from PRD
    communication_flows=[
        (agent1, agent2),
    ],
    shared_instructions="agency_manifesto.md",
)

if __name__ == "__main__":
    # Test with programmatic interface
    response = agency.get_completion("test query")
    print(response)

2. Quick Validation

# Verify all dependencies installed
pip list | grep agency-swarm

# Check tool test results
cat agency_name/tool_test_results.md

3. Generate 5 Test Queries

Based on PRD functionality, create 5 diverse test queries:

  1. Basic capability test - Simple task using core functionality
  2. Multi-step workflow - Task requiring agent collaboration
  3. Edge case handling - Unusual but valid request
  4. Error recovery - Invalid input or missing data
  5. Complex real-world scenario - Comprehensive task

4. Execute Test Queries

Run each query and document:

test_queries = [
    "Query 1: [Basic task from PRD]",
    "Query 2: [Multi-agent collaboration task]",
    "Query 3: [Edge case scenario]",
    "Query 4: [Error handling test]",
    "Query 5: [Complex real-world request]"
]

for i, query in enumerate(test_queries, 1):
    print(f"\n=== Test {i} ===")
    print(f"Query: {query}")
    response = agency.get_completion(query)
    print(f"Response: {response}")
    # Document response quality, accuracy, completeness

Read the full file on GitHub · 179 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 179 lines · 17 tokens per session scan A 1d3427ad6689

Subscribe to this mod's changes

qa-tester is an agent published in the GitHub repository VRSEN/OpenSwarm (2,873 stars, last pushed 3mo ago), licensed MIT. It adds 17 tokens to every session and 1,296 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to qa-tester, differing in 7 lines, and is treated as a copy.