Bean Whisperer

v0.2.0

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...

0· 110·0 current·0 all-time
byZuhaib Siddique@zsiddique

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for zsiddique/bean-whisperer.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Bean Whisperer" (zsiddique/bean-whisperer) from ClawHub.
Skill page: https://clawhub.ai/zsiddique/bean-whisperer
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required binaries: python3
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install bean-whisperer

ClawHub CLI

Package manager switcher

npx clawhub@latest install bean-whisperer
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

Clawdis
Binspython3
latestvk979mx2148ckeadazy7kavn4d183thnx
110downloads
0stars
2versions
Updated 4w ago
v0.2.0
MIT-0

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 <roast> [<origin>]
python3 scripts/discord-profiles.py search "<strategy 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 (<4wk), 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 <level> --origin <origin> --process <method> \
  --dose <g> --ratio <ratio> --temp <temp> \
  --strategy <auto|flat|declining|bloom|lever|turbo|low-contact> \
  --style <espresso|ristretto|lungo|milk|allonge> \
  --freshness <fresh|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)

RoastProcessFreshnessStrategyPressureTime
LightWashedFreshBloom6-7 bar25-30s
LightNaturalFreshTurbo2-6 bar15-20s
LightAnyAgedTurbo2-4 bar15-20s
Med-LightWashed (African)FreshBloom6-7 bar25-30s
Med-LightWashed (other)FreshLever8-9→6 bar30-40s
MediumAnyFreshLever9→6 bar30-40s
Med-DarkAnyFreshDeclining9→5.5 bar25-35s
DarkAnyFreshDeclining9→5.5 bar20-25s
AnyAnaerobic/Co-fermentAnyTurbo3-6 bar15-20s

Profile Management

python3 scripts/gaggimate-ws.py list              # Show all profiles
python3 scripts/gaggimate-ws.py get <id>           # Export profile JSON
python3 scripts/gaggimate-ws.py save profile.json  # Upload without selecting
python3 scripts/gaggimate-ws.py delete <id>        # 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

Comments

Loading comments...