ai-for-forestry
Reusable Windsurf rules and Cursor agent skill files for cross-project AI-assisted development
Install / Use
npx skills add Ryukijano/agent-skillsInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Skill content
View source on GitHubAI for Forestry
Description
Use remote sensing and LiDAR to inventory forests, segment trees, estimate biomass, and map species and disturbances.
When to use
You are measuring, mapping, or monitoring forests using field plots, aerial/satellite imagery, or LiDAR point clouds.
Usage
- Estimate forest inventory variables (tree counts, DBH, height, volume) from field and remote-sensing data.
- Detect and segment individual tree crowns from CHM or LiDAR point clouds.
- Predict above-ground biomass by regressing LiDAR structural metrics against field plots.
- Classify forest types and disturbance (fire, insects, harvest) from multi-temporal imagery.
Steps
- Collect field inventory plots, airborne/satellite imagery, and LiDAR point clouds for the forest area.
- Preprocess LiDAR (ground classification, CHM, normalization) and extract structural features per plot.
- Train a tree-crown segmentation or detection model and validate counts against field inventory.
- Build an AGB regression model using LiDAR metrics and independent field-measured biomass.
- Classify forest species and disturbance from spectral/temporal features and validate with aerial photo interpretation.
- Map uncertainty, integrate with forest management systems, and update with new acquisitions.
Code pattern
import numpy as np
from sklearn.ensemble import RandomForestRegressor
# LiDAR/structural features per plot
X = features[["h_mean", "canopy_density", "intensity_mean", "chm_max"]]
y = field_measured_agb
rfr = RandomForestRegressor(n_estimators=300, random_state=42)
rfr.fit(X, y)
Tuning notes
- Normalize and classify LiDAR point clouds; remove non-ground returns carefully.
- Use CHM-based or point-cloud deep learning (e.g., PointNet, Point Transformer) for ITD.
- Consider mixed-effects or hierarchical models to pool limited field plots.
- Validate against independent inventory plots and propagate uncertainty.
Verification
- Predict AGB from LiDAR features and report RMSE and R2 vs field plots.
- Segment individual tree crowns and compare counts to field inventory.
- Map forest disturbance and validate with aerial photo interpretation.
References
- https://doi.org/10.1007/s40725-024-00234-4
- https://doi.org/10.1007/s40725-024-00223-7
- https://doi.org/10.3390/rs11111260
- https://doi.org/10.3390/electronics13204139
Related Skills
pyspark-etl-best-practices-cursorrules-prompt-file
40.6kCursor rules for PySpark ETL development with code style, joins, window functions, map operations, and Iceberg patterns.
semiotic-react-dataviz-cursorrules-prompt-file
40.6kCursor rules for Semiotic data visualization library with 30+ chart types, MCP server, and AI-assisted chart generation.
claude-howto
41.1kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
AstrBot
39.5kAI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
Security Score
Audited on Invalid Date
