skills/strategies/SKILL.md
Read, write, and manage behavioral strategy files for the Oikos wallet agent.
npx skillsauth add adrianosousa/oikos oikos-strategiesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Strategies are declarative .md files that guide your financial behavior. They define portfolio targets, DeFi triggers, swarm engagement rules, and risk limits — all operating within the hard PolicyEngine constraints.
Strategies are intent, not code. You interpret them on each decision. Humans can read and edit them. They're tradeable on the swarm.
| Tool | Purpose |
|------|---------|
| get_active_strategies | Read all active strategies before any financial decision |
| save_strategy | Create or update a strategy file |
| toggle_strategy | Enable/disable a strategy by filename |
Every strategy is a markdown file with YAML frontmatter:
---
enabled: true
source: agent # "human", "agent", or "purchased"
version: 1.0
created_at: 2026-03-20T18:00:00Z
expires_at: 2026-03-21T18:00:00Z # Optional: auto-expire for agent-authored
requires_approval: false # Optional: require human approval to activate
confidence: 0.85 # Optional: agent's confidence in this strategy
tags: [defi, yield, rebalancing]
---
# Strategy Name
## Section (Portfolio Targets, Trigger Conditions, Actions, Risk Limits, etc.)
- Declarative rules in plain language
get_active_strategiessimulate_proposalsource: agent and expires_at (24h default)When you write a strategy:
enabled: false initially — confirm with human before activatingexpires_at (time-boxed by default, renewable)source: agent to distinguish from human-authored strategiesconfidence score for the strategy itselfStrategies can be bought and sold on the swarm marketplace:
swarm_announce with category seller, include strategy descriptionswarm_deliver_result to send the strategy file after paymentsource: purchased and enabled: false---
enabled: true
source: agent
version: 1.0
created_at: 2026-03-20T18:00:00Z
expires_at: 2026-03-21T18:00:00Z
confidence: 0.85
tags: [defi, yield, rebalancing, autonomous]
---
# Yield-Optimizing DeFi Agent Strategy
## Portfolio Targets
- 50% USDT — working capital + Aave yield
- 30% XAUT — store of value
- 20% ETH — gas + exposure
## Trigger Conditions
- Any asset drifts >10% from target -> rebalance
- Idle USDT >300 -> deposit excess to Aave
- Aave APY <3% -> withdraw and hold
- ETH drops >8% in 24h -> pause non-essential swaps
## Risk Limits
- Never swap >20% of portfolio in one day
- Never borrow (no leverage)
- Never bridge without human approval
- Portfolio drops >15% in 24h -> halt all actions, alert human
development
Use this skill when the user mentions money, funds, portfolio, assets, tokens, crypto, payments, transfers, swaps, bridges, yield, DeFi, balances, wallet, stablecoins, Bitcoin, Ethereum, gold, or trading — even without naming a specific protocol. Also use when the user wants to negotiate with other agents, buy or sell services on the P2P swarm, check reputation, manage trading strategies, or interact with the policy engine. Handles: USDt, XAUt, USAt, BTC, ETH across Ethereum, Polygon, Arbitrum, Bitcoin, and RGB. Includes autonomous agent marketplace.
testing
Deterministic policy engine for sovereign agent wallets built on Tether WDK. Use this skill when the agent needs to interact with any wallet, DeFi, P2P trade, or payment operation in Oikos. This is the master index — it loads per-module skill files from the references/ directory on demand. Covers: Bitcoin, EVM, Solana, Spark/Lightning, TON, TRON wallets; Velora swaps; USDT0 bridges; Aave lending; MoonPay fiat; RGB tokens; x402 HTTP payments; P2P marketplace trades. All write operations require typed ActionRequests validated by a deterministic engine. The LLM interprets user intent; the engine executes. The LLM never touches keys, constructs transactions, or makes financial decisions.
development
Sovereign agent wallet protocol. Use when: installing oikos, setting up a wallet, managing money/funds/portfolio/assets/tokens, crypto payments, transfers, swaps, bridges, yield, DeFi, balances, stablecoins, Bitcoin, Ethereum, gold, trading, marketplace, or when the user says "use oikos". Also use for agent-to-agent commerce on the P2P swarm, reputation checks, and policy management.
documentation
Fetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]