Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

cobra-strategy眼镜蛇策略

Agent Skill

cobra-strategy 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

931

周安装

40

GitHub Stars

75

下载量

326
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cobra-strategy(眼镜蛇策略)
来源仓库:https://github.com/senpi-ai/senpi-skills
仓库路径:skills/cobra-strategy
安装命令:
npx skills add https://github.com/senpi-ai/senpi-skills --skill cobra-strategy
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/senpi-ai/senpi-skills --skill cobra-strategy

简介

cobra-strategy 专为 Arena 周赛设计的超高胜率交易策略体系。

  • 聚焦 2–4 笔极致 conviction 交易,最大化七日 ROE 回报。
  • 区别于长期边缘策略,强调趋势捕捉与市场情绪共振时机。
  • 历史数据显示高 fee 损耗比,需精准控制止盈止损与仓位管理。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

🐍 COBRA v1.1 — Arena Sprint Predator

SM dominates. Cobra strikes. One asset. Maximum conviction.

What Makes Cobra Different

Every other Predator agent is built for long-term edge — patient entry, perfect scores, wide DSL. Cobra is built to win Arena weeks.

The Arena rewards ROE% over 7 days. The winning strategy is 2-4 massive conviction trades that ride the dominant SM trend. The #1 Arena agent won with +62% ROE on just 12 trades.

Fee Lesson from the Fleet

The Predators data tells a clear story about fees:

AgentTradesFeesProfitProfit:Fee Ratio
Condor v2.05$2.71+$37.4313.8:1
Cheetah53$23.12+$40.581.8:1
Polar170$239.27+$38.650.16:1

Cobra targets Condor's efficiency: few trades, big impact, minimal fees.

Cobra's approach:

  • Only trades the #1 SM asset — never scatters across multiple assets
  • $400 margin per trade (40% of budget) for concentrated ROE impact
  • FEE_OPTIMIZED_LIMIT orders — maker first, taker fallback at 30s. ~50% fee savings vs market orders.
  • Wide DSL — 180min timeout, 8% retrace, 45min dead weight. Let positions breathe.
  • 3 entries per day max — quality over quantity
  • 10x leverage on majors (BTC/ETH/SOL/HYPE), 5x on others

⛔ CRITICAL AGENT RULES

RULE 1: Install path is /data/workspace/skills/cobra-strategy/

RULE 2: THE SCANNER DOES NOT EXIT POSITIONS — DSL only.

RULE 3: MAX 1 POSITION at a time.

RULE 4: MAX 3 ENTRIES PER DAY. 90-minute cooldown. 120-minute per-asset cooldown.

RULE 5: ONLY trade the #1 SM dominant asset. Never scatter.

RULE 6: XYZ equities are BANNED at parse level.

RULE 7: USE FEE_OPTIMIZED_LIMIT for all entries. Never market orders.

Scanner Logic (2 API calls)

1. leaderboard_get_markets (limit=20)
   → Find #1 non-XYZ asset by SM concentration
   → Gate: Must be >10% SM dominance

2. Score the dominant asset:
   - SM Dominance: >15% = +3, >10% = +2, >5% = +1
   - Contribution Surge: >5% = +2, >2% = +1
   - 4H Trend Confirms: >0.5% in direction = +1
   - 1H Trend Confirms: >0.2% in direction = +1
   - Deep Consensus: >200 traders = +1

   MIN_SCORE: 5/8

   → If score >= 5: ENTER with $400 margin at 10x (majors) or 5x
   → Order type: FEE_OPTIMIZED_LIMIT (maker first, taker fallback 30s)

DSL Configuration (Fee-Conscious, Position-Breathing)

Phase 1 (Loss Protection):

  • Max loss: -15%
  • Retrace from high water: 8% (wide — let volatile assets breathe)
  • 3 consecutive breaches required
  • Phase 1 max time: 45 minutes

Phase 2 (Profit Locking — let winners run):

  • +5% → lock 25% of high water
  • +10% → lock 45%
  • +15% → lock 60%
  • +20% → lock 75%
  • +30% → lock 85%
  • +50% → lock 92%

Timeouts:

  • Hard timeout: 180 minutes (3 hours — positions need time)
  • Weak peak cut: 60 minutes at +3% minimum
  • Dead weight cut: 45 minutes

Why This Wins Arena

  1. Concentration: $400 on one trade. A 10% move at 10x = +$400 = 40% ROE on the $1K account.
  2. Fee efficiency: FEE_OPTIMIZED_LIMIT saves ~50% vs market orders. Over a week, that's the difference between +5% and +8% ROE.
  3. Breathing room: 180-minute timeout and 8% retrace means positions ride through volatility instead of getting stopped out on noise and re-entering (which churns fees).
  4. SM alignment: Only trading when SM dominance is extreme (>10%). When 300+ top traders are positioned the same way, the trend usually has hours to develop — not minutes.
  5. Fewer trades: 3/day max, 90-min cooldown. Over 7 days that's 21 max entries. Only need 2-3 big winners.

Execution Details (Scanner-Level, Not YAML)

Entry: FEE_OPTIMIZED_LIMIT with ensureExecutionAsTaker: true and executionTimeoutSeconds: 30

  • Places an ALO (Add Liquidity Only) maker order
  • If not filled in 30 seconds, cancels and resubmits as market order
  • Maker fees are ~0.02% vs taker fees of ~0.05%
  • On a $400 × 10x = $4,000 notional position, this saves ~$1.20 per trade

Runtime Setup

sed -i 's/${WALLET_ADDRESS}/<WALLET>/' /data/workspace/skills/cobra-strategy/runtime.yaml
sed -i 's/${TELEGRAM_CHAT_ID}/<CHAT_ID>/' /data/workspace/skills/cobra-strategy/runtime.yaml
openclaw senpi runtime create --path /data/workspace/skills/cobra-strategy/runtime.yaml
openclaw senpi runtime list && openclaw senpi status

Bootstrap Gate

Verify runtime + status + scanner cron (90s, main). CRITICAL: The cron must be configured to call create_position via Senpi MCP when the scanner outputs a signal with an entry block. If the cron just runs the scanner and exits, trades will never execute. Send: "🐍 COBRA v1.1 online. Arena predator. Fee-optimized. Hunting the #1 SM rotation."

License

MIT — Built by Senpi (https://senpi.ai).


Skill Attribution

When creating a strategy, include skill_name and skill_version in the call. See references/skill-attribution.md for details.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.27%
按下载量换算125

Claude

32.18%
按下载量换算105

Cursor

19.07%
按下载量换算62

Gemini CLI

8.4%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills