ralph-specum-index

ralph-specum-index is a skill for Codex from tzachbon/smart-ralph. It costs 42 tokens per session (336 once invoked), scanned A, original, MIT.

An indexing tool for an existing codebase, meaning a searchable map of its important code and outside dependencies. It writes deterministic Markdown index files under a specifications folder.

In plain words
What is it for?
Scanning selected code areas and generating or updating an index, component entries, and external-resource entries, with support for scopes, exclusions, quick mode, dry runs, and forced updates.
Why use it?
It makes controllers, services, models, helpers, migrations, and related resources easier for later workflows to find and understand.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex; $skill-name invocation.

Good fit Scanning selected code areas and generating or updating an index, component entries, and external-resource entries, with support for scopes, exclusions, quick mode, dry runs, and forced updates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tzachbon/smart-ralph/ralph-specum-index
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 tzachbon/smart-ralph --skill ralph-specum-index
Clone the repo
git clone --depth 1 https://github.com/tzachbon/smart-ralph

Made for: 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 ralph-specum-index

README.md
[![agentmods](https://agentmods.dev/badge/skills/tzachbon/smart-ralph/ralph-specum-index/github.svg)](https://agentmods.dev/skills/tzachbon/smart-ralph/ralph-specum-index)
Your own site
<a href="https://agentmods.dev/skills/tzachbon/smart-ralph/ralph-specum-index"><img src="https://agentmods.dev/badge/skills/tzachbon/smart-ralph/ralph-specum-index/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.

agentmods 80×15 button for ralph-specum-index

Your own site · 80×15
<a href="https://agentmods.dev/skills/tzachbon/smart-ralph/ralph-specum-index"><img src="https://agentmods.dev/badge/skills/tzachbon/smart-ralph/ralph-specum-index.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 336 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00042 $0.00336
Opus 5 $0.00021 $0.00168
Sonnet 5 $0.00008 $0.00067
Haiku 4.5 $0.00004 $0.00034

Measured 12d ago against content hash 0d177ef3ed82, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

ralph-specum-index 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 12d 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/ralph-specum-codex/skills/ralph-specum-index/SKILL.md · 39 lines

What it actually says

Ralph Specum Index

Use this to generate searchable index specs for an existing codebase.

Contract

  • Index output lives under specs/.index/
  • Use stable Ralph templates for index.md, component specs, and external specs
  • Keep component and external entries deterministic and easy to diff

Action

  1. Parse the user scope such as path, types, excludes, quick mode, dry run, or force.
  2. Scan the requested code areas for controllers, services, models, helpers, migrations, or comparable project structures.
  3. Generate or update:
    • specs/.index/index.md
    • specs/.index/components/*.md
    • specs/.index/external/*.md
  4. Keep outputs deterministic so start, research, and triage can reuse them.
  5. Include external URLs, MCP endpoints, or installed skills only when the user asked for them or they are clearly relevant.
  6. In dry run mode, report what would be created without writing files.

Response Handoff

  • After updating the index, name the files that changed and summarize the index scope briefly.
  • End with exactly one explicit choice prompt:
    • approve current artifact
    • request changes
    • continue to research
  • Treat continue to research as approval of the updated index artifacts.
Files

What ships with it

1 file 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. 12d ago First seen · 39 lines · 42 tokens per session scan A 0d177ef3ed82

Subscribe to this mod's changes

ralph-specum-index is a skill published in the GitHub repository tzachbon/smart-ralph (536 stars, last pushed 2d ago), licensed MIT. It adds 42 tokens to every session and 336 once invoked, about $0.0002 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-08-30.