canary-add-framework

canary-add-framework is a skill for Claude Code from bop-clocktower/canary. It costs 133 tokens per session (2,766 once invoked), scanned A, original, MIT.

A setup tool for adding a new automated testing framework to Canary’s registry. A testing framework is a tool that runs tests, while a registry is the list that connects test types to runnable tools.

In plain words
What is it for?
Use it when adding support for a framework such as k6, Cypress, or Locust, or when an existing test type has no registered framework.
Why use it?
It checks that the framework is real, installable, runnable from the command line, and correctly connected to Canary’s test classifier.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the canary plugin — 22 skills, 13 commands, 8 agents, 4 hooks shipped together

Good fit Use it when adding support for a framework such as k6, Cypress, or Locust, or when an existing test type has no registered framework.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bop-clocktower/canary/canary-add-framework
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 bop-clocktower/canary --skill canary-add-framework
Clone the repo
git clone --depth 1 https://github.com/bop-clocktower/canary

Made for: Claude Code.

Or install canary, the plugin that ships this one along with the rest of its 22 skills, 13 commands, 8 agents, 4 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 canary-add-framework

README.md
[![agentmods](https://agentmods.dev/badge/skills/bop-clocktower/canary/canary-add-framework.svg)](https://agentmods.dev/skills/bop-clocktower/canary/canary-add-framework)
Your own site
<a href="https://agentmods.dev/skills/bop-clocktower/canary/canary-add-framework"><img src="https://agentmods.dev/badge/skills/bop-clocktower/canary/canary-add-framework.svg" alt="Measured on agentmods" height="20"></a>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,766 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.00133 $0.02766
Opus 5 $0.00067 $0.01383
Sonnet 5 $0.00027 $0.00553
Haiku 4.5 $0.00013 $0.00277

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

Security

Grade A, and why

canary-add-framework 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 8d 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.

agents/skills/claude-code/canary-add-framework/SKILL.md · 249 lines

How it starts

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

Canary: Add Framework

Add a new testing framework to Canary's registry end-to-end. Confirms the classifier↔registry contract, authors the registry entry, validates the execution command, and ensures every classifier test_type still resolves to a non-null framework.

When to Use

  • When the user asks to add support for a new framework ("add k6", "support cypress", "we need Locust")
  • When a classifier test_type exists but has no framework backing it (registry gap)
  • When migrating from a deprecated framework — adding the new entry before removing the old one
  • NOT for choosing between existing frameworks at runtime — that's the recommender's job
  • NOT for adding a one-off LLM-generated framework name that doesn't exist as a real tool — frameworks must be real, runnable CLIs

Process

Phase 1: SCOPE — Confirm the Framework Belongs in the Registry

  1. Verify the framework is real and installable. It needs a runnable CLI invocation (the execution_command template). If you can't write a one-line shell command that runs a single test file, it doesn't fit Canary's model.
  2. Identify the category. Match to an existing category value (e2e_ui, python_unit, api, performance, frontend_unit, etc.). New categories require a coordinated classifier update — see Phase 2.
  3. Check for overlap. Is there already a preferred framework in this category? If yes, decide intentionally: is the new framework a replacement (demote the old to legacy), a peer (add as supported), or the new preference (demote the old, mark new as preferred)?
  4. Confirm the user wants this maintained. Each registry entry is a maintenance commitment. A framework added casually but never validated rots into a routing trap.

Phase 2: ALIGN — Classifier ↔ Registry Contract

  1. Find the classifier rule that emits this test_type. Open ts/src/core/classifier.ts and locate the heuristic block that produces the target category.
  2. If no classifier rule exists for the category: Add one before the registry entry. A framework with no routing path is a dead entry. Add a heuristic that maps natural-language signals (keywords, phrases) to the new test_type.
  3. If the category exists but the classifier never emits it confidently: Strengthen the rule's heuristics. Confidence below 0.7 should trigger a clarification, not a generation.
  4. Run the contract tests:

Read the full file on GitHub · 249 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. 8d ago First seen · 249 lines · 133 tokens per session scan A a3b633fdcb0b

Subscribe to this mod's changes

canary-add-framework is a skill published in the GitHub repository bop-clocktower/canary (4 stars, last pushed today), licensed MIT. It adds 133 tokens to every session and 2,766 once invoked, about $0.0007 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

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens