Ksef — Development skill for Claude Code
Claude Code skill: build KSeF API 2.0 integrations (Krajowy System e-Faktur, Poland's national e-invoicing) — KSeF-token auth, AES/RSA invoice encryption, interactive and batch sending, UPO receipts.
How to install Ksef
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open timerise-ai/ksef and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Ksef does
Claude Code skill: build KSeF API 2.0 integrations (Krajowy System e-Faktur, Poland's national e-invoicing) — KSeF-token auth, AES/RSA invoice encryption, interactive and batch sending, UPO receipts, purchase-invoice sync, QR codes — in Next.js App Router on Vercel
Alternatives in Development
- Happy — Mobile and Web client for Claude Code, with realtime voice, encryption and fully featured 16.3k ★
- Doctor — Environment diagnostics with interactive fixes — providers, auth, RTK, hooks, token optimization 2.8k ★
- Claude Code Everything You Need To Know — Ultimate all-in-one guide to mastering Claude Code 1.3k ★
README
ksef
A [Claude Code skill](https://docs.claude.com/en/docs/claude-code/skills) that teaches an agent to build **KSeF API 2.0** integrations (Krajowy System e-Faktur — Poland's national e-invoicing system) in a **Next.js App Router** app on Vercel — KSeF-token auth, AES/RSA invoice encryption, interactive and batch sending, UPO receipts, incremental purchase-invoice sync, QR verification codes, and the cron-polling architecture serverless forces on you. Official SDKs exist for C# and Java only; this is the TypeScript equivalent.
A KSeF integration has one hard requirement: **an invoice that leaves your app is a legally binding tax document**, filed under a taxpayer's NIP, and nothing in the API checks that the taxpayer is yours. Every defect the field report behind version 1.1.0 turned up broke that requirement quietly rather than loudly: an IV prepended to the ciphertext, so KSeF rejected the invoice with a status code blaming its *size*; a `440` duplicate whose UPO lived in a session the code never looked in; a seller NIP that nobody compared to the authenticating context. The references are written so those cost you a paragraph instead of a week.
Install
Clone into your skills directory:
git clone https://github.com/timerise-ai/ksef.git ~/.claude/skills/ksef
The [skills index](https://github.com/timerise-ai/skills) lists the other Timerise skills and how to clone them all at once.
The skill activates automatically when a task matches its description — sending or receiving structured invoices, KSeF auth, UPO, FA(3), e-faktura, `ksef.mf.gov.pl`. You can also invoke it explicitly with `/ksef`.
What's inside
| File | Contents |
|---|---|
SKILL.md |
Entry point: critical facts, environments, quick start, and the reference directory |
references/architecture-and-vercel.md |
Start here for greenfield: system model, database DDL, cron polling, multi-tenancy, function limits, go-live |
references/crypto-and-client.md |
node:crypto |
Related Skills
Invoice Organizer
Automatically organizes invoices and receipts for tax preparation by reading messy files, extracting key infor
Notebooklm
Query and manage Google NotebookLM notebooks with persistent auth, batch/multi queries, source sync, and struc
Triage Review
Batch-triage every open needs-triage + needs-reproduction issue, Memtrace-first. Route by classification — def
Ecpay Debug
除錯綠界 API 串接問題 + CheckMacValue/AES 加密驗證
Opencode
A powerful, custom opencode configuration, complete with a suite of agents, commands, rules, skills, and a pre
Fiz Invoicing Skill
Emitir faturas em Portugal com IA — Claude Code / Agent skill for the FIZ invoicing API (IVA, isenção, CAE, NI
Related Agents
Pclsync C Expert
Consultant for the pclsync C library (GNU C99). Expert in cloud sync engines, FUSE virtual filesystems, client
Crypto Solver
Use PROACTIVELY for cryptography challenges. Triggers on RSA, AES, ECC, Diffie-Hellman, hashes, PRNGs, LCG, LF
Luca
Creates invoices, quotations, or receipts. Generates JSON, produces PDF, and drafts professional email for sen