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
| Field | Required | Description |
|---|---|---|
name | Yes | Display name |
type | Yes | trading, data_fetching, analysis, risk |
description | Yes | Full description |
short_description | No | One-line summary |
tags | No | Searchable tags |
platforms | No | Supported platforms |
version | Yes | Semver version |
always | No | Always 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 nameRequirements
- Functions must be
async - Return type should be
dict(JSON-serializable) - Use
httpxfor HTTP requests (included in the agent runtime) - Access configuration via environment variables (
os.getenv())