add-test

add-test is a skill for Claude Code from umbraco/Umbraco-MCP-Base. It costs 44 tokens per session (1,291 once invoked), scanned A, original, MIT.

A workflow for adding one integration test for a specific MCP tool in an existing Umbraco tool collection. An integration test checks the tool against a running Umbraco service rather than using a fake service.

In plain words
What is it for?
Use it to test a newly added or modified tool, provided the collection’s test setup, compiled project, running Umbraco instance, and API user are available.
Why use it?
It follows the collection’s existing test style and identifies the setup requirements before creating the test. This helps developers restore coverage after changing or deleting a tool test.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the umbraco-mcp-skills plugin — 13 skills, 7 agents shipped together

Good fit Use it to test a newly added or modified tool, provided the collection’s test setup, compiled project, running Umbraco instance, and API user are available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/umbraco/umbraco-mcp-base/add-test
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add umbraco/Umbraco-MCP-Base --skill add-test
Clone the repo
git clone --depth 1 https://github.com/umbraco/Umbraco-MCP-Base

Made for: Claude Code.

Or install umbraco-mcp-skills, the plugin that ships this one along with the rest of its 13 skills, 7 agents.

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-test

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/umbraco/umbraco-mcp-base/add-test"><img src="https://agentmods.dev/badge/skills/umbraco/umbraco-mcp-base/add-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,291 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.00044 $0.01291
Opus 5 $0.00022 $0.00646
Sonnet 5 $0.00009 $0.00258
Haiku 4.5 $0.00004 $0.00129

Measured 12d ago against content hash 7d59c5a74f28, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

add-test 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 12d 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.

plugins/umbraco-mcp-skills/skills/add-test/SKILL.md · 129 lines

How it starts

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

Add Test

Add an integration test for a specific tool in an existing collection. This skill creates a single test file following the collection's established test patterns.

Use this skill when:

  • You added a new tool with /add-tool and want to test it separately
  • You manually created or modified a tool and need a test
  • You deleted a test and need to recreate it
  • /build-tools-tests skipped the collection because tests already exist

Prerequisites

Before running, ensure:

  1. The collection exists (src/umbraco-api/tools/{collection}/index.ts)
  2. The test infrastructure exists (src/umbraco-api/tools/{collection}/__tests__/setup.ts) — if not, tell the user to run /build-tools-tests {collection} first
  3. The project compiles: npm run compile
  4. The Umbraco instance is running
  5. An API user exists — remind the user: "You need to create an API user via the Umbraco backoffice UI: Settings > Users, with Client ID umbraco-back-office-mcp and Client Secret 1234567890"

Arguments

  • Collection name (required): the collection containing the tool (e.g. /add-test form)
  • Tool name (optional): the specific tool to test (e.g. /add-test form copy-form)

If no tool name is provided, compare the tools in the collection index against existing test files and present the untested tools to the user.

Agents

Agent When to use
integration-test-creator Creating the test file (Step 3)
integration-test-validator Validating the test (Step 4)

Critical Rules

TEST INFRASTRUCTURE MUST EXIST. This skill does not create setup.ts, builders, or helpers. If they don't exist, tell the user to run /build-tools-tests {collection} first.

ONE FILE AT A TIME. Create one test file, compile, run, fix. Then move to the next if testing multiple tools.

RUN COMMANDS SEPARATELY. Always run compile and test as separate Bash calls. Never chain with &&.

REAL API — NO MOCKING. These are integration tests against a real Umbraco instance. Do NOT create mock infrastructure.

Read the full file on GitHub · 129 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. 12d ago First seen · 129 lines · 44 tokens per session scan A 7d59c5a74f28

Subscribe to this mod's changes

add-test is a skill published in the GitHub repository umbraco/Umbraco-MCP-Base (2 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 1,291 once invoked, about $0.0002 per session on Opus 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-31.

Related

Other skills, from other repositories

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

test-warp-ui

Guides testing Warp UI features and changes using the computer use tool. Use this skill only when computer-use testing was requested (explicit request or accepted offer) and the computeruse tool is available to the agent. Covers launching Warp and verifying UI behavior.

warpdotdev/warp · 55 tokens

test-electron-app

Drive the real running PostHog Electron app (live tRPC, workspace-server, real data) over CDP with agent-browser. Connect to the running app on port 9222, test desktop changes against a local Django stack, snapshot the accessibility tree, inspect network requests, and screenshot only when explicitly asked. Use when…

PostHog/posthog-foss · 112 tokens

pyats-dynamic-test

Generate and execute deterministic pyATS aetest validation scripts - interface state, OSPF neighbors, BGP paths, ping matrices, and custom compliance tests. Use when writing a network test, validating post-change state, running pass/fail checks, or building automated regression tests.

automateyournetwork/netclaw · 61 tokens

test-loop

Plan, generate, and heal an executable E2E test suite from approved acceptance criteria (web and mobile).

HoangNguyen0403/agent-skills-standard · 25 tokens

playwright-cli

Automates browser interactions for testing and validating your own web applications using playwright-cli. Use when you need terminal-first browser control for navigation, form filling, screenshots, tracing, bound browser sessions, debugging, or generating Playwright test code. Only use against applications you own or…

testdino-hq/playwright-skill · 64 tokens