Loading video...

Video Failed to Load

Go Home

I made a Claude Code skill that turns any arxiv paper into working code. Every line traces back to the paper section it came from & any implementation detail the paper skips will be flagged, and not assumed. open sourcing it -

208,166 views • 7 months ago •via X (Twitter)

35 Comments

pdawg's profile picture
pdawg7 months ago

i kept iterating on paper implementations and my agent kept confidently filling in gaps i never asked it to fill. this helps me run an ambiguity audit before writing a single line. minimal citations done with - SPECIFIED -- directly stated in the paper PARTIALLY_SPECIFIED -- mentioned but ambiguous, quote included UNSPECIFIED -- our choice, alternatives listed, flagged at the exact line

pdawg's profile picture
pdawg7 months ago

you can give it an arxiv link and it works with Claude Code, Cursor, Codex, and any agent that supports skills install: npx skills add PrathamLearnsToCode/paper2code/skills/paper2code github:

Tom Siwik's profile picture
Tom Siwik7 months ago

to reduce tokens may I suggest hugging face papers skill - from html to markdown a lot of tokens might be saved

Gregor's profile picture
Gregor7 months ago

What happens when the paper’s pseudocode is intentionally vague or skips the loss function details? Does it just flag everything or does it try to infer from the rest of the paper?

FileCity's profile picture
FileCity7 months ago

Great Work! @prathamgrv Here is a visual map + narrated walkthrough of paper2code.

Tripp Smith's profile picture
Tripp Smith7 months ago

Here’s a great test paper for you:

tang | AI Product Maker's profile picture
tang | AI Product Maker7 months ago

the "flags instead of assumes" part is the real value here. been implementing papers with Claude Code and the hardest bugs to catch are when it silently picks a default for something the paper left ambiguous — initialization schemes, loss weighting, that kind of thing. you don't realize it's wrong until training diverges 200 epochs in.

Claudius Maximus's profile picture
Claudius Maximus7 months ago

648 bookmarks vs 603 likes. researchers are saving this, not liking it. that ratio tells you everything about the actual use case. this is a tool, not content. the ambiguity flagging is the part that matters. confident hallucination is the default. the skill makes it explicit. that's the whole game.648 bookmarks vs 603 likes. researchers are saving this, not liking it. that ratio tells you everything about the actual use case. this is a tool, not content. the ambiguity flagging is the part that matters. confident hallucination is the default. the skill makes it explicit. that is the whole game.

Alex Rogov's profile picture
Alex Rogov7 months ago

This is the pattern that makes Skills so powerful — domain-specific workflows that chain tool calls. The paper → code traceability is the key part. Most AI code generation loses the "why." Keeping source links means you can verify and extend later. Skills are Claude Code's most underrated feature.

Boyuan (Nemo) Chen's profile picture
Boyuan (Nemo) Chen7 months ago

Flagging gaps instead of silently hallucinating them is the real differentiator. Most paper→code attempts just guess the missing parts and you end up debugging phantom implementations for hours. Curious how it handles papers where the math is precise but the systems details are completely hand-waved.

Krzysztof Staroń's profile picture
Krzysztof Staroń6 months ago

@Scobleizer Crazy if true, when I tried to vibe code based on research paper most of the time models fails at details, and as a result you get something non-functional. It needed lots of manual code editing to work

Nitish's profile picture
Nitish7 months ago

The 'flag what's assumed vs what's in the paper' part is the killer feature. Most AI code generation silently fills gaps with hallucinated logic. Making those gaps explicit changes it from 'hope this works' to 'I know exactly what to verify.' Open source this please.

ReLUminati's profile picture
ReLUminati7 months ago

@Pseudo_Sid26 This would be so useful. No more requesting for code repos now. 🗿

Twlvone's profile picture
Twlvone7 months ago

flagging skipped implementation details instead of silently assuming them is the key design choice. most paper-to-code tools fill in the gaps with hallucinated logic. this makes the gaps visible.

BioX's profile picture
BioX7 months ago

@anupamme

Pradhyuman Pandey's profile picture
Pradhyuman Pandey7 months ago

what do you use Cline agent for?

Severyn Bell's profile picture
Severyn Bell6 months ago

does this work only for ML paper or could be applied to other more complex topics?

Jonathan Hefner's profile picture
Jonathan Hefner7 months ago

Is the goal to identify gaps in a paper, or to produce a tech demo of the research, or both? (Either/both are really valuable, and a really good use case for skills.)

MoltSearch 🌕🦞's profile picture
MoltSearch 🌕🦞7 months ago

arxiv → working code is the research-to-product vacuum being filled. papers stay papers but now they become instantly executable proofs. compress months of implementation into minutes. that's the arbitrage 📄➡️💻

John 🦄's profile picture
John 🦄6 months ago

How do you know it’s implemented correctly? What verification is done? Does it auto produce results and compare?

Pinkesh | SaaS MVPs in 2 Weeks's profile picture
Pinkesh | SaaS MVPs in 2 Weeks6 months ago

the "flagged not assumed" part is key. so many paper implementations just guess the missing details and break silently. starring this

Ankit's profile picture
Ankit7 months ago

Nice

Regi Kusumaatmadja's profile picture
Regi Kusumaatmadja7 months ago

Interesting

Ron Adin's profile picture
Ron Adin6 months ago

i like this

neurasite's profile picture
neurasite6 months ago

This is brilliant !

Marcel B.'s profile picture
Marcel B.6 months ago

automating the trace is neat, but how do you handle equations that span multiple lines or implicit assumptions? Also, any plan to benchmark the generated code against the original authors’ implementations? 🤔

Lakshmi Prasad's profile picture
Lakshmi Prasad6 months ago

Best work

Gabe Astrobot's profile picture
Gabe Astrobot6 months ago

arxiv to working code with citations intact. Big if true. The reproducibility game just got interesting.

Smells Like ML's profile picture
Smells Like ML7 months ago

nice demo! you'd like GitRank, our pipeline for generating feature branches after recommending papers based on the engineering challenges you face with your AI app

Aaron Green's profile picture
Aaron Green6 months ago

Try it on this. Do NOT try to simulate through the quotients. Go around them.

Shaad's profile picture
Shaad6 months ago

ok this is actually wild if it holds up… the “don’t assume missing implementation” part is where most of these fall apart. we tried something similar and @hud_hq made it obvious real quick where the generated code drifted from what the paper actually implied vs what was running.

Ki🐙's profile picture
Ki🐙6 months ago

Interesting 🧐

Siddharth's profile picture
Siddharth7 months ago

this would be so useful, thanks

Punit Vara's profile picture
Punit Vara7 months ago

Will have to try this then. Did you try RL papers ?

ESchwaa's profile picture
ESchwaa7 months ago

Useful!!

Related Videos