agentxp: Skill for Claude Code

.claude/skills/design/SKILL.md

design is a skill for Claude Code 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 Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is ai-analyst-lab/agentxp's own configuration. It tells Claude Code how to work on agentxp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentxp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ai-analyst-lab/agentxp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ai-analyst-lab/agentxp/main/.claude/skills/design/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ai-analyst-lab/agentxp

Made for: Claude Code.

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/github.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/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 design

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.00037 $0.03949
Opus 5.5 $0.00015 $0.01580
Sonnet 5.5 $0.00007 $0.00790
Haiku 4.5 $0.00004 $0.00395

Measured 2mo ago against content hash ec4662851b7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 (12 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 37 tokens to every session and 3,949 once invoked, about $0.0001 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

design compared with skills from other repositories

design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
designai-analyst-lab/agentxpSkill122mo agoApache-2.0A37Claude Code
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill35k2d agoApache-2.0A123Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA83Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA44Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill33kyesterdayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.8kyesterdayApache-2.0A205Claude Code