← Back to Skills Marketplace
zsiddique

Bean Whisperer

by Zuhaib Siddique · GitHub ↗ · v0.2.0 · MIT-0
cross-platform ✓ Security Clean
118
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install bean-whisperer
Description
Generate espresso brew profiles for GaggiMate Pro on Rancilio Silvia. Use when the user provides a coffee bean (photo or name) and wants a brewing profile cr...
README (SKILL.md)

BeanWhisperer — Espresso Profile Generator

Generate and deploy espresso profiles for GaggiMate Pro on a Rancilio Silvia. Based on Lance Hedrick's espresso methodology.

Machine Setup

  • Machine: Rancilio Silvia with GaggiMate Pro (pressure transducer + flow profiling)
  • Host: gaggimate.local — WebSocket at ws://gaggimate.local/ws (override with GAGGIMATE_HOST env var)
  • Scale: Bluetooth scale connected (volumetric targets reliable)
  • Baskets: 18g and 20g available
  • Temp offset: 5°C configured in GaggiMate (profile temps = desired brew temp)

Methodology: Lance Hedrick's Approach

Read references/lance-hedrick-methodology.md for the full framework. Key principles:

  1. Pressure is a red herring — balance > 9 bar. 2-4 bar shots win competitions.
  2. Ratio is #1 extraction lever — extend ratio before going finer.
  3. Coarser is default direction — more even flow, less channeling.
  4. Temperature: lower than you think — default 90°C, rarely above 93-94.
  5. Heavily processed = gentle — low temp, coarser, moderate ratio.
  6. Aged coffee = accept low pressure — don't go finer to compensate.

Workflow: New Bean → Profile

1. Identify the Bean

Photo: Extract bean name, roaster, origin, roast level, processing method, tasting notes. Name: Search web for origin, roast, process, flavor notes.

2. Search Discord Community

Always check the community first. A battle-tested profile tweaked for this bean is the best starting point.

python3 scripts/discord-profiles.py recommend \x3Croast> [\x3Corigin>]
python3 scripts/discord-profiles.py search "\x3Cstrategy or keyword>"

Download the best candidate and evaluate it against the bean's characteristics. Then decide:

  • Good fit: Tweak the community profile — adjust temp, ratio, dose, or stop conditions to match this specific bean. Always tweak; never push a community profile unmodified (every bean is different).
  • No good fit (nothing relevant, or you're confident you can do better for this bean): Skip to step 3 and generate from scratch.

3. Gather Parameters (ask if not provided)

  • Basket size: 18g or 20g (auto-recommend based on roast)
  • Ratio: Auto per Lance's rules (light=1:2.8, medium=1:2.2, dark=1:1.7)
  • Style: espresso, ristretto, lungo, milk drink, allongé
  • Freshness: fresh (\x3C4wk), rested (4-8wk), aged (>8wk)

4. Generate or Tweak Profile

If tweaking a community profile (from step 2): Modify the downloaded JSON directly — adjust temperature, phases[].pump.pressure, phases[].pump.flow, ratio (volumetric target values), or dose. Use the Lance Hedrick methodology to decide what to change for this specific bean. Save the modified profile to /tmp/profile.json.

If generating fresh (no good Discord match):

Static mode (default — fast, deterministic, schema-compliant):

python3 scripts/generate-profile.py \
  --label "Bean Name" \
  --roast \x3Clevel> --origin \x3Corigin> --process \x3Cmethod> \
  --dose \x3Cg> --ratio \x3Cratio> --temp \x3Ctemp> \
  --strategy \x3Cauto|flat|declining|bloom|lever|turbo|low-contact> \
  --style \x3Cespresso|ristretto|lungo|milk|allonge> \
  --freshness \x3Cfresh|rested|aged> \
  --output /tmp/profile.json

LLM mode (for edge cases, unusual beans, taste-based iteration): Read references/barista-persona.md and adopt the Lance Hedrick persona defined in the system prompt section. Reason about the bean as that persona, decide parameters, then pass to the static generator for valid JSON. Always explain the "why" behind every choice using the sour-sweet-bitter framework. For post-shot iteration, stay in persona and adjust based on taste feedback.

5. Review with User

Present: strategy, phases, temperature, dose/ratio, expected shot time, expected pressure. Explain WHY this strategy suits their bean using the sour-sweet-bitter framework. Be honest about trade-offs. If based on a community profile, credit the original author.

6. Deploy to Machine

python3 scripts/gaggimate-ws.py push /tmp/profile.json

Saves + favorites + selects in one step. Requires pip3 install websockets.

7. Post-Shot Iteration (LLM mode)

If user reports taste feedback ("it was sour", "bitter finish", "too thin"):

  • Sour → extend ratio 5g, DON'T go finer first
  • Bitter/dry → reduce ratio or recommend coarser grind
  • Sour + bitter (channeling) → go COARSER (counterintuitive!)
  • Thin/watery → slightly finer, or switch from turbo to lever
  • Generate adjusted profile and push

Strategy Selection (Lance's Framework)

Roast Process Freshness Strategy Pressure Time
Light Washed Fresh Bloom 6-7 bar 25-30s
Light Natural Fresh Turbo 2-6 bar 15-20s
Light Any Aged Turbo 2-4 bar 15-20s
Med-Light Washed (African) Fresh Bloom 6-7 bar 25-30s
Med-Light Washed (other) Fresh Lever 8-9→6 bar 30-40s
Medium Any Fresh Lever 9→6 bar 30-40s
Med-Dark Any Fresh Declining 9→5.5 bar 25-35s
Dark Any Fresh Declining 9→5.5 bar 20-25s
Any Anaerobic/Co-ferment Any Turbo 3-6 bar 15-20s

Profile Management

python3 scripts/gaggimate-ws.py list              # Show all profiles
python3 scripts/gaggimate-ws.py get \x3Cid>           # Export profile JSON
python3 scripts/gaggimate-ws.py save profile.json  # Upload without selecting
python3 scripts/gaggimate-ws.py delete \x3Cid>        # Remove a profile
python3 scripts/gaggimate-ws.py push profile.json  # Save + favorite + select

Edge Cases

  • Machine offline: If gaggimate-ws.py fails with a connection error, tell the user to check that GaggiMate is powered on and reachable at the configured host. Suggest saving the profile JSON locally and pushing later.
  • Invalid/unclear bean photo: If the photo is unreadable or not clearly a coffee bag, ask the user to provide bean details manually (roast, origin, process).
  • No Bluetooth scale connected: Volumetric stop conditions (targets.type: "volumetric") require a scale. If the user has no scale, switch to time-based stops by removing volumetric targets and relying on phase duration values instead.
  • GaggiMate Standard (not Pro): If the user has GaggiMate Standard (no pressure transducer), generate "type": "standard" profiles with only temperature and time — no pressure/flow phases.

References

  • Lance Hedrick methodology: references/lance-hedrick-methodology.md — full framework with temp/ratio/pressure rules
  • LLM barista persona: references/barista-persona.md — system prompt for LLM-driven profile generation
  • Espresso knowledge base: references/espresso-knowledge.md — origin/process/strategy details
  • Profile JSON schema: references/profile-schema.json
  • WebSocket API: references/websocket-api.md

Discord Profile Research

The GaggiMate Discord has a #profiles channel where users share JSON profiles (like the Sir Lancelot's Lever profile Lance imported in his video). Use discord-profiles.py to search, browse, and download community profiles.

Requires: DISCORD_TOKEN env var (bot token with access to GaggiMate Discord guild 951416527721230336).

# Browse recent community profiles
python3 scripts/discord-profiles.py list --limit 30

# Search for profiles matching a style
python3 scripts/discord-profiles.py search "lever"
python3 scripts/discord-profiles.py search "light roast"

# Get AI recommendations based on bean characteristics
python3 scripts/discord-profiles.py recommend light kenya
python3 scripts/discord-profiles.py recommend dark

# Download a specific profile by Discord message ID
python3 scripts/discord-profiles.py download 1380352847387820082

# Bulk download all recent profiles
python3 scripts/discord-profiles.py download-all --limit 50

Discord → Machine Workflow

  1. Search/recommend profiles matching the user's bean
  2. Download the best candidates
  3. Present them with descriptions
  4. User picks one → optionally modify (temp, ratio, stop conditions) for their specific bean
  5. Push modified profile to machine via gaggimate-ws.py push

When to Generate Fresh Instead of Tweaking Discord

Discord search (step 2) is always the first action. Only generate from scratch when:

  • No community profiles match the bean type
  • The bean is unusual enough that a community profile would need so many changes it's easier to start fresh
  • You're confident the generator will produce a better result for this specific bean
  • The user explicitly asks for a custom profile
Usage Guidance
This skill appears to do what it says: generate and push espresso profiles to a local GaggiMate device and optionally search/download community profiles from Discord. Before installing, review the included scripts yourself (or run them in an isolated environment) because: - The Discord fetcher expects a token (DISCORD_TOKEN or ~/.config/gaggimate/discord-token). Storing tokens in plain files or providing a full user token has security/privacy implications — prefer a least-privilege approach and understand what account the token belongs to. - The push operation connects to ws://gaggimate.local (or GAGGIMATE_HOST you set) on your local network and will save/select profiles on the target device; ensure that host is the intended machine and on a trusted LAN. - The registry metadata omits the optional environment variables the code expects; double-check and set the env vars intentionally rather than assuming defaults. If you are comfortable with these behaviors (local network access + optional Discord integration), the package is coherent with its purpose. If you do not want it to access Discord or your LAN device, do not provide DISCORD_TOKEN or the host override, and avoid running the push command.
Capability Analysis
Type: OpenClaw Skill Name: bean-whisperer Version: 0.2.0 The BeanWhisperer skill bundle is a specialized tool for generating and managing espresso brew profiles for GaggiMate Pro coffee machines. The scripts (discord-profiles.py, gaggimate-ws.py, and generate-profile.py) perform legitimate functions such as fetching community profiles from a specific Discord forum, communicating with a local IoT device via WebSockets, and applying coffee extraction logic. While the skill requires a DISCORD_TOKEN for community features, the code is transparent, lacks obfuscation, and shows no evidence of data exfiltration or malicious intent.
Capability Assessment
Purpose & Capability
The files (generate-profile.py, gaggimate-ws.py, discord-profiles.py), README, and SKILL.md all implement generating and deploying GaggiMate profiles as advertised. Requested binaries are limited to python3, which is appropriate. Minor mismatch: the registry metadata lists no required environment variables, but the code and README expect optional environment overrides (GAGGIMATE_HOST) and an optional DISCORD_TOKEN or token file — this is proportional to the described functionality but should have been declared.
Instruction Scope
Runtime instructions stick to the stated goal: identify beans, generate/tweak JSON profiles, optionally fetch community profiles from Discord, and push profiles to a local GaggiMate device over WebSocket. The instructions do reference reading a token file (~/.config/gaggimate/discord-token) and environment variables (GAGGIMATE_HOST, DISCORD_TOKEN) which are relevant to Discord and host override; they do not instruct broad system data collection or exfiltration beyond those endpoints.
Install Mechanism
No risky remote install steps are included. This is an instruction + source bundle; dependencies are standard Python packages (websockets, aiohttp) mentioned in pyproject/README. No arbitrary URL downloads or archive extraction steps are present.
Credentials
The skill does not request high-privilege secrets, but it does read/expect a Discord token (via DISCORD_TOKEN env or ~/.config/gaggimate/discord-token) to fetch community profiles; this is proportional to the community-search feature. However, the registry metadata did not declare these env vars/paths as requirements — the omission reduces transparency and is worth noting. The GAGGIMATE_HOST override is also documented but not declared in metadata.
Persistence & Privilege
always:false and no installation hooks that change other skills or system-wide agent settings. The skill can be invoked normally by the agent; it does not request persistent elevated privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install bean-whisperer
  3. After installation, invoke the skill by name or use /bean-whisperer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.2.0
**Major update: Community-first workflow for espresso profile recommendations.** - Now prioritizes searching and recommending battle-tested community profiles from the GaggiMate Discord before generating new ones. - New workflow section: always check Discord for relevant profiles, and only generate fresh if no good match is found. - Requires all community profiles to be tweaked for the user's specific bean before pushing—never upload unmodified. - Documentation updated to clarify the Discord-to-machine path, and to credit original creators. - General improvements in guides for tweaking, reviewing with the user, and post-shot iteration.
v0.1.0
bean-whisperer v0.1.0 — Initial Release - Generate, list, modify, and deploy espresso brew profiles for GaggiMate Pro on Rancilio Silvia. - Supports profile creation from bean name or photo, using Lance Hedrick's extraction methodology. - Adapts recommendations based on roast, process, and user feedback (e.g., “sour shot” or “too thin”). - Automates interaction with GaggiMate machine via WebSocket, handles static and LLM-based profile generation. - Integrates with GaggiMate Discord for profile sharing, search, and recommendations. - Handles edge cases: machine offline, missing scale, unclear bean info, or non-Pro machine support.
Metadata
Slug bean-whisperer
Version 0.2.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Bean Whisperer?

Generate espresso brew profiles for GaggiMate Pro on Rancilio Silvia. Use when the user provides a coffee bean (photo or name) and wants a brewing profile cr... It is an AI Agent Skill for Claude Code / OpenClaw, with 118 downloads so far.

How do I install Bean Whisperer?

Run "/install bean-whisperer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Bean Whisperer free?

Yes, Bean Whisperer is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Bean Whisperer support?

Bean Whisperer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Bean Whisperer?

It is built and maintained by Zuhaib Siddique (@zsiddique); the current version is v0.2.0.

💬 Comments