Lerd
liberusoftware/real-estate-laravel
Manage the lerd local PHP development environment via MCP tools: run framework console commands (artisan, bin/console, etc.), manage services, start/stop queue workers, run composer, manage Node.js…
Server-side trailing stop management for stocks and naked LEAPS in IB.
$ npx skills add staskh/trading_skills --skill ib-trailing-stop -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install staskh/trading_skills ib-trailing-stop --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/staskh/trading_skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/ib-trailing-stop .claude/skills/ib-trailing-stop && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ib-trailing-stop" agent skill from https://github.com/staskh/trading_skills/tree/main/.claude/skills/ib-trailing-stop into .claude/skills/ib-trailing-stop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ib-trailing-stop", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/staskh/trading_skills/tree/main/.claude/skills/ib-trailing-stopType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add staskh/trading_skills --skill ib-trailing-stop -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install staskh/trading_skills ib-trailing-stop --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/staskh/trading_skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/ib-trailing-stop .agents/skills/ib-trailing-stop && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ib-trailing-stop" agent skill from https://github.com/staskh/trading_skills/tree/main/.claude/skills/ib-trailing-stop into .agents/skills/ib-trailing-stop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ib-trailing-stop", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add staskh/trading_skills --skill ib-trailing-stop -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install staskh/trading_skills ib-trailing-stop --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/staskh/trading_skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/ib-trailing-stop .cursor/skills/ib-trailing-stop && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ib-trailing-stop" agent skill from https://github.com/staskh/trading_skills/tree/main/.claude/skills/ib-trailing-stop into .cursor/skills/ib-trailing-stop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ib-trailing-stop", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/staskh/trading_skills.git --path .claude/skills/ib-trailing-stop--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add staskh/trading_skills --skill ib-trailing-stop -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install staskh/trading_skills ib-trailing-stop --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/staskh/trading_skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/ib-trailing-stop .gemini/skills/ib-trailing-stop && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ib-trailing-stop" agent skill from https://github.com/staskh/trading_skills/tree/main/.claude/skills/ib-trailing-stop into .gemini/skills/ib-trailing-stop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ib-trailing-stop", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install staskh/trading_skills ib-trailing-stopInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add staskh/trading_skills --skill ib-trailing-stop -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/staskh/trading_skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/ib-trailing-stop .github/skills/ib-trailing-stop && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ib-trailing-stop" agent skill from https://github.com/staskh/trading_skills/tree/main/.claude/skills/ib-trailing-stop into .github/skills/ib-trailing-stop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ib-trailing-stop", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add staskh/trading_skills --skill ib-trailing-stop -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install staskh/trading_skills ib-trailing-stop --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/staskh/trading_skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/ib-trailing-stop .opencode/skills/ib-trailing-stop && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ib-trailing-stop" agent skill from https://github.com/staskh/trading_skills/tree/main/.claude/skills/ib-trailing-stop into .opencode/skills/ib-trailing-stop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ib-trailing-stop", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ib-trailing-stopServer-side trailing stop management for stocks and naked LEAPS in IB.
Ib Trailing Stop is an agent skill from staskh/trading_skills. Server-side trailing stop management for stocks and naked LEAPS in IB. Places native TRAIL orders that auto-ratchet the stop as price climbs. Dry-run by default. Requires TWS or IB Gateway running locally.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/trailing_stop.py`).
It sits in Backend & APIs, covering Backend development. The repository describes itself as: Claude powered advisor system for option traders. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit b71a74f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
uvFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ib Trailing Stop loads about 1.6k tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 663 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
lt-in default. Set it in the shell or a `.env` file.Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from staskh/trading_skills at commit b71a74f, republished under its MIT licence (© staskh). 663 words, ~1,613 tokens.
.claude/skills/ib-trailing-stop/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Places IB native TRAIL orders against stocks and naked LEAPS in the portfolio. IB auto-adjusts the stop trigger as the price climbs and locks it as price falls.
PMCC positions are intentionally excluded — use ib-stop-loss for those (a standalone
trailing stop on the PMCC long leg would break the hedge at trigger).
Default mode is dry-run — no orders are placed unless --execute is in the request.
TWS or IB Gateway must be running locally with API enabled:
IB_PORT env var — default port when --port is omitted (e.g. IB_PORT=4001 for a Gateway container). Precedence: --port flag > IB_PORT > built-in default. Set it in the shell or a .env file.Port fallback: If the configured port fails, automatically retry on the other port. If the retry succeeds, save to memory which account type worked (live/paper) and reuse it for all IB skill calls in this and future sessions — until the user explicitly asks for the other account. If both ports fail, ask the user to verify that TWS or IB Gateway is running with API access enabled.
Dry-run (default — no orders placed):
uv run python .claude/skills/ib-trailing-stop/scripts/trailing_stop.py --symbols JOBY --trail-pct 20Execute (cancel orphan TS_ orders + place new TS_ TRAIL orders):
uv run python .claude/skills/ib-trailing-stop/scripts/trailing_stop.py --symbols JOBY --trail-pct 20 --executeExecute forced (cancel + replace existing TS_ orders with current parameters):
uv run python .claude/skills/ib-trailing-stop/scripts/trailing_stop.py --execute --forcedFormat JSON output as a markdown report with three sections:
Show all_trail_orders.module (TS_ orders) and all_trail_orders.manual (manually placed).
If orphan_orders is non-empty, warn that these were cancelled (execute mode) or need manual cancellation (dry-run).
For each entry in positions, show a table:
| Field | Value |
|---|---|
| Symbol | JOBY — stock (1000 shares) |
| Spot | $7.50 |
| Reference | $7.50 (max of current $7.50, avg cost $5.00) |
| Trail params | 20% (initial stop $6.00) → action: place_new |
| Existing trail | none |
For LEAPS rows, also show the option leg (strike/expiry) and current option mark.
action values:
place_new — no existing TS_ order; one will be created in execute modepreserve_existing — TS_ already in place; left alone (IB has been tracking the high)overwrite — --forced is on; existing TS_ will be cancelled and replacedPer-position result with order_id and order_ref.
action: place_new (these are about to get a new TRAIL).preserve_existing separately so user knows nothing changed.trail_stop_price) so user knows where IB has trailed to.| Flag | Default | Description |
|---|---|---|
--port | 7497 | IB Gateway/TWS port |
--account | all | Specific account ID |
--symbols | all | Analyze only these symbols |
--trail-pct | 20 | Trail amount as percentage of reference |
--trail-amt | — | Trail amount in dollars (mutually exclusive with --trail-pct) |
--price-mode | mid | Option pricing: mid or last (LEAPS only) |
--execute | off | Cancel orphans + place TS_ TRAIL orders |
--forced | off | Cancel and replace existing TS_ orders (requires --execute) |
{
"generated_at": "2026-05-29 10:00 ET",
"data_delay": "real-time",
"dry_run": true,
"forced": false,
"trail_pct": 20.0,
"trail_amt": null,
"accounts": ["U1234567"],
"symbols_filter": ["JOBY"],
"all_trail_orders": {"module": [], "manual": []},
"orphan_orders": [],
"positions": [
{
"symbol": "JOBY",
"type": "stock",
"account": "U1234567",
"qty": 1000,
"underlying_price": 7.50,
"stock": {
"avg_cost": 5.00,
"current_price": 7.50
},
"trail_stop": {
"trail_pct": 20.0,
"trail_amt": null,
"reference": 7.50,
"initial_stop_price": 6.00,
"action": "place_new",
"existing_trail": null
}
}
]
}max(current_price, avg_cost) — locks in profit when above cost, never starts below entry.current_price as the reference (can place an initial stop below entry, useful when re-arming after a drawdown).--forced to deliberately reset.ib-stop-loss for those.TS_{SYM}_{STRIKE}_{EXPIRY}_{RIGHT} — naked LEAPS TRAIL orders (right is C or P so calls and puts on the same strike/expiry don't collide)TS_{SYM}_STK — stock TRAIL ordersAll analytics live in src/trading_skills/broker/trailing_stop.py:
Analytics (no IBKR — testable in isolation):
calc_trail_reference — max(current_price, avg_cost) normally; current_price if forcedcalc_initial_trail_stop_price — reference × (1 − trail_pct/100) or reference − trail_amtidentify_trailable_positions — stocks + naked LEAPS; PMCC excludedbuild_trail_analysis — full per-position output dictdetect_orphan_trail_orders — TS_ TRAIL orders for gone positionssummarize_all_trail_orders — splits IB TRAIL orders into module vs manualData layer (IBKR):
get_trailing_stop_data — main entry point_cancel_orphan_orders — cancel stale TS_ orders_place_simple_trail_order — native TRAIL order on stock or option_execute_position_trail — dispatch per position type© staskh, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (scripts) in .claude/skills/ib-trailing-stop of staskh/trading_skills.
Open the folder on GitHubat commit b71a74f
Ib Trailing Stop next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Ib Trailing Stop this skillstaskh/trading_skills | 374 | — | ~1.6k | Automated safety check: Notes | MIT | |
| Lerdliberusoftware/real-estate-laravel | 112 | — | ~7.8k | Automated safety check: Warn | MIT | |
| Deepstream SopNVIDIA/skills | 3.5k | — | ~4.7k | Automated safety check: Notes | Apache-2.0 | |
| Configuring Horizoncoollabsio/coolify | 63k | 4 repos | ~898 | Automated safety check: Pass | MIT | |
| Fortify Developmentcoollabsio/coolify | 63k | 4 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Node Backend Development Guidelinesdiet103/claude-code-infrastructure-showcase | 10k | 2 repos | ~2k | Automated safety check: Pass | MIT |
liberusoftware/real-estate-laravel
Manage the lerd local PHP development environment via MCP tools: run framework console commands (artisan, bin/console, etc.), manage services, start/stop queue workers, run composer, manage Node.js…
NVIDIA/skills
A skill your agent uses when building, deploying, evaluating, debugging, or measuring latency for the DeepStream SOP Inference Microservice — a GPU-accelerated FastAPI service that detects whether…
coollabsio/coolify
A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.
coollabsio/coolify
ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.
diet103/claude-code-infrastructure-showcase
Sets layered architecture and coding rules for Node.js, Express and TypeScript microservices, covering routes, controllers, services, repositories, Prisma, Sentry and Zod.
anonaddy/anonaddy
Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code.
staskh/trading_skills
Get fundamental financial data including financials, earnings, and key metrics.
staskh/trading_skills
Calculate option Greeks (delta, gamma, theta, vega) and implied volatility for specific options.
staskh/trading_skills
Get account summary from Interactive Brokers including cash balance, buying power, and account value.
staskh/trading_skills
Find roll options for existing short positions OR find best covered call/put to open against long stock.
staskh/trading_skills
Get option chain data from Interactive Brokers for equities, ETFs, and futures (FOP), including calls and puts with strikes, bids, asks, volume, implied volatility, and model Greeks.
staskh/trading_skills
Get portfolio positions from Interactive Brokers. An agent skill from staskh/trading_skills.
Categories
Server-side trailing stop management for stocks and naked LEAPS in IB. Ib Trailing Stop is an agent skill from staskh/trading_skills. Server-side trailing stop management for stocks and naked LEAPS in IB.
Ib Trailing Stop fits situations like: tasks that involve Backend development.
Run `npx skills add staskh/trading_skills --skill ib-trailing-stop -a claude-code`. Or copy the skill folder (.claude/skills/ib-trailing-stop in staskh/trading_skills) into .claude/skills/ib-trailing-stop in your project. Claude Code loads it when a task matches its description.
Run `npx skills add staskh/trading_skills --skill ib-trailing-stop -a codex`. Or copy the skill folder (.claude/skills/ib-trailing-stop in staskh/trading_skills) into .agents/skills/ib-trailing-stop in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add staskh/trading_skills --skill ib-trailing-stop -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ib-trailing-stop, .gemini/skills/ib-trailing-stop, .github/skills/ib-trailing-stop and .opencode/skills/ib-trailing-stop in your project.
Going by SKILL.md and its folder, Ib Trailing Stop needs Python for the scripts in its folder and the command-line tools its instructions call (uv). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Ib Trailing Stop is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Ib Trailing Stop: Lerd (liberusoftware/real-estate-laravel, 112 stars), Deepstream Sop (NVIDIA/skills, 3.5k stars), Configuring Horizon (coollabsio/coolify, 63k stars) and Fortify Development (coollabsio/coolify, 63k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
staskh (a GitHub user) maintains it in staskh/trading_skills, which has 374 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on September 28, 2026.
Source: staskh/trading_skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.