Agent skill
marine-safety-incidents
Collect, analyze, and report marine safety incident data from 7 global maritime authorities. Use for incident scraping, safety trend analysis, risk assessment, geographic hotspot identification, and marine safety reporting.
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/data/energy/marine-safety-incidents
SKILL.md
Marine Safety Incidents
When to Use
- Marine safety incident data collection and scraping
- Safety trend analysis and risk assessment
- Geographic hotspot identification
- Incident type classification and severity analysis
- Environmental impact assessment from marine incidents
- Regulatory compliance reporting
- Root cause analysis
Prerequisites
- Python environment with
worldenergydatapackage installed - Database connection (PostgreSQL recommended)
- API keys for relevant data sources (if applicable)
Python API
Data Collection
from worldenergydata.marine_safety.scrapers import MarineSafetyScraper
from worldenergydata.marine_safety.database import IncidentDatabase
# Initialize scraper
scraper = MarineSafetyScraper()
# Scrape from specific source
incidents = scraper.scrape(
source="uscg",
*See sub-skills for full details.*
### Incident Analysis
```python
from worldenergydata.marine_safety.analysis import IncidentAnalyzer
# Initialize analyzer
analyzer = IncidentAnalyzer(database_url="postgresql://...")
# Get trend summary
trends = analyzer.get_trends(
start_date="2020-01-01",
end_date="2024-12-31",
*See sub-skills for full details.*
### Geographic Hotspot Detection
```python
from worldenergydata.marine_safety.analysis import GeographicAnalyzer
# Initialize geographic analyzer
geo = GeographicAnalyzer()
# Find hotspots
hotspots = geo.detect_hotspots(
region="gulf_of_mexico",
method="dbscan",
*See sub-skills for full details.*
### Risk Scoring
```python
from worldenergydata.marine_safety.analysis import RiskAssessor
# Initialize risk assessor
risk = RiskAssessor()
# Calculate risk scores
scores = risk.calculate_risk(
vessel_type="offshore_platform",
region="north_sea",
*See sub-skills for full details.*
### Reporting
```python
from worldenergydata.marine_safety.visualization import SafetyReportGenerator
# Initialize report generator
reporter = SafetyReportGenerator()
# Generate comprehensive report
report = reporter.generate_report(
start_date="2023-01-01",
end_date="2023-12-31",
*See sub-skills for full details.*
## Key Classes
| Class | Purpose |
|-------|---------|
| `MarineSafetyScraper` | Multi-source incident scraping |
| `IncidentDatabase` | Database operations and storage |
| `IncidentAnalyzer` | Statistical analysis and trends |
| `GeographicAnalyzer` | Hotspot detection and mapping |
| `RiskAssessor` | Risk scoring and assessment |
| `SafetyReportGenerator` | HTML/PDF report generation |
## Related Skills
- [bsee-data-extractor](../bsee-data-extractor/SKILL.md) - BSEE-specific extraction
- [field-analyzer](../field-analyzer/SKILL.md) - Field-level analysis
- [energy-data-visualizer](../energy-data-visualizer/SKILL.md) - Visualization
## References
- USCG Marine Safety Information Portal
- BSEE Incident Statistics
- IMO GISIS Maritime Casualties Database
- DNV Maritime Safety Standards
## Sub-Skills
- [Best Practices](best-practices/SKILL.md)
## Sub-Skills
- [1. Incident Data Collection (+3)](1-incident-data-collection/SKILL.md)
- [CLI Usage](cli-usage/SKILL.md)
- [Data Sources](data-sources/SKILL.md)
- [Incident CSV (+1)](incident-csv/SKILL.md)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?