revibe

revibe is a skill for Claude Code, Codex from selvatuple/revibe-mcp. It costs 36 tokens per session (851 once invoked), scanned A, original, MIT.

A codebase-analysis skill that examines architecture, file roles, design patterns, execution flows, and system-design decisions.

In plain words
What is it for?
It is for analyzing the current project or a GitHub repository and saving an agent_context.json file with reusable project knowledge.
Why use it?
It helps an agent understand an unfamiliar project before making changes or answering technical questions.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/selvatuple/revibe-mcp/claude-code
Any agent
npx skills add selvatuple/revibe-mcp --skill claude-code
Clone the repo
git clone --depth 1 https://github.com/selvatuple/revibe-mcp

Made for: Claude Code, Codex.

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 revibe

README.md
[![agentmods](https://agentmods.dev/badge/skills/selvatuple/revibe-mcp/claude-code.svg)](https://agentmods.dev/skills/selvatuple/revibe-mcp/claude-code)
Your own site
<a href="https://agentmods.dev/skills/selvatuple/revibe-mcp/claude-code"><img src="https://agentmods.dev/badge/skills/selvatuple/revibe-mcp/claude-code.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 851 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original 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 $0.00036 $0.00851
Opus 5 $0.00018 $0.00426
Sonnet 5 $0.00007 $0.00170
Haiku 4.5 $0.00004 $0.00085

Measured 3d ago against content hash e4560c557511, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

revibe scanned grade A with 1 finding 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 3d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST "https://app-backend.revibe.codes/api/v1/analyze" \
skills/claude-code/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Revibe — Codebase Analysis

Analyze a codebase to understand its architecture, file roles, design patterns, execution flows, and system design decisions. Returns structured insights and saves agent_context.json for persistent codebase understanding.

Instructions

1. Determine the target

  • If $ARGUMENTS contains a GitHub URL or owner/repo shorthand, use that
  • If $ARGUMENTS is empty, detect from the current directory:
    git remote get-url origin 2>/dev/null
    
    Convert SSH to HTTPS if needed ([email protected]:owner/repo.githttps://github.com/owner/repo)
  • If not in a git repo and no URL provided, ask the user

2. Check for API key

The user needs a REVIBE_API_KEY environment variable. Check if it's set:

echo "${REVIBE_API_KEY:-not_set}"

If not set, tell the user:

You need a Revibe API key. Sign up free at https://app.revibe.codes, then go to Settings → API Keys to generate one. Then set it: export REVIBE_API_KEY=rk_live_your_key_here

3. Submit for analysis

curl -s -X POST "https://app-backend.revibe.codes/api/v1/analyze" \
  -H "Content-Type: application/json" \
  -H "X-Revibe-Key: ${REVIBE_API_KEY}" \
  -d "{\"github_url\": \"GITHUB_URL_HERE\"}"

If status is "completed", skip to step 5.

4. Poll for completion

If status is "processing", poll every 10 seconds (max 3 minutes):

curl -s "https://app-backend.revibe.codes/api/v1/analysis/${JOB_ID}/status" \
  -H "X-Revibe-Key: ${REVIBE_API_KEY}"

Show progress to the user as each step completes.

5. Show summary

Fetch the summary:

curl -s "https://app-backend.revibe.codes/api/v1/analysis/${JOB_ID}/summary" \
  -H "X-Revibe-Key: ${REVIBE_API_KEY}"

Display it as a formatted summary card:

Revibe Analysis: {name}

Architecture: {architecture_pattern}
Language:     {language}
Size:         {total_files} files
Entry point:  {entry_point}

Key Modules:
  {name} — {description} ({loc} LOC)
  ...

Patterns: {patterns}
Database: {type}, {tables} tables

Sections available: {sections_available}
Full analysis: {project_url}

Read the full file on GitHub · 110 lines

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. 3d ago First seen · 110 lines · 36 tokens per session scan A e4560c557511

Subscribe to this mod's changes

revibe is a skill published in the GitHub repository selvatuple/revibe-mcp (0 stars, last pushed 5mo ago), licensed MIT. It adds 36 tokens to every session and 851 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

forensic-deepdive-extract

Run a full forensic deep-dive on an unfamiliar codebase, producing five durable markdown artifacts (MAP.md, HOTPATHS.md, ARCHAEOLOGY.md, MENTALMODEL.md, AGENTBRIEF.md). Use when the user says "analyze this repo", "onboard me to X", "I just joined a new team", "deep-dive this codebase", or clones/opens a repo they…

Dhevenddra/forensic-deepdive · 131 tokens

forensic-deepdive-query

Answer questions about the current repo by querying its existing forensic-deepdive artifacts (MAP.md, HOTPATHS.md, ARCHAEOLOGY.md, MENTALMODEL.md, AGENTBRIEF.md). Use when the user asks "where does X live", "who owns Y", "how did Z evolve", "what should I touch to add a new W" — AND the repo already has these…

Dhevenddra/forensic-deepdive · 119 tokens

forensic-deepdive-update

Incrementally refresh forensic-deepdive artifacts after the codebase has changed. Use when MAP.md or HOTPATHS.md is stale (>7 days or >50 commits old), or after a significant refactor when the user wants artifacts to reflect reality. Do NOT use for first-time analysis (use forensic-deepdive-extract) or simple lookups…

Dhevenddra/forensic-deepdive · 89 tokens

codebase-impact-analysis

Predict the blast radius before changing code. Use when the user proposes "rename X", "remove Y", "change the signature of Z", "deprecate this function", "what depends on this", "safe to delete". If MCP server is running, calls impact(symbol, direction='upstream') and context(symbol). Otherwise reads…

Dhevenddra/forensic-deepdive · 121 tokens

codebase-onboarding

Brief a new engineer on this codebase. Use when the user says "I just joined this team", "onboard me to this repo", "I'm new here — what should I know", "give me the first-day brief". Reads all five artifacts in order (docs/codebase/AGENTBRIEF.md → MENTALMODEL → MAP → HOTPATHS → ARCHAEOLOGY) and surfaces ownership /…

Dhevenddra/forensic-deepdive · 139 tokens

codebase-refactoring

Run a refactor with awareness of coupling and co-change patterns. Use when the user says "refactor X", "extract method", "split this class", "consolidate duplicated logic", "move this to its own module". Reads docs/codebase/AGENTBRIEF.md coupling rules and docs/codebase/HOTPATHS.md co-change clusters; calls MCP…

Dhevenddra/forensic-deepdive · 122 tokens