peru-ruc

peru-ruc is a skill for Claude Code from Nolpak14/getregdata. It costs 247 tokens per session (2,666 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

Good fit 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.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nolpak14/getregdata/peru-ruc
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 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/github.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/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 peru-ruc

Your own site · 80×15
<a href="https://agentmods.dev/skills/nolpak14/getregdata/peru-ruc"><img src="https://agentmods.dev/badge/skills/nolpak14/getregdata/peru-ruc.svg" alt="Reviewed on agentmods" width="80" 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,666 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.02666
Opus 5.5 $0.00099 $0.01066
Sonnet 5.5 $0.00049 $0.00533
Haiku 4.5 $0.00025 $0.00267

Measured 24d ago against content hash b3b3a94d3095, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 24d 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 · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 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 · 150 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. 24d ago Changed · +4 lines b3b3a94d3095
  2. 1mo 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 today), licensed MIT. It adds 247 tokens to every session and 2,666 once invoked, about $0.0010 per session on Opus 5.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

web-scraping

This skill activates for web scraping and Actor development. It proactively discovers APIs via traffic interception, recommends optimal strategy (traffic interception/sitemap/API/DOM scraping/hybrid), and implements iteratively. For production, it guides TypeScript Actor creation via Apify CLI.

yfe404/web-scraper · 57 tokens

anti-bot-scraping

Use when a site blocks your scraper and you need to get past it — 403 Forbidden on the first request, JS challenges, CAPTCHAs, Cloudflare Turnstile, DataDome, Akamai, PerimeterX, "Just a moment...", access denied, IP bans, or an empty/skeleton page where data should be. Covers diagnosing transient failures vs real…

thirdwatch-dev/scraping-skills · 216 tokens

apify-actor-builder

Use when you want to package a web scraper as a deployable, monetizable Apify Actor in Python — set up the directory structure, choose a runtime pattern (HTTP / impit / Playwright / Camoufox), write the input/output/dataset schemas, deploy with the apify CLI, and configure pay-per-event pricing. Triggers on "build an…

thirdwatch-dev/scraping-skills · 122 tokens

job-market-scraping

Use when scraping the job market — job listings, salaries, company ratings, or candidate/profile sourcing — from LinkedIn, Indeed, Glassdoor, Naukri, Google Jobs, RemoteOK, Wellfound, Monster, ZipRecruiter, Reed, Adzuna, Upwork, CutShort, or AmbitionBox. Covers building a job aggregator, salary benchmarking…

thirdwatch-dev/scraping-skills · 132 tokens

social-media-content-scraping

Use when you need to scrape social media or content platforms — posts, engagement metrics, profiles, videos, ads, or transcripts — from Twitter/X, Instagram, TikTok, Reddit, LinkedIn, Pinterest, YouTube, Facebook Ad Library, or IMDb. Covers social listening, influencer research, content and trend analysis, ad-creative…

thirdwatch-dev/scraping-skills · 130 tokens

web-scraping-playbook

Use when starting any web scraping or structured-data-extraction task and you need to decide HOW to get the data — whether to call an API, run a ready-made scraper, or build a custom one. Covers the cost-first technique ladder (plain HTTP → TLS fingerprint spoof → stealth browser → full browser), the build-vs-buy…

thirdwatch-dev/scraping-skills · 126 tokens