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.
npx skills add vinnie357/claude-skills --skill riggit clone --depth 1 https://github.com/vinnie357/claude-skillsWrote 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.
[](https://agentmods.dev/skills/vinnie357/claude-skills/rig)<a href="https://agentmods.dev/skills/vinnie357/claude-skills/rig"><img src="https://agentmods.dev/badge/skills/vinnie357/claude-skills/rig/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/vinnie357/claude-skills/rig"><img src="https://agentmods.dev/badge/skills/vinnie357/claude-skills/rig.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00110 | $0.01287 |
| Opus 5.5 | $0.00044 | $0.00515 |
| Sonnet 5.5 | $0.00022 | $0.00257 |
| Haiku 4.5 | $0.00011 | $0.00129 |
Grade A, and why
rig 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rig
Rig (crate rig-core) is a Rust library for building LLM-powered applications: provider
clients, agents with tools, structured extractors, RAG pipelines, and streaming completions.
This skill covers rig-core 0.40.0, workspace edition 2024, repo-pinned toolchain 1.94.0.
Setup
cargo add rig-core
Feature flags relevant to agent work:
derive— enables therig-derivemacros (schema derivation for tool/extractor types)rmcp— enables MCP (Model Context Protocol) tool integration via thermcpcrate
[dependencies]
rig-core = { version = "0.40", features = ["rmcp"] }
derive and reqwest/rustls ship in rig-core's default feature set; add rmcp explicitly
for MCP tools.
AgentBuilder quickstart
Every provider client exposes .agent(model), returning an AgentBuilder:
use rig_core::prelude::*;
use rig_core::providers::anthropic;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let client = anthropic::Client::from_env()?;
let agent = client
.agent(anthropic::completion::CLAUDE_SONNET_4_6)
.preamble("Answer concisely.")
.temperature(0.0)
.build();
let answer = agent.prompt("What is Rig?").await?;
println!("{answer}");
Ok(())
}
from_env() reads provider credentials from environment variables — no API key touches
application code. .agent() takes impl Into<String> for the model argument: a provider
module constant (anthropic::completion::CLAUDE_SONNET_4_6) or a raw string both work. See
references/providers.md for the constants available per provider and the env-var contract
each from_env() reads.
Hybrid multi-provider harness
A single Rust process commonly needs several models at once — a cheap model for extraction,
a mid-tier model for the main loop, a strong model for review, one of them local. Rig
provides the primitives (clients, AgentBuilder, the CompletionModel trait) — it does not
ship a built-in multi-tier harness type. The tier-selection pattern in
references/providers.md is guidance built on those primitives, not a first-party rig
recipe.
What ships with it
5 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.
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.
- 1mo ago First seen · 121 lines · 110 tokens per session scan A 2239d623ec21
rig is a skill published in the GitHub repository vinnie357/claude-skills (27 stars, last pushed 18d ago), licensed MIT. It adds 110 tokens to every session and 1,287 once invoked, about $0.0004 per session on Opus 5.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-04.
Other skills, from other repositories
golem-add-llm-rust
Adds provider-backed AI capabilities to a Rust Golem agent. Use for LLMs, embeddings, search, vector or graph databases, speech, video, or code execution.
ax-rust-signature
Use when writing Rust code with axllm for string signatures, field descriptors, JSON schema output, validation, and typed tool argument shapes.
ax-rust-llm
Use when writing Rust code with axllm for using the generated Ax package, factory functions, package docs, examples, and API reference.
azure-search-documents-ts
Build search applications using Azure AI Search SDK for JavaScript (@azure/search-documents). Use when creating/managing indexes, implementing vector/hybrid search, semantic ranking, or building ag...
tree-sitter-language-pack-chunking-for-llms
Use when the user wants to split source code into chunks for an LLM context window without breaking syntax mid-construct. Covers ts-pack process --chunk-size, why syntax-aware splits beat fixed-byte splits, picking a size, and the chunk JSON shape.
crate-structure
Map of the html-to-markdown workspace — the seven crates/ (core, cli, ffi, py, node, php, wasm) with the unsafecode forbid/override rule, the out-of-workspace language packages under packages/, and the primary convert() API with its ConversionResult shape, feature flags, and dual parser. Load when navigating…