senpi-improve-trades

senpi-improve-trades is a skill for Claude Code, Codex from Senpi-ai/senpi-skills. It costs 457 tokens per session (14,420 once invoked), scanned B, original, MIT.

A retrospective coach for reviewing closed Senpi trades. It reconstructs how trades ended, calculates their profit or loss, compares the results with what happened in the market afterward, and suggests improvements based on that evidence.

In plain words
What is it for?
Use it to review trades, ask what was missed, examine whether exits were early or late, compare results with the market, or seek ways to improve.
Why use it?
Trade reviews are easily distorted by hindsight or by blaming a user for decisions made by an automated strategy. This provides computed results and market context for a more grounded review.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: positional $N argument; built for openclaw.

Good fit Use it to review trades, ask what was missed, examine whether exits were early or late, compare results with the market, or seek ways to improve.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/senpi-ai/senpi-skills/senpi-improve-trades
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 Senpi-ai/senpi-skills --skill senpi-improve-trades
Clone the repo
git clone --depth 1 https://github.com/Senpi-ai/senpi-skills

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 senpi-improve-trades

README.md
[![agentmods](https://agentmods.dev/badge/skills/senpi-ai/senpi-skills/senpi-improve-trades/github.svg)](https://agentmods.dev/skills/senpi-ai/senpi-skills/senpi-improve-trades)
Your own site
<a href="https://agentmods.dev/skills/senpi-ai/senpi-skills/senpi-improve-trades"><img src="https://agentmods.dev/badge/skills/senpi-ai/senpi-skills/senpi-improve-trades/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 senpi-improve-trades

Your own site · 80×15
<a href="https://agentmods.dev/skills/senpi-ai/senpi-skills/senpi-improve-trades"><img src="https://agentmods.dev/badge/skills/senpi-ai/senpi-skills/senpi-improve-trades.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 457 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 14,420 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Memory Poisoning · line 214
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
  • medium Prompt Injection · line 442
    Subtle instructions detected that may alter agent decision-making or introduce hidden biases.
    Fix: Review content for implicit steering or bias. Ensure instructions are explicit and align with the skill's stated purpose.
How audits are shown
Origin original No closer match found 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.00457 $0.14420
Opus 5.5 $0.00183 $0.05768
Sonnet 5.5 $0.00091 $0.02884
Haiku 4.5 $0.00046 $0.01442

Measured today against content hash 1478ab5b0908, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

senpi-improve-trades scanned grade B with 1 finding 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 today.

The scan reads SKILL.md. This mod also ships 10 executable files (scripts/_yaml.py, scripts/mcp_client.py, scripts/review.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.

Subtle steeringmediumPrompt injection

Instructions that bias recommendations or shape behaviour without the user noticing.

- **Never tell the user to "fund a position," "open a position first," "decide which gets action first," or
senpi-improve-trades/SKILL.md · 703 lines

How it starts

The opening of the file, as written. The whole thing — 703 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Senpi Improve My Trades — retrospective review + coaching

Router — first turn and every follow-up

On a follow-up, answer only what is new — never re-send the book table, book.total.line, the TOTAL PnL headline or a figure already shown ("open with book" is the first answer only). Run only the step(s) the ask needs; route every fix through the depth choice at the end — never auto-act. Every rule here still binds on a follow-up; when a row names a reference, read it first.

The ask Run (review.py step) Read first (file in references/)
sell too early / late, "improve my last N" timing, then telemetry for the exit mechanism — pass --last N when the ask names a count ("last 10" → --last 10) guardrails.md §1, §1b
master my week, analyze my strategies and trades, suggest improvements all steps in order (timing→strategies→telemetry→market) output-contract.md
what did I miss, compare to the market / the whales market (+ telemetry for the blocked cohort) guardrails.md §4; whales: compose senpi-smart-money
make more gains strategies + telemetry guardrails.md §2–3
shaken out, how my exits fire, why did it close, what is locked now strategies + telemetry; senpi dsl closes / inspect (guardrail 6b) exit-records.md, sources.md
what my limits blocked telemetry output-shape.md
where am I leaking, fees, maker vs taker telemetry guardrails.md hard rule 0; output-shape.md, sources.md
walk me through my [asset] trade (none — explain CLI) exit-records.md
why is [strategy] losing strategies + telemetry guardrails.md §8; guardrail 5: judge it against its own mandate, all its wallets together, flat-by-design is not a loss
nothing to review, an empty result read meta.book_state first no_strategies → senpi-market-pulse, then senpi-strategy-discover; no critique of an empty account ("Nothing to review?" below)
a saved wallet review, master my week: the same steps; leaks, what did I miss: hand off to quant-desk "Your wallets" below
the wallet picked from book.deep_dive.question go deep on that one One book, rule 6; one-book.md
the user picks a fix depth (none) output-contract.md (both menus)

Read the full file on GitHub · 703 lines

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. today Changed 1478ab5b0908
  2. 3d ago Changed 3c909bfea352
  3. 7d ago Changed 31829c158586
  4. 8d ago Changed · +1 lines 147fb0286028
  5. 10d ago Changed · +1 lines 9e270bb7a301
  6. 14d ago Changed · -61 lines 7742b14e2662
  7. 21d ago Changed · +7 lines 3c70349607ff
  8. 28d ago Changed · +132 lines · +95 tokens per session 7211cdac4d10
  9. 1mo ago Changed · +107 lines 3b7e20a57bef
  10. 1mo ago First seen · 516 lines · 362 tokens per session scan B a5703e4556c8

Subscribe to this mod's changes

senpi-improve-trades is a skill published in the GitHub repository Senpi-ai/senpi-skills (144 stars, last pushed yesterday), licensed MIT. It adds 457 tokens to every session and 14,420 once invoked, about $0.0018 per session on Opus 5.5. A static security scan graded it B with 1 finding (subtle steering). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

senpi-improve-trades compared with skills from other repositories

senpi-improve-trades next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
senpi-improve-tradesSenpi-ai/senpi-skillsSkill144yesterdayMITB457Claude Code, Codex
sector-rotationHKUDS/Vibe-TradingSkill38kyesterdayMITA39Claude Code, Codex
twitter-readerhimself65/finance-skillsSkill3.5k2d agoMITA110Claude Code
strategy-pivot-designertradermonty/claude-trading-skillsSkill3.7k2d agoMITA28Claude Code, Codex
energy-procurementhashgraph-online/awesome-codex-pluginsSkill1.5kyesterdayApache-2.0A93Claude Code, Codex
airdrop-hunting-guidenirholas/three.wsSkill269yesterdayApache-2.0A54Claude Code, Codex
multi-expert-analyzerdigoal/blogSkill8.6k2d agoGPL-2.0A292Codex