eod-snapshot
Skill0 starsChanged 5 months agoMITView on GitHub
End-of-day portfolio close-out. Use when the user says "EOD analysis", "end of day", "market close summary", or "how did we close". Pulls final prices, computes day P&L, flags positions near SL/target, updates cash status, and sets tomorrow's setup.
In this repository9 other files it gives its agents.
- crash-protocolSkill
- daily-briefingSkill
- get-startedSkill
- gtt-auditSkill
- import-statementsSkill
- macro-briefSkill
- mf-reviewSkill
- risk-checkSkill
- session-openSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
Write the day's snapshot to portfolio-snapshots/YYYY-MM-DD.json (same schema as session-open Step 4) so tomorrow's runs have a baseline.
- Distinctive: line 34
If any GTT was cancelled today (check cancellation reasons in GTT objects), flag it prominently: positions may be unprotected overnight.
- Distinctive: line 35
Do not extrapolate one day's move into a trend call.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
EOD Snapshot
Post-close (after 3:30 PM IST) portfolio wrap-up. If run before close, state clearly that prices are intraday, not final.
Steps
- Pull
kite:get_holdings,kite:get_gtts,kite:get_marginsfor final prices. - Compute: final day P&L (₹ and %), total portfolio P&L, sector-level winners/losers for the day.
- Flag positions within 3% of an SL or target trigger — these may fire tomorrow.
- Cash % vs 5–10% target; state gap and the standing restoration path if below.
- Quick scan of after-market news: results announced post-close for held stocks, US futures direction.
- Tomorrow's setup: events on calendar (earnings for held stocks, macro releases, expiry), GTTs likely to trigger at open, and whether the cash position supports any planned deployment.
Output
- Day P&L line with timestamp (state "final close" or "intraday as of HH:MM")
- Compact table: top 3 gainers/losers of the day with ₹ P&L
- Trigger-proximity alerts
- Cash status line
- Tomorrow's setup: 2–3 sentences
Snapshot write
Write the day's snapshot to portfolio-snapshots/YYYY-MM-DD.json (same schema as session-open Step 4) so tomorrow's runs have a baseline. Also save the full readout as PortfolioReviews/YYYY-MM-DD-eod.md and append a one-paragraph dated entry to progress.md.
Rules
- Analysis only — no order placement in this skill.
- If any GTT was cancelled today (check cancellation reasons in GTT objects), flag it prominently: positions may be unprotected overnight.
- Do not extrapolate one day's move into a trend call.
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.

