add-tests

add-tests is a skill for Claude Code from tykisgod/quick-question. It costs 23 tokens per session (1,306 once invoked), scanned A, original, MIT.

A guide for writing Unity tests in EditMode, PlayMode, or as focused regression checks.

In plain words
What is it for?
It is for authoring tests for Unity features, bugs, and specific assemblies, then handing them off for execution.
Why use it?
It helps add test coverage for a code change without confusing writing tests with running them.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions CLAUDE.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the qq plugin — 27 skills, 5 hooks shipped together

Good fit It is for authoring tests for Unity features, bugs, and specific assemblies, then handing them off for execution.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add tykisgod/quick-question
Claude Code
/plugin install qq

Made for: Claude Code.

Or install qq, the plugin that ships this one along with the rest of its 27 skills, 5 hooks.

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 add-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/tykisgod/quick-question/add-tests/github.svg)](https://agentmods.dev/skills/tykisgod/quick-question/add-tests)
Your own site
<a href="https://agentmods.dev/skills/tykisgod/quick-question/add-tests"><img src="https://agentmods.dev/badge/skills/tykisgod/quick-question/add-tests/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 add-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/tykisgod/quick-question/add-tests"><img src="https://agentmods.dev/badge/skills/tykisgod/quick-question/add-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,306 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 original No closer match found 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.00023 $0.01306
Opus 5.5 $0.00009 $0.00522
Sonnet 5.5 $0.00005 $0.00261
Haiku 4.5 $0.00002 $0.00131

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

Security

Grade A, and why

add-tests 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.

skills/add-tests/SKILL.md · 80 lines

How it starts

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

Run qq scripts as ${CLAUDE_PLUGIN_ROOT}/bin/<name>: they are not on PATH, so a bare qq-project-state.py exits 127.

Respond in the user's preferred language (detect from their recent messages, or fall back to the language setting in CLAUDE.md).

Add or update Unity tests for the current change. This skill is for writing tests, not for running them. After authoring coverage, hand off to /qq:test.

Before deciding what to assert (component layouts, serialized values, runtime state), read the actual values from the live Editor instead of guessing from source, read-only, through the project's channel: ${CLAUDE_PLUGIN_ROOT}/bin/qq-unity-cli.py channel --project "$PWD" prints unity-cli, tykit or none (shared/unity-live-state.md).

  • Official Unity CLI: unity command --project-path "$PWD" --json --no-banner find_gameobjects -- --name X, then get_component_properties -- --target <instanceId> --type Foo or get_serialized_fields (shared/unity-cli-reference.md).
  • tykit: unity_query, unity_object, get-field, get-array (shared/tykit-reference.md).
  • Neither: derive the expected values from source and say they are unverified.

Arguments: $ARGUMENTS

  • A file path, symbol, bug description, or plan step that needs coverage
  • editmode / edit: force EditMode coverage
  • playmode / play: force PlayMode coverage
  • regression: force the smallest regression-focused test
  • --assembly "Asm.Tests": prefer a specific test assembly
  • --auto: skip prompts and continue into /qq:test --auto after tests are written

With --auto, first make sure a pipeline tracks this run, so the handoff at the end can advance it: qq-execute-checkpoint.py pipeline-start --project . --type feature --current-skill "/qq:add-tests" --branch "$(git branch --show-current)" --if-not-running. It starts one only when none is running here (you were invoked on your own) and leaves a running one alone.

0. Read qq project state first when available

${CLAUDE_PLUGIN_ROOT}/bin/qq-project-state.py --pretty
  • work_mode and policy_profile: expected verification pressure
  • changed_runtime_files: the code under test when the user did not specify a target
  • last_test_status: whether coverage is missing vs. failing

Read the full file on GitHub · 80 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 Changed · +2 lines dc4c8074583f
  2. 1mo ago Changed · -42 lines b6e430824ef9
  3. 1mo ago Changed · +5 lines 3e6558bd4e68
  4. 3mo ago First seen · 115 lines · 23 tokens per session scan A c04a4e01bcc8

Subscribe to this mod's changes

add-tests is a skill published in the GitHub repository tykisgod/quick-question (13 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 1,306 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

add-tests compared with skills from other repositories

add-tests next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-teststykisgod/quick-questionSkill131mo agoMITA23Claude Code
security-architecture-reviewcbrock84/headcountSkill2.6ktodayMITA78Claude Code
auditoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA35Claude Code
boundariesoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA33Claude Code
triageoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA32Claude Code
pr-threads-addressposit-dev/skillsSkill57618d agoMITA48Claude Code
han-releasetestdouble/hanSkill36218d agoMITA172Claude Code