Brewery Lookup
CLI for AI agents to find breweries for their humans. "What breweries are in Portland?" — now your agent can answer.
Uses Open Brewery DB. No account or API key needed.
Usage
CODEBLOCK0
Commands
| Action | Command |
|---|
| Search by name | INLINECODE0 |
| Find by city |
breweries city "city name" |
| Find by state |
breweries state "state" |
| Find by type |
breweries type <type> |
| Random |
breweries random [count] |
Brewery Types
- -
micro — Most craft breweries - INLINECODE6 — Very small breweries
- INLINECODE7 — Regional craft breweries
- INLINECODE8 — Brewery with restaurant/bar
- INLINECODE9 — Large national breweries
- INLINECODE10 — Breweries in planning
- INLINECODE11 — Bars that brew on premises
- INLINECODE12 — Contract brewing
- INLINECODE13 — Alternating proprietor
- INLINECODE14 — Closed breweries
Examples
CODEBLOCK1
Output
CODEBLOCK2
Notes
- - Uses Open Brewery DB API v1 (api.openbrewerydb.org)
- No authentication required
- No rate limiting documented
- Returns up to 10 results per query
- State names can be full name or abbreviation
Agent Implementation Notes
Script location: {skill_folder}/breweries (wrapper) → INLINECODE16
When user asks about breweries:
- 1. Run
./breweries search "name" to find by name - Run
./breweries city "city" for location-based search - Run
./breweries state "state" for state-wide search - Run
./breweries type brewpub for specific types - Run
./breweries random for discovery/recommendations
Common patterns:
- - "Find me a brewery in [city]" → INLINECODE22
- "What breweries are in [state]?" → INLINECODE23
- "Search for [name] brewery" → INLINECODE24
- "Surprise me with a brewery" → INLINECODE25
- "Where can I get craft beer in [city]?" →
breweries city "[city]" or INLINECODE27
Don't use for: Bars without brewing, liquor stores, wine/spirits.
啤酒厂查询
面向AI代理的CLI工具,帮助人类查找啤酒厂。波特兰有哪些啤酒厂?——现在你的代理可以回答这个问题。
使用Open Brewery DB。无需账户或API密钥。
使用方法
查找名为Sierra Nevada的啤酒厂
圣地亚哥有哪些啤酒厂?
显示俄勒冈州的啤酒厂
随机找一家啤酒厂
有哪些啤酒餐吧?
命令
| 操作 | 命令 |
|---|
| 按名称搜索 | breweries search 名称 |
| 按城市查找 |
breweries city 城市名 |
| 按州查找 | breweries state 州名 |
| 按类型查找 | breweries type <类型> |
| 随机查找 | breweries random [数量] |
啤酒厂类型
- - micro — 大多数精酿啤酒厂
- nano — 非常小的啤酒厂
- regional — 区域性精酿啤酒厂
- brewpub — 带餐厅/酒吧的啤酒厂
- large — 大型全国性啤酒厂
- planning — 规划中的啤酒厂
- bar — 现场酿酒的酒吧
- contract — 合同酿造
- proprietor — 交替经营者
- closed — 已关闭的啤酒厂
示例
bash
breweries search stone brewing # 按名称查找啤酒厂
breweries city portland # 查找波特兰的啤酒厂
breweries state oregon # 查找俄勒冈州的啤酒厂
breweries type brewpub # 查找所有啤酒餐吧
breweries random 3 # 随机获取3家啤酒厂
输出格式
🍺 Sierra Nevada Brewing Co. — 加利福尼亚州奇科市,区域性啤酒厂
https://sierranevada.com
备注
- - 使用Open Brewery DB API v1 (api.openbrewerydb.org)
- 无需身份验证
- 无记录速率限制
- 每次查询最多返回10条结果
- 州名可使用全称或缩写
代理实现说明
脚本位置: {skill_folder}/breweries(包装器)→ scripts/breweries
当用户询问啤酒厂时:
- 1. 运行 ./breweries search 名称 按名称查找
- 运行 ./breweries city 城市 按位置搜索
- 运行 ./breweries state 州名 按州搜索
- 运行 ./breweries type brewpub 按特定类型搜索
- 运行 ./breweries random 用于发现/推荐
常见模式:
- - 在[城市]找一家啤酒厂 → breweries city [城市]
- [州名]有哪些啤酒厂? → breweries state [州名]
- 搜索[名称]啤酒厂 → breweries search [名称]
- 给我推荐一家啤酒厂 → breweries random
- 在[城市]哪里能喝到精酿啤酒? → breweries city [城市] 或 breweries type micro
不适用于: 无酿造业务的酒吧、酒类商店、葡萄酒/烈酒。