/skills-for-agriculture:s4ag-mycologyfrom skills-for-agriculture
Provides guidance on fungal networks, mushroom cultivation, mycorrhizae, and integrating fungi into farming systems. Useful for wood-chip beds, log inoculation, and soil health.
Ships in skills-for-agriculture. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Fungi are the infrastructure of healthy land. Mycorrhizal networks move water, carbon, and mineral nutrients between plants; saprotrophic fungi decompose woody material that bacteria cannot touch; and cultivated mushrooms convert agricultural waste into high-value food while producing spent substrate that feeds soil biology. This skill helps you grow mushrooms, protect fungal networks already at work in your soil, and integrate fungal systems into the wider farm.
Understanding fungi changes your management decisions. Once you know that tillage severs mycorrhizal hyphae, that fungicides damage the carbon sequestration pathway, and that a wood-chip path inoculated with wine-cap stropharia is a biological fertility zone, every input decision and cultivation choice sits in a different frame.
How this skill works: Each sub-tool pauses at a Checkpoint to confirm the assumptions it is about to build on before producing output. A recommendation built on a wrong assumption wastes time and money — confirm the checkpoint before acting. Each sub-tool ends with Next steps — the skills worth running once you have acted on this one.
The thinkers whose frameworks underpin this skill — and what they specifically discovered that changes how you farm.
Paul Stamets — Fungi as Ecological Infrastructure Stamets catalogued the full productive and ecological range of fungi in Mycelium Running and demonstrated that wood-chip garden beds inoculated with wine-cap stropharia (Stropharia rugosoannulata) build topsoil at rates comparable to years of compost application. His specific actionable finding for farmers: fungi connect the farm's waste streams to its fertility cycle. Spent substrate from a mushroom operation, applied to market garden beds or compost, carries live mycelium into the soil food web. Stamets also documented that some Ganoderma and Trametes species produce antifungal and antibacterial compounds that suppress plant pathogens — a finding directly applicable to orchard and garden disease management.
Tradd Cotter — Farm-Scale Integration Cotter's Organic Mushroom Farming and Mycoremediation is the most practically detailed guide to integrating mushroom cultivation with agricultural waste streams. His central finding: the most economically and ecologically coherent mushroom operations treat the farm itself as the substrate source and the mushroom system as a processing stage rather than a separate enterprise. Straw from grain harvests, spent grain from beer-making, sawdust from timber operations, and agricultural by-products all become substrates. The waste-to-value loop he documents changes how a farm accounts for mushroom production — inputs are often on-farm byproducts, not purchased materials.
Elaine Ingham — Mycorrhizal Fungi as Carbon Highway Ingham's soil food web research established that mycorrhizal fungi — not compost, not manure — are the primary mechanism through which photosynthetic carbon enters and stabilises in deep soil. Plants allocate up to 40% of their photosynthate through root exudates into mycorrhizal networks. Her most actionable finding for this skill: a single fungicide application at the wrong moment — even an approved organic one — can collapse the mycorrhizal network that the plant depends on for water and phosphorus uptake, and that collapse persists for weeks to months. Before any spray in a system with trees, perennials, or mycorrhizal-dependent crops, confirm the trade-off.
Christine Jones — The Liquid Carbon Pathway Jones identified that the fastest route for atmospheric carbon to reach stable mineral-associated organic matter in soil is via root exudates pumped through mycorrhizal hyphae — the liquid carbon pathway. Her key contribution to this skill: diverse plant communities with intact mycorrhizal networks sequester carbon in proportion to network density, not just plant biomass. A no-till, diverse polyculture with active fungal networks sequesters more carbon than a high-biomass monoculture. Every management choice that supports fungal networks — reduced tillage, perennial roots, wood-chip mulch — accelerates the pathway.
Jeff Lowenfels — Rhizosphere Biology and Fungal Inoculation Lowenfels documented the specific mechanics of the plant-fungus relationship at the root surface: the vast majority of land plants (about 90% of species) are obligate mycorrhizal hosts — they evolved dependent on the relationship, not independent of it. His practical finding: plants grown from inoculated propagation material establish significantly faster and with greater drought resilience than uninoculated equivalents, because the fungal network is present from day one. For any transplanting or tree-planting operation, inoculating at the propagation or planting stage is lower cost and higher impact than any soil-applied inoculant after establishment.
Merlin Sheldrake — Networks and Communication Sheldrake's Entangled Life documented the evidence for nutrient and signal exchange between plants through fungal networks, including the transfer of carbon from established trees to newly establishing seedlings of the same or different species. His actionable finding: the species composition of the fungal community in soil is shaped by the plant community above it, and vice versa — they select for each other. Plant diversity drives fungal diversity. Where you want a rich fungal community, grow a diverse plant community and stop disturbing the soil.
| You need to... | Tool |
|---|---|
| Choose which mushroom species to grow | species-selection |
| Inoculate hardwood logs with spawn | log-inoculation |
| Grow mushrooms on straw, sawdust, or cardboard | substrate-cultivation |
| Understand and protect mycorrhizal networks in the farm system | fungal-networks |
| Connect mushroom production into farm waste streams and soil | farm-integration |
Matches mushroom species to the grower's substrate, climate, experience level, and market or household goal.
The most important first decision in mushroom growing is not how to grow — it is what to grow and on what. Species determine substrate availability, climate requirements, cropping timeline, and the level of technical management required. Getting this match right means the rest of the system works with your farm rather than against it.
Decision framework — answer these four questions first:
Species guide:
| Species | Best substrate | Climate fit | Timeline to first crop | Experience level | Market value |
|---|---|---|---|---|---|
| Oyster (Pleurotus ostreatus) | Straw, cardboard, coffee grounds, sawdust | Cool to temperate; needs shade in summer | 3–6 weeks from inoculation | Beginner | High fresh, moderate dried |
| Wine-cap stropharia (Stropharia rugosoannulata) | Wood chips, garden beds | Temperate; very forgiving | 3–6 months, then perennial | Beginner | Moderate; exceptional for farm integration |
| Shiitake (Lentinula edodes) | Hardwood logs (oak, alder, maple) | Temperate; humidity sensitive | 6–18 months from log inoculation | Intermediate | Very high; premium market |
| Lion's mane (Hericium erinaceus) | Hardwood sawdust blocks, logs | Cool to temperate | 3–4 months on blocks | Intermediate | Very high; medicinal and culinary demand |
| King stropharia / garden giant | Wood chips, straw over wood chips | Temperate to warm | 2–4 months | Beginner | Moderate |
| Reishi (Ganoderma lucidum) | Hardwood logs or stumps | Warm temperate | 12–18 months | Intermediate | High (dried/powdered medicinal) |
| Maitake (Grifola frondosa) | Buried hardwood logs or stumps | Cool temperate; oak-associated | 2–5 years | Advanced | Very high |
For a first-time grower: Oyster on straw is the lowest-risk, fastest-return choice. It requires no sterilisation (pasteurisation only), produces within weeks, and clearly demonstrates the principles that apply to all other species.
For farm integration: Wine-cap stropharia in wood-chip garden paths and beds is the highest-value fungal ecology intervention for a farm. It produces edible mushrooms while actively building soil biology below — it is simultaneously a production system and a soil amendment.
Climate notes:
Checkpoint — confirm before finalising:
Getting the climate and substrate match wrong means either the species does not fruit, or it fruits unpredictably and cannot be counted on as a reliable crop.
Output:
SPECIES SELECTION
Farm context: [substrate available, climate zone, goal]
RECOMMENDED SPECIES: [species name]
Substrate match: [substrate you have → what it suits]
Climate suitability: [assessment]
Timeline to first crop: [weeks/months]
Experience requirement: [beginner/intermediate/advanced]
Expected yield: [kg per kg substrate, or per log per year]
Market or household value: [notes]
ALTERNATIVE SPECIES: [second choice if primary unsuitable]
Why alternative: [brief reason]
FIRST STEPS
1. [immediate first action]
2. [second action]
3. [third action]
WHAT TO AVOID
[common mistake for this species/context]
Next steps:
/s4ag-finance — before investing in a fruiting chamber or larger-scale production, run the enterprise gross margin.Guides the plug spawn or sawdust spawn inoculation of hardwood logs for shiitake, oyster, lion's mane, or reishi.
Log inoculation is the most ecologically aligned mushroom production method available to a farm. Logs are colonised over months in a way that mirrors natural fungal succession; fruiting bodies emerge from a biologically complex substrate that also improves when returned to the soil system after exhaustion. The process is slow — 6 to 18 months before first fruiting — but requires minimal infrastructure and produces for 3 to 7 years per log.
Step-by-step process:
1. Log selection and preparation
Species-to-wood matching:
| Species | Preferred wood | Acceptable alternatives |
|---|---|---|
| Shiitake | Oak (best), alder, maple | Beech, hornbeam, ironwood |
| Oyster | Alder, poplar, willow | Oak (slower), cottonwood |
| Lion's mane | Oak, beech, sugar maple | Alder, hornbeam |
| Reishi | Oak, maple | Alder, cherry |
2. Inoculation
3. Incubation
4. Fruiting initiation
5. Post-harvest log management
Checkpoint — confirm before finalising:
Recommending species-wood pairings or timelines without confirming log species and cut date will produce inaccurate expectations and potentially failed colonisation.
Output:
LOG INOCULATION PLAN
Log species: [tree species]
Mushroom species: [selected species]
Log dimensions: [diameter × length]
Cut date: [date] — Rest complete: [date when safe to inoculate]
SPAWN TYPE: [plug / sawdust]
Holes per log (estimated): [number]
Wax type: [cheese wax / beeswax]
INOCULATION DATE: [planned date]
Expected colonisation complete: [date range]
Expected first natural fruiting: [date range]
First forced fruiting window: [date range, if applicable]
INCUBATION SITE: [description]
Moisture management: [notes]
YIELD ESTIMATE
First year: [conservative estimate, kg per log]
Peak year: [estimate, kg per log]
Productive life: [years]
Next steps:
/s4ag-market — if producing for sale, the timeline to first crop defines when to begin market preparation./s4ag-composting — spent logs from shiitake or oyster production are excellent hot-compost carbon material.Sets up and manages straw, sawdust, or cardboard-based mushroom cultivation for oyster, lion's mane, wine-cap, and related species.
Substrate cultivation produces mushrooms in weeks rather than months, uses agricultural and household waste streams as inputs, and requires minimal outdoor infrastructure. Oyster mushrooms on straw are the most accessible starting point for any farm. Wine-cap stropharia on wood chips bridges cultivation and ecology — it is both a food crop and a soil-building tool.
The core sequence: substrate → pasteurise or sterilise → inoculate → incubate → fruit → harvest → return to soil.
Substrate options and preparation:
| Substrate | Species suited | Preparation method | Notes |
|---|---|---|---|
| Wheat or rice straw | Oyster (all varieties) | Hot water pasteurise (80°C, 1 hour) | Most accessible; good yields |
| Cardboard (corrugated) | Wine-cap, oyster | Soak 24 hours, no heat needed | Free; slower; useful for garden integration |
| Hardwood sawdust + bran | Shiitake, lion's mane, oyster | Sterilise (121°C, 2.5 hours) or pasteurise | Higher yield potential; requires pressure cooker or autoclave for sterilisation |
| Coffee grounds | Oyster | Use fresh within 24 hours; no additional treatment | Free from cafes; fast but limited volume |
| Wood chips | Wine-cap stropharia | Layer directly; no heat treatment | For outdoor bed systems; not bagged cultivation |
Pasteurisation vs. sterilisation:
Oyster mushroom on straw — the standard process:
Yield expectations:
Contamination — causes and responses:
| Contaminant appearance | Likely cause | Response |
|---|---|---|
| Green mould (Trichoderma) | Substrate not hot enough; spawn rate too low | Isolate bag; remove from cultivation area; adjust process |
| Black or brown mould | Contaminated spawn or substrate; too wet | Discard; check spawn source and substrate moisture |
| No growth after 3+ weeks | Too cold; substrate too wet or dry; bad spawn | Check temperature and moisture first; test spawn viability |
| Pinning on bag before harvest stage | Sudden temperature drop or CO2 spike | Normal — harvest early pins and adjust environment |
Checkpoint — confirm before finalising:
A production system designed for 10 bags in a spare room requires completely different infrastructure than 200 bags per week for a market stall — getting this wrong means either undershooting or over-investing.
Output:
SUBSTRATE CULTIVATION PLAN
Species: [species]
Substrate: [substrate]
Preparation method: [pasteurise / sterilise]
BATCH SETUP
Substrate quantity: [kg dry weight]
Water ratio: [litres per kg]
Spawn rate: [% by dry weight]
Spawn quantity needed: [kg]
Container type: [bags / buckets / bins]
Number of units: [number]
INCUBATION
Temperature: [range °C]
Duration: [weeks]
Gas exchange method: [filter patch / holes / frequency of opening]
FRUITING
Temperature: [range °C]
Humidity target: [% RH]
Humidity management: [method]
Light: [indirect / none / LED]
Air exchange: [frequency]
HARVEST TIMING INDICATOR: [visual cue for this species]
EXPECTED YIELD
First flush: [kg per batch, or % of substrate weight]
Total (all flushes): [kg]
SPENT SUBSTRATE PLAN: [compost / garden bed / other use]
Next steps:
/s4ag-composting — spent substrate from any species adds fungal biomass and carbon to compost piles./s4ag-direct-marketing — if production reaches market volume, develop the sales channel alongside the production system.Explains how mycorrhizal and saprotrophic fungi work in the farm system, what damages them, and how to protect and encourage them.
This sub-tool is the ecological foundation of the whole skill. It answers the question: what are the fungi in my soil doing, and how does my management either support or destroy them?
Two types of fungi matter in the farm system:
Mycorrhizal fungi form direct symbiotic relationships with plant roots — the fungal hyphae penetrate root cells (arbuscular mycorrhizal fungi, AMF) or wrap them in a sheath (ectomycorrhizal fungi, ECM). In exchange for photosynthate from the plant, the fungi deliver water and mineral nutrients — particularly phosphorus, which cannot diffuse through soil fast enough to meet plant demand at the root surface. This is not a minor relationship. Plants grown without mycorrhizal fungi are stunted and drought-prone in the same way that an animal without a gut microbiome is immune-compromised.
Saprotrophic fungi decompose dead organic matter — woody debris, straw, dead roots — breaking complex lignins and cellulose into simpler compounds that bacteria then process further. Saprotrophic fungi are responsible for the majority of nutrient cycling in forest and pasture systems, and their mycelial networks physically bind soil aggregates, creating the structure that holds water and allows root penetration.
What kills fungal networks:
| Management practice | Impact on fungi | Severity |
|---|---|---|
| Tillage (plough or rotovator) | Physically severs hyphae; breaks aggregates | High — networks take weeks to months to rebuild |
| Fungicide application | Kills or suppresses both mycorrhizal and saprotrophic fungi | Very high — some residues persist for weeks |
| Bare soil / no plant cover | Removes the photosynthate supply for mycorrhizae; networks starve | High — networks begin declining within weeks |
| Soluble phosphorus fertiliser | Suppresses mycorrhizal association — plant stops exuding carbon when P is artificially elevated | Moderate — recovers when P fertiliser stops |
| Soil compaction | Destroys aggregate structure and pore space that hyphae require | High — structural recovery takes years |
| Pesticide drift | Many broad-spectrum insecticides also harm fungal populations | Moderate to high, depending on product |
What builds fungal networks:
| Management practice | Mechanism | Benefit timeline |
|---|---|---|
| Permanent plant cover (especially perennials) | Continuous carbon flow from roots into hyphae | Builds from day one; cumulative |
| No-till or minimal disturbance | Preserves hyphal networks and aggregate structure | Immediate protection; networks extend continuously |
| Wood-chip mulch | Carbon source for saprotrophs; moisture retention; temperature buffering | 3–12 months for saprotrophic colonisation |
| Diverse plant community | Different plant species host different fungal species — diversity begets diversity | Builds over seasons |
| Reduced soluble P fertiliser | Allows mycorrhizal association to re-establish | Recovery begins within one season |
| Mycorrhizal inoculant at planting | Introduces beneficial strains where networks have been depleted | Establishes over first growing season |
Reading fungal status in the field:
You can assess fungal activity without a lab:
The fungicide decision: Before applying any fungicide — including copper and sulphur — ask: is the biological cost worth the pathogen control benefit? Copper fungicide applied to an apple orchard suppresses scab but also sets back mycorrhizal development on orchard tree roots. A single application at the wrong growth stage can delay carbon sequestration by weeks. This does not mean never use fungicides. It means: use them with accurate knowledge of the timing, dosage, and target, and build the decision from that knowledge rather than from a calendar spray programme.
Checkpoint — confirm before finalising:
Recommendations on how to protect fungal networks are meaningless without knowing what the tillage and spray programme is — you cannot protect what a weekly rotovation and routine fungicide programme is destroying.
Output:
FUNGAL NETWORK ASSESSMENT
Farm context: [crops, tillage, spray history]
CURRENT THREATS TO FUNGAL NETWORKS
1. [threat] — [severity] — [specific management practice causing it]
2. [threat] — [severity]
3. [threat if applicable]
WHAT IS WORKING (protection actions already in place)
- [positive practice if any]
PRIORITY ACTIONS TO BUILD NETWORKS
1. [first action — highest impact] — [timeline to effect]
2. [second action]
3. [third action]
FUNGICIDE REVIEW
[current fungicides in programme, if any] — [biological cost / alternatives]
INDICATORS TO WATCH
- [what to look for over next season to gauge improvement]
Next steps:
/s4ag-soil (test-interpretation) — if fungal network status is unknown, a biological soil assessment (Ingham method) gives a baseline./s4ag-composting (compost-tea) — aerated compost tea applied as a soil drench reintroduces fungal biomass to depleted soils./s4ag-pests — if fungicide use is being driven by disease pressure, explore whether IPM cultural controls can reduce spray frequency before reducing the fungicide.Connects mushroom production to the rest of the farm — spent substrate, waste streams, soil amendment, and the closed fertility loop.
The most ecologically and economically coherent mushroom operations are not standalone production units — they are nodes in a farm nutrient cycle. Straw from grain harvest becomes substrate; coffee grounds from a neighbour become substrate; spent myceliated substrate feeds compost or garden beds; wood chips inoculated with wine-cap line farm paths and produce food while building soil. This sub-tool designs that loop.
The farm integration framework — three levels:
Level 1: Substrate sourcing from on-farm or local waste streams List every waste material generated on or near the farm that could serve as mushroom substrate:
The goal is zero purchased substrate. On most mixed farms, this is achievable within one or two seasons.
Level 2: Spent substrate return to the soil system Fully cropped-out substrate blocks and bags contain live mycelium, spent fungal biomass, and partially decomposed organic matter — all valuable soil inputs.
| Spent substrate type | Best use after cropping |
|---|---|
| Straw blocks (oyster) | Direct soil surface application as mulch; compost hot pile input |
| Sawdust blocks (shiitake, lion's mane) | Compost input (high carbon); inoculant for wood-chip beds |
| Coffee ground bags | Compost immediately — nitrogen-rich |
| Exhausted logs | Bury in hugelkultur beds; wood chip high-carbon compost input |
| Outdoor wood-chip beds (wine-cap) | Leave in place; break down as soil organic matter over 3–5 years |
Do not let spent substrate sit unused. The mycelium is still active when the bag comes out of production — applied to a compost pile or garden bed within 24–48 hours, it continues its biological work in a new context.
Level 3: Wood-chip bed systems as ecological infrastructure Wine-cap stropharia (Stropharia rugosoannulata) grown in wood-chip garden paths and beds is the highest-value farm integration practice in this skill. The system:
Establishing a wine-cap stropharia bed system:
Economic accounting for integrated systems: The mistake in accounting for mushroom-farm integration is treating mushroom production as the only output. The correct accounting includes:
When integrated correctly, a modest mushroom operation on a 1-acre market garden can offset significant fertility costs while producing 100–500kg of food-grade mushrooms annually from materials that would otherwise be waste.
Checkpoint — confirm before finalising:
Designing integration for an established operation requires mapping what already exists. Designing from scratch allows full loop planning but requires identifying substrate sources before committing to species selection.
Output:
FARM INTEGRATION PLAN
Farm type: [market garden / mixed / livestock / agroforestry / other]
Current waste streams available: [list]
SUBSTRATE LOOP
Input source → Species → Substrate preparation → Production volume
[source 1] → [species] → [method] → [volume estimate]
[source 2] → [species] → [method] → [volume estimate]
SPENT SUBSTRATE RETURN
[substrate type] → [destination: compost / mulch / bed]
[substrate type] → [destination]
WOOD-CHIP BED SYSTEM (if applicable)
Location: [paths / beds / orchard understorey / other]
Area: [m²]
Species: [wine-cap stropharia / blewit / other]
Chip volume needed: [m³]
Spawn quantity: [kg]
Establishment date: [planned]
Expected first crop: [date range]
ECONOMIC SUMMARY
Mushroom value (annual estimate): [kg × price]
Input costs offset: [£/$ annually]
Labour added: [hours/week]
Net benefit: [approximate]
PRIORITY FIRST STEP: [single most actionable thing to start]
Next steps:
/s4ag-composting — design the compost system that receives the spent substrate, closing the fertility loop./s4ag-soil (fertility-planning) — account for the soil biology value of spent substrate and wood-chip beds in the farm fertility plan./s4ag-market — if mushroom production reaches sellable volume, connect to a market before production is established so that harvest timing and volume match market capacity.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mycology, mushroom-cultivation, mycorrhizae, soil-health, agroecology
Generated from the plugin's indexed repository (human-avatar/skills-for-agriculture) — no native marketplace selected
npx claudepluginhub p/human-avatar-skills-for-agriculture48 skills in this plugin
/s4agRouter and starting point for the skills-for-agriculture plugin. Use when the user types /s4ag, asks what this plugin does, asks 'which skill should I use', or describes a farming need without naming a specific skill — and you need to route them to the right s4ag-* skill. Also the right entry when a farm question spans several domains and you're unsure where to start./s4ag-agritourismDevelop agritourism income on a working farm. Use when the user asks about farm stays, farm events, visitor experiences, farm education income, agritourism pricing, planning permission for tourism, or says things like 'open my farm to visitors', 'farm Airbnb', or 'diversify my income'./s4ag-agroforestryOther plugins' skills for the same job