design

design is a skill for Claude Code, Codex from ai-analyst-lab/agentxp. It costs 37 tokens per session (3,949 once invoked), scanned A, original, Apache-2.0.

A workflow for designing and registering an experiment before its results are examined. It turns a product intent into a hypothesis, measurements, data plan, and sealed experiment brief.

In plain words
What is it for?
Use it to plan an experiment, define its metrics and hypothesis, prepare its data requirements, and create the sealed brief needed for later analysis.
Why use it?
It prevents teams from changing the experiment design after seeing outcome data. It also ensures that the decision metric, safety checks, and expected data shape are defined in advance.

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/ai-analyst-lab/agentxp/design
Any agent
npx skills add ai-analyst-lab/agentxp --skill design
Clone the repo
git clone --depth 1 https://github.com/ai-analyst-lab/agentxp

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 design

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-analyst-lab/agentxp/design.svg)](https://agentmods.dev/skills/ai-analyst-lab/agentxp/design)
Your own site
<a href="https://agentmods.dev/skills/ai-analyst-lab/agentxp/design"><img src="https://agentmods.dev/badge/skills/ai-analyst-lab/agentxp/design.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,949 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.00037 $0.03949
Opus 5 $0.00018 $0.01975
Sonnet 5 $0.00007 $0.00790
Haiku 4.5 $0.00004 $0.00395

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

Security

Grade A, and why

design 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 3d 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.

.claude/skills/design/SKILL.md · 369 lines

How it starts

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

Skill: /design

Purpose

The design verb pre-registers an experiment. You walk from intent → semantic models → metrics → hypothesis → brief → data plan → sealed brief, dispatching specialists at each step. The SQL safety pipeline runs in mode="design" — Layer 3d rejects any query that references outcome columns (variant, arm, assigned_arm, metric values). There is no --force.

The verb terminates when the brief seals with the three-part integrity lock (design_chain_hash + metric_snapshot + expected_shape). At that point the user invokes /analyze --brief experiments/<id>/brief.sealed.yaml to enter the analyze verb.

When to invoke

Direct: /design [--data PATH] [--exp-id ID]

Plain-English routing:

Phrase What to do
"I want to test a new checkout button" /design, then capture intent (step 2)
"Design an experiment against the demo warehouse" /design --data sample-data/agentxp_demo.duckdb
"Continue exp_a3f9c102" /design --exp-id exp_a3f9c102
"Show me the lift" (in design mode) REFUSE — R11 wall; that is the analyze verb's job

Procedure (do these in order)

1. Allocate the experiment directory

from pathlib import Path
from agentxp.workflows.design import allocate_experiment

exp_dir = allocate_experiment(
    project_root=Path.cwd(),
    data_path=Path(args.data) if args.data else None,
    experiment_id=args.exp_id,  # None → ULID-flavored auto-id
)

The helper creates experiments/<id>/, seeds log.md, and stashes the data path if supplied. Print the experiment id so the user can reference it later.

2. Capture intent

Ask the user for their intent in plain English. When you have it, persist:

from agentxp.workflows.design import record_intent

intent_path = record_intent(
    exp_dir,
    intent_text=user_supplied_text,
    captured_by=user_email_or_handle,
)

This writes intent.yaml and appends to log.md. Then render the intent share-tail:

Read the full file on GitHub · 369 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. 3d ago First seen · 369 lines · 37 tokens per session scan A ec4662851b7f

Subscribe to this mod's changes

design is a skill published in the GitHub repository ai-analyst-lab/agentxp (11 stars, last pushed 6d ago), licensed Apache-2.0. It adds 37 tokens to every session and 3,949 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

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

nature-statistics

Audit, revise, or draft manuscript statistical reporting for Nature / high-impact journal submissions. Use when the user asks to check statistical analysis sections, p values, confidence intervals, sample size, biological versus technical replicates, randomization, blinding, multiple-comparison correction, model…

Yuan1z0825/nature-skills · 139 tokens

evaluating-with-leakage-gates

Evaluate an OpenMed de-identification or clinical NER model against the leakage-first release gates G1a through G8, which gate releases on residual PHI leakage rather than on F1. Use when the user wants to run the OpenMed eval harness on a synthetic golden set, decide whether a de-id model is RELEASABLE or…

maziyarpanahi/openmed · 158 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens

mixed-precision

Use FP16/BF16 mixed precision to accelerate training and reduce memory. Use when optimizing GPU performance.

aiming-lab/AutoResearchClaw · 25 tokens

indication-dossier

Build a source-backed biomedical indication dossier. Use when a research task asks for disease biology, target rationale, patient segmentation, biomarkers, trials, drugs, competitive landscape, or translational evidence.

companion-inc/feynman · 43 tokens