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

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/basilisk-labs/agentplane/agentplane-testkit-migration
Any agent
npx skills add basilisk-labs/agentplane --skill agentplane-testkit-migration
Clone the repo
git clone --depth 1 https://github.com/basilisk-labs/agentplane

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.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.svg" alt="Measured on agentmods" 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. 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.00049 $0.00641
Opus 5 $0.00024 $0.00320
Sonnet 5 $0.00010 $0.00128
Haiku 4.5 $0.00005 $0.00064

Measured 5d ago against content hash aa994bb1cb16, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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. 5d 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 (76 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 641 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

kami-deck

A lab-meeting deck on gut-microbiome links to sleep quality — the design, the results, the caveats, and the next experiment. Built as a decision-grade academic research deck for lab group, PI.

nexu-io/open-design · 49 tokens

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

fs-editorial-forest

Art-directing a fashion house's annual report — the editorial system, the photography rhythm, and the data spreads. Built as a decision-grade design craft deck for brand stakeholders, exec audience.

nexu-io/open-design · 44 tokens

html-ppt-zhangzara-stencil-tablet

A workplace-safety compliance review for a manufacturing regulator — findings, the evidence chain, and the corrective mandate. Built as a decision-grade policy briefing deck for regulator, plant leadership.

nexu-io/open-design · 49 tokens

simple-deck

OpenDesign's operating review: growth, burn, and the concrete path to sustainability without losing the open ethos. Built as a decision-grade corporate strategy deck for leadership team.

nexu-io/open-design · 38 tokens

html-ppt-zhangzara-coral

OpenDesign's community-growth campaign across GitHub, Discord, and X: the loops, the content calendar, and the pipeline math. Built as a decision-grade marketing & GTM deck for growth team, community lead.

nexu-io/open-design · 55 tokens