askit-build-samples

askit-build-samples is a skill for Claude Code from product-on-purpose/agent-skills-toolkit. It costs 56 tokens per session (620 once invoked), scanned A, original, Apache-2.0.

A tool for creating and checking example sets for a coding-agent skill. These include correct examples, cases the skill should reject, and test questions that check when it should activate.

In plain words
What is it for?
It is for generating sample files and evaluation sets, validating them after behavior changes, and detecting drift.
Why use it?
It helps keep a skill's examples and activation tests aligned with its current behavior, so outdated tests are detected instead of silently ignored.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-skills-toolkit plugin — 27 skills, 2 commands, 7 agents, 1 hook, 1 plugin shipped together

Good fit It is for generating sample files and evaluation sets, validating them after behavior changes, and detecting drift.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/product-on-purpose/agent-skills-toolkit/askit-build-samples
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 product-on-purpose/agent-skills-toolkit --skill askit-build-samples
Clone the repo
git clone --depth 1 https://github.com/product-on-purpose/agent-skills-toolkit

Made for: Claude Code.

Or install agent-skills-toolkit, the plugin that ships this one along with the rest of its 27 skills, 2 commands, 7 agents, 1 hook, 1 plugin.

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 askit-build-samples

README.md
[![agentmods](https://agentmods.dev/badge/skills/product-on-purpose/agent-skills-toolkit/askit-build-samples/github.svg)](https://agentmods.dev/skills/product-on-purpose/agent-skills-toolkit/askit-build-samples)
Your own site
<a href="https://agentmods.dev/skills/product-on-purpose/agent-skills-toolkit/askit-build-samples"><img src="https://agentmods.dev/badge/skills/product-on-purpose/agent-skills-toolkit/askit-build-samples/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 askit-build-samples

Your own site · 80×15
<a href="https://agentmods.dev/skills/product-on-purpose/agent-skills-toolkit/askit-build-samples"><img src="https://agentmods.dev/badge/skills/product-on-purpose/agent-skills-toolkit/askit-build-samples.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 620 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.00056 $0.00620
Opus 5 $0.00028 $0.00310
Sonnet 5 $0.00011 $0.00124
Haiku 4.5 $0.00006 $0.00062

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

Security

Grade A, and why

askit-build-samples 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 10d 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/askit-build-samples/SKILL.md · 29 lines

How it starts

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

askit-build-samples

Purpose

Author and validate the evidence a skill carries, following the builder pattern (../../docs/reference/builder-pattern.md). create generates a skill's samples (at least 3 golden examples plus at least 1 anti-example, Standard sec 7.2) under examples/, and its triggering eval set (at least 20 {query, should_trigger} cases, sec 8.3) plus any chain/hook behavior cases under evals/ in the eval-set format the G3 library-regression check and the askit-evaluate behavioral mode consume. validate detects drift: a sample or eval that no longer matches the skill's current behavior is an error, not a silent staleness. Format and the example-threads convention are in references/samples-format.md.

When to use

When generating samples or an eval set for a skill, or checking existing samples and evals for drift after a behavior change.

create mode

  1. Read the target skill (its description, triggers, and behavior).
  2. Generate examples/ golden samples (>= 3 realistic input/output pairs) and an anti-example (>= 1 case the skill should NOT handle), per sec 7.2.
  3. Generate evals/<name>.eval.json: a triggering set of >= 20 {query, should_trigger} cases (fires when it should, silent when it should not, sec 8.3), plus {given, expect} behavior cases for any chain the skill participates in (so the G3 check finds coverage).

validate mode

  1. Re-run the samples and evals against the skill's current behavior.
  2. Flag drift: a golden sample whose output changed, an anti-example that now triggers, or an eval whose expectation no longer holds. Drift is an error so samples stay honest (sec 7.2, 8.3).

Scope

Samples and eval sets are the evidence layer. The deterministic G3 baseline (presence + the regression signal) is enforced by library-regression; behavioral judging of the cases is the opt-in askit-evaluate behavioral mode (delegated to askit-quality-grader), never the CI gate (Design Principle 3). Example-threads (the bounded validation triad of ADR 0021: a greenfield Bronze plugin, the pm-skills adopt-and-grade thread, and the toolkit itself as Gold) anchor samples to real end-to-end arcs rather than isolated snippets.

Read the full file on GitHub · 29 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 29 lines · 56 tokens per session scan A ef1726886e25

Subscribe to this mod's changes

askit-build-samples is a skill published in the GitHub repository product-on-purpose/agent-skills-toolkit (2 stars, last pushed today), licensed Apache-2.0. It adds 56 tokens to every session and 620 once invoked, about $0.0003 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

test-driven-development

Use when implementing any feature or bugfix, before writing implementation code.

w4ngyu/openclaw-superpowers · 17 tokens

verification-before-completion

Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always.

w4ngyu/openclaw-superpowers · 43 tokens

skillshare-implement-feature

Implement a feature from a spec file or description using TDD workflow. Use this skill whenever the user asks to: add a new CLI command, implement a feature from a spec, build new functionality, add a flag, create a new internal package, or write Go code for skillshare. This skill enforces test-first development…

runkids/skillshare · 114 tokens

story-origin-check

Recover the first public timestamp and canonical major coverage for a newsjacking signal, then decide whether newer coverage is the same story, a different story, or a materially new development.

elvisun/newsjack · 40 tokens

prompt-proximity-architecture

Turn an approved measurement charter, ICPs, and buyer jobs into a budget-aware prompt coverage blueprint across proximity bands, aided status, information acts, journey states, roles, locales, evidence grades, partitions, and measurement lanes. Use before prompt wording to define required, optional, and prohibited…

elvisun/newsjack · 67 tokens

skd-validate

A validator for 1C data composition schemas, which define how reports obtain and arrange data. It checks a Template.xml file for structural errors, broken references, and duplicate names.

Nikolay-Shirokov/cc-1c-skills · 38 tokens