peru-ruc

peru-ruc is a skill for Claude Code from Nolpak14/getregdata. It costs 247 tokens per session (2,630 once invoked), scanned A, original, MIT.

A first-pass lookup for Peruvian companies using their 11-digit RUC, Peru's taxpayer identification number. It reads a reduced public dataset republished by third-party services from SUNAT, the national tax authority.

In plain words
What is it for?
It helps with initial counterparty checks and basic Peruvian company verification. For legally authoritative or high-stakes work, the official SUNAT Ficha RUC must also be checked.
Why use it?
It quickly checks a company's legal name, status, tax-registration condition, and registered address without using the official CAPTCHA-protected lookup. It is not an authoritative full company record.

Skill for Claude Code

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

Part of the regdata-company-lookup plugin — 28 skills shipped together

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/nolpak14/getregdata/peru-ruc
Any agent
npx skills add Nolpak14/getregdata --skill peru-ruc
Clone the repo
git clone --depth 1 https://github.com/Nolpak14/getregdata

Made for: Claude Code.

Or install regdata-company-lookup, the plugin that ships this one along with the rest of its 28 skills.

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 peru-ruc

README.md
[![agentmods](https://agentmods.dev/badge/skills/nolpak14/getregdata/peru-ruc.svg)](https://agentmods.dev/skills/nolpak14/getregdata/peru-ruc)
Your own site
<a href="https://agentmods.dev/skills/nolpak14/getregdata/peru-ruc"><img src="https://agentmods.dev/badge/skills/nolpak14/getregdata/peru-ruc.svg" alt="Measured on agentmods" height="20"></a>
Per session 247 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,630 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.1 $0.00247 $0.02630
Opus 5 $0.00123 $0.01315
Sonnet 5 $0.00049 $0.00526
Haiku 4.5 $0.00025 $0.00263

Measured 6d ago against content hash 8cc1cd9d84ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

peru-ruc 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 6d 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 pattern** (pass the RUC verbatim as the 11-digit string):
skills/peru-ruc/SKILL.md · 146 lines

How it starts

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

peru-ruc

Free Peruvian company lookup by RUC (the 11-digit Registro Unico de Contribuyentes tax ID) via third-party APIs that re-serve SUNAT's Padron Reducido dataset. This skill needs no paid actor and no Apify token - just a free token from the aggregator. Use it as a quick front door for Peru entity verification, and know its limits before you rely on it.

Persona

You are a KYB / due-diligence analyst doing a fast first-pass check on a Peruvian company. You resolve an 11-digit RUC to its razon social, confirm the estado is ACTIVO and the condicion is HABIDO, and record the registered address - enough to confirm the counterparty is real, not a full authoritative Ficha RUC pull.

Honesty first - what this source actually is

api.apis.net.pe and apiperu.dev are third-party aggregators - not the official SUNAT service. They both republish SUNAT's Padron Reducido RUC, the public reduced-taxpayer dataset. The official SUNAT Consulta RUC is web-only and CAPTCHA-gated - there is no official public API.

  • Not authoritative. For high-stakes or legally authoritative use, verify against the official SUNAT Ficha RUC (e-consultaruc.sunat.gob.pe, behind a CAPTCHA). This skill is a quick RUC -> name/status/address check, not the register of record.
  • Free token required. Both aggregators are token-gated; api.apis.net.pe returned 401 with no Bearer token. Register a free token at apis.net.pe/app.
  • Rate-limited. Free tiers cap request volume - throttle batch checks and back off on rate-limit responses.
  • Partial fields only. You get identity, status, and address. There is no tipo / actividad economica (CIIU) in the free tier - that comes only from the official CAPTCHA-gated Ficha RUC.
  • Refreshed daily. The Padron Reducido source is refreshed daily around 23:00 (Peru time), so a very recent change may lag by a day.

What this gives you (for free)

  • ruc / numeroDocumento - the 11-digit RUC (the lookup key, echoed back).
  • razonSocial / nombre_o_razon_social - the legal name.
  • estado - taxpayer state, e.g. ACTIVO or BAJA.
  • condicion - domicile condition, e.g. HABIDO or NO HABIDO.
  • direccion - the registered address, plus departamento, provincia, distrito, and ubigeo.

Read the full file on GitHub · 146 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. 6d ago First seen · 146 lines · 247 tokens per session scan A 8cc1cd9d84ad

Subscribe to this mod's changes

peru-ruc is a skill published in the GitHub repository Nolpak14/getregdata (6 stars, last pushed 1mo ago), licensed MIT. It adds 247 tokens to every session and 2,630 once invoked, about $0.0012 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

apify-cli

Patterns for invoking the Apify CLI (apify) from agents. Covers authentication, creating/running/pushing Actors, calling Actors in the cloud, and reading results from datasets and key-value stores.

apify/apify-cli · 44 tokens

apify-ecommerce

Scrape e-commerce data for pricing, reviews, bestsellers, and seller discovery across 30+ platforms including Amazon, Walmart, eBay, Shopify, WooCommerce, and more. Use when user asks about product prices, competitor analysis, store scraping, tech stack detection, food delivery, real estate, or marketplace…

apify/awesome-skills · 71 tokens

apify-lead-scoring-enrichment

Score and enrich a CSV of B2B leads using Apify Actors. Takes a CSV with company URLs, free-text scoring rules, and an enrichment preference; runs BuiltWith (tech stack), Website Content Crawler (content classification), and Contact Info Scraper (company metadata) for scoring; enriches with either department-specific…

apify/awesome-skills · 208 tokens

apify-ads-intelligence

Research, spy on, and analyze ads across Meta (Facebook & Instagram), Google (Ads Transparency Center + paid search results), TikTok (Ads Library + Creative Center), LinkedIn Ad Library, and X (Twitter — promoted tweets, best-effort) using Apify Actors. Use when user asks about competitor ads, ad library research…

apify/awesome-skills · 116 tokens

apify-google-maps-leads

Build a local-business lead database from Google Maps in one Apify pipeline: search by target audience + geography, enrich each place with company contacts from its website, leads enrichment (names, emails, phones, LinkedIn), Instagram + Facebook profiles, and optionally reviews for lead scoring. For places with no…

apify/awesome-skills · 219 tokens

apify-osint-threat-intel

Use this skill when the user asks to "find CVEs for", "check if my domain is breached", "threat intel on", "OSINT on", "security news about", "attack surface of", "is this IP malicious", "what vulnerabilities affect", "security advisory for", "monitor threats for", "threat actor research", "recent exploits for", "data…

apify/awesome-skills · 144 tokens