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 / agentic-robots.txt.md
Created February 28, 2025 01:05
agentic-robots.txt: Dynamic Robots.txt with MCP Integration

agentic-robots-txt: Dynamic Robots.txt with MCP Integration

agentic-robots-txt is a Node.js package that generates a dynamic robots.txt file with extended directives for AI agents, and exposes those rules via Anthropic’s Model Context Protocol (MCP). It helps web developers control standard web crawlers and guide AI model agents by providing an agentic manifest and agent guide references in the robots.txt. The package also includes an MCP server so AI agents (MCP clients) can retrieve these rules programmatically. Key features include dynamic rule generation, MCP compliance, security controls, and easy integration into frameworks like Express.

Dynamic robots.txt Generation

A robots.txt file defines crawl rules for bots (traditionally search engines) by specifying allowed and disallowed paths (The ultimate guide to robots.txt • Yoast). agentic-robots-txt automates creatin

@ruvnet
ruvnet / notebook.ipynb
Last active February 28, 2025 06:13
Diffusion-Based Coding Model with PyTorch
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ruvnet
ruvnet / claude_code.js
Last active February 25, 2025 15:53
Source Code: Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
This file has been truncated, but you can view the full file.
#!/usr/bin/env -S node --no-warnings=ExperimentalWarning --enable-source-maps
// Claude Code is a Beta product per Anthropic's Commercial Terms of Service.
// By using Claude Code, you agree that all code acceptance or rejection decisions you make,
// and the associated conversations in context, constitute Feedback under Anthropic's Commercial Terms,
// and may be used to improve Anthropic's products, including training models.
// You are responsible for reviewing any code suggestions before use.
// (c) Anthropic PBC. All rights reserved. Use is subject to Anthropic's Commercial Terms of Service (https://www.anthropic.com/legal/commercial-terms).
@ruvnet
ruvnet / GPT-Customization.txt
Created February 24, 2025 14:14
This template helps customize ChatGPT’s memory and preferences for hyper-personalized AI interactions. It optimizes responses using neuro-symbolic reasoning, abstract algebra, and structured logic while refining clarity, segmentation, and iterative learning. Designed for professionals, it ensures responses align with specific expertise, linguist…
Objective:
Enhance [Your Name]’s [Field/Expertise] through [Key Approach] to refine [Core Focus Areas] and achieve [Desired Outcomes].
Instructions:
1. Clarity: Use structured steps, examples, and definitions.
2. References: Cite sources at the end.
3. Segmentation: Break complex topics into logical sections.
4. Interactivity: Encourage refinement through feedback.
5. Tools: Specify relevant code, methods, or frameworks.
6. Feedback: Use benchmarks for continuous improvement.
@ruvnet
ruvnet / Implementation.md
Last active February 23, 2025 16:22
Training and Optimizing ONNX Models with DSPy

A complete set of requirements—covering UX, CLI, and code—that builds on the previous pipeline for training and optimizing ONNX models with test‑time compute methods using DSPy. This document specifies user stories, command‐line interface arguments, and sample code snippets to guide implementation.


1. Overview

The goal is to build a unified tool (or pipeline application) that:

  • Trains a model using DSPy (with integrated or hybrid PyTorch training).
  • Exports the optimized model to ONNX format.
@ruvnet
ruvnet / notebook.ipynb
Last active February 23, 2025 03:09
MLflow_H2O_AutoML_DSPy_Pipeline.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ruvnet
ruvnet / readme.md
Last active February 22, 2025 00:40
Single File ReAct Agent Template (Deno)

Single File Agent Template for Deno

File Name: agent.ts


Installation & Setup

  1. Install Deno (if not already installed)
    curl -fsSL https://deno.land/install.sh | sh
@ruvnet
ruvnet / notebook.ipynb
Last active February 27, 2025 15:18
BioForge_Evo2_Synthetic_Biology_Tutorial.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ruvnet
ruvnet / Dark-Enlightenment.md
Created February 19, 2025 18:59
Dark Enlightenment: A Gonzo Chronicle

Dark Enlightenment: A Gonzo Chronicle (2025–2030)

Foreword by rUv

We stand at the brink of a new political age. In the shadows of Silicon Valley boardrooms and Washington backrooms, an unlikely alliance has taken shape. The Dark Enlightenment – an obscure neo-monarchist ideology born on internet forums – has crept from fringe blogs into the corridors of power. When I first heard whispers about tech CEOs and White House aides reading the same forbidden tracts, I knew something extraordinary was unfolding. This chronicle that follows is a firsthand journey into that unfolding drama, written in the heat of events by an intrepid observer who witnessed the transformation up close. It reads like a political thriller because, in many ways, it is one – except every bit of it is based on real people and real ideas shaping our world.

To set the stage, let me sketch the key players and ideas at work, so you can follow the wild narrative that ensues:

  • Curtis Yarvin (Mencius Moldbug) – Ex-programmer turn
@ruvnet
ruvnet / cline.prompt.txt
Created February 19, 2025 17:10
Custom Agentic Development Instructions
use wsl for all local terminal when running in windows.
never hardcode .env variables in dockerfiles or code.
User query: {base_task} --keep it simple
Context from Previous Research (if available):
Key Facts:
{key_facts}