rwkv-architecture

rwkv-architecture is a skill for Claude Code from OpenLAIR/dr-claw-plugin-cc. It costs 72 tokens per session (1,990 once invoked), scanned A, original, no licence file.

A guide to RWKV, a language-model architecture that combines ideas from recurrent neural networks and Transformers. It can process text in linear time and generate it sequentially without a Transformer key-value cache.

In plain words
What is it for?
Use it to understand or work with RWKV models, including RWKV-7 and models with up to 14 billion parameters.
Why use it?
It addresses the growing inference cost and memory use that can come with longer sequences in Transformer models. It allows training in parallel like GPT while generating text step by step like an RNN.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dr-claw plugin — 140 skills, 4 commands, 1 hook shipped together

Good fit Use it to understand or work with RWKV models, including RWKV-7 and models with up to 14 billion parameters.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openlair/dr-claw-plugin-cc/rwkv
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OpenLAIR/dr-claw-plugin-cc --skill rwkv
Clone the repo
git clone --depth 1 https://github.com/OpenLAIR/dr-claw-plugin-cc

Made for: Claude Code.

Or install dr-claw, the plugin that ships this one along with the rest of its 140 skills, 4 commands, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rwkv-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/openlair/dr-claw-plugin-cc/rwkv.svg)](https://agentmods.dev/skills/openlair/dr-claw-plugin-cc/rwkv)
Your own site
<a href="https://agentmods.dev/skills/openlair/dr-claw-plugin-cc/rwkv"><img src="https://agentmods.dev/badge/skills/openlair/dr-claw-plugin-cc/rwkv.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,990 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.01990
Opus 5 $0.00036 $0.00995
Sonnet 5 $0.00014 $0.00398
Haiku 4.5 $0.00007 $0.00199

Measured 5d ago against content hash 17fc974b3f3b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

rwkv-architecture scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dr-claw/skills/model-architecture/rwkv/SKILL.md · 261 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 261 lines · 72 tokens per session scan A 17fc974b3f3b

Subscribe to this mod's changes

rwkv-architecture is a skill published in the GitHub repository OpenLAIR/dr-claw-plugin-cc (5 stars, last pushed 3mo ago), with no licence file. It adds 72 tokens to every session and 1,990 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

rwkv-architecture

RNN+Transformer hybrid with O(n) inference. Linear time, infinite context, no KV cache. Train like GPT (parallel), infer like RNN (sequential). Linux Foundation AI project. Production at Windows, Office, NeMo. RWKV-7 (March 2025). Models up to 14B parameters.

davila7/claude-code-templates · 72 tokens

rwkv-architecture

RNN+Transformer hybrid with O(n) inference. Linear time, infinite context, no KV cache. Train like GPT (parallel), infer like RNN (sequential). Linux Foundation AI project. Production at Windows, Office, NeMo. RWKV-7 (March 2025). Models up to 14B parameters.

OpenLAIR/dr-claw · 72 tokens

rwkv-architecture

RNN+Transformer hybrid with O(n) inference. Linear time, infinite context, no KV cache. Train like GPT (parallel), infer like RNN (sequential). Linux Foundation AI project. Production at Windows, Office, NeMo. RWKV-7 (March 2025). Models up to 14B parameters.

Orchestra-Research/AI-Research-SKILLs · 72 tokens

rwkv-architecture

RNN+Transformer hybrid with O(n) inference. Linear time, infinite context, no KV cache. Train like GPT (parallel), infer like RNN (sequential). Linux Foundation AI project. Production at Windows, Office, NeMo. RWKV-7 (March 2025). Models up to 14B parameters.

liortesta/ClawdAgent · 72 tokens

rwkv-architecture

RNN+Transformer hybrid with O(n) inference. Linear time, infinite context, no KV cache. Train like GPT (parallel), infer like RNN (sequential). Linux Foundation AI project. Production at Windows, Office, NeMo. RWKV-7 (March 2025). Models up to 14B parameters.

ihatesea69/HieuNghi-AI-Skills · 72 tokens

mamba-architecture

State-space model with O(n) complexity vs Transformers' O(n²). 5× faster inference, million-token sequences, no KV cache. Selective SSM with hardware-aware design. Mamba-1 (dstate=16) and Mamba-2 (dstate=128, multi-head). Models 130M-2.8B on HuggingFace.

davila7/claude-code-templates · 81 tokens