fungi-identification
About
This skill helps developers identify fungi in the field using morphological features, spore prints, habitat, and seasonal context, with a strict safety-first approach. It covers detailed analysis of cap, gills, stem, and spores, distinguishes lookalike species, and assesses toxicity risks. Use it when encountering unknown fungi, foraging for edible mushrooms, or evaluating potentially harmful species to ensure absolute certainty before any consumption.
Quick Install
Claude Code
Recommendednpx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/fungi-identificationCopy and paste this command in Claude Code to install this skill
Documentation
真菌鉴定
使用形态特征、孢子印迹、栖息地和季节,以绝对安全第一的方法在野外鉴定真菌。
适用场景
- 遇到未知真菌,需要鉴定
- 采集食用蘑菇,需要在食用前确认物种
- 想要评估花园或房产中的真菌是否有害
- 通过结构化的观察练习来建立野外鉴定技能
- 需要区分可食用物种与危险的相似种
输入
- 必需:真菌标本或原位清晰观察
- 必需:能够观察精细的形态细节(菌盖、菌褶、菌柄、基部)
- 可选:该地区的野外指南或参考资料
- 可选:用于孢子印迹的纸和玻璃
- 可选:用于横截面检查的刀
- 可选:手持放大镜(10倍)用于细节观察
步骤
第 1 步:基本规则
在进行任何鉴定工作之前,内化真菌学的绝对规则。
CARDINAL RULE:
If you are not 100% certain of the identification, DO NOT EAT IT.
There is no "universal edibility test" for mushrooms.
Some deadly species taste pleasant.
Some deadly species have delayed symptoms (24-72 hours).
Some deadly species have NO antidote.
The cost of a false positive (eating a misidentified mushroom) is
organ failure and death. The cost of a false negative (skipping an
edible mushroom) is a missed meal.
ALWAYS ERR TOWARD CAUTION.
预期结果: 在继续鉴定之前已内化基本规则。
失败处理: 此步骤没有失败模式。如果规则未被内化,不要为食用目的进行野外鉴定。
第 2 步:记录栖息地
在触碰标本之前,通过环境信息缩小鉴定范围。
Habitat Recording:
+--------------------+------------------------------------------+
| Factor | Record |
+--------------------+------------------------------------------+
| Substrate | Soil, wood (dead/living), dung, leaf |
| | litter, moss, other fungi |
+--------------------+------------------------------------------+
| Tree association | What trees are within 10m? (Many fungi |
| | are mycorrhizal with specific tree genera)|
+--------------------+------------------------------------------+
| Moisture | Dry, damp, wet, waterlogged |
+--------------------+------------------------------------------+
| Light | Full shade, dappled, open |
+--------------------+------------------------------------------+
| Season | Early spring, late spring, summer, early |
| | autumn, late autumn, winter |
+--------------------+------------------------------------------+
| Altitude | Lowland, mid-altitude, montane |
+--------------------+------------------------------------------+
| Growth pattern | Solitary, scattered, clustered, ring, |
| | shelf/bracket |
+--------------------+------------------------------------------+
预期结果: 完整的栖息地记录,为物种级别的鉴定提供背景。
失败处理: 如果栖息地不明确(如混合种植的城市花园),记录可见信息。不完整的栖息地数据会降低鉴定可信度——将此纳入安全评估。
第 3 步:检查形态特征
对标本本身进行系统性检查。
Morphological Checklist:
CAP (Pileus):
- Shape: convex, flat, concave, conical, umbonate, bell-shaped
- Diameter (measure or estimate)
- Surface: smooth, scaly, fibrous, slimy, dry, cracked
- Colour (note if colour changes with age or moisture)
- Margin: smooth, striate, inrolled, appendiculate (veil remnants)
GILLS / PORES / SPINES (Hymenium):
- Type: gills (lamellae), pores (tubes), spines (teeth), smooth
- Attachment: free, adnexed, adnate, decurrent
- Spacing: crowded, close, distant
- Colour (important — note changes with age)
- Bruising: do gills change colour when damaged?
STEM (Stipe):
- Height and diameter
- Shape: equal, tapered, bulbous, club-shaped
- Surface: smooth, fibrous, scaly, reticulate (netted)
- Interior: solid, hollow, stuffed (pithy center)
- Ring (annulus): present/absent, position, persistent/fragile
- Volva (cup at base): present/absent — ALWAYS check by
carefully excavating the base (Amanita species have a volva)
FLESH (Context):
- Colour when cut
- Colour change on exposure to air (note time to change)
- Texture: firm, brittle, fibrous, gelatinous
- Smell: mushroomy, anise, radish, flour, chlorine, unpleasant
- Taste: (ONLY if species is confirmed non-deadly by an expert;
for unknown species, DO NOT taste)
SPORE PRINT:
- Remove the stem; place the cap gill-side down on paper
(half white, half dark paper to see any colour)
- Cover with a glass or bowl to maintain humidity
- Wait 4-12 hours
- Record spore colour: white, cream, pink, brown, purple-brown,
black, rust-orange
预期结果: 涵盖所有主要特征的完整形态描述。
失败处理: 如果某个特征无法观察到(如菌环不可见但可能已脱落),记录为"未观察到"而非"不存在"。这个区别对鉴定很重要。
第 4 步:使用多重确认进行鉴定
将所有数据与参考资料交叉对照。
Identification Protocol:
1. Use habitat + season to narrow to likely genera
2. Use cap shape + gill type + spore colour to narrow to species group
3. Check ALL features against the candidate species description
4. Specifically check against dangerous look-alikes:
- Does this species have a deadly doppelganger?
- What feature distinguishes the edible from the deadly?
- Can I see that distinguishing feature clearly?
Confidence Levels:
+----------+---------------------------+---------------------------+
| Level | Criteria | Action |
+----------+---------------------------+---------------------------+
| Certain | All features match; no | Safe to collect (for |
| | look-alike confusion; | experienced identifiers) |
| | experienced with species | |
+----------+---------------------------+---------------------------+
| Probable | Most features match; | DO NOT eat. Collect for |
| | one or two uncertain; | further study (spore |
| | look-alike eliminated | print, expert review) |
+----------+---------------------------+---------------------------+
| Possible | Some features match; | DO NOT eat. Photograph |
| | look-alike not fully | and seek expert opinion |
| | eliminated | |
+----------+---------------------------+---------------------------+
| Unknown | Cannot narrow to species | DO NOT eat. DO NOT |
| | | handle extensively |
+----------+---------------------------+---------------------------+
预期结果: 物种级别的鉴定,带有明确的信心等级和相似种评估。
失败处理: 如果鉴定停留在属级别,这对于学习目的是可以接受的。对于食用,只有物种级别"确定"的鉴定才是可接受的。
验证清单
- 在开始鉴定前已确认基本规则
- 在检查标本前已记录栖息地
- 所有形态特征已系统地检查
- 已挖掘基部检查是否有菌托
- 已制作孢子印迹(如时间允许)
- 已明确检查并排除危险的相似种
- 已诚实评估信心等级
- 只有"确定"的鉴定才被考虑用于食用
常见问题
- 依赖单一特征:"它看起来像鸡油菌"仅基于颜色。真正的鸡油菌具有假褶(脊状),从树木附近的土壤中生长,并有特殊的杏子气味。假鸡油菌和南瓜灯蘑菇共享颜色但其他所有特征都不同
- 跳过基部检查:未挖掘基部会错过菌托——这是鉴定致命鹅膏属物种(毒鹅膏、毁灭天使)最重要的特征
- 盲目信任应用程序:基于 AI 的蘑菇鉴定应用对相似种的错误率很高。将它们用作起点,绝不用作确认
- 假设"常见=安全":丰度不等于可食性。致命物种可能在局部地区很丰富
- 品尝未知物种:一些真菌学家使用味道作为诊断工具,但这需要专家级别的知识来判断哪些物种可以安全品尝。对于非专家,不要品尝未知真菌
- 忽视延迟毒素:某些物种(如毒鹅膏 Amanita phalloides)味道宜人且症状延迟。到症状出现时(24-48小时),肝损伤已经很严重
相关技能
mushroom-cultivation— 栽培已知物种完全消除了鉴定风险forage-plants— 互补的野外鉴定技能;共享多特征确认方法论
GitHub Repository
Related Skills
llamaguard
OtherLlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.
cost-optimization
OtherThis Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.
quantizing-models-bitsandbytes
OtherThis skill quantizes LLMs to 8-bit or 4-bit precision using bitsandbytes, achieving 50-75% memory reduction with minimal accuracy loss. It's ideal for running larger models on limited GPU memory or accelerating inference, supporting formats like INT8, NF4, and FP4. The skill integrates with HuggingFace Transformers and enables QLoRA training and 8-bit optimizers.
dispatching-parallel-agents
OtherThis Claude Skill dispatches multiple agents to investigate and fix 3+ independent problems concurrently. It is designed for scenarios involving unrelated failures that can be resolved without shared state or dependencies. The core capability is parallel problem-solving, assigning one agent per independent problem domain to maximize efficiency.
