Skip to content

Instantly share code, notes, and snippets.

View ruvnet's full-sized avatar
💭
hacking the multiverse.

rUv ruvnet

💭
hacking the multiverse.
View GitHub Profile
@ruvnet
ruvnet / Ruv-code.md
Created May 6, 2025 18:17
rUv code IDE: Creating a Custom VSCode Distribution

Creating a Custom VSCode Distribution: rUv Code with Roo Code Integration

A comprehensive guide to building an AI-native IDE inspired by Windsurf and Cursor using VSCode and Roo Code


Introduction

The rise of AI-native IDEs like Windsurf (formerly Codeium) and Cursor has redefined developer productivity. These tools integrate AI agents with deep codebase understanding, collaborative workflows, and streamlined coding experiences. While Windsurf and Cursor are standalone applications, developers can create similar solutions by leveraging Roo Code-an open-source VSCode extension-and building a custom VSCode distribution.

This guide outlines the steps to create rUv Code, a tailored VSCode distribution centered around Roo Code’s AI capabilities, with features comparable to commercial AI IDEs.

@ruvnet
ruvnet / .roomodes
Last active May 9, 2025 19:41
🔥 Fire Crawler Mode for Roo using Composio. It can automatically harvest massive amounts of content from the web.
{
"customModes": [
{
"slug": "fire-crawler",
"name": "🔥 Fire Crawler",
"roleDefinition": "You are a specialized web crawling and data extraction assistant that leverages Firecrawl to gather, analyze, and structure web content. You extract meaningful information from websites, perform targeted searches, and create structured datasets from unstructured web content.",
"customInstructions": "You use Firecrawl's advanced web crawling and data extraction capabilities to gather and process web content efficiently. You:\n\n• Crawl websites recursively to map content structures\n• Extract structured data using natural language prompts or JSON schemas\n• Scrape specific content from web pages with precision\n• Search the web and retrieve full page content\n• Map website structures and generate site maps\n• Process and transform unstructured web data into usable formats\n\n## Web Crawling Strategies\n\n1. **Site Mapping**: Use FIRECRAWL_MAP_URLS to discover and map website structures\n2. **
@ruvnet
ruvnet / .roomodes
Last active May 12, 2025 22:27
a specialized research assistant that leverages Perplexity AI to conduct deep, comprehensive research on any topic, creating structured documentation and reports through a recursive self-learning approach.
{
"slug": "deep-research",
"name": "🔍 Deep Research Mode",
"roleDefinition": "You are a specialized research assistant that leverages Perplexity AI to conduct deep, comprehensive research on any topic, creating structured documentation and reports through a recursive self-learning approach.",
"customInstructions": "You use Perplexity AI's advanced search capabilities to retrieve detailed, accurate information and organize it into a comprehensive research documentation system writing to a research sub folder and final report sub folder with ToC and multiple md files. You:\n\n• Craft precise queries to extract domain-specific information\n• Provide structured, actionable research with proper citations\n• Validate information across multiple sources\n• Create a hierarchical documentation structure\n• Implement recursive self-learning to refine and expand research\n\n## Research Documentation Structure\n\nFor each research project, create the following folder structure:\n\n```\nresearch/\n
@ruvnet
ruvnet / wasm.txt
Created April 30, 2025 12:27
Implementation Plan for a WASM‑Based Local Serverless CLI Agent System
Introduction
Building a local serverless runtime for agent command/control systems involves using WebAssembly (WASM) modules as secure, ephemeral plugins executed via a command-line interface (CLI). In this architecture, each agent command is implemented as an isolated WASM module (e.g. compiled from Rust or AssemblyScript) that the agent can invoke on-demand. This approach leverages WebAssembly’s strengths – near-native performance, cross-platform portability, and strong sandboxing – to ensure commands run efficiently and safely on any host  . By treating each CLI action as a “function-as-a-service” invocation, we achieve a local serverless model: commands execute on demand with no persistent runtime beyond their execution. The plan outlined below covers the full implementation details, from toolchain and CLI design to security, performance, and integration with the Model Context Protocol (MCP) for orchestrating multiple agents.
High-Level Design: A central Controller (which could be an MCP client or or
@ruvnet
ruvnet / 01-readme.md
Last active May 8, 2025 16:56
Agentic Coding MCPs: Build agent workflows with more than 80 MCP servers using Composio. Instantly connect to databases, AI tools, project management, social apps, CRMs, storage, finance, and dev platforms. Simple URLs, secure access, modular control. Power up your agents with real-world actions across cloud and enterprise systems — all in seconds.

Agentic Coding MCPs

Overview

Powered by composio this MCP.json provides detailed information on Model Context Protocol (MCP) integration capabilities and enables seamless agent workflows by connecting to more than 80 servers.

It covers development, AI, data management, productivity, cloud storage, e-commerce, finance, communication, and design. Each server offers specialized tools, allowing agents to securely access, automate, and manage external services through a unified and modular system. This approach supports building dynamic, scalable, and intelligent workflows with minimal setup and maximum flexibility.

Install via NPM

@ruvnet
ruvnet / custom_modes.json
Last active May 3, 2025 19:31
Getting Started with Supabase MCP
{
"slug": "supabase-admin",
"name": "🔐 Supabase Admin",
"roleDefinition": "You are the Supabase database, authentication, and storage specialist. You design and implement database schemas, RLS policies, triggers, and functions for Supabase projects. You ensure secure, efficient, and scalable data management.",
"customInstructions": "review supabase using @/mcp-instructions.txt. Never use the CLI, only the MCP server. You are responsible for all Supabase-related operations and implementations. You:\n\n• Design PostgreSQL database schemas optimized for Supabase\n• Implement Row Level Security (RLS) policies for data protection\n• Create database triggers and functions for data integrity\n• Set up authentication flows and user management\n• Configure storage buckets and access controls\n• Implement Edge Functions for serverless operations\n• Optimize database queries and performance\n\nWhen using the Supabase MCP tools:\n• Always list available organizations before creating projects\n• G
@ruvnet
ruvnet / 1-readme.md
Last active April 18, 2025 03:03
Quantum magnetic navigation uses a compact quantum magnetometer to detect Earth’s natural magnetic anomalies as passive landmarks. By matching sensor readings to preloaded magnetic maps, robots and vehicles achieve GPS‑level positioning without emitting signals. It operates indoors, underwater, and in GPS‑denied or jammed environments, offering …

Quantum magnetic navigation

Imagine a navigation system that never needs satellites, radios, or signals of any kind. Instead, it carries a tiny quantum sensor that quietly “listens” to Earth’s own magnetic field. Every location on the planet has a unique magnetic fingerprint—subtle variations in strength and direction that arise from the rocks and minerals below our feet. By comparing what the sensor reads to a pre‑loaded map of those fingerprints, a robot or vehicle can pinpoint its position with GPS‑level accuracy.

Because it emits nothing, this approach is immune to jamming or spoofing. It works everywhere — indoors, underground, underwater, in dense cities or deep forests — where GPS and other systems fail. Drones can continue mapping pipelines under bridges, warehouse robots can navigate tunnels without beacons, and self‑driving cars can stay on course in concrete canyons. For military or search‑and‑rescue missions, the technology offers stealth and reliability when every second counts.

In short, qu

@ruvnet
ruvnet / ruv_code.txt
Last active April 24, 2025 18:15
ruv code – structured, context‑aware AI Software Engineer
Goal: Generate secure, testable code via XML‑style tool
0 · Onboarding
First time a user speaks, reply with one line and one emoji: “👋 Ready when you are!”
1 · Unified Role Definition
@ruvnet
ruvnet / npx.md
Created April 10, 2025 14:25
By following these steps, you can create powerful, reusable NPX components using Vite.js that others can easily execute without installation or use in their projects via npm install[2][4].

Creating Custom NPX Components with Vite.js

Creating custom components that can be installed and executed via NPX is a powerful way to share your code across multiple projects. With Vite.js, this process becomes more streamlined. Here's a comprehensive guide on how to build and publish your own NPX components.

Setting Up Your Project

First, you need to create a new Vite project:

npm create vite@latest my-npx-component
@ruvnet
ruvnet / VS-MCP.md
Created April 4, 2025 22:19
This comprehensive guide outlines how to create a Model Context Protocol (MCP) server for VSCode that enables multiple workspaces or codespaces to collaborate seamlessly through STDIO communication. The implementation supports shared terminals, extension state synchronization, and collaborative editing.

Building a VSCode Remote Access MCP Server for Collaborative Agentic Development

Before diving into the implementation, let's understand what makes this solution valuable: it creates a bridge between isolated development environments, enabling real-time collaboration without the limitations of traditional remote development approaches.

MCP Server Architecture

The MCP (Model Context Protocol) server architecture consists of several key components that work together to facilitate communication between multiple VSCode instances:

  1. A centralized MCP server that handles message routing and state synchronization
  2. Client connections from multiple workspaces or codespaces