monitor
Skill33 starsChanged 5 months agoMITView on GitHub
Autonomous monitoring loop. Checks open trades against SL/TP levels, closes trades that hit targets, evaluates expired predictions, and generates periodic summaries. Run via cron for full autonomy. Usage: /monitor
18 other projects use a version of this.
Adopted by
Most recently taken up by
- NVIDIA/Model-Optimizertheir own version, first seen Oct 2, 2026
- liutaos/ops-skillstheir own version, first seen Sep 22, 2026
- agentik-os/claude-code-skillstheir own version, first seen Sep 17, 2026
- microsoft/amplifier-bundle-skillstheir own version, first seen Sep 7, 2026
- freemty/labmatetheir own version, first seen Sep 5, 2026
- FPVE-Webdev/claude-skillstheir own version, first seen Aug 17, 2026
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- NVIDIA/Model-Optimizer★ 5.2ksame name
- H-mmer/pentest-agents★ 984same name
- k1p1l0/claude-telegram-supercharged★ 128same name
- no-session/pstack★ 122same name
- rainday/smart-blog-skills★ 35same name
- freemty/labmate★ 25same name
- spotify/ads-agentic-tools★ 18same name
- microsoft/amplifier-bundle-skills★ 12same name
- GabrielOnDelphi/ClaudeCode_TokenVampire★ 9same name
- AnirudhaRamesh/experiment-automation-claude-code-plugin★ 4same name
8 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- dashboard/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- dashboard/CLAUDE.mdCLAUDE.md
- analyzeSkill
- close-tradeSkill
- createSkill
- portfolioSkill
- quickSkill
- setupSkill
- validate-predictionsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 11 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Call get_portfolio_state() from crypto-learning-db first to see which symbols have open positions.
- Distinctive: line 22
Do NOT use the Edit tool."
- Very specific: line 31
If SL or TP was hit, delegate using Task with subagent_type: general-purpose, model: opus:
- Distinctive: line 34
Call close_trade(trade_id='{trade_id}', exit_price={price}, close_reason='{SL/TP} hit at ${level}') from crypto-learning-db.
- Very specific: line 42
If profitable AND the current stop_loss hasn't been optimally trailed, delegate using Task with subagent_type: general-purpose, model: …
- Distinctive: line 47
If you recommend adjusting, call update_trade(trade_id='{trade_id}', stop_loss={new_sl}, notes='your reasoning') from crypto-learning-db.
- Distinctive: line 56
Call query_predictions(trade_id='{trade_id}') from crypto-learning-db to find all predictions
- Distinctive: line 58
Call validate_prediction() with your evaluation for each one
- Distinctive: line 59
Call upsert_pattern() if you identify a named pattern
- Very specific: line 60
Write a post-mortem report to data/reports/ Do NOT use the Edit tool."
- Distinctive: line 68
Read the original prediction text
- Distinctive: line 70
Write a natural language evaluation explaining how close it was and why
- Distinctive: line 71
Call validate_prediction() with your evaluation Do NOT use the Edit tool."
- Very specific: line 75
Check if today is the last day of the month (or within 2 days of month end).
- Very specific: line 76
If yes, delegate using Task with subagent_type: general-purpose, model: opus:
- Distinctive: line 79
Call generate_summary(summary_type='monthly') from crypto-learning-db.
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Monitor - Autonomous Learning Loop
Closes the autonomous loop: check trades, close hits, evaluate predictions, generate summaries.
All agents use subagent_type: general-purpose with explicit model to ensure MCP tool access. Include "Do NOT use the Edit tool" in every prompt.
Workflow
Step 1: Get Current Prices
Delegate using Task with subagent_type: general-purpose, model: haiku:
"You are the market-monitor agent. Get current prices for ALL symbols that have open trades. Call get_portfolio_state() from crypto-learning-db first to see which symbols have open positions. Then use get_exchange_prices(symbol=...) from crypto-exchange MCP to get live prices for each symbol. Return a JSON object like: {"BTC/USDT": 98500, "ETH/USDT": 3200} Do NOT use the Edit tool."
Step 2: Check Open Trades Against SL/TP
Using the prices from Step 1 and the open trades from get_portfolio_state():
For each open trade, check:
- Long trade: Did price drop to or below
stop_loss? Did price rise to or abovetake_profit? - Short trade: Did price rise to or above
stop_loss? Did price drop to or belowtake_profit?
If SL or TP was hit, delegate using Task with subagent_type: general-purpose, model: opus:
"You are the portfolio-manager agent. Close trade {trade_id}. Current price is ${price}. The {SL/TP} at ${level} was hit. Call close_trade(trade_id='{trade_id}', exit_price={price}, close_reason='{SL/TP} hit at ${level}') from crypto-learning-db. Do NOT use the Edit tool."
Step 2b: Trailing Stop Adjustment
For open trades that were NOT closed (still active), check if the trade is profitable:
- Long: current price > entry_price
- Short: current price < entry_price
If profitable AND the current stop_loss hasn't been optimally trailed, delegate using Task with subagent_type: general-purpose, model: sonnet:
"You are the risk-specialist agent. Read agents/risk-specialist.md for context. Trade {trade_id} ({symbol}, {side}) is profitable. Entry: ${entry}, Current: ${price}, SL: ${stop_loss}, TP: ${take_profit}. Analyze whether to trail the stop-loss. Use calculate_volatility(symbol=...) and get_support_resistance(symbol=...) from crypto-technical MCP. If you recommend adjusting, call update_trade(trade_id='{trade_id}', stop_loss={new_sl}, notes='your reasoning') from crypto-learning-db. Rules: only trail in profitable direction, never widen the stop, leave room for normal volatility. Do NOT use the Edit tool."
Step 3: Post-Mortem for Closed Trades
For each trade closed in Step 2, delegate using Task with subagent_type: general-purpose, model: opus:
"You are the learning-agent. Read agents/learning-agent.md for your analysis framework. Trade {trade_id} was just closed ({result}, PnL: {pnl}). Do a full post-mortem:
- Call query_predictions(trade_id='{trade_id}') from crypto-learning-db to find all predictions
- For each pending prediction, evaluate: read the original, compare to what happened, write a detailed NL evaluation
- Call validate_prediction() with your evaluation for each one
- Call upsert_pattern() if you identify a named pattern
- Write a post-mortem report to data/reports/ Do NOT use the Edit tool."
Step 4: Evaluate Expired Predictions
Delegate using Task with subagent_type: general-purpose, model: opus:
"You are the learning-agent. Call find_expired_predictions(current_prices='{prices_json}') from crypto-learning-db using the current prices. For each expired prediction:
- Read the original prediction text
- Compare to the current price / market state
- Write a natural language evaluation explaining how close it was and why
- Call validate_prediction() with your evaluation Do NOT use the Edit tool."
Step 5: Monthly Summary (conditional)
Check if today is the last day of the month (or within 2 days of month end).
If yes, delegate using Task with subagent_type: general-purpose, model: opus:
"You are the learning-agent. Generate a monthly summary. Call generate_summary(summary_type='monthly') from crypto-learning-db. Also check if it's end of quarter — if so, call generate_summary(summary_type='quarterly') too. Do NOT use the Edit tool."
Step 6: Report
Present a summary of what happened:
## Monitor Report
**Open Trades:** X active
**Trades Closed This Run:** X (list with PnL)
**Predictions Evaluated:** X expired validated
**Summary Generated:** Yes/No
### Next Actions
- [Any trades approaching SL/TP levels]
- [Any concerning patterns noticed]Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

