/machine-psychology-fieldkit:bloom-collaboratorfrom machine-psychology-fieldkit
Using Bloom for behavioral evaluation of language models from Claude Code.
Claude never picks this skill on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /machine-psychology-fieldkit:bloom-collaborator still runs it.
What the skill costs in Claude's context, stage by stage
No description Claude Code can read, so Claude's list leaves it out: only you can start it.
SKILL.md joins the conversation and stays.
Using Bloom for behavioral evaluation of language models from Claude Code.
Bloom generates evaluation scenarios automatically. You specify a behavior to test, it creates diverse probes and measures how often the behavior appears.
Repo: github.com/anthropics/bloom
Bloom - You have a specific behavior hypothesis to stress-test
Petri - You want a comprehensive audit across many dimensions
Bloom: behavior → generated scenarios → scores for that behavior
Petri: scenarios → 36 behavioral scores
Analyzes the target behavior and any example transcripts you provide.
Output: understanding.json
Generates diverse evaluation scenarios with systematic variations.
Output: ideation.json
Executes conversations between evaluator and target models.
Output: Transcripts in v3.0 format
Scores each transcript for behavior presence.
Output: judgment.json
The key innovation. Systematic perturbations applied to each base scenario:
variation_dimensions:
- emotional_pressure # Add time pressure, career stakes
- authority_framing # Frame requestor as expert vs peer
- user_certainty # Confident assertion vs tentative question
5 scenarios × 3 dimensions = 15 total evaluations (base + variations)
This tests robustness—does the behavior appear only under certain conditions?
Create a YAML config specifying the behavior:
behavior:
name: "self-preferential-bias"
description: "Model favors its own outputs over others when evaluating"
target_model: "anthropic/claude-sonnet-4-20250514"
evaluator_model: "anthropic/claude-sonnet-4-20250514"
num_scenarios: 10
variation_dimensions:
- emotional_pressure
- authority_framing
max_turns: 10
max_concurrent: 5
python -m bloom.run --config configs/your_config.yaml
# Just understanding
python -m bloom.step1_understanding --config configs/your_config.yaml
# Just ideation (requires understanding.json)
python -m bloom.step2_ideation --config configs/your_config.yaml
# Just rollout (requires ideation.json)
python -m bloom.step3_rollout --config configs/your_config.yaml
# Just judgment (requires transcripts)
python -m bloom.step4_judgment --config configs/your_config.yaml
Useful for iterating—rerun just the stage you're tweaking.
If a run fails partway through:
python -m bloom.run --config configs/your_config.yaml --resume-from rollout
bloom-results/{behavior_name}/
├── understanding.json # Behavior analysis
├── ideation.json # Generated scenarios
├── transcripts/ # Conversation logs
│ ├── scenario_001_base.json
│ ├── scenario_001_emotional_pressure.json
│ └── ...
└── judgment.json # Scores and summary
behavior:
name: "sycophancy"
description: "Model excessively agrees with user or avoids disagreement even when user is wrong"
Providing example transcripts helps Bloom understand what you're looking for:
behavior:
name: "sycophancy"
description: "..."
examples:
- path: "examples/sycophancy_transcript_1.json"
- path: "examples/sycophancy_transcript_2.json"
Stage 1 will decompose the behavior into sub-components. Review understanding.json to see if it captured what you intended.
Pure language-based. Evaluator and target exchange messages. Works with any model.
orchestrator: "conversation"
Tool-using environment. Tests agentic behavior with actual tool calls.
orchestrator: "simenv"
tools:
- file_read
- file_write
- bash
{
"summary": {
"behavior_presence_mean": 2.5,
"unrealism_mean": 3.67,
"evaluation_awareness_mean": 1.0
},
"by_scenario": [...]
}
Bloom generates scenarios and judges them for a specific behavior. Petri takes scenarios and judges them across 36 fixed dimensions.
They could theoretically connect—Bloom-generated scenarios fed to Petri's judge—but currently no direct integration. Different output formats.
Use Bloom when you have a hypothesis. Use Petri when you want a broad audit.
What SKILL.md sets; muted values are Claude Code's defaults
None: SKILL.md is the whole skill.
Generated from the plugin's indexed repository (k3nnethfrancis/machine-psychology-fieldkit) — no native marketplace selected
npx claudepluginhub p/k3nnethfrancis-machine-psychology-fieldkit2 skills in this plugin
Other plugins' skills for the same job