Agent skill
cathodic-protection-example-ship-hull-abs-gn-ships-2018
Sub-skill of cathodic-protection: Example: Ship Hull (ABS GN Ships 2018) (+3).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/engineering/marine-offshore/cathodic-protection/example-ship-hull-abs-gn-ships-2018
SKILL.md
Example: Ship Hull (ABS GN Ships 2018) (+3)
Example: Ship Hull (ABS GN Ships 2018)
from digitalmodel.infrastructure.common.cathodic_protection import CathodicProtection
cfg = {
"inputs": {
"calculation_type": "ABS_gn_ships_2018",
"design_data": {
"design_life": 5, # years
"seawater_max_temperature": 20, # Celsius
},
*See sub-skills for full details.*
## Example: Submarine Pipeline (DNV-RP-F103 2010)
```python
from digitalmodel.infrastructure.common.cathodic_protection import CathodicProtection
cfg = {
"inputs": {
"calculation_type": "DNV_RP_F103_2010",
"design_data": {
"design_life": 25.0, # years
},
"pipeline": {
*See sub-skills for full details.*
## Example: Offshore Fixed Platform (DNV-RP-B401 2021)
```python
from digitalmodel.infrastructure.common.cathodic_protection import CathodicProtection
cfg = {
"inputs": {
"calculation_type": "DNV_RP_B401_offshore",
"design_data": {
"design_life": 25.0, # years
"structure_type": "jacket", # jacket | gravity_based | topsides
},
*See sub-skills for full details.*
## Using router() vs direct method call
```python
# router() dispatches by calculation_type — recommended
result = cp.router(cfg)
# Direct call — same result
cp.ABS_gn_ships_2018(cfg) # results in cfg["cathodic_protection"]
cp.DNV_RP_F103_2010(cfg) # results in cfg["results"]
Note: ABS route writes to cfg["cathodic_protection"]; DNV route writes to cfg["results"].
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?