mushroom-cultivation
About
This skill provides guidance for cultivating edible and medicinal mushrooms, covering the full process from substrate preparation to harvest. It includes specific methods for species like oyster and shiitake, offering a reliable alternative to wild foraging. Developers can use it to integrate mushroom cultivation instructions into applications related to gardening, sustainability, or mycology.
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/mushroom-cultivationCopy and paste this command in Claude Code to install this skill
Documentation
Mushroom Cultivation
Grow edible and medicinal mushrooms from spawn through fruiting at home scale.
When Use
- Want grow edible mushrooms without risks of wild foraging
- Have suitable indoor or outdoor space for mushroom cultivation
- Want experiment with different species and substrates
- Need reliable supply of fresh mushrooms (culinary or medicinal)
- Interested in mycelial ecology, want hands-on experience
Inputs
- Required: Mushroom spawn (grain spawn, sawdust spawn, or plug spawn from reputable supplier)
- Required: Substrate material (straw, hardwood sawdust, logs, or supplemented sawdust)
- Optional: Pressure cooker or large pot (for substrate sterilization/pasteurization)
- Optional: Growing containers (bags, buckets, or logs)
- Optional: Spray bottle and humidity gauge
- Optional: Thermometer for monitoring temperature
Steps
Step 1: Choose Species
Match species to environment and experience level.
Beginner-Friendly Species:
+--------------------+------------------+------------------+------------------+
| Species | Substrate | Temperature | Difficulty |
+--------------------+------------------+------------------+------------------+
| Oyster mushroom | Straw, coffee | 15-24C (60-75F) | Very easy |
| (Pleurotus spp.) | grounds, sawdust | | (most forgiving) |
+--------------------+------------------+------------------+------------------+
| Shiitake | Hardwood logs | 13-21C (55-70F) | Easy |
| (Lentinula edodes) | or sawdust blocks| | (outdoor logs) |
+--------------------+------------------+------------------+------------------+
| Lion's mane | Hardwood sawdust | 18-24C (65-75F) | Moderate |
| (Hericium | (supplemented) | | (needs humidity) |
| erinaceus) | | | |
+--------------------+------------------+------------------+------------------+
| Wine cap | Wood chips, | 10-27C (50-80F) | Easy |
| (Stropharia | straw mulch | | (outdoor beds) |
| rugosoannulata) | (outdoor beds) | | |
+--------------------+------------------+------------------+------------------+
Start with oyster mushrooms — colonize fast, fruit reliably,
tolerate imperfect conditions.
Got: Species selected matches environment, substrate availability, experience level.
If fail: Unsure? Start with blue oyster mushroom (Pleurotus ostreatus) on straw. Most forgiving species for beginners.
Step 2: Prepare Substrate
Substrate feeds mycelium. Must be clean enough to give mushroom head start over competitors.
Substrate Preparation Methods:
PASTEURIZATION (for straw — easiest):
1. Chop straw to 2-4 inch lengths
2. Submerge in hot water (65-80C / 150-175F) for 60-90 minutes
3. Drain thoroughly — substrate should be moist but not dripping
(squeeze test: a firm squeeze produces a few drops, not a stream)
4. Cool to below 30C (85F) before inoculation
STERILIZATION (for supplemented sawdust — more reliable):
1. Mix hardwood sawdust with 10-20% wheat bran or soy hull
2. Hydrate to 60-65% moisture content
3. Fill into autoclavable bags with filter patches
4. Pressure cook at 15 PSI for 90-120 minutes
5. Cool completely before inoculation (overnight is safest)
COLD WATER LIME BATH (alternative pasteurization):
1. Dissolve hydrated lime (calcium hydroxide) in cold water
(approximately 1 cup per 50 gallons)
2. pH should reach 12+ (kills competitors without heat)
3. Soak straw for 12-18 hours
4. Drain and let excess water drip for 2-4 hours
5. pH will neutralize as the straw dries
Got: Substrate clean (pasteurized or sterilized), correct moisture content, cooled to room temp.
If fail: Contamination after inoculation (green mold within first week)? Substrate not pasteurized enough or inoculation environment too dirty. Start fresh, more rigorous pasteurization.
Step 3: Inoculate
Introduce spawn to prepared substrate.
Inoculation Protocol:
1. Work in a clean environment: wash hands, clean surfaces, minimize airflow
(still air is better than a breeze carrying contaminants)
2. Spawn rate: 10-20% spawn by weight relative to wet substrate
(more spawn = faster colonization = less contamination risk)
3. Mix spawn thoroughly into the substrate (for bags/buckets)
OR layer spawn between substrate layers
4. Pack into growing container:
- Grow bags: fill loosely, fold and clip top
- 5-gallon buckets: drill 1/2" holes in sides (every 6 inches),
fill with inoculated substrate, cap loosely
- Logs: drill holes, insert plug spawn, seal with wax
5. Label with species, date, and substrate type
Hygiene Priorities:
- Clean hands and surfaces
- Minimize time substrate is exposed to open air
- Work quickly and confidently
- If you touch a contaminated surface, re-clean before continuing
Got: Spawn evenly distributed throughout substrate in clean container, ready for incubation.
If fail: Spawn not colonizing after 7-10 days (no white growth)? Check temp (cold slows growth), substrate moisture (dry inhibits growth), spawn viability (old or heat-damaged spawn dead).
Step 4: Incubate
Mycelium colonizes substrate during incubation.
Incubation Conditions:
+--------------------+------------------------------------------+
| Parameter | Target |
+--------------------+------------------------------------------+
| Temperature | Species-specific (generally 20-25C / |
| | 68-77F for most species) |
+--------------------+------------------------------------------+
| Light | Dark or dim — direct light not needed |
| | during colonization |
+--------------------+------------------------------------------+
| Air exchange | Minimal — CO2 buildup is acceptable |
| | during colonization (loose lid is enough)|
+--------------------+------------------------------------------+
| Duration | 2-4 weeks (until substrate is fully |
| | white with mycelium) |
+--------------------+------------------------------------------+
| Monitoring | Check every 3-4 days for contamination |
| | (green, black, orange, or pink mold) |
+--------------------+------------------------------------------+
Contamination Response:
- Green mold (Trichoderma): most common competitor. If localized and
small, remove the contaminated area. If widespread, discard the
entire block/bag — Trichoderma wins once established.
- Black mold: discard immediately. Do not open indoors.
- Orange/pink: bacterial contamination from wet substrate. Discard.
Got: Full colonization — substrate uniformly white with mycelium, smells pleasantly mushroomy.
If fail: Partial colonization with contamination means race lost. Start again, more spawn (higher ratio), better pasteurization, cleaner inoculation practice.
Step 5: Initiate Fruiting
Trigger transition from vegetative growth to mushroom formation.
Fruiting Triggers:
1. Fresh air: increase air exchange (open container, fan nearby)
2. Light: indirect light for 12 hours/day (any spectrum works)
3. Temperature drop: reduce by 5-10C from incubation temperature
4. Humidity: maintain 85-95% relative humidity
- Mist 2-3 times daily
- Or use a fruiting chamber (plastic tub with perlite floor)
5. For bags: cut X-shaped slits where you want mushrooms to emerge
For buckets: mushrooms emerge from the drilled holes
Fruiting Chamber (Simple SGFC — Shotgun Fruiting Chamber):
- Large plastic storage tub (50-100L)
- Drill 1/4" holes every 2 inches on all 6 sides (including bottom and lid)
- 4-5 inch layer of wet perlite on the bottom
- Place colonized blocks/bags on a wire rack above the perlite
- Mist walls 2-3 times daily
- Fan fresh air in by waving the lid 2-3 times daily
Got: Primordia (tiny mushroom pins) appear within 5-14 days of fruiting initiation.
If fail: No pins after 2 weeks? Check humidity (dry is most common cause), light (some species need light to pin), temp (warm delays pinning for many species).
Step 6: Harvest and Manage Successive Flushes
Harvest Timing:
- Harvest just before or as the cap edges begin to flatten or turn upward
- For oysters: when the cap edges are still slightly curled downward
- For shiitake: when the cap is 70-80% open (partial veil still intact)
- For lion's mane: when spines are 0.5-1 cm long and still firm
Harvest Technique:
- Twist and pull gently at the base (preferred for most species)
- Or cut with a clean knife at the substrate surface
- Do not leave stumps that can rot and attract contamination
Successive Flushes:
- After harvesting, soak the block/bag in cold water for 12-24 hours
(rehydration triggers the next flush)
- Return to fruiting conditions
- Expect 2-4 flushes, each smaller than the last
- Total yield: approximately 25-50% of wet substrate weight
for oyster mushrooms over all flushes
Got: Fresh mushrooms harvested at optimal timing, successive flushes extending productive life of substrate.
If fail: Yields poor (small, sparse mushrooms)? Substrate depleted or contaminated. Supplemented substrates produce higher yields. Contamination between flushes? Block's productive life over — compost it.
Checks
- Species fits environment and experience level
- Substrate properly pasteurized or sterilized
- Spawn rate 10-20% by weight
- Inoculation done with clean technique
- Full colonization achieved before initiating fruiting
- Fruiting conditions (humidity, temp, air exchange, light) maintained
- Mushrooms harvested at optimal timing
- Successive flushes managed through rehydration
Pitfalls
- Weak pasteurization: Most common cause of failure. Contaminants in first week? Pasteurization not enough
- Too little spawn: Low spawn rates mean slow colonization, gives competitors more time. Use 10-20% ratio
- Low humidity during fruiting: Mushrooms 90% water. Air dry? Primordia abort (dry out before developing). Humidity below 80% during fruiting too low
- No fresh air exchange: High CO2 during fruiting produces long, thin stems and small caps. Increase air exchange if stems elongated
- Harvesting too late: Over-mature mushrooms drop spores (messy), shorter shelf life. Harvest on early side
- Contamination panic: Small mold spot on healthy block not always fatal. Isolate block, remove contaminated area, monitor. Discard only if spreading
See Also
fungi-identification— complementary skill; cultivation removes identification risk but morphology aids recognizing contamination speciesprepare-soil— spent mushroom substrate excellent garden amendment; cultivation cycle connects to soil building
GitHub Repository
Related Skills
executing-plans
DesignUse the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.
requesting-code-review
DesignThis skill dispatches a code-reviewer subagent to analyze code changes against requirements before proceeding. It should be used after completing tasks, implementing major features, or before merging to main. The review helps catch issues early by comparing the current implementation with the original plan.
connect-mcp-server
DesignThis skill provides a comprehensive guide for developers to connect MCP servers to Claude Code using HTTP, stdio, or SSE transports. It covers installation, configuration, authentication, and security for integrating external services like GitHub, Notion, and custom APIs. Use it when setting up MCP integrations, configuring external tools, or working with Claude's Model Context Protocol.
web-cli-teleport
DesignThis skill helps developers choose between Claude Code Web and CLI interfaces based on task analysis, then enables seamless session teleportation between these environments. It optimizes workflow by managing session state and context when switching between web, CLI, or mobile. Use it for complex projects requiring different tools at various stages.
