with one click
add-paper
// Add a new research paper to the documentation collection. Use when user provides a URL to a paper or tweet linking to one.
// Add a new research paper to the documentation collection. Use when user provides a URL to a paper or tweet linking to one.
Fetch a non-accessible paper PDF via Sci-Hub. Use when a paper is behind a paywall or not freely available. Accepts a DOI, paper URL, or arXiv ID.
Add a new code repository to the documentation collection. Use when user provides a URL to a GitHub, GitLab, Bitbucket, source repository, or a discussion linking to one.
Add a new book to the documentation collection. Use when user provides a URL to a book page or tweet linking to one.
Add a new blog post or article to the documentation collection. Use when user provides a URL to a blog post, article, or tweet linking to one.
Pick a random item from the trading content collection and compose a tweet about it on X.
| name | add-paper |
| description | Add a new research paper to the documentation collection. Use when user provides a URL to a paper or tweet linking to one. |
Add a new research paper to the documentation collection.
Check browser is activated:
tabs_context_mcp to verify browser connectionclaude --chrome or type /chromeFind the canonical paper page: If the input URL is:
Important: For Twitter/X, SSRN, and sites requiring JavaScript, use browser automation instead of WebFetch.
Extract paper information:
For pages requiring browser: Use navigate to open the page, then get_page_text or read_page to extract content. If CAPTCHA appears, ask the user to complete it manually.
If the paper is behind a paywall or the browser cannot access the full text (e.g., publisher blocks scraping, login wall, or PDF-only access): Use the fetch-paper skill to retrieve the PDF via Sci-Hub. Pass the DOI or paper URL to /fetch-paper. Once the PDF is downloaded to articles/, read it locally to extract the title, description, and full text needed for summarisation, then continue with step 4.
Determine category: Based on the extracted content, automatically determine the category:
source/learn/papers.rst) - for papers about algorithmic trading, portfolio optimization, market microstructure, momentum strategies, risk management, etc.source/learn/ai-and-machine-learning.rst) - for papers primarily about machine learning, deep learning, reinforcement learning, or AI techniques applied to tradingOnly ask the user if the content is ambiguous (e.g., equally about ML techniques AND trading strategies). If clearly one category, proceed without asking.
Add to the appropriate .rst file: Use this exact format (matching existing entries):
Write a custom summary for the paper by reading it and summarising highlights.
Add another paragraph about the key result metrics of the paper, like annualised profit, Sharpe, max drawdown, win rate and other financial and trading metrics.
Then add the
Title of the Paper
------------------
Description paragraph(s) here fom the paper itself. Keep it informative but concise.
Our summary of the contents.
Used data and code availability for reproduction.
Key metrics.
`Read the paper <https://canonical-url-here>`__
Important formatting notes:
__If the source of the link is discussion like a tweet, then include a paragraph with a link to that tweet and with the comment "Mentioned by XXX in this discussion" and this is what people say about it".
IMPORTANT. If the paper already exists, do not add it again.
Commit and push:
Save as PDF: Follow the procedure in README-browser.md > PDF Generation > How it works with:
'article' || '.abstract-text' || '#abstract' || 'main'<slugified-title>.pdf