atf-testing

atf-testing is a skill for Claude Code, Codex from serac-labs/serac. It costs 45 tokens per session (2,671 once invoked), scanned A, original, Apache-2.0.

A collection of automated tests for ServiceNow, a platform used to build business applications and workflows. It covers actions such as opening forms, setting fields, checking results, and running tests as a chosen user.

In plain words
What is it for?
Use it to test incidents and other records, verify form and server-side behavior, check permissions through user impersonation, and run regression tests with ServiceNow commands.
Why use it?
It helps catch broken ServiceNow workflows after changes without repeating the same checks by hand. Tests can be grouped into suites and their execution results recorded.

Skill for Claude CodeCodex

Part of the skills plugin — 56 skills shipped together

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.

agentmods
npx agentmods add skills/serac-labs/serac/atf-testing
Any agent
npx skills add serac-labs/serac --skill atf-testing
Clone the repo
git clone --depth 1 https://github.com/serac-labs/serac

Made for: Claude Code, Codex.

Or install skills, the plugin that ships this one along with the rest of its 56 skills.

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 atf-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/serac-labs/serac/atf-testing.svg)](https://agentmods.dev/skills/serac-labs/serac/atf-testing)
Your own site
<a href="https://agentmods.dev/skills/serac-labs/serac/atf-testing"><img src="https://agentmods.dev/badge/skills/serac-labs/serac/atf-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,671 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00045 $0.02671
Opus 5 $0.00023 $0.01336
Sonnet 5 $0.00009 $0.00534
Haiku 4.5 $0.00005 $0.00267

Measured 5d ago against content hash 993b4a261b37, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

atf-testing 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 5d 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.

packages/skills/atf-testing/SKILL.md · 389 lines

How it starts

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

Automated Test Framework (ATF) for ServiceNow

ATF provides automated testing capabilities for ServiceNow applications, enabling regression testing and continuous integration.

ATF Architecture

Test Hierarchy

Test Suite: Incident Management Tests
├── Test: Create Incident
│   ├── Step 1: Impersonate User
│   ├── Step 2: Open New Record
│   ├── Step 3: Set Field Values
│   ├── Step 4: Submit Form
│   └── Step 5: Assert Values
├── Test: Assign Incident
│   └── Steps...
└── Test: Resolve Incident
    └── Steps...

Key Tables

Table Purpose
sys_atf_test Test definitions
sys_atf_step Individual test steps
sys_atf_test_suite Test suite groupings
sys_atf_test_suite_test Suite-test relationships
sys_atf_test_result Test execution results

Test Step Types

Common Step Types

Step Type Purpose Example
Impersonate Run as specific user Test as ITIL user
Open a New Form Create new record New incident form
Open an Existing Form Edit record Open INC0010001
Set Field Values Populate fields Set priority, description
Click a UI Action Trigger button Click "Save"
Assert Field Values Validate values Priority = 1
Run Server Side Script Execute script Custom validation
Wait Pause execution Wait for async

Creating Tests

Basic Test Structure (ES5)

// Create a new ATF test
var test = new GlideRecord("sys_atf_test")
test.initialize()
test.setValue("name", "Test: Create High Priority Incident")
test.setValue("description", "Verify high priority incident creation workflow")
test.setValue("active", true)
test.setValue("application", "global") // or scoped app sys_id
var testSysId = test.insert()

// Add test steps
function addTestStep(testId, order, stepType, config) {
  var step = new GlideRecord("sys_atf_step")
  step.initialize()
  step.setValue("test", testId)
  step.setValue("order", order)
  step.setValue("step_config", stepType)

  // Set step-specific configuration
  for (var key in config) {
    if (config.hasOwnProperty(key)) {
      step.setValue(key, config[key])
    }
  }

  return step.insert()
}

Read the full file on GitHub · 389 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. 5d ago First seen · 389 lines · 45 tokens per session scan A 993b4a261b37

Subscribe to this mod's changes

atf-testing is a skill published in the GitHub repository serac-labs/serac (78 stars, last pushed 10d ago), licensed Apache-2.0. It adds 45 tokens to every session and 2,671 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-30.

Related

Other skills, from other repositories

trello-mcp-live-validation

Use when a user asks to live-test the Trello MCP server, run live smoke or regression validation, smoke-test all MCP tools, verify roadmap-board integration, exercise Trello tools against a real board, or run safe end-to-end Trello MCP validation. Covers env gates, target board confirmation, disposable artifact…

enthouan/trello-mcp · 88 tokens

connect-agent

Connect the codebase's AI agent to LangWatch agent simulations, so test suites run against the real agent process. Adds a small connect function beside the service startup that calls the agent already in the codebase, which opens an outbound connection and registers the agent with its environment and its run…

langwatch/langwatch · 102 tokens

playwright-screen-recording

Record browser test videos with Playwright for PR review and bug fix verification.

liaohch3/claude-tap · 20 tokens

setup-agent-replay

Set up a local agent replay server for Raindrop Workshop. Use when the user wants Workshop to replay a captured trace against their real local agent code and tools. Creates/updates .raindrop/agents.yaml, scaffolds a language-appropriate replay server, registers the project with raindrop replay register, and verifies…

raindrop-ai/workshop · 74 tokens

smoke-test

Run smoke tests against a deployed or local app based on your git diff. Each test uses Skyvern browser tools (navigate, act, validate, screenshot) with Chrome DevTools MCP as fallback. Posts screenshot evidence as PR comments.

Skyvern-AI/skyvern · 50 tokens

antigravity-sdk-e2e-dev

Spin up a live local Omnigent server and exercise the Antigravity (Gemini) SDK harness end-to-end — build antigravity agents, run real turns, smoke-test, and bug-bash. Load when developing, testing, or debugging the antigravity harness (omnigent/inner/antigravityexecutor.py, antigravityharness.py…

omnigent-ai/omnigent · 106 tokens