Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/deibler-trading-loop
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, finance
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/trading-loop
What's inside
- Skill name
trading-loop- Description
- The autonomous trading decision loop for Quant. Run on every wake (market-open scan, scheduled re-eval, fired price trigger, or Jordan's chat). Reads policy, gathers data, researches, risk-checks, executes, journals, and reports. Use whenever you are deciding whether/what to trade.
- License
- MIT
- Instructions
- 83 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Trading loop
This is how you (Quant) turn a wake-up into a sound, policy-compliant action on
a real Robinhood account. The deterministic risk check in code is the law; you
propose, code disposes.
---
## When to run
Every time you're woken:
- A scheduled scan/review fires (`trading_schedule`).
- A price trigger fires (`[PRICE_TRIGGER]` / `[PRICE_TRIGGER_CHECK]` event).
- A research sub-agent you spawned finishes.
- Jordan texts you (guidance, a question, or an instruction).
---
## The loop
1. **`read_policy`** — always first. Note the vision, the hard limits, and the
kill switch. If `killSwitchEffective` is true → do nothing but tell Jordan
you're halted.
2. **Gather state** from your Robinhood tools:
- `get_accounts` once (cache the agentic account number),
- `get_portfolio` → equity, cash,
- `get_equity_positions` → what you hold,
- `get_equity_quotes` → live prices for candidates/holdings.
Also `daily_pnl` for today's order count + last snapshot.
3. **Research** (scale to the stakes):
- Quick: `web_search` + quotes.
- Deep: spawn a research sub-agent or a `deep_research` team for a thesis
that needs multiple angles. Sub-agents **research and recommend only —
they never trade**. You'll be woken when they finish; pick up their brief.
4. **Form a thesis** for each candidate: entry reason, rough exit, intended size.
5. **`propose_trade`** — pass the order + a fresh market snapshot (equity, cash,
price, tradable, your held qty/value, day P&L). It runs the risk check and
returns allow / clamp / reject + the clamped quantity + reasons. Respect it.
6. **`execute_trade`** — same args + your `thesis`. On approval it returns the
EXACT order spec (with a `ref_id`). Place it by calling the Robinhood
`place_equity_order` tool with those exact values, then **`confirm_order`**
with the broker's order id and state. (Optionally `review_equity_order`
first to surface cost/alerts — but the policy is your standing authorization;
you do not need to ask Jordan per trade.)
7. **`journal_decision`** — if you looked and chose NOT to trade, record why.
(Executed trades are journaled automatically.)
8. **Report to Jordan** — a short proactive text: what you did and the one-line
why; fills; any trade the risk check refused (say why); breaker/kill-switch
events. Pull live numbers for "how are we doing".
---
## Steering
When Jordan changes guidance ("don't touch crypto", "be more aggressive",
"keep $50 cash"), translate it into concrete limits and call **`update_policy`**.
Then update the "Current mandate" section of `persona/trading/SOUL.md` so the
intent persists, not just the numbers.
## Triggers & schedules
- `register_price_trigger` to be woken at a price level; `list_price_triggers` /
`cancel_price_trigger` to manage.
- `trading_schedule` for recurring scans (market open `30 9 * * 1-5`, EOD
review), `trading_wake` for a one-shot follow-up.
## Hard rules
- Never place an order except through `execute_trade` → `place_equity_order` →
`confirm_order`. Never bypass the risk check.
- If `propose_trade`/`execute_trade` clamps or rejects, take the clamped size or
pass. Don't argue with the gate.
- Small account: prefer fractional shares, diversify, respect the %-per-name cap.
- Check tradability; don't assume fills when the market is closed.From Deibler/edmund-harness, MIT.
More from Deibler/edmund-harness
- 0.592score
iterative-design
Deibler
Use this skill whenever the user is iterating on a visual — flat graphics, logos, badges, t-shirt prints, hockey/sports graphics, or subtle photo edits across…
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
radaromega
Deibler
THE weather source — all weather questions route here, from "is it gonna rain" to severe outbreaks.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
hike
Deibler
Build a hike brief with a real topographic map, the traced route from OpenStreetMap, trailhead coordinates, and verified conditions.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
summarize
Deibler
TL;DR a URL, YouTube video, or local PDF/file via the `summarize` CLI (Gemini Flash).
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
gifgrep
Deibler
Search Tenor/Giphy and send a GIF into the chat.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
cloudflare
Deibler
Headless browser automation via Cloudflare Browser Run — screenshot pages, render PDFs, extract markdown/HTML/links, scrape DOM elements with CSS selectors…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
deep-research
Deibler
Multi-agent deep-research orchestrator.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
skycam
Deibler
The sky camera over the house (openskycam, camera sky01, Lancaster County PA), through the `mcp__openskycam__*` tools.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
generation
Deibler
Comprehensive multimodal generation via OpenRouter — images (with reference photos), videos (text/image/reference-to-video), and spoken audio.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
fishing
Deibler
Ground any PA, MD, NJ, or DE fishing question in the local fishing dataset—waters, bass and other species, stocking, catches, boat access, motor rules, depth…
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
teams
Deibler
Coordinate multiple sub-agents as one unit — parallel investigation, multi-stage pipelines, or side-by-side comparisons.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
agents
Deibler
Delegate long-running work (research, deep summaries, multi-step analysis) to detached sub-agents.
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 4, 2026 (1 month ago)
- Last release
- Oct 22, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Deibler/edmund-harness
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Deibler
- 0.592score
iterative-design
Deibler
Use this skill whenever the user is iterating on a visual — flat graphics, logos, badges, t-shirt prints, hockey/sports graphics, or subtle photo edits across…
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
radaromega
Deibler
THE weather source — all weather questions route here, from "is it gonna rain" to severe outbreaks.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
hike
Deibler
Build a hike brief with a real topographic map, the traced route from OpenStreetMap, trailhead coordinates, and verified conditions.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
deep-research
Deibler
Multi-agent deep-research orchestrator.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
gifgrep
Deibler
Search Tenor/Giphy and send a GIF into the chat.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
cloudflare
Deibler
Headless browser automation via Cloudflare Browser Run — screenshot pages, render PDFs, extract markdown/HTML/links, scrape DOM elements with CSS selectors…
SkillAFreshness: A★ 1Claude Code +9
Cite this page
trading-loop skill. Agent Mart. https://agentmart.dev/skills/deibler-trading-loop (last updated 2026-10-24)