Skip to Content

Skill Structure

SKILL.md

The Skill metadata file uses YAML frontmatter followed by Markdown documentation.

--- name: My Trading Strategy type: trading description: > A momentum-based trading strategy that identifies breakout patterns using RSI and volume confirmation. short_description: Momentum breakout strategy tags: [momentum, breakout, rsi] platforms: [Orien] version: 1.0.0 always: false --- # My Trading Strategy ## Overview Detailed description of how the strategy works... ## Parameters - `rsi_period`: RSI lookback period (default: 14) - `volume_threshold`: Minimum volume multiplier (default: 1.5)

Frontmatter Fields

FieldRequiredDescription
nameYesDisplay name
typeYestrading, data_fetching, analysis, risk
descriptionYesFull description
short_descriptionNoOne-line summary
tagsNoSearchable tags
platformsNoSupported platforms
versionYesSemver version
alwaysNoAlways load this Skill (default: false)

orien.runtime.yaml

Maps tool functions to trading phases. See orien.runtime.yaml Reference for the full spec.

scripts/

Python files containing async tool functions. Each function is referenced by entrypoint in the runtime YAML:

entrypoint: scripts/strategy.py:get_market_data ─────────────────── ─────────────── file path function name

Requirements

  • Functions must be async
  • Return type should be dict (JSON-serializable)
  • Use httpx for HTTP requests (included in the agent runtime)
  • Access configuration via environment variables (os.getenv())