agentplane-testkit-migration

agentplane-testkit-migration is a skill for Claude Code, Codex from basilisk-labs/agentplane. It costs 49 tokens per session (641 once invoked), scanned A, original, MIT.

Instructions for moving Agentplane tests to the shared @agentplane/testkit library. Testkit is a common set of test helpers and fixtures used across the project.

In plain words
What is it for?
Use them when migrating test helpers, fixing testkit import or build errors, organizing CLI or backend test suites, or selecting shared repository, backend, API, and test-gating utilities.
Why use it?
They replace duplicated local helpers and fix build failures caused by missing or incorrect testkit exports. They also provide a way to split large test suites by scenario.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Module "../testing/index.js" has no exported member ....

Good fit Use them when migrating test helpers, fixing testkit import or build errors, organizing CLI or backend test suites, or selecting shared repository, backend, API, and test-gating utilities.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/basilisk-labs/agentplane
agentmods
npx agentmods add skills/basilisk-labs/agentplane/agentplane-testkit-migration

Made for: Claude Code, Codex.

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 agentplane-testkit-migration

README.md
[![agentmods](https://agentmods.dev/badge/skills/basilisk-labs/agentplane/agentplane-testkit-migration/github.svg)](https://agentmods.dev/skills/basilisk-labs/agentplane/agentplane-testkit-migration)
Your own site
<a href="https://agentmods.dev/skills/basilisk-labs/agentplane/agentplane-testkit-migration"><img src="https://agentmods.dev/badge/skills/basilisk-labs/agentplane/agentplane-testkit-migration/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 agentplane-testkit-migration

Your own site · 80×15
<a href="https://agentmods.dev/skills/basilisk-labs/agentplane/agentplane-testkit-migration"><img src="https://agentmods.dev/badge/skills/basilisk-labs/agentplane/agentplane-testkit-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 641 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00049 $0.00641
Opus 5.5 $0.00020 $0.00256
Sonnet 5.5 $0.00010 $0.00128
Haiku 4.5 $0.00005 $0.00064

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

Security

Grade A, and why

agentplane-testkit-migration 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/agentplane-testkit-migration/SKILL.md · 70 lines

How it starts

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

Agentplane Testkit Migration

Use This Skill When

  • A task mentions @agentplane/testkit, run-cli.test-helpers, shared fixtures, Vitest wrappers, or test helper duplication.
  • CI/build fails because packages/agentplane/src/testing/* cannot import ../../../testkit/dist/*.
  • A large test file is being split into scenario-focused suites.
  • Tests use local helper clones that should move behind the canonical testkit surface.

Source Of Truth

Prefer exported testkit surfaces over deep imports or local helper copies. Before adding a helper, search for an existing one:

rg -n "tempRepo|mockTaskBackend|mockPrApi|mockConfig|describeWhen|runCliSilent|installRunCliIntegrationHarness" packages/testkit packages/agentplane/src

Migration Steps

  1. Identify the test family: CLI PR flow, task lifecycle, release/upgrade, runner, recipes, Redmine/backend, or scripts.
  2. Replace local setup with canonical testkit helpers:
    • repository setup: tempRepo, git helpers, config writers
    • backend setup: mock task backend helpers
    • GitHub PR setup: mock PR API helpers
    • suite gating: describeWhenEnvPresent, describeWhenNotHook, describeCritical
  3. Keep compatibility exports in packages/agentplane/src/testing/index.ts only as a bridge. The canonical implementation belongs in packages/testkit.
  4. If agentplane build imports from ../../../testkit/dist/*, ensure @agentplane/testkit is built before agentplane.
  5. Remove obsolete shims only after rg proves no imports remain.

Build-Safe Export Checklist

When adding or moving a helper:

  1. Export it from the package-local module where it is implemented.
  2. Export it from the public testkit barrel.
  3. Export compatibility aliases only where existing agentplane tests still depend on them.
  4. Run both focused tests and package builds.

Common failure:

Module "../testing/index.js" has no exported member ...
Cannot find module "../../../testkit/dist/index.js"

Interpretation: the helper was migrated without a complete export chain, or build order skipped testkit.

Read the full file on GitHub · 70 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 · 70 lines · 49 tokens per session scan A aa994bb1cb16

Subscribe to this mod's changes

agentplane-testkit-migration is a skill published in the GitHub repository basilisk-labs/agentplane (88 stars, last pushed 3d ago), licensed MIT. It adds 49 tokens to every session and 641 once invoked, about $0.0002 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

Other skills, from other repositories

rudder

Use locally captured coding-session intent to resolve a device-local behavioral spec, generate focused tests from that spec, implement the smallest production changes through red-green TDD, and verify coverage with the repository's native tooling. Use when the user asks to run Rudder, create or regenerate tests for…

RudderCode/Rudder · 101 tokens

qamap-pr-qa

PR bug review and test planning with QAMap. Run qamap qa brief once; it prints the diff, each changed declaration's tests and callers with assertion lines, QA focus and unknowns in one bounded local response, so the review starts from it instead of re-exploring the repository.

IvoryCanvas/QAMap · 68 tokens

adding-an-audit-check

Add a new audit check to agent-context-doctor end to end, including config, suppressions, the check catalog, tests, and docs. Use when asked to detect a new kind of problem in agent instruction files.

alipajand/agent-context-doctor · 50 tokens

ux-review

Verify a shipped UI against objective design gates — WCAG accessibility, design-token fidelity, responsive/render integrity, interaction & state coverage, and visual regression — by rendering it in a real browser. Use for 'ux review', 'a11y check', 'does this UI hold up', or /ux-review. Enforces design quality; does…

lemoncrow-lab/lemoncrow · 82 tokens

specflo-harden

Use when the active specflo project is at harden level (specflo status shows the harden level), or the user asks to harden code that already exists through specflo ("harden this module", "shake the bugs out of X", "review and fix it until it is clean"). Works one brief that names the scope, runs fresh-context harden…

TacoTakumi/specflo · 131 tokens

stet

Use Stet to measure whether an AI coding change is safe to ship. Trigger on model comparisons, AGENTS.md or CLAUDE.md effectiveness, shared instruction, policy, skill, harness, tool-policy, reasoning, or runtime rollouts, repo eval setup, dataset building, regression detection, benchmarking, promote/rollback…

Stet-AI/stet-cli · 116 tokens