Agent skill

Mmr Loop Skill

by 9600dev in 9600dev/mmr

Autonomous trading loop for the MMR platform. An agent skill from 9600dev/mmr.

Custom licenceAuto-check passedBusiness, Finance & HR

Install Mmr Loop Skill

skills CLI
$ npx skills add 9600dev/mmr --skill mmr-loop-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install 9600dev/mmr mmr-loop-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/9600dev/mmr.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/mmr-loop-skill .claude/skills/mmr-loop-skill && rm -rf skills-src

Use ~/.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/

Facts

Skill name
mmr-loop-skill
GitHub stars
131
Token cost
~2.6k tokens
SKILL.md length
1,117 words
Files
3 (incl. scripts, references)
Skills in repo
4
Repo updated
First seen
Licence
Custom licence

At a glance

Autonomous trading loop for the MMR platform. An agent skill from 9600dev/mmr.

  • Works in 11 steps: Proposals, not trades: The loop creates… → Position limits: Respects max_positions… → Group budgets: Checks group allocation… → …
  • The user asks to start monitoring
  • SKILL.md covers Where the loop's commands run, How It Works, Starting the Loop and User Interaction, plus 6 more sections
  • Runs Python scripts from its folder; calls docker

What it does

Mmr Loop Skill is an agent skill from 9600dev/mmr. Autonomous trading loop for the MMR platform. Continuously monitors portfolio, scans for opportunities, creates trade proposals, and manages risk. Requires the 'mmr' skill to be loaded first. Use when the user asks to start monitoring, trading autonomously, or running a trading loop.

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and reference files (for example `references/LOOP_CONFIG.md` and `scripts/loop_engine.py`).

It sits in Business, Finance & HR, covering Trading and backtesting and Proposals and quotes. It works with DuckDB. The repository describes itself as: Python based algorithmic trading platform for Interactive Brokers.

When your agent uses it

  • The user asks to start monitoring
  • Trading autonomously
  • Running a trading loop

Example prompts

  • “/mmr-loop-skill”

Requirements

  • Python 3
  • Docker

Workflow steps

11 steps, taken from the first numbered list in SKILL.md.

  1. Proposals, not trades: The loop creates proposals but NEVER auto-executes. You approve or reject.
  2. Position limits: Respects max_positions from position_sizing.yaml. Stops proposing at the limit.
  3. Group budgets: Checks group allocation budgets before proposing. Over-budget = warning, not block.
  4. Gates apply to OPENS only; exits are never refused: The risk gate, trading filter, leverage check, and any approval gate run on…
  5. Gates fail closed on opens (expect brief warm-up refusals after a restart): When a critical input can't be read (daily PnL, account value…
  6. Proposal state machine: Terminal statuses (EXECUTED / REJECTED / FAILED / EXPIRED) are immutable. If approve() fails at the broker (margin…
  7. Scanner fails loudly: ideas() with location= raises on "no results" rather than returning an empty list, so the loop will see a real error…
  8. Signed exposure in risk reports: portfolio_risk() returns net_exposure_pct, long_exposure_pct, short_exposure_pct alongside…
  9. Strategy gauntlet gate ("no hash, no live"): If the loop ever deploys or enables a strategy, an auto_execute strategy is refused without a…
  10. Opt-in approval hardening (default OFF — not on the running stack): Three Phase-2 defenses exist but ship disabled (see…
  11. Context management: Aggressive compaction keeps context at ~12K tokens. Can run indefinitely.

What it can do on your machine

Read from SKILL.md and the folder at commit 5ac9b3d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • docker

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use docker, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mmr Loop Skill loads about 2.6k tokens when it runs, and up to ~3.4k if it reads all its reference files. Until then it costs about 75 tokens; SKILL.md has 1,117 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~2.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.4k

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.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

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.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,117 words (~2,607 tokens).

“This skill turns the MMR trading platform into an autonomous trading agent. It implements a phased state machine that continuously monitors your portfolio, scans for opportunities, and creates trade proposals for your review.”

— opening of SKILL.md by 9600dev, Custom licence
name
mmr-loop-skill
metadata.author
mmr
metadata.version
1.0
metadata.dependencies
mmr-skill

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (scripts, references) in skills/mmr-loop-skill of 9600dev/mmr.

  • SKILL.md
  • references/LOOP_CONFIG.md
  • scripts/loop_engine.py

Open the folder on GitHubat commit 5ac9b3d

Compare with similar skills

Mmr Loop Skill 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.

Mmr Loop Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mmr Loop Skill this skill9600dev/mmr131—~2.6kAutomated safety check: PassCustom licence
DojoNecmttn/ax116—~1.7kAutomated safety check: PassAGPL-3.0
Strategy Pivot Designertradermonty/claude-trading-skills3k1 repos~856Automated safety check: PassMIT
Backtestmarketcalls/vectorbt-backtesting-skills2081 repos~1.1kAutomated safety check: NotesNone
Vectorbt Expertmarketcalls/vectorbt-backtesting-skills208—~3.4kAutomated safety check: NotesNone
Strategy Comparemarketcalls/vectorbt-backtesting-skills2081 repos~595Automated safety check: NotesNone

Similar skills

  • Dojo

    Necmttn/ax

    Surplus-quota training loop over the ax graph - the agent burns the remaining 5h/7d plan-quota window on self-improvement: locking pending verdicts, filling briefs, backtesting routing classes…

    116 GitHub stars~1.7k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Strategy Pivot Designer

    tradermonty/claude-trading-skills

    Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

    3k GitHub starsUsed in 1 repo~856 tokens
    Business, Finance & HRAuto-check passed
  • Backtest

    marketcalls/vectorbt-backtesting-skills

    Quick backtest a strategy on a symbol. An agent skill from marketcalls/vectorbt-backtesting-skills.

    208 GitHub starsUsed in 1 repo~1.1k tokens
    Business, Finance & HRAuto-check: notes
  • Vectorbt Expert

    marketcalls/vectorbt-backtesting-skills

    VectorBT backtesting expert. An agent skill from marketcalls/vectorbt-backtesting-skills.

    208 GitHub stars~3.4k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check: notes
  • Strategy Compare

    marketcalls/vectorbt-backtesting-skills

    Compare multiple strategies or directions (long vs short vs both) on the same symbol.

    208 GitHub starsUsed in 1 repo~595 tokens
    Business, Finance & HRAuto-check: notes
  • Optimize

    marketcalls/vectorbt-backtesting-skills

    Optimize strategy parameters using VectorBT. An agent skill from marketcalls/vectorbt-backtesting-skills.

    208 GitHub stars~758 tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check: notes

More from 9600dev/mmr

  • Mmr Skill

    9600dev/mmr

    Operate the MMR algorithmic trading platform on Interactive Brokers.

    131 GitHub stars~18k tokensUpdated 23 days ago
    Auto-check passed
  • Mmr Verification

    9600dev/mmr

    The MMR safety-verification workflow — how to change trading-critical code without breaking the invariants that keep the book safe.

    131 GitHub stars~2.3k tokensUpdated 23 days ago
    Auto-check passed
  • News

    9600dev/mmr

    Fetch, search, and summarize financial news articles via the local scraper service (~/dev/scraper) at http://127.0.0.1:8089.

    131 GitHub stars~6.1k tokensUpdated 23 days ago
    Auto-check passed

Works with

Questions about Mmr Loop Skill

What does Mmr Loop Skill do?

Autonomous trading loop for the MMR platform. An agent skill from 9600dev/mmr. Mmr Loop Skill is an agent skill from 9600dev/mmr. Autonomous trading loop for the MMR platform.

When should I use Mmr Loop Skill?

Mmr Loop Skill fits situations like: the user asks to start monitoring; trading autonomously; running a trading loop.

How do I install Mmr Loop Skill in Claude Code?

Run `npx skills add 9600dev/mmr --skill mmr-loop-skill -a claude-code`. Or copy the skill folder (skills/mmr-loop-skill in 9600dev/mmr) into .claude/skills/mmr-loop-skill in your project. Claude Code loads it when a task matches its description.

How do I install Mmr Loop Skill in Codex?

Run `npx skills add 9600dev/mmr --skill mmr-loop-skill -a codex`. Or copy the skill folder (skills/mmr-loop-skill in 9600dev/mmr) into .agents/skills/mmr-loop-skill in your project. Codex loads it when a task matches its description.

Can I use Mmr Loop Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add 9600dev/mmr --skill mmr-loop-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mmr-loop-skill, .gemini/skills/mmr-loop-skill, .github/skills/mmr-loop-skill and .opencode/skills/mmr-loop-skill in your project.

What does Mmr Loop Skill need to run?

Going by SKILL.md and its folder, Mmr Loop Skill needs Python for the scripts in its folder and the command-line tools its instructions call (docker). Our summary lists: Python 3; Docker.

Does Mmr Loop Skill access the network?

SKILL.md contains no URLs. Its commands use docker, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Mmr Loop Skill safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. 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.

What licence does Mmr Loop Skill use?

Mmr Loop Skill has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Mmr Loop Skill use?

About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 749 tokens, read only when the agent opens those files.

What are the alternatives to Mmr Loop Skill?

Skills that share tags, products or a category with Mmr Loop Skill: Dojo (Necmttn/ax, 116 stars), Strategy Pivot Designer (tradermonty/claude-trading-skills, 3k stars), Backtest (marketcalls/vectorbt-backtesting-skills, 208 stars) and Vectorbt Expert (marketcalls/vectorbt-backtesting-skills, 208 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mmr Loop Skill?

9600dev (a GitHub user) maintains it in 9600dev/mmr, which has 131 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on September 14, 2026.

Source: 9600dev/mmr on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.