Serenity Bottleneck Hunter: a Claude and Codex skill for reverse-mapping supply chains
A Claude skill: reverse-map a supply chain to find overlooked upstream bottleneck stocks. Distilled from trader Serenity (@aleabitoreddit)'s public methodology. Not financial advice.
At a glance
- What is it?
- A Python-backed agent skill that turns an investment theme into a five-layer upstream map, nine bottleneck archetypes and a contract-checked HTML report. It is a research workflow, not a screener, and it is honest about where LLM analysis fails.
- Who is it for?
- Adopt it if you already run Claude Code or Codex and you want the theme-to-supply-chain step to be reproducible rather than improvised in a chat window, and if you are willing to read reference/lessons.md before trusting a single verdict. Skip it if you want a screener that ranks tickers by itself, if you trade only US large caps where upstream bottlenecks are already crowded, or if you cannot supply a price key for non-US names.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 57 days ago.
- What is it written in?
- Mainly Python, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- Mrjie7205/serenity-bottleneck-hunter413 ★ · +14
| Repository | 2026-09-21 | 2026-11-25 |
|---|---|---|
| Mrjie7205/serenity-bottleneck-hunter | 399 | 413 |
14 Stars in the last 65 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The problem: theme research converges on the same crowded names
Ask an LLM to name companies exposed to AI data center power and you get the same handful of listed names that every sell-side note already covers. The interesting part of a supply chain is usually one or two layers upstream of the obvious vendor, and that is exactly the part a language model skips, because its prior is built from text volume and the crowded names have the most text.
Serenity Bottleneck Hunter attacks that specific bias. The README frames the goal as being "early to the theme, not chasing crowded names", and the repository is explicit that it is distilled from the publicly shared methodology of an X/Twitter trader, Serenity (@aleabitoreddit). It is aimed at someone who already has a theme in mind and wants a structured way to walk backwards through it, not at someone looking for a list of tickers to buy.
The README also states plainly that it is not financial advice. That disclaimer is doing real work here: the skill produces candidate names, archetype labels and timing notes, and nothing in the repository validates whether the underlying business claim is true.
The mechanism: seven steps, nine archetypes, and a rendered HTML shell
The workflow lives in SKILL.md, described as a seven-step process from theme to candidates, plus two timing frameworks and the output template. Supporting material sits in reference/: methodology.md, supply-chain-and-archetypes.md, a worked example for commercial space, a company description library with a 90-day freshness window, and a ticker ground-truth CSV.
The chain map is five layers deep and rendered as SVG. Bottleneck nodes are chosen by two rules rather than one: a funnel node has in-degree of at least two and out-degree of at most one, drawn with a gold edge; a hub node has in-degree of at least two and out-degree of at least two, drawn with a wine-red edge. The README's reasoning is that hub nodes are the hardest to route around because they are many-to-many. That is a defensible distinction, and it is also the kind of graph rule that produces a bottleneck label from topology alone, with no check on whether the dependency is commercially real.
Candidates land in a leaderboard with a green, yellow or red verdict, a water-level ruler that marks the six-month low, the six-month high and the current price, plus a second axis of valuation against fundamentals (forward P/E trajectory, PEG, earnings growth, relative strength within the sector). The README explains the second axis as a correction to a single-axis reading, which it says can kill a genuine breakout leader by treating mean reversion as momentum.
Rendering is deliberately constrained. scripts/render_report.py clones an approved report shell and fills it with data-driven chain visualization, rulers and the two research sections, so the agent writes only a thin theme spec. scripts/verify_report.py then lints the delivery contract before the report is considered finished.
Installing the skill for Claude Code and Codex
There is no package to install. The repository is the skill, and it is cloned into the skills directory of the agent you use. For Claude Code, the README gives a single clone into the personal skills directory:
# 克隆到个人 skills 目录,立即生效
git clone https://github.com/Mrjie7205/serenity-bottleneck-hunter.git ~/.claude/skills/serenity-bottleneck-hunterAfter that, the README says to ask Claude directly, for example to analyze the AI data center power theme and produce candidate names. For Codex on macOS or Linux, the target directory is different:
git clone https://github.com/Mrjie7205/serenity-bottleneck-hunter.git \
~/.codex/skills/serenity-bottleneck-hunterOn Windows PowerShell the README uses a backtick line continuation and `$HOME`:
git clone https://github.com/Mrjie7205/serenity-bottleneck-hunter.git `
"$HOME\.codex\skills\serenity-bottleneck-hunter"The README notes that after installing you should restart Codex or open a new session, then invoke the skill explicitly, for instance by asking it to analyze a theme with `$serenity-bottleneck-hunter`. Codex reads the workflow from `~/.codex/skills/serenity-bottleneck-hunter/SKILL.md`, and the scripts, reference and tracking directories are used as companion resources.
Price data is optional but consequential. The repository ships a .env.example whose only key is the EODHD one:
EODHD_API_KEY=your_eodhd_key_hereprice.py prefers EODHD when the key is set and falls back to yfinance otherwise. The README is explicit that US tickers work on yfinance, while non-US names (EU, TW, KR and others) typically require EODHD. It also states a hard rule: guessing prices with web search is forbidden. If your theme is mostly non-US, the skill is materially weaker without the key.
What the engineering discipline actually guards against
The distinctive part of this repository is not the archetype list. It is a set of guards, each of which the README ties to a specific past failure, with the full write-ups kept in reference/lessons.md while SKILL.md holds only imperatives and anchor pointers.
The input-trust side covers four failure modes. Exhaustiveness checks build a full set of known players and mark each as covered, private or acquired, because the README says memory-based candidate lists missed names at the scale of a major holding. An ETF audit script pulls theme ETF holdings as a backstop against what the README calls the model's familiarity bias. Ticker verification runs in two directions: ticker_truth.py holds a ground-truth library and verify_tickers.py runs as a git pre-commit hook, and the README says this combination has caught four genuine ticker mix-ups, including a case where one company's price and verdict were attributed to a different company entirely. Company status is searched before any verdict, because the README records a report that still labeled a company private on the day it listed, and another that had been acquired.
The judgment side is about forcing the analysis to argue against itself. Every candidate gets a mandatory red-team section with four questions and a largest kill point, and the README requires the "is it already priced in" question to be answered against real numbers from price.py. Every green verdict must carry a falsifiable condition, at least one of which is machine-readable and written to an invalidation column in forward_picks.csv. Performance is scored as alpha against a theme ETF rather than raw return, with a green-basket versus red-basket internal comparison to cancel out theme beta. Backfilled rows labeled as historical seeds are excluded from all statistics, after the README says a backfill once inflated mean alpha to roughly +90 percent when the real figure was negative.
That last item is the most interesting design decision in the repository. It is a rule that makes the project's own track record look worse, and it exists because the author was burned by the alternative.
Where the skill breaks down
The largest limitation is that the skill has no independent view of reality. It reads prices, momentum, ETF holdings and a company description library, and it structures an argument. Whether the argument is right depends on the model and on the sources the model consults, and the repository's own lesson archive is a list of times that went wrong. The ticker ground-truth library protects against identity mix-ups, not against a wrong thesis.
Non-US coverage is a second hard boundary. Without EODHD_API_KEY, non-US tickers are not reliably priced, and the README says so directly. A theme built on Taiwanese or Korean upstream suppliers is therefore out of reach for a keyless setup, and the fallback is not a degraded version of the same answer, it is a missing answer.
The valuation layer has its own fragility. The README records a case where a wrong forward figure from yfinance flipped a verdict to red, and adding akshare for A-share data corrected it to yellow. Two sources plus a sanity layer is better than one, but it is still a patch on data quality rather than a guarantee, and the project does not claim otherwise.
Finally, the output is a single self-contained HTML file. That is convenient for reading and awkward for anything programmatic. If you want to feed candidates into a portfolio system, forward_picks.csv is the interface, not the report.
It is also the wrong tool if you want a screener. Nothing here ranks the whole market. You bring the theme, and the skill walks it backwards.
How it differs from a plain chat prompt or a screening tool
The obvious alternative is to open Claude or Codex and ask the same question with no skill installed. The difference is not the model, it is the scaffolding. A bare prompt has no exhaustiveness audit, no ticker ground-truth check, no pre-commit hook, no delivery linter, and no dated record of what was claimed. It also has no mechanism to stop the model from writing a report that looks complete but is missing sections, which is precisely what verify_report.py is built to catch.
A conventional equity screener sits at the other end. It filters on numeric fields across a universe and returns rows; it does not reason about which supplier is hard to route around, and it has no concept of a bottleneck archetype. The two are complementary rather than competing. A screener gives you breadth and clean data; this skill gives you a structured argument about a specific chain, with the argument's weak points written down.
Compared with a generic research checklist, the difference is enforcement. A checklist is a document you may or may not follow. Here the checks are scripts, a git hook and a linter, and the README says the linter blocks delivery until failures are fixed.
Maintenance, licence and upgrade cost
The repository is not archived, and the last push was on 2026-07-06, which is also the date of the v0.1.0 initial public release. There is one release and no version history beyond it, so upgrade cost is currently trivial: you pull the repository and the skill is whatever main contains.
That also means there is no changelog, no migration guide and no documented rollback path, because the README does not describe one. If a change to SKILL.md or to the renderer alters report output, the way to undo it is to check out an earlier commit yourself. Nothing in the repository automates that.
The licence is MIT, which permits commercial use and modification. Two practical consequences follow without any legal advice: the disclaimer that the project is not financial advice travels with the code, and if you fork it and change the methodology, the MIT terms do not require you to publish your changes, so the lessons archive you rely on can diverge from upstream silently. The repository also ships a .env.example and a .gitignore, and the example file warns against committing a real .env, which matters because the only secret in play is the EODHD key.
Editorial conclusion
Adopt it if you already run Claude Code or Codex and you want the theme-to-supply-chain step to be reproducible rather than improvised in a chat window, and if you are willing to read reference/lessons.md before trusting a single verdict. Skip it if you want a screener that ranks tickers by itself, if you trade only US large caps where upstream bottlenecks are already crowded, or if you cannot supply a price key for non-US names. Before you rely on any output, run scripts/verify_report.py on the report and confirm that forward_picks.csv gained a dated row with a non-empty invalidation column, because a report that fails that contract is the failure mode the project was built to catch.
Frequently asked questions
Who is Serenity, the investor behind this skill?
The README identifies Serenity as an X/Twitter trader with the handle @aleabitoreddit, and says the skill is distilled from that trader's publicly shared supply-chain bottleneck methodology. The repository does not contain a biography or any verified track record for that account.
Who is Serenity?
In this repository, Serenity refers to the X/Twitter trader @aleabitoreddit whose publicly shared bottleneck-hunting method the skill reproduces. The README names no other person or entity by that name.
Is there a stock tracker for Serenity stock?
No. Serenity Bottleneck Hunter is not a tracker for a stock called Serenity. It is a Claude and Codex skill that takes an investment theme, reverse-maps the supply chain, and records candidates with dated verdicts in tracking/forward_picks.csv for later scoring.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/mrjie7205-serenity-bottleneck-hunter)Star history chart for your README
[](https://hysenlabs.com/projects/mrjie7205-serenity-bottleneck-hunter)Was this useful?