Agent skill

sample-size-basic

Basic sample size calculator for clinical research planning with common statistical scenarios

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill sample-size-basic --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: none
Version: 1.0.0
Declared author: AIPOCH
Path: skills/analysis/sample-size-basic/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Sample Size (Basic) Basic sample size estimation for clinical research planning. ## Use Cases - Quick sample size estimates for grant proposals - Preliminary study design calculations - Educational purposes for statistics training ## Parameters - `test_type`: Type of test (t_test, chi_square, proportion) - `alpha`: Significance level (default 0.05) - `power`: Statistical power (default 0.80) - `effect_size`: Expected effect size - `baseline_rate`: Baseline proportion (for proportion tests) ## Returns - Required sample size per group - Total sample size - Statistical assumptions summary ## Example Input: Two-sample t-test, alpha=0.05, power=0.80, effect_size=0.5 Output: n=64 per group, total=128 subjects ## Risk Assessment | Risk Indicator | Assessment | Level | |----------------|------------|-------| | Code Execution | Python/R scripts executed locally | Medium | | Network Access | No external API calls | Low | | File System Access | Read input files, write output files | Medium | | Instruction Tampering | Standard prompt guidelines | Low | | Data Exposure | Output files saved to workspace | Low | ## Security Checklist - [ ] No hardcoded credentials or API keys - [ ] No unauthori

What's inside
Steps it walks through
  1. Use Cases
  2. Parameters
  3. Returns
  4. Example
  5. Risk Assessment
  6. Security Checklist
  7. Prerequisites
  8. Evaluation Criteria
  9. Success Metrics
  10. Test Cases
  11. Lifecycle Status
Ships with 1 file
  • metadata.json
Commands it runs
Python dependencies
pip install -r requirements.txt
More from claude-skill-registry
All skills →
About this skill
What does the sample-size-basic skill do?

Basic sample size calculator for clinical research planning with common statistical scenarios

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill sample-size-basic --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going