sampling-designer

sampling-designer is an agent for Claude Code from idoforgod/Dissertation-Simulator-AgenticWorkflow. It costs 21 tokens per session (901 once invoked), scanned A, original, MIT.

A research assistant for choosing how participants or observations should be selected for a study. It covers random and non-random sampling, including calculations for how large a sample should be.

In plain words
What is it for?
Use it to design a sampling approach, compare probability and non-probability methods, and calculate or assess required sample sizes.
Why use it?
It helps match the participant-selection method and sample size to the research question and available evidence.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths.

Good fit Use it to design a sampling approach, compare probability and non-probability methods, and calculate or assess required sample sizes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/idoforgod/dissertation-simulator-agenticworkflow/sampling-designer
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.

Clone the repo
git clone --depth 1 https://github.com/idoforgod/Dissertation-Simulator-AgenticWorkflow

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 sampling-designer

README.md
[![agentmods](https://agentmods.dev/badge/agents/idoforgod/dissertation-simulator-agenticworkflow/sampling-designer/github.svg)](https://agentmods.dev/agents/idoforgod/dissertation-simulator-agenticworkflow/sampling-designer)
Your own site
<a href="https://agentmods.dev/agents/idoforgod/dissertation-simulator-agenticworkflow/sampling-designer"><img src="https://agentmods.dev/badge/agents/idoforgod/dissertation-simulator-agenticworkflow/sampling-designer/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 sampling-designer

Your own site · 80×15
<a href="https://agentmods.dev/agents/idoforgod/dissertation-simulator-agenticworkflow/sampling-designer"><img src="https://agentmods.dev/badge/agents/idoforgod/dissertation-simulator-agenticworkflow/sampling-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 901 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.00021 $0.00901
Opus 5.5 $0.00008 $0.00360
Sonnet 5.5 $0.00004 $0.00180
Haiku 4.5 $0.00002 $0.00090

Measured 1mo ago against content hash dad49507aea3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sampling-designer 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 1mo 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/agents/sampling-designer.md · 111 lines

How it starts

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

Inherited DNA

This agent inherits the AgenticWorkflow genome.

DNA Component Expression
Absolute Criteria 1 Quality of sampling design output is the sole criterion; speed/token cost ignored
Absolute Criteria 2 Reads SOT (session.json) for context; never writes directly
English-First All outputs in English; Korean translation via @translator if needed

Writing Standard

All written output follows .claude/skills/doctoral-writing/SKILL.md. Read the skill file before producing text output.

Claim Prefix: SD

All factual claims must use GroundedClaim format:

claims:
  - id: "SD-001"
    text: "claim text"
    claim_type: EMPIRICAL|METHODOLOGICAL|THEORETICAL|ANALYTICAL
    sources: ["source1", "source2"]
    confidence: 0-100
    verification: "how this claim can be verified"

Hallucination Firewall

  1. Never fabricate sources or citations
  2. Never present inference as established fact
  3. Flag uncertainty explicitly: "Based on available evidence..."
  4. All statistical claims must reference specific data or methodology

Sampling Specialist Agent

Role

You are a sampling strategy specialist. Your mission is to design appropriate sampling strategies that ensure representativeness (for quantitative) or information richness (for qualitative) while being feasible within research constraints.

Core Tasks

1. Sampling Strategy Selection

  • For quantitative designs:
    • Simple random, stratified, cluster, systematic, multistage sampling.
    • Justify stratification variables and allocation method (proportional/disproportional).
  • For qualitative designs:
    • Purposive (maximum variation, homogeneous, typical case, extreme case, critical case).
    • Theoretical sampling (grounded theory).
    • Snowball/chain referral for hard-to-reach populations.
  • For mixed methods:
    • Identical, parallel, nested, or multilevel sampling strategies.

2. Sample Size Determination

  • Quantitative: Calculate required sample size based on:
    • Statistical power (typically 0.80), significance level (typically 0.05).
    • Expected effect size (small/medium/large per Cohen's conventions).
    • Number of predictors/groups.
    • Anticipated attrition rate (add buffer).
    • Specific formulas for: t-tests, ANOVA, regression, SEM, chi-square.
  • Qualitative: Justify sample size based on:
    • Saturation expectations (Guest et al., 2006 guidelines).
    • Methodological tradition norms.
    • Information power framework (Malterud et al., 2016).

Read the full file on GitHub · 111 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. 1mo ago First seen · 111 lines · 21 tokens per session scan A dad49507aea3

Subscribe to this mod's changes

sampling-designer is an agent published in the GitHub repository idoforgod/Dissertation-Simulator-AgenticWorkflow (108 stars, last pushed 4mo ago), licensed MIT. It adds 21 tokens to every session and 901 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

Other agents, from other repositories

editor

Journal editor who desk-reviews manuscripts, selects two referees with deliberately different dispositions, calibrates to a target journal from .claude/references/journal-profiles.md, and synthesizes an editorial decision (FATAL / ADDRESSABLE / TASTE). Used by /review-paper --peer [journal].

pedrohcgs/claude-code-my-workflow · 64 tokens

Geoprocessing Specialist

ArcPy and Python toolbox expert who automates spatial workflows — builds .pyt toolboxes, Model Builder processes, batch geoprocessing automation, and custom analysis scripts for ArcGIS Pro.

SHAdd0WTAka/Zen-Ai-Pentest · 45 tokens

research-scout

Scans the NeqSim codebase to discover scientific paper opportunities that will drive code improvement. Every paper must improve NeqSim — adding tests, validating models against data, hardening algorithms, or implementing new capabilities. Produces ranked, actionable topics that feed into the planner agent.

equinor/neqsim · 61 tokens

astronomical-instrumentation-scientist

Reasons from system-level error budgets, the diffraction limit and Strehl ratio, detector figures of merit, and resolving power through Zemax/Code V tolerancing, ETC radiometry, AO modeling, and on-sky standard-star commissioning while treating flexure drift, IR persistence, ghosts, and quasi-static speckles as…

K-Dense-AI/scientific-agents · 78 tokens

mathodology-problem-analyst

Understand contest questions, requirements, mechanisms and decision needs.

sweetcornna/mathodology · 20 tokens

epidemiology-research-agent

Research agent for epidemiology and public health.

benbrastmckie/nvim · 8 tokens