Token导航 LogoToken导航TokenDH.com
待分类external-servicegithub未标认证来源可访问许可证需确认审计异常

kodiak-strategy科迪亚克战略

Agent Skill

kodiak-strategy 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,126

周安装

46

GitHub Stars

75

下载量

361
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

kodiak-strategy 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合整理项目状态与变更事项。

  • 适用于围绕仓库动态、代码审查或协作流程进行信息归纳。
  • 通过 npx skills add 命令安装,需确认权限与网络访问范围。
  • 建议结合原始 README 核实具体用法,避免触发未授权操作。
  • 使用前请检查仓库维护状态及是否涉及文件读写权限。

SKILL.md

🐻 KODIAK v2.0 — SOL Alpha Hunter

One asset. Every signal. Scanner enters. DSL exits.


⛔ CRITICAL AGENT RULES

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

RULE 2: THE SCANNER DOES NOT EXIT POSITIONS

When the scanner sees an active SOL position, it outputs NO_REPLY. DSL is the ONLY exit mechanism. v1.1.1 had a thesis exit that chopped positions before DSL could trail them. v2.0 removes it entirely.

RULE 3: MAX 1 POSITION — SOL only

RULE 4: Scanner output is AUTHORITATIVE

RULE 5: Verify runtime is installed on every session start

Run openclaw senpi runtime list. Runtime must be listed. The position tracker and DSL exit are handled by the plugin runtime.

RULE 6: Never modify parameters. Never increase leverage above 7x.

RULE 7: 120-minute cooldown after consecutive losses


What Changed From v1.1.1

v1.1.1v2.0
Thesis exit active in RIDING modeRemoved — DSL manages all exits
DSL state missing wallet + sizeAll fields included
Leverage 10-12xCapped at 7x
Retrace 0.03 (3% ROE = 0.3% price at 10x)0.08 (8% ROE = 1.14% price at 7x)
strategy_id discarded in run()Captured and passed to DSL builder
SOL SHORT ran 13h unprotectedEvery position protected from second 1

v1.1.1 Proof of Concept

Kodiak's best trade: SOL SHORT, entry $90.36, DSL trailed to Tier 4 (+44% ROE), exit at $85.86, realized +$134 profit. The scanner found the setup. DSL managed the exit perfectly — locked 85% of peak, gave back only $3 from top.

The problem: DSL was manually patched onto this trade 13 hours after entry because the state file was missing wallet fields. v2.0 fixes this permanently.


The Three-Mode Lifecycle

MODE 1 — HUNTING (default)

Scan SOL every 3 minutes. All signals must align (4h trend, 1h momentum, SM, funding, OI, volume). Score 10+ to enter. When a position opens, switch to MODE 2.

MODE 2 — RIDING

Active position. DSL manages the exit via the plugin runtime. Scanner outputs NO_REPLY. The scanner does NOT re-evaluate the thesis. It does NOT close positions. The plugin DSL trails the position through Phase 1 protection and Phase 2 trailing tiers. When DSL closes the position → switch to MODE 3.

MODE 3 — STALKING

DSL locked profits. Watch for a reload opportunity. ALL reload conditions must pass: fresh momentum impulse, OI stable, volume present, funding not crowded, SM still aligned, 4h trend intact.

If reload fires → re-enter same direction, switch to MODE 2. If kill conditions trigger → reset to MODE 1.


Cron Setup

Scanner (3 min, main):

python3 /data/workspace/skills/kodiak-strategy/scripts/kodiak-scanner.py

How KODIAK Trades

Entry (score >= 10 required)

Every 3 minutes, the scanner evaluates SOL across all signal sources:

SignalPointsRequired?
4h trend structure (higher lows / lower highs)3Yes
1h trend agrees with 4h2Yes
15m momentum confirms direction0-1Yes
5m alignment (all 4 timeframes agree)1No
SM aligned with direction2-3Hard block if opposing
Funding pays to hold the direction2No
Volume above average1-2No
OI growing1No
BTC confirms move1No
RSI has room1No (blocks overbought/oversold)
4h momentum strength1No

Maximum score: ~18. Minimum to enter: 10.

Conviction-Scaled Leverage

ScoreLeverage
10-117x
12+7x

Conviction-Scaled Margin

ScoreMargin
10-1120% of account
12-1325%
14+30%

Exit Management

DSL exit is handled by the plugin runtime via runtime.yaml. The position_tracker scanner auto-detects position opens/closes on-chain. See runtime.yaml for configuration details.

Monitor positions:

  • openclaw senpi dsl positions — list all DSL-tracked positions
  • openclaw senpi dsl inspect <ASSET> — full position details

Why SOL-Only at 7x Leverage


Risk

RuleValue
Max positions1 (SOL only)
Max leverage7x
Phase 1 retrace0.08
Daily loss limit10%
Cooldown120 min after 3 consecutive losses

Runtime Setup

Step 1: Set your strategy wallet address in runtime.yaml:

sed -i 's/${WALLET_ADDRESS}/<STRATEGY_WALLET_ADDRESS>/' /data/workspace/skills/kodiak-strategy/runtime.yaml

Replace <STRATEGY_WALLET_ADDRESS> with the actual wallet address.

Step 2: Set telegram chat ID for notifications:

sed -i 's/${TELEGRAM_CHAT_ID}/<CHAT_ID>/' /data/workspace/skills/kodiak-strategy/runtime.yaml

Replace <CHAT_ID> with the actual Telegram chat ID.

Step 3: Install the runtime:

openclaw senpi runtime create --path /data/workspace/skills/kodiak-strategy/runtime.yaml

Step 4: Verify:

openclaw senpi runtime list

Bootstrap Gate

On EVERY session start, check config/bootstrap-complete.json. If missing:

  1. Read the senpi-trading-runtime skill: cat /data/workspace/skills/senpi-trading-runtime/SKILL.md — this provides all CLI commands for runtime management and DSL position inspection.
  2. Verify Senpi MCP
  3. Set wallet in runtime.yaml: sed -i 's/${WALLET_ADDRESS}/ACTUAL_ADDRESS/' /data/workspace/skills/kodiak-strategy/runtime.yaml
  4. Set Telegram in runtime.yaml: sed -i 's/${TELEGRAM_CHAT_ID}/CHAT_ID/' /data/workspace/skills/kodiak-strategy/runtime.yaml
  5. Install runtime: openclaw senpi runtime create --path /data/workspace/skills/kodiak-strategy/runtime.yaml
  6. Verify runtime installed: openclaw senpi runtime list
  7. Remove old DSL cron (if upgrading): run openclaw crons list, delete any cron containing dsl-v5.py via openclaw crons delete <id>
  8. Create scanner cron (3 min, isolated)
  9. Write config/bootstrap-complete.json
  10. Send: "KODIAK is online. Watching SOL. DSL managed by plugin runtime. Silence = no conviction."

If bootstrap exists, still verify runtime and scanner cron on every session start.


Notification Policy

ONLY alert: Position OPENED (direction, leverage, score, reasons), position CLOSED (DSL exit with P&L), risk guardian triggered, critical error. NEVER alert: Scanner found no thesis, thesis re-eval passed, any reasoning.


Expected Behavior

MetricExpected
Trades/day1-3
Avg hold time1-12 hours
Win rate~45-55%
Avg winner20-50%+ ROE
Avg loser-20 to -40% ROE

Files

FilePurpose
scripts/kodiak-scanner.pySOL thesis builder + stalk/reload
scripts/kodiak_config.pyConfig helper (MCP, state, cooldowns)
config/kodiak-config.jsonWallet, strategy ID, configurable variables
runtime.yamlRuntime config for plugin (DSL exit + position tracker)

License

MIT — Built by Senpi (https://senpi.ai). Source: https://github.com/Senpi-ai/senpi-skills


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

34.16%
按下载量换算123

Claude

32.02%
按下载量换算116

Cursor

19.32%
按下载量换算70

Gemini CLI

8.57%
按下载量换算31

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

external-service

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

安装前确认

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

来源信息

继续浏览同类 Skills