lanfuli/aleabito-serenity-skills / skills/follow-aleabito
follow-aleabito
VerifiedTrack Serenity / @aleabitoreddit on X and turn the feed into (1) a beginner-friendly Chinese iMessage digest with first-principles + Buffett-style judgement, (2) cumulative 60-day ticker mention analytics CSVs for a website, (3) a Xiaohongshu writing brief, and (4) a durable private research map. Trigger on requests like "follow aleabitoreddit / AleaBito / Serenity", "daily Chinese updates from that X account", "60-day mention analytics", "ticker mention count", "写小红书 aleabito", "aleabito 研究地图 / research map", or any request for Chinese commentary derived from @aleabitoreddit posts.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 7.7 KB |
| agents/openai.yaml | config | 403 B |
| references/analysis-framework.md | markdown | 3.6 KB |
| references/analytics.md | markdown | 1.5 KB |
| references/xhs-style.md | markdown | 1.7 KB |
| scripts/analyze-mentions.js | script | 24.9 KB |
| scripts/build-digest-brief.jsexecutable | script | 7.8 KB |
| scripts/build-xhs-brief.js | script | 9.7 KB |
| scripts/fetch-updates.jsexecutable | script | 22.7 KB |
| scripts/mark-seen.jsexecutable | script | 1.6 KB |
| scripts/send-imessage.jsexecutable | script | 3.3 KB |
| scripts/setup-config.jsexecutable | script | 2.3 KB |
| scripts/update-research-map.js | script | 6.6 KB |
references/analytics.md
View on GitHub# Follow AleaBito Analytics Reference
## Goal
Maintain a cumulative local data layer for `@aleabitoreddit` mention analytics. The first 60-day run is only a backfill seed. After that, the dataset grows permanently by appending new tweet/reply/quote events.
## Files
- `aleabito-mentions-events.csv`: event-level source of truth.
- `aleabito-stock-mentions-cumulative.csv`: cumulative ticker leaderboard.
- `aleabito-stock-mentions-daily.csv`: daily ticker counts for charts.
- `aleabito-mentions.meta.json`: status, output paths, page count, and API rate-limit metadata.
## Counting Rules
- `mentioned_posts` counts unique events mentioning a ticker.
- `raw_occurrences` counts cashtag occurrences inside event text.
- Replies count because this account often puts high-signal explanations in replies.
- Retweets are excluded.
- `primary_theme` and `research_priority` are deterministic labels for website filtering, not investment ratings.
## API Cost Rules
- Prefer `--incremental --resume` after the first backfill.
- Use a 24-48 hour overlap window so late or duplicated pages do not cause gaps.
- Use `--max-pages` in tests.
- Use `--rebuild-only` when changing classification logic or output formatting; it rebuilds summary/daily files from the existing events CSV without calling X.
- Use `--state /tmp/some-state.json` in tests so temporary runs do not overwrite the production analytics state.
- Do not rerun a full 60-day backfill unless the event CSV is missing or corrupted.
- If the API fails, keep the previous CSVs and update only `.meta.json` with the error.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |