nfeio-node-sdk

nfeio-node-sdk is a skill for Claude Code, Codex from nfe/client-nodejs. It costs 264 tokens per session (6,096 once invoked), scanned A, original, MIT.

A Node.js integration guide for NFE.io, a Brazilian electronic-invoice and fiscal-document service. It covers terms and systems such as NF-e, NFS-e, CT-e, CF-e, CFe-SAT, and Brazilian taxpayer identifiers.

In plain words
What is it for?
Use it when code imports the nfe-io package or uses NfeClient, or when working with Brazilian invoices, fiscal documents, CNPJ or CPF lookups, and related NFE.io services.
Why use it?
It helps developers connect applications to Brazil’s electronic invoicing and related fiscal-document systems without having to know the local terminology first.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when code imports the nfe-io package or uses NfeClient, or when working with Brazilian invoices, fiscal documents, CNPJ or CPF lookups, and related NFE.io services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nfe/client-nodejs/nfeio-node-sdk
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 nfe/client-nodejs --skill nfeio-node-sdk
Clone the repo
git clone --depth 1 https://github.com/nfe/client-nodejs

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 nfeio-node-sdk

README.md
[![agentmods](https://agentmods.dev/badge/skills/nfe/client-nodejs/nfeio-node-sdk/github.svg)](https://agentmods.dev/skills/nfe/client-nodejs/nfeio-node-sdk)
Your own site
<a href="https://agentmods.dev/skills/nfe/client-nodejs/nfeio-node-sdk"><img src="https://agentmods.dev/badge/skills/nfe/client-nodejs/nfeio-node-sdk/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 nfeio-node-sdk

Your own site · 80×15
<a href="https://agentmods.dev/skills/nfe/client-nodejs/nfeio-node-sdk"><img src="https://agentmods.dev/badge/skills/nfe/client-nodejs/nfeio-node-sdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 264 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,096 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.
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.00264 $0.06096
Opus 5.5 $0.00106 $0.02438
Sonnet 5.5 $0.00053 $0.01219
Haiku 4.5 $0.00026 $0.00610

Measured 6d ago against content hash bd28088c2884, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nfeio-node-sdk 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 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.

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.

skills/nfeio-node-sdk/SKILL.md · 440 lines

How it starts

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

NFE.io Node.js SDK Integration Guide

This skill enables you to write correct, production-ready code using the NFE.io SDK for Brazilian electronic fiscal documents. The SDK covers NFS-e (service invoices), NF-e (product invoices), CT-e (transportation), CFe-SAT (consumer), CNPJ/CPF lookups, tax calculation, and more.

Package & Import

The npm package name is nfe-io. (Until 2026-09-02 the JSDoc examples imported from @nfe-io/sdk, a package that does not exist; corrected at the source.)

// ESM (recommended)
import { NfeClient } from 'nfe-io';

// CommonJS
const { NfeClient } = require('nfe-io');

// Default export (factory function)
import nfeFactory from 'nfe-io';
const nfe = nfeFactory({ apiKey: 'your-key' });

Requirements: Node.js 22+ (uses native fetch). Zero runtime dependencies.

Quick Start

import { NfeClient } from 'nfe-io';

const nfe = new NfeClient({
  apiKey: 'your-api-key',           // Required for most resources
  environment: 'production',         // 'production' | 'development'
  timeout: 30000,                    // Request timeout in ms (default: 30000)
  retryConfig: {                     // Optional retry configuration
    maxRetries: 3,                   // Default: 3
    baseDelay: 1000,                 // Default: 1000ms
    maxDelay: 30000,                 // Default: 30000ms
    backoffMultiplier: 2,            // Default: 2
  },
});

Two complementary API keys — not alternatives. Measured route by route (2026-10-14): the data key is rejected (403) on fiscal-document routes (NF-e, NFC-e, NFS-e, inbound documents, tax codes and calculation), and the main key is rejected (403) on the lookup hosts. Some account-registry routes also accept the data key; that is not a documented contract and the SDK does not rely on it.

  • apiKey (main) → FISCAL hosts: api.nfe.io, api.nfse.io. Covers every emission resource plus certificates, municipalTaxes, stateTaxes, taxCodes and taxCalculation.
  • dataApiKey → LOOKUP hosts: nfe.api.nfe.io, legalentity, naturalperson, address. Covers addresses, legalEntityLookup, naturalPersonLookup, productInvoiceQuery and consumerInvoiceQuery.

Read the full file on GitHub · 440 lines

Files

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.

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 Changed · +11 lines bd28088c2884
  2. 1mo ago Changed · +32 lines b00c9b3c750b
  3. 1mo ago First seen · 397 lines · 264 tokens per session scan A de254b7408c3

Subscribe to this mod's changes

nfeio-node-sdk is a skill published in the GitHub repository nfe/client-nodejs (141 stars, last pushed 2d ago), licensed MIT. It adds 264 tokens to every session and 6,096 once invoked, about $0.0011 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-08-30.

Related

Other skills, from other repositories

alpaca-trade-api-sdk

Integrate and build on the @alpacahq/alpaca-trade-api TypeScript SDK for the Alpaca Trading and Market Data APIs (the unified Alpaca client, ergonomic order builders, normalized market-data shapes, pagination, typed errors, resilience, and real-time streaming). Use when writing or reviewing code that imports…

alpacahq/alpaca-trade-api-js · 123 tokens

starter-dashboard

Scaffold a local Next.js Alpaca dashboard using the published @alpacahq/alpaca-trade-api SDK for paper Trading API and Market Data API workflows. Use when the user asks for starter-dashboard, a starter Alpaca dashboard, a local Trading API demo, a Market Data API dashboard, or a greenfield Next.js Alpaca SDK prototype.

alpacahq/alpaca-trade-api-js · 75 tokens

binance-spot-openapi-skill

Operate Binance Spot market, account, and order APIs through UXC with a curated OpenAPI schema, Binance query signing, and separate mainnet/testnet link flows.

holon-run/uxc · 42 tokens

coinbase-openapi-skill

Operate Coinbase Advanced Trade REST APIs through UXC with a curated OpenAPI schema, products-first discovery, and explicit JWT bearer auth guidance.

holon-run/uxc · 34 tokens

mastercard-best-practices

Integration guidance for Mastercard APIs. Covers resolving a service's ID from its name, confirming a service's auth type before writing auth code, routing to the right authentication guide, finding an operation's request and response schema, sandbox versus production base URLs, and what Mastercard's error responses…

Mastercard/developers-agent-toolkit · 148 tokens

netsuite-ai-connector-instructions

NetSuite Intelligence skill — teaches AI the correct tool selection order, output formatting, domain knowledge, multi-subsidiary and currency handling, and SuiteQL safety checklist for any AI + NetSuite AI Service Connector session.

oracle/netsuite-suitecloud-sdk · 52 tokens