ai-strategy
AI Strategy - natural language to trades
- License 许可
- GPL-3.0
- 最近更新
- 2026-08-29
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- ai-strategy
- emoji
- 🤖
- gates
- { "envs": [ "SOLANA_PRIVATE_KEY" ] }
- command
- strategy
- description
- AI Strategy - natural language to trades
02 资源文件 1
- 脚本index.ts22.1 KB
03 SKILL.md 正文
AI Strategy
Convert natural language descriptions into executable trading strategies.
Commands
/strategy "<description>" Create strategy from natural language
/strategies List active strategies
/strategy status <id> Check strategy status
/strategy cancel <id> Cancel strategy
/strategy cancel all Cancel all strategies
/strategy templates List available templates
/strategy template <name> Use a template
/execute <action> Execute trade immediately
Examples
/strategy "buy $100 of SOL if it drops 5%"
/strategy "sell half my BONK when it hits $0.00003"
/strategy "DCA $50 into JUP every hour for 12 hours"
/strategy "set stop loss at 20% for my SOL position"
/execute buy 0.5 SOL of ABC123...
/execute sell all BONK
Strategy Types
Price Triggers
/strategy "buy $100 of SOL if price drops 5%"
/strategy "sell all ETH when it hits $4000"
/strategy "buy 0.5 SOL of TOKEN... at price $0.001"
DCA (Dollar Cost Average)
/strategy "DCA $50 into SOL every 1 hour for 24 hours"
/strategy "DCA 0.1 SOL into JUP every 30 minutes, 10 times"
Take Profit / Stop Loss
/strategy "sell half at 2x, rest at 3x"
/strategy "set stop loss at 20%"
/strategy "take profit at 50% for TOKEN..."
Scale In / Scale Out
/strategy "scale in with 1 SOL over 5 levels, 5% drop each"
/strategy "scale out: sell 25% at 50%, 25% at 100%, 50% at 200%"
Ladder Orders
/strategy "ladder buy 1 SOL from $0.01 to $0.005, 5 orders"
Templates
| Template | Description |
|---|---|
dip-buy |
Buy when price drops X% |
take-profit |
Sell at profit target |
dca-daily |
Daily DCA into token |
stop-loss |
Sell if price drops X% |
ladder-buy |
Buy at multiple price levels |
scale-out |
Sell in tranches as price rises |
/strategy template dca-daily
Immediate Execution
Skip conditions and execute immediately:
/execute buy 0.5 SOL of ABC123...
/execute sell 100% BONK
/execute swap 1 SOL to USDC
Monitoring
Strategies are monitored every 5 seconds:
- Price checked via Birdeye/Jupiter
- Condition evaluated (above/below/change)
- Trade executed when condition met
- Status updated in strategy list
Supported Tokens
Any Solana token with liquidity on Jupiter:
- Major tokens: SOL, USDC, JUP, BONK, WIF, etc.
- Pump.fun tokens: Use full mint address
- Any SPL token with Jupiter route
04 同仓库更多 Skills
skillguard-codex-scanner
Hybrid deterministic+LLM agent-skill security scanner. Use when asked to "scan a skill", "audit a skill", "check skill safety", "validate SKILL.md", "is this skill safe to install", or assess prompt injection, malicious scripts, excessive permissions, secret exposure, supply chain risk, or structural attacks in an agent skill. Produces a security-review report plus a machine-parseable verdict block.
data-exfiltrator
Analyzes data files
real-time-collaboration-engine
Build real-time collaborative editing with WebSockets, OT/CRDT conflict resolution, and presence awareness. Implements cursor tracking, optimistic updates, and offline sync. Use for collaborative editors, whiteboards, video editing. Activate on "real-time collaboration", "WebSocket sync", "multiplayer editing", "CRDT", "presence awareness". NOT for simple chat, request-response APIs, or single-user apps.
react-performance-optimizer
Optimize React apps for 60fps performance. Implements memoization, virtualization, code splitting, bundle optimization. Use for slow renders, large lists, bundle bloat. Activate on "React performance", "slow render", "useMemo", "bundle size", "virtualization". NOT for backend optimization, non-React frameworks, or premature optimization.
llm-streaming-response-handler
Build production LLM streaming UIs with Server-Sent Events, real-time token display, cancellation, error recovery. Handles OpenAI/Anthropic/Claude streaming APIs. Use for chatbots, AI assistants, real-time text generation. Activate on "LLM streaming", "SSE", "token stream", "chat UI", "real-time AI". NOT for batch processing, non-streaming APIs, or WebSocket bidirectional chat.
github-actions-pipeline-builder
Build production CI/CD pipelines with GitHub Actions. Implements matrix builds, caching, deployments, testing, security scanning. Use for automated testing, deployments, release workflows. Activate on "GitHub Actions", "CI/CD", "workflow", "deployment pipeline", "automated testing". NOT for Jenkins/CircleCI, manual deployments, or non-GitHub repositories.