Files
hack/tools/scripts/llm-key-hunter/results/_cache/content/agrivisionai_claude-skills.json
T

1 line
16 KiB
JSON

{"repo": "agrivisionai/claude-skills", "files": {"one-screen-mission-control/SKILL.md": {"da60e74c00b51f6a120de9ee496dfbac4e4d1860": {"t": 1785595684.757641, "n": 15409, "h": "8f493c995105d539", "c": "---\nname: one-screen-mission-control\ndescription: \"Single-screen operations control center providing real-time farm status, alerts, and actionable intelligence. Use when the user asks about one screen mission control.\"\n---\n\n# One Screen Mission Control\n\nSingle-screen operations control center providing real-time farm status, alerts, and actionable intelligence.\n\n## Purpose\n\nCreate a centralized dashboard that displays all critical farm operations information on a single screen. Monitor equipment status, field conditions, weather, tasks, and alerts in real-time without switching between multiple applications or proprietary systems. Make informed decisions quickly with all relevant data visible at once.\n\n## Problem Solved\n\nFarmers operate with fragmented information spread across multiple sources:\n- Equipment manufacturer apps (JD Operations Center, Case AFS, etc.)\n- Weather apps and websites\n- Spreadsheets for planning and tracking\n- Paper notes and notebooks\n- Text messages and phone calls from workers\n- Email from suppliers and buyers\n- Multiple software subscriptions requiring separate logins\n\nThis fragmentation causes:\n- Constant context switching during busy seasons\n- Missed alerts or important information\n- Difficulty seeing the \"big picture\"\n- Time wasted checking multiple systems\n- Inability to respond quickly to changing conditions\n- Lack of coordinated decision-making\n\nOne Screen Mission Control consolidates all critical information into a single, customizable dashboard.\n\n## Capabilities\n\n- **Real-Time Dashboard:** Live updates of all farm operations\n- **Equipment Status:** Track equipment location, status, and hours\n- **Weather Monitoring:** Current conditions, forecasts, and alerts\n- **Field Conditions:** Soil moisture, field readiness, crop status\n- **Task Management:** Pending tasks, schedules, and deadlines\n- **Alert System:** Priority alerts for equipment issues, weather, tasks\n- **Inventory Tracking:** Input levels, reorder alerts\n- **Financial Summary:** Daily costs, revenue, cash position\n- **Communication Hub:** Messages, notes, and action items\n- **Map View:** Field locations, equipment positions, weather radar\n- **Quick Actions:** One-click access to common operations\n- **KPI Display:** Key performance metrics and trends\n- **Calendar Integration:** Upcoming events, deadlines, appointments\n- **Photo Feed:** Recent field photos and observations\n- **Customizable Layout:** Arrange dashboard to match your priorities\n\n## Instructions\n\n### Usage by AI Agent\n\n1. **Configure Dashboard Layout**\n - Select dashboard zones based on priorities\n - Choose what information displays in each zone\n - Set update intervals for each data type\n - Configure alert thresholds and priorities\n - Customize colors, fonts, and display options\n\n2. **Connect Data Sources**\n - Link to field history database\n - Import weather data from API\n - Connect to equipment tracking systems (if available)\n - Link to inventory management\n - Integrate financial tracking\n - Connect communication systems\n\n3. **Set Up Alerts**\n - Configure equipment alerts (maintenance due, breakdowns)\n - Set weather alerts (frost, storms, heat stress)\n - Create task deadline reminders\n - Set inventory reorder alerts\n - Configure financial threshold warnings\n\n4. **Define Quick Actions**\n - Configure buttons for common operations\n - Link actions to specific tools or scripts\n - Set up voice commands for hands-free control\n - Create keyboard shortcuts\n\n5. **Monitor Operations**\n - Display dashboard on primary monitor or dedicated screen\n - Monitor alerts and respond to urgent items\n - Review KPIs and trends regularly\n - Check upcoming tasks and schedule\n - Review equipment status before operations\n\n6. **Take Action**\n - Use quick actions to initiate operations\n - Respond to alerts with appropriate actions\n - Update task status as work is completed\n - Record observations and notes\n - Adjust schedules based on conditions\n\n7. **Optimize Dashboard**\n - Review what information is most useful\n - Adjust layout based on season and priorities\n - Fine-tune alert thresholds to reduce noise\n - Add or remove data sources as needed\n\n## Dashboard Zones\n\n### Zone 1: Critical Alerts\nDisplay highest-priority items requiring immediate attention:\n- Equipment breakdowns or warnings\n- Severe weather alerts (frost, storms, extreme heat)\n- Time-sensitive tasks (pesticide application windows)\n- Inventory shortages (out of critical inputs)\n- Financial alerts (cash flow issues)\n\n### Zone 2: Equipment Status\nShow all equipment with current status:\n- Operating, idle, maintenance required, out of service\n- Current location (if GPS available)\n- Hours today and total hours\n- Fuel level\n- Next scheduled maintenance\n\n### Zone 3: Weather Conditions\nCurrent and forecast weather:\n- Current temperature, humidity, wind\n- Radar view (rain, storms)\n- 24-hour forecast\n- 7-day outlook\n- Growing degree days\n- Frost alerts\n\n### Zone 4: Field Conditions\nStatus of all fields:\n- Field readiness (plantable, harvestable, wet, dry)\n- Current operation in progress\n- Crop growth stage\n- Soil moisture levels\n- Pest/disease pressure alerts\n\n### Zone 5: Task Schedule\nUpcoming tasks and deadlines:\n- Today's tasks with time and priority\n- This week's tasks\n- Overdue tasks\n- Tasks due within 3 days\n- Upcoming deadlines\n\n### Zone 6: Inventory Levels\nCritical input levels:\n- Fuel levels (on-farm storage, equipment tanks)\n- Fertilizer/chemical supplies\n- Seed inventory\n- Parts and supplies\n- Reorder alerts\n\n### Zone 7: Financial Summary\nDaily financial status:\n- Today's expenses\n- Today's revenue\n- Cash position\n- Budget vs. actual\n- Accounts payable/receivable\n\n### Zone 8: Map View\nGeographic view of operations:\n- Field boundaries\n- Equipment positions\n- Weather overlay (precipitation, temperature)\n- Field conditions by location\n- Operation progress visualization\n\n### Zone 9: KPI Display\nKey performance indicators:\n- Acres planted today\n- Yield to date (harvest season)\n- Average yield vs. target\n- Input efficiency (cost per acre, cost per bushel)\n- Equipment utilization (hours per acre)\n- Budget performance\n\n### Zone 10: Communication Hub\nRecent messages and notes:\n- Text messages from workers\n- Notes from field observations\n- Supplier communications\n- Buyer inquiries\n- Action items\n\n## Quick Actions\n\nConfigure single-click actions for common operations:\n\n**Equipment Actions:**\n- Start equipment checklist\n- Log maintenance performed\n- Request equipment repair\n- Schedule preventive maintenance\n\n**Field Actions:**\n- Mark field as planted/harvested\n- Log field observation\n- Schedule field operation\n- Check field readiness\n\n**Communication Actions:**\n- Send message to worker\n- Call supplier\n- Contact buyer\n- Send weather alert to workers\n\n**Data Actions:**\n- Generate daily report\n- Export today's data\n- Sync all data sources\n- Run analysis\n\n**Planning Actions:**\n- Create new task\n- Schedule equipment usage\n- Plan next week's operations\n- Update inventory order\n\n## Alert Configuration\n\nSet up alert rules for different conditions:\n\n### Equipment Alerts\n- **Maintenance Due:** Alert 50 hours before scheduled maintenance\n- **Low Fuel:** Alert when fuel below 25%\n- **Breakdown:** Immediate alert on equipment malfunction\n- **Idle Warning:** Alert if equipment idle > 2 hours\n\n### Weather Alerts\n- **Frost:** Alert when forecast low < 32°F for crops at risk\n- **Storm:** Alert for severe weather within 24 hours\n- **Heat Stress:** Alert when forecast high > 95°F\n- **Spray Window:** Alert when conditions ideal for pesticide application (no rain, moderate wind)\n\n### Task Alerts\n- **Overdue:** Alert on tasks past due date\n- **Due Today:** Alert morning of due date\n- **Due Soon:** Alert 2 days before due date\n\n### Inventory Alerts\n- **Low Stock:** Alert when below reorder point\n- **Critical:** Alert when below minimum usable level\n- **Overstock:** Alert for items with excess inventory\n\n### Financial Alerts\n- **Budget Warning:** Alert when spending > 80% of budget\n- **Cash Low:** Alert when cash below threshold\n- **Overdue Invoice:** Alert for unpaid invoices past 30 days\n\n## Display Options\n\n### Layout Modes\n\n**Full Dashboard:** All zones visible on large screen (24\"+ monitor)\n**Compact Dashboard:** Essential zones only (critical alerts, equipment, weather, tasks)\n**Mobile View:** Scrollable layout optimized for tablets\n**Split Screen:** Dashboard plus tool or application in split view\n\n### Themes\n\n**Light Theme:** High contrast for daylight viewing\n**Dark Theme:** Reduced eye strain for long operations\n**High Contrast:** Maximum visibility for outdoor use\n\n### Color Coding\n\nUse consistent colors across all zones:\n- **Green:** Good, on track, normal\n- **Yellow:** Warning, attention needed\n- **Red:** Critical, immediate action required\n- **Blue:** Informational\n- **Gray:** Inactive or not applicable\n\n## Integration Points\n\n### Field History Intelligence\n- Display field status and conditions\n- Show historical data for comparison\n- Link to detailed analysis tools\n\n### Local Market Connector\n- Show buyer requests and orders\n- Display market price alerts\n- Quick actions for buyer communication\n\n### Grant Money Finder\n- Show upcoming grant deadlines\n- Display application status\n- Alert to missing deadlines\n\n### Invisible Data Logger\n- Display recent sensor readings\n- Show data collection status\n- Alert to sensor issues\n\n### Equipment Systems\n- JD Operations Center (if available)\n- Case IH AFS (if available)\n- AGCO Fuse (if available)\n- Generic equipment data (no proprietary integration required)\n\n## Tools\n\n- **Python 3.8+** for dashboard application\n- **Flask/Dash/Streamlit** for web-based dashboard\n- **SQLite** for local data storage\n- **Requests** for API connections (weather, etc.)\n- **WebSockets** for real-time updates\n- **PyQt/Tkinter** for desktop application (alternative to web)\n- **Plotly/Matplotlib** for charts and visualizations\n- **Leaflet/Mapbox** for map display\n- **Schedule/APScheduler** for task scheduling\n\n## Environment Variables\n\n```bash\n# Dashboard Configuration\nDASHBOARD_HOST=0.0.0.0\nDASHBOARD_PORT=8080\nDASHBOARD_THEME=light\nREFRESH_INTERVAL=30 # seconds\n\n# Data Sources\nFIELD_HISTORY_DB=/opt/field-history/field-data.db\nWEATHER_API_KEY=\nWEATHER_SOURCE=noaa\nBUYER_DB=/opt/local-market/buyers.db\n\n# Alert Settings\nALERT_SOUND_ENABLED=true\nALERT_EMAIL_ENABLED=false\nALERT_SMS_ENABLED=false\nALERT_EMAIL=\nALERT_SMS=\n\n# Integration\nJD_OPS_CENTER_ENABLED=false\nJD_API_KEY=\nJD_API_SECRET=\nCASE_AFS_ENABLED=false\nAGCO_FUSE_ENABLED=false\n\n# Map Configuration\nMAP_STYLE=satellite\nMAP_CENTER_LAT=41.8781\nMAP_CENTER_LON=-87.6298\nMAP_ZOOM=12\n\n# Logging\nLOG_LEVEL=info\nLOG_FILE=/var/log/one-screen-mission-control.log\n\n# Quick Actions\nQUICK_ACTIONS_CONFIG=/opt/one-screen/actions.json\n\n# Backup Settings\nBACKUP_ENABLED=true\nBACKUP_PATH=/opt/one-screen/backups\n```\n\n## Dashboard Configuration File\n\n```json\n{\n \"layout\": \"full\",\n \"zones\": [\n {\n \"id\": \"alerts\",\n \"title\": \"Critical Alerts\",\n \"position\": \"top-left\",\n \"size\": \"medium\",\n \"refresh_interval\": 5,\n \"enabled\": true\n },\n {\n \"id\": \"equipment\",\n \"title\": \"Equipment Status\",\n \"position\": \"top-center\",\n \"size\": \"large\",\n \"refresh_interval\": 30,\n \"enabled\": true\n },\n {\n \"id\": \"weather\",\n \"title\": \"Weather Conditions\",\n \"position\": \"top-right\",\n \"size\": \"medium\",\n \"refresh_interval\": 60,\n \"enabled\": true\n },\n {\n \"id\": \"fields\",\n \"title\": \"Field Conditions\",\n \"position\": \"middle-left\",\n \"size\": \"large\",\n \"refresh_interval\": 60,\n \"enabled\": true\n },\n {\n \"id\": \"tasks\",\n \"title\": \"Task Schedule\",\n \"position\": \"middle-center\",\n \"size\": \"large\",\n \"refresh_interval\": 60,\n \"enabled\": true\n },\n {\n \"id\": \"inventory\",\n \"title\": \"Inventory Levels\",\n \"position\": \"middle-right\",\n \"size\": \"medium\",\n \"refresh_interval\": 60,\n \"enabled\": true\n },\n {\n \"id\": \"map\",\n \"title\": \"Map View\",\n \"position\": \"bottom-left\",\n \"size\": \"large\",\n \"refresh_interval\": 120,\n \"enabled\": true\n },\n {\n \"id\": \"kpis\",\n \"title\": \"KPI Display\",\n \"position\": \"bottom-center\",\n \"size\": \"medium\",\n \"refresh_interval\": 60,\n \"enabled\": true\n },\n {\n \"id\": \"finance\",\n \"title\": \"Financial Summary\",\n \"position\": \"bottom-right\",\n \"size\": \"medium\",\n \"refresh_interval\": 60,\n \"enabled\": true\n }\n ],\n \"alert_rules\": {\n \"equipment_maintenance_hours_before\": 50,\n \"equipment_fuel_threshold_percent\": 25,\n \"weather_frost_threshold_f\": 32,\n \"task_overdue_alert\": true,\n \"inventory_reorder_threshold\": 0.25,\n \"budget_warning_threshold\": 0.8\n },\n \"quick_actions\": [\n {\n \"name\": \"Log Maintenance\",\n \"command\": \"open_maintenance_log\",\n \"zone\": \"equipment\"\n },\n {\n \"name\": \"Mark Field Planted\",\n \"command\": \"mark_field_planted\",\n \"zone\": \"fields\"\n },\n {\n \"name\": \"Generate Daily Report\",\n \"command\": \"generate_daily_report\",\n \"zone\": \"kpis\"\n }\n ]\n}\n```\n\n## Examples\n\nSee examples/ directory for:\n- Setting up dashboard layout\n- Configuring alerts\n- Integrating data sources\n- Creating custom zones\n- Mobile dashboard setup\n\n## References\n\n### Dashboard Frameworks\n- **Streamlit:** Python framework for dashboards\n- **Dash:** Plotly's Python framework\n- **Panel:** Data apps with minimal code\n- **Grafana:** Open-source analytics platform\n\n### Integration Guides\nSee references/integration.md for:\n- Equipment system integration\n- Weather API setup\n- Custom data source connections\n\n## Troubleshooting\n\n### Dashboard Not Updating\n\n**Check:**\n- Are data sources accessible?\n- Is refresh interval too long?\n- Are API credentials valid?\n- Are there network connectivity issues?\n\n**Solutions:**\n- Check connection to data sources\n- Verify API keys and credentials\n- Reduce refresh interval for faster updates\n- Check application logs for errors\n\n### Alerts Not Triggering\n\n**Check:**\n- Are alert thresholds configured correctly?\n- Is alert system enabled?\n- Are notification methods working?\n\n**Solutions:**\n- Verify alert rules and thresholds\n- Check notification settings\n- Test alert system manually\n- Review logs for errors\n\n### Slow Performance\n\n**Check:**\n- Are too many zones enabled?\n- Are refresh intervals too frequent?\n- Is database indexed properly?\n\n**Solutions:**\n- Disable non-essential zones\n- Increase refresh intervals\n- Add database indexes\n- Optimize queries\n\n## Testing\n\n1. **Unit Testing**\n - Test data source connections\n - Verify alert triggers\n - Test quick actions\n - Validate data display\n\n2. **Integration Testing**\n - Test all data sources together\n - Verify real-time updates\n - Test alert notifications\n - Check dashboard performance\n\n3. **User Acceptance Testing**\n - Test with realistic data\n - Verify all zones display correctly\n - Test quick actions\n - Validate alert system\n\n## Version History\n\n- **1.0.0** - Initial release with core dashboard functionality\n\n## License\n\nMIT License - Open source, free to use, modify, and distribute.\n\n## Support\n\nFor issues, questions, or contributions:\n- GitHub Issues: https://github.com/farmfriend-labs/agent-skills-farming/issues\n- Email: farmfriend.labs@gmail.com\n"}}}}