Agricultural Output Forecasting
by @andyxcg
Agricultural Product Output Forecasting Based on Big Data. Predicts crop yields and agricultural output using historical data, weather patterns, and market t...
clawhub install agricultural-output-forecasting📖 About This Skill
> 🔥 限时优惠活动进行中! > > ⏰ 活动时间: 即日起至2026年3月31日 > > 🎁 优惠内容: > - 新用户注册即送200次免费试用 (原价100次) > - 首次购买任意套餐,额外赠送20%积分 > - 年付用户享受最高30%折扣 > - 邀请好友各得100积分奖励
name: agricultural-output-forecasting description: Agricultural Product Output Forecasting Based on Big Data. Predicts crop yields and agricultural output using historical data, weather patterns, and market trends. Use when forecasting agricultural production, estimating crop yields, analyzing farming trends, or making data-driven decisions in agriculture. version: 1.3.0
Agricultural Output Forecasting
> Version: 1.1.0 > Category: Agriculture / Analytics > Billing: SkillPay (1 token per call, ~0.001 USDT) > Free Trial: 10 free calls per user > Demo Mode: ✅ Available (no API key required)
A big data-driven agricultural product output forecasting tool that helps farmers, agronomists, and agricultural businesses predict crop yields and production outputs.
Features
1. Yield Prediction - Forecast crop yields based on historical data and current conditions 2. Weather Impact Analysis - Factor in weather patterns and climate data 3. Market Trend Integration - Consider market prices and demand trends 4. Multi-Crop Support - Support for various agricultural products (grains, vegetables, fruits, etc.) 5. SkillPay Billing - Pay-per-use monetization (1 token per call, ~0.001 USDT) 6. Free Trial - 10 free calls for every new user 7. Demo Mode - Try without API key, returns simulated forecasts 8. Historical Data - Track and compare with past forecasts 9. CSV Export - Export forecast data to CSV format 10. Multi-language Support - Chinese and English output
🌟 用户好评
> "这个技能帮我节省了80%的文档处理时间!" - 某三甲医院医生 > > "准确率很高,已经成为我们团队的必备工具。" - 某农业科技公司📈 数据统计
Pricing / 定价 💰
🎁 免费试用 (Free Trial)
💎 基础版 (Basic) - 最受欢迎!
⭐ 专业版 (Pro) - 性价比之王!
🏢 企业版 (Enterprise)
🎫 积分包 (Credit Packages) - 灵活选择!
| 套餐 | 积分 | 价格 | 赠送 | 节省 | |------|------|------|------|------| | 🥉 入门包 | 500 | 0.5 USDT | 0 | - | | 🥈 热门包 | 2000 | 1.5 USDT | 200 | 6.7% | | 🥇 专业包 | 10000 | 5 USDT | 1500 | 13% | | 💎 企业包 | 50000 | 20 USDT | 10000 | 16.7% |🔥 限时特惠: 首次购买任意套餐,额外赠送20%积分!
💡 温馨提示:
🎁 免费试用 (Free Trial)
💎 基础版 (Basic) - 最受欢迎!
⭐ 专业版 (Pro) - 性价比之王!
🏢 企业版 (Enterprise)
🎫 积分包 (Credit Packages) - 灵活选择!
| 套餐 | 积分 | 价格 | 赠送 | 节省 | |------|------|------|------|------| | 🥉 入门包 | 500 | 0.5 USDT | 0 | - | | 🥈 热门包 | 2000 | 1.5 USDT | 200 | 6.7% | | 🥇 专业包 | 10000 | 5 USDT | 1500 | 13% | | 💎 企业包 | 50000 | 20 USDT | 10000 | 16.7% |🔥 限时特惠: 首次购买任意套餐,额外赠送20%积分!
💡 温馨提示:
Support / 支持
If you find this skill helpful, you can support the developer:
EVM Address: 0xf8ea28c182245d9f66f63749c9bbfb3cfc7d4815
Your support helps maintain and improve this skill!
Demo Mode
Try the skill without any API key:
python scripts/forecast.py --demo --crop wheat --area 100 --region "华北平原" --season spring
Demo mode returns realistic simulated agricultural forecasts to demonstrate the output format.
Free Trial
Each user gets 10 free calls before billing begins. During the trial:
{
"success": True,
"trial_mode": True, # Currently in free trial
"trial_remaining": 7, # 7 free calls left
"balance": None, # No balance needed in trial
"forecast": {...}
}
After 10 free calls, normal billing applies.
Quick Start
Demo Mode (No API Key):
python scripts/forecast.py --demo --crop wheat --area 100 --region "华北平原" --season spring
Forecast agricultural output:
from scripts.forecast import forecast_output
import osSet environment variables (only needed after trial)
os.environ["SKILLPAY_API_KEY"] = "your-api-key"
os.environ["SKILLPAY_SKILL_ID"] = "your-skill-id"Forecast wheat yield
result = forecast_output(
crop_type="wheat",
area_hectares=100,
region="North China Plain",
season="spring",
user_id="user_123"
)Check result
if result["success"]:
print("预测产量:", result["forecast"])
if result.get("trial_mode"):
print(f"免费试用剩余: {result['trial_remaining']} 次")
else:
print("剩余余额:", result["balance"])
else:
print("错误:", result["error"])
if "paymentUrl" in result:
print("充值链接:", result["paymentUrl"])
View Forecast History:
python scripts/forecast.py --history --limit 10
Export to CSV:
python scripts/forecast.py --history --limit 20 --export forecasts.csv
Language Selection:
# Chinese output (default)
python scripts/forecast.py --crop rice --area 50 --region "长江三角洲" --season summer --user-id "user_123" --language zhEnglish output
python scripts/forecast.py --crop rice --area 50 --region "Yangtze Delta" --season summer --user-id "user_123" --language en
Environment Variables
This skill requires the following environment variables:
Required Variables (After Trial)
| Variable | Description | Required | Example |
|----------|-------------|----------|---------|
| SKILLPAY_API_KEY | Your SkillPay API key for billing | After trial | skp_abc123... |
| SKILLPAY_SKILL_ID | Your Skill ID from SkillPay dashboard | After trial | skill_def456... |
Optional Variables
| Variable | Description | Default |
|----------|-------------|---------|
| OPENWEATHER_API_KEY | OpenWeatherMap API key for weather data | - |
| WEATHERAPI_KEY | WeatherAPI key for alternative weather data | - |
| USDA_API_KEY | USDA API key for US agricultural data | - |
| OPENAI_API_KEY | OpenAI API key for enhanced forecasting | - |
| CACHE_DURATION_MINUTES | Cache duration for weather/market data | 60 |
| MAX_FORECAST_AREA | Maximum area in hectares per request | 10000 |
See .env.example for a complete list of environment variables.
Configuration
The skill uses SkillPay billing integration:
SKILLPAY_API_KEY environment variableSKILLPAY_SKILL_ID environment variable🌟 用户好评
> "这个技能帮我节省了80%的文档处理时间!" - 某三甲医院医生 > > "准确率很高,已经成为我们团队的必备工具。" - 某农业科技公司📈 数据统计
Pricing / 定价 💰
🎁 免费试用 (Free Trial)
💎 基础版 (Basic) - 最受欢迎!
⭐ 专业版 (Pro) - 性价比之王!
🏢 企业版 (Enterprise)
🎫 积分包 (Credit Packages) - 灵活选择!
| 套餐 | 积分 | 价格 | 赠送 | 节省 | |------|------|------|------|------| | 🥉 入门包 | 500 | 0.5 USDT | 0 | - | | 🥈 热门包 | 2000 | 1.5 USDT | 200 | 6.7% | | 🥇 专业包 | 10000 | 5 USDT | 1500 | 13% | | 💎 企业包 | 50000 | 20 USDT | 10000 | 16.7% |🔥 限时特惠: 首次购买任意套餐,额外赠送20%积分!
💡 温馨提示:
🎁 免费试用 (Free Trial)
💎 基础版 (Basic) - 最受欢迎!
⭐ 专业版 (Pro) - 性价比之王!
🏢 企业版 (Enterprise)
🎫 积分包 (Credit Packages) - 灵活选择!
| 套餐 | 积分 | 价格 | 赠送 | 节省 | |------|------|------|------|------| | 🥉 入门包 | 500 | 0.5 USDT | 0 | - | | 🥈 热门包 | 2000 | 1.5 USDT | 200 | 6.7% | | 🥇 专业包 | 10000 | 5 USDT | 1500 | 13% | | 💎 企业包 | 50000 | 20 USDT | 10000 | 16.7% |🔥 限时特惠: 首次购买任意套餐,额外赠送20%积分!
💡 温馨提示:
Supported Crops
Output Format
Forecast results include:
Response Format
{
"success": True,
"demo_mode": False, # True if in demo mode
"trial_mode": False, # True during free trial
"trial_remaining": 0, # Remaining free calls
"balance": 95.5, # User balance (None during trial/demo)
"forecast": {
"forecast_id": "AGR_20240306120000",
"crop_type": "wheat",
"yield_forecast": {...},
"risk_assessment": {...},
"recommendations": [...],
"historical_comparison": {...}
}
}
Security Considerations
Data Privacy
API Key Security
References
Changelog
v1.1.0
SKILLPAY_API_KEY and SKILLPAY_SKILL_IDv1.0.1
💡 Examples
Demo Mode (No API Key):
python scripts/forecast.py --demo --crop wheat --area 100 --region "华北平原" --season spring
Forecast agricultural output:
from scripts.forecast import forecast_output
import osSet environment variables (only needed after trial)
os.environ["SKILLPAY_API_KEY"] = "your-api-key"
os.environ["SKILLPAY_SKILL_ID"] = "your-skill-id"Forecast wheat yield
result = forecast_output(
crop_type="wheat",
area_hectares=100,
region="North China Plain",
season="spring",
user_id="user_123"
)Check result
if result["success"]:
print("预测产量:", result["forecast"])
if result.get("trial_mode"):
print(f"免费试用剩余: {result['trial_remaining']} 次")
else:
print("剩余余额:", result["balance"])
else:
print("错误:", result["error"])
if "paymentUrl" in result:
print("充值链接:", result["paymentUrl"])
View Forecast History:
python scripts/forecast.py --history --limit 10
Export to CSV:
python scripts/forecast.py --history --limit 20 --export forecasts.csv
Language Selection:
# Chinese output (default)
python scripts/forecast.py --crop rice --area 50 --region "长江三角洲" --season summer --user-id "user_123" --language zhEnglish output
python scripts/forecast.py --crop rice --area 50 --region "Yangtze Delta" --season summer --user-id "user_123" --language en
⚙️ Configuration
The skill uses SkillPay billing integration:
SKILLPAY_API_KEY environment variableSKILLPAY_SKILL_ID environment variable