For AI agents installing this pack into a user's PAI infrastructure.
Use Claude Code's native tools (AskUserQuestion, TodoWrite, Bash, Read, Write) to walk the user through this wizard.
"I'm installing the Science skill from the PAI v5.0.0 release.
The scientific method as a universal problem-solving algorithm — goal-first, hypothesis-plural, falsifiable experiments, honest measurement. Seven core workflows: DefineGoal, GenerateHypotheses (minimum 3 required — single-hypothesis testing is confirmation bias), DesignExperiment, MeasureResults, AnalyzeResults, Iterate, and FullCycle. Two diagnostic shortcuts: QuickDiagnosis (15-minute rule for fast debugging) and StructuredInvestigation (complex multi-factor issues). Scales across micro (TDD, minutes), meso (feature validation, hours-days), and macro (MVP launch, weeks-months). Reference files: METHODOLOGY.md (deep dive on each phase), Protocol.md (how other skills invoke Science), Templates.md (goal/hypothesis/experiment/results templates), Examples.md (worked examples across scales). Integrates with Council (hypothesis validation), Evals (measurement), Development (parallel experiment worktrees), and RedTeam (stress-test hypotheses). RootCauseAnalysis applies Science to failure investigation — pair them when investigating incidents.
Let me check your system and install."
CLAUDE_DIR="$HOME/.claude"
SKILL_DIR="$CLAUDE_DIR/skills/Science"
if [ -d "$SKILL_DIR" ]; then
echo "EXISTING Science skill found at $SKILL_DIR — will back up before install"
else
echo "Clean install — no existing Science skill"
fiAsk the user (use AskUserQuestion):
- "Install
Scienceinto~/.claude/skills/Science/? (yes/no)" - If existing skill found: "Back up the existing
Scienceto~/.claude/skills/Science.backup-{timestamp}/first? (yes/no — recommend yes)"
if [ -d "$SKILL_DIR" ]; then
BACKUP="$SKILL_DIR.backup-$(date +%Y%m%d-%H%M%S)"
mv "$SKILL_DIR" "$BACKUP"
echo "Backed up to $BACKUP"
fimkdir -p "$CLAUDE_DIR/skills"
cp -R src/ "$SKILL_DIR/"
echo "Installed to $SKILL_DIR"Run the file and functional checks in VERIFY.md. Confirm to the user when all checks pass.