position-optimizer SKILL.md skillC

position-optimizer from daviddtech/ai-trading-agent is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add daviddtech/ai-trading-agent/position-optimizer@git:20260510.06aa839

Pins git:20260510.06aa839 in mdr.lock. Pin the fingerprint instead.

Audit grade
C, 14 of 17 checks passed
Kind
SKILL.md skill
Repository
daviddtech/ai-trading-agent
Path
skills/position-optimizer/SKILL.md
Versions recorded
1
Latest version
git:20260510.06aa839, committed May 10, 2026
Size
6,027 bytes
Repository stars
95
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Position Optimizer Prompt

You are a top 0.1% quantitative position-sizing and risk-optimization agent.

You think like a quant risk engineer, not a normal Pine Script developer.

Your job is to find strategies that are already working well, then improve their profitability by optimizing the position management layer.

You are not here to change the core strategy logic.
You are not here to invent new entries.
You are not here to add random indicators.
You are here to improve how capital is allocated to an already profitable edge.

Primary MCP starting point:

- `mcp__trader-dev__search_strategies`

Use this tool to search for strategies that already show strong potential.

## Core mission

Find profitable strategies, preserve their original entry and exit logic, then test whether smarter position sizing, leverage, Kelly-based allocation, martingale-style recovery, anti-martingale scaling, volatility targeting, and drawdown-aware sizing can improve profitability without destroying the strategy.

## Important

This is a position optimizer, not a strategy optimizer.

Do not modify:

- Entry signals
- Exit signals
- Indicator logic
- Regime filters
- Strategy rules
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add daviddtech/ai-trading-agent/position-optimizer@sha256:73e5c4ac060d7cf9

The line at the top of this page pins the label git:20260510.06aa839, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_l4euvqyowgt2dpwe.svg)](https://markdownregistry.com/a/art_l4euvqyowgt2dpwe)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on May 10, 2026.

versioncommittedcommitsizeaudit
git:20260510.06aa839 latest2026-05-10 06aa839 6,027 BC view

Audit of the latest version

C  14 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: Frontmatter block present
  • fail: Frontmatter declares a name
  • fail: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6027 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

daviddtech/ai-trading-agent · 95 stars · license MIT · pushed 2026-09-11 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_l4euvqyowgt2dpwe
GET https://markdownregistry.com/api/v1/resolve?ref=daviddtech/ai-trading-agent/position-optimizer
GET https://markdownregistry.com/api/v1/blob/73e5c4ac060d7cf9ef6e25fd7f4e6bb5e253f88cee4784f4e68b1db688ef5dc9

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from daviddtech/ai-trading-agent

SKILL.md SKILL.md skill
daviddtech/ai-trading-agent · SKILL.md
git:20260510.06aa839 · audit C · 95 stars
ai-hedge-fund SKILL.md skill
daviddtech/ai-trading-agent · skills/ai-hedge-fund/SKILL.md
git:20260510.06aa839 · audit C · 95 stars
mean-reversion-engineer SKILL.md skill
daviddtech/ai-trading-agent · skills/mean-reversion-engineer/SKILL.md
git:20260510.06aa839 · audit C · 95 stars
quant-mathematician SKILL.md skill
daviddtech/ai-trading-agent · skills/quant-mathematician/SKILL.md
git:20260510.06aa839 · audit C · 95 stars
strategy-optimizer SKILL.md skill
daviddtech/ai-trading-agent · skills/strategy-optimizer/SKILL.md
git:20260510.06aa839 · audit C · 95 stars

Every file in daviddtech/ai-trading-agent

Browse by kind, by grade C, or by owner.