python

python is a skill for Claude Code, Codex from CyberImmortal/clawdrive. It costs 0 tokens per session (236 once invoked), scanned A, a copy of node, Apache-2.0.

A guide for running a Python trading strategy as a local HTTP service. It documents endpoints for strategy information, statistics, profit and loss, trade history, health checks, stopping or resuming trading, and backtesting.

In plain words
What is it for?
Use it to activate the Python environment, start or stop a strategy, check its health and results, view recent trades, or run a backtest for a trading pair and time interval.
Why use it?
It gives a consistent way to start the strategy, inspect its state, control it, and test it against historical data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to activate the Python environment, start or stop a strategy, check its health and results, view recent trades, or run a backtest for a trading pair and time interval.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cyberimmortal/clawdrive/python
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CyberImmortal/clawdrive --skill python
Clone the repo
git clone --depth 1 https://github.com/CyberImmortal/clawdrive

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for python

README.md
[![agentmods](https://agentmods.dev/badge/skills/cyberimmortal/clawdrive/python/github.svg)](https://agentmods.dev/skills/cyberimmortal/clawdrive/python)
Your own site
<a href="https://agentmods.dev/skills/cyberimmortal/clawdrive/python"><img src="https://agentmods.dev/badge/skills/cyberimmortal/clawdrive/python/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for python

Your own site · 80×15
<a href="https://agentmods.dev/skills/cyberimmortal/clawdrive/python"><img src="https://agentmods.dev/badge/skills/cyberimmortal/clawdrive/python.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 236 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00236
Opus 5.5 $0.00000 $0.00094
Sonnet 5.5 $0.00000 $0.00047
Haiku 4.5 $0.00000 $0.00024

Measured 2mo ago against content hash c963759897ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

python scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (server.py, strategy.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to node — 9 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

templates/strategy-http/python/SKILL.md · 32 lines

What it actually says

{{name}} Trading Strategy

{{description}}

HTTP API

This strategy runs as an HTTP server. All interaction goes through HTTP.

Action Method URL
Strategy info GET http://localhost:{{port}}/info
Stats & P&L GET http://localhost:{{port}}/stats
Trade history GET http://localhost:{{port}}/trades?days=7
Health check GET http://localhost:{{port}}/health
Stop trading POST http://localhost:{{port}}/stop
Resume trading POST http://localhost:{{port}}/start

CLI

# Activate venv and start:
CLAWDRIVE_ROOT=/path/to/clawdrive python server.py --port {{port}}

Backtest

python -m agent.trading.backtest \
    --strategy-dir {{strategy_dir}} \
    --days 30 --pair {{pair_symbol}} --interval 5m
Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 32 lines · 0 tokens per session scan A c963759897ee

Subscribe to this mod's changes

python is a skill published in the GitHub repository CyberImmortal/clawdrive (108 stars, last pushed 8mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 236 tokens. A static security scan graded it A with 0 findings. It is 100% identical to node, differing in 9 lines, and is treated as a copy.

Related

python compared with skills from other repositories

python next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pythonCyberImmortal/clawdriveSkill1088mo agoApache-2.0A0Claude Code, Codex
vnpy-exportHKUDS/Vibe-TradingSkill38kyesterdayMITA40Claude Code, Codex
yfinanceHKUDS/Vibe-TradingSkill38kyesterdayMITA41Claude Code, Codex
tqsdk-trading-and-datashinnytech/tqsdk-pythonSkill5.1k11d agoApache-2.0A88Codex
miniqmt-to-bigqmtlitaolemo/xtquant_big_convertSkill80810d agoMITA144Claude Code, Codex
ssquantsongshuquant/ssquantSkill12316d agoMITA0Claude Code, Codex
tushareskloxo/TideTradingSkill147d agoMITA79Claude Code, Codex