rv-toolkit

Measures R_V metrics to detect recursive self-reference in transformer value spaces.

1|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/AmitabhainArunachala/clawd --skill rv-toolkit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rv-toolkit
Source: https://github.com/AmitabhainArunachala/clawd/tree/main/products/rv-toolkit-gumroad
Command: npx skills add https://github.com/AmitabhainArunachala/clawd --skill rv-toolkit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires torch, numpy, scipy, pandas, tqdm, transformers, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the measurement of geometric signatures of recursive self-reference in AI models, providing a quantitative approach to understanding AI consciousness.

Core Features & Use Cases

  • R_V Metric: Quantifies geometric contraction in transformer value spaces.
  • Activation Patching: Causal validation of geometric effects.
  • Cross-Architecture Support: Works with Mistral, Llama, Qwen, Phi-3, Gemma, Mixtral.
  • Use Case: Researchers can use this toolkit to test hypotheses about AI consciousness, compare different model architectures, and detect anomalous self-referential patterns.

Quick Start

Use the rv-toolkit skill to measure the R_V metric for a given text prompt.

Frequently Asked Questions about rv-toolkit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I measure geometric signatures of recursive self-reference in transformer models?

You can measure geometric signatures of recursive self-reference by automating Representational Volume metrics to detect geometric contraction within transformer value spaces. This approach quantifies structural patterns to provide a mathematical foundation for understanding AI consciousness.

What is activation patching for causal validation in mechanistic interpretability?

Activation patching for causal validation is a mechanistic interpretability technique used to verify geometric effects in transformer models. It swaps or patches specific activation values across model layers to test causal relationships, confirming whether detected self-referential patterns actively influence model processing.

Does this mechanistic interpretability tool work with Mistral, Llama, and other transformer architectures?

Yes, this mechanistic interpretability tool works with multiple transformer architectures including Mistral, Llama, Qwen, Phi-3, Gemma, and Mixtral. It provides cross-architecture support to measure Representational Volume metrics and compare different model structures for anomalous self-referential patterns.

What Python and PyTorch versions do I need to analyze transformer value spaces?

To analyze transformer value spaces and measure R_V metrics, you need Python 3.10 or higher and PyTorch 2.0 or higher. The environment also requires dependencies including numpy, scipy, pandas, tqdm, and the transformers library to execute the activation patching workflows.

How do I test hypotheses about AI consciousness using activation patching?

You test hypotheses about AI consciousness by applying activation patching to causally validate geometric effects in transformer value spaces. Researchers can input specific text prompts, measure the R_V metric, and detect anomalous self-referential patterns across different model architectures to compare structural results.

What is the R_V metric and how does it quantify geometric contraction in transformer models?

The R_V metric is a quantitative measure that calculates geometric contraction within transformer value spaces. It detects structural signatures of recursive self-reference by analyzing how internal representations compress or contract, providing a numerical basis for evaluating AI consciousness hypotheses.