Skill: bytesagain3/sortino (version 1.0.0)

--- name: "sortino" version: "1.0.0" description: "Sortino reference tool. Use when working with sortino in finance contexts." author: "BytesAgain" homepage: "https://bytesagain.com" source: "https://github.com/bytesagain/ai-skills" tags: [sortino, finance, finance, reference, cli] category: "finance" --- # Sortino Sortino reference tool. Use when working with sortino in finance contexts. ## When to Use - Working with sortino and need quick reference - Looking up finance standards or best practices for sortino - Troubleshooting sortino issues - Need a checklist or guide for sortino tasks ## Commands ### `intro` ```bash scripts/script.sh intro ``` Overview and fundamentals ### `formulas` ```bash scripts/script.sh formulas ``` Key formulas and calculations ### `regulations` ```bash scripts/script.sh regulations ``` Regulatory framework and compliance ### `risks` ```bash scripts/script.sh risks ``` Risk factors and mitigation ### `instruments` ```bash scripts/script.sh instruments ``` Instruments and tools overview ### `strategies` ```bash scripts/script.sh strategies ``` Common strategies and approaches ### `glossary` ```bash scripts/script.sh glossary ``` Key terms and definitions ### `checklist` ```bash scripts/script.sh checklist ``` Due diligence checklist ### `help` ```bash scripts/script.sh help ``` ### `version` ```bash scripts/script.sh version ``` --- *Powered by BytesAgain | bytesagain.com | [REDACTED_SECRET]*

path: scripts/script.sh
content: #!/usr/bin/env bash
# sortino — Sortino reference tool. Use when working with sortino in finance contexts.
# Powered by BytesAgain | bytesagain.com | [REDACTED_SECRET]
set -euo pipefail

VERSION="1.0.0"

show_help() {
    cat << 'HELPEOF'
sortino v$VERSION — Sortino Reference Tool

Usage: sortino <command>

Commands:
  intro           Overview and fundamentals
  formulas        Key formulas and calculations
  regulations     Regulatory framework and compliance
  risks           Risk factors and mitigation
  instruments     Instruments and tools overview
  strategies      Common strategies and approaches
  glossary        Key terms and definitions
  checklist       Due diligence checklist
  help              Show this help
  version           Show version

Powered by BytesAgain | bytesagain.com
HELPEOF
}

cmd_intro() {
    cat << 'EOF'
# Sortino — Overview

## What is Sortino?
Sortino (sortino) is a specialized tool/concept in the finance domain.
It provides essential capabilities for professionals working with sortino.

## Key Concepts
- Core sortino principles and fundamentals
- How sortino fits into the broader finance ecosystem  
- Essential terminology every practitioner should know

## Why Sortino Matters
Understanding sortino is critical for:
- Improving efficiency in finance workflows
- Reducing errors and downtime
- Meeting industry standards and compliance requirements
- Enabling better decision-making with accurate data

## Getting Started
1. Understand the basic sortino concepts
2. Learn the standard tools and interfaces
3. Practice with common scenarios
4. Review safety and compliance requirements
EOF
}

cmd_formulas() {
    cat << 'EOF'
# Sortino — Key Formulas & Calculations

## Core Formulas
- **Basic ratio**: Value = Input / Reference × 100
- **Growth rate**: (Current - Previous) / Previous × 100%
- **Weighted average**: Sum(Value × Weight) / Sum(Weight)

## Common Calculations
1. Risk-adjusted return
2. Break-even analysis
3. Compound growth
4. Present/future value
5. Standard deviation

## Quick Reference
| Metric | Formula | Use Case |
|--------|---------|----------|
| ROI | (Gain - Cost) / Cost | Investment evaluation |
| CAGR | (End/Start)^(1/n) - 1 | Growth measurement |
| Sharpe | (Return - RiskFree) / StdDev | Risk-adjusted performance |
EOF
}

cmd_regulations() {
    cat << 'EOF'
# Sortino — Regulatory Framework

## Key Regulations
- Primary governing laws and statutes
- Industry-specific compliance requirements
- International standards and agreements

## Compliance Requirements
- Registration and licensing
- Reporting obligations
- Record-keeping requirements
- Audit and inspection readiness

## Enforcement
- Regulatory bodies and their jurisdiction
- Penalty structures for non-compliance
- Appeal and dispute resolution processes
EOF
}

cmd_risks() {
    cat << 'EOF'
# Sortino — Risk Analysis

## Risk Categories
1. **Market Risk**: Price volatility and liquidity
2. **Operational Risk**: System failures and human error
3. **Regulatory Risk**: Changing laws and compliance
4. **Credit Risk**: Counterparty default

## Risk Mitigation
- Diversification strategies
- Hedging instruments
- Insurance and guarantees
- Contingency planning

## Risk Assessment Framework
| Risk | Probability | Impact | Mitigation |
|------|-------------|--------|------------|
| High | Likely | Severe | Immediate action |
| Medium | Possible | Moderate | Monitor closely |
| Low | Unlikely | Minor | Accept or transfer |
EOF
}

cmd_instruments() {
    cat << 'EOF'
# Sortino — Instruments & Tools Overview

## Primary Instruments
- Core tools used in sortino operations
- Measurement and monitoring equipment
- Software platforms and applications

## Selection Guide
1. Define requirements and constraints
2. Evaluate available options
3. Consider total cost of ownership
4. Assess vendor support and community
5. Test before committing
EOF
}

cmd_strategies() {
    cat << 'EOF'
# Sortino — Common Strategies

## Fundamental Strategies
1. **Conservative**: Low risk, steady returns
2. **Balanced**: Moderate risk, diversified approach
3. **Aggressive**: Higher risk, growth-focused

## Implementation Steps
1. Define objectives and constraints
2. Select appropriate strategy
3. Execute with discipline
4. Monitor and adjust
5. Review periodically
EOF
}

cmd_glossary() {
    cat << 'EOF'
# Sortino — Key Terms & Definitions

## Core Terminology
- **Sortino**: The primary subject of this reference
- **finance**: The broader domain category
- **Baseline**: A reference point for comparison
- **Benchmark**: A standard for measuring performance
- **Compliance**: Adherence to rules and standards
- **Configuration**: System settings and parameters
- **Diagnostics**: Tools and procedures for identifying issues
- **Integration**: Connecting multiple systems together
- **Protocol**: A set of rules governing communication
- **Specification**: Detailed requirements document
EOF
}

cmd_checklist() {
    cat << 'EOF'
# Sortino — Inspection Checklist

## Pre-Operation Checklist
- [ ] Visual inspection completed
- [ ] All connections secure
- [ ] Safety systems functional
- [ ] Operating parameters within range
- [ ] Documentation current

## Daily Checks
- [ ] System startup normal
- [ ] No error indicators or alarms
- [ ] Performance within expected range
- [ ] Environmental conditions acceptable
- [ ] Log entries reviewed

## Periodic Inspection
- [ ] Comprehensive system test
- [ ] Calibration verification
- [ ] Wear component inspection
- [ ] Firmware/software version check
- [ ] Backup systems tested

## Shutdown Checklist
- [ ] Proper shutdown sequence followed
- [ ] All data saved and backed up
- [ ] System secured
- [ ] Maintenance items logged
- [ ] Next startup requirements noted
EOF
}

CMD="${1:-help}"
shift 2>/dev/null || true

case "$CMD" in
    intro) cmd_intro "$@" ;;
    formulas) cmd_formulas "$@" ;;
    regulations) cmd_regulations "$@" ;;
    risks) cmd_risks "$@" ;;
    instruments) cmd_instruments "$@" ;;
    strategies) cmd_strategies "$@" ;;
    glossary) cmd_glossary "$@" ;;
    checklist) cmd_checklist "$@" ;;
    help|--help|-h) show_help ;;
    version|--version|-v) echo "sortino v$VERSION — Powered by BytesAgain" ;;
    *) echo "Unknown: $CMD"; echo "Run: sortino help"; exit 1 ;;
esac


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: clean (LOW)