Skip to content

Yusuke710/code-ripout-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

code_ripout

Extract and distill functionality from a complex GitHub library into a minimal, self-contained implementation. Uses DeepWiki MCP for understanding + GitHub CLI for reading source code.

Inspired by Karpathy's workflow for increasing software malleability — the idea that LLMs can understand source code well enough to extract the essential core from over-engineered libraries.

Context

Libraries often wrap simple core ideas in layers of generalization: plugin registries, config systems, compatibility shims, integration adapters, telemetry, CLI scaffolding, etc. Sometimes you just need the core 20% that does 80% of the work.

This skill automates the workflow:

  1. Understand what the library actually does (via DeepWiki)
  2. Read the actual source code (via gh CLI)
  3. Identify what's essential vs. orchestration overhead
  4. Produce a minimal self-contained file with identical core API
  5. Verify parity with the original

Installation

1. DeepWiki MCP

Provides mcp__deepwiki__ask_question and mcp__deepwiki__read_wiki_structure for querying any GitHub repo.

claude mcp add -s user -t http deepwiki https://mcp.deepwiki.com/mcp

Source: https://docs.devin.ai/work-with-devin/deepwiki-mcp

2. GitHub CLI

Used to read source files directly from repositories.

brew install gh
gh auth login

3. Install the plugin

/plugin marketplace add Yusuke710/code-ripout-skill
/plugin install code_ripout@code-ripout-skill

About

Claude code Skill inspired by Karpathy's workflow for ripping out minimal code from other repo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors