sg-gov-corppass

sg-gov-corppass is a skill for Claude Code from kyleoliveiro/sg-gov-skills. It costs 212 tokens per session (3,572 once invoked), scanned A, original, MIT.

An integration guide for Corppass, Singapore's business-user authorisation system, using its current FAPI 2.0 interface. It explains how a service identifies the acting company, user, and business roles.

In plain words
What is it for?
Use it when adding business login to a Singapore government service, reading company identifiers and roles, or connecting to Myinfo Business corporate data.
Why use it?
It prevents confusing the company identity with the individual user, and helps distinguish login failures from missing company permissions. That avoids incorrect identity handling and wasted debugging.

Skill for Claude Code

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

Part of the national-digital-identity plugin — 4 skills shipped together

Good fit Use it when adding business login to a Singapore government service, reading company identifiers and roles, or connecting to Myinfo Business corporate data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kyleoliveiro/sg-gov-skills/sg-gov-corppass
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 kyleoliveiro/sg-gov-skills --skill sg-gov-corppass
Clone the repo
git clone --depth 1 https://github.com/kyleoliveiro/sg-gov-skills

Made for: Claude Code.

Or install national-digital-identity, the plugin that ships this one along with the rest of its 4 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 sg-gov-corppass

README.md
[![agentmods](https://agentmods.dev/badge/skills/kyleoliveiro/sg-gov-skills/sg-gov-corppass/github.svg)](https://agentmods.dev/skills/kyleoliveiro/sg-gov-skills/sg-gov-corppass)
Your own site
<a href="https://agentmods.dev/skills/kyleoliveiro/sg-gov-skills/sg-gov-corppass"><img src="https://agentmods.dev/badge/skills/kyleoliveiro/sg-gov-skills/sg-gov-corppass/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 sg-gov-corppass

Your own site · 80×15
<a href="https://agentmods.dev/skills/kyleoliveiro/sg-gov-skills/sg-gov-corppass"><img src="https://agentmods.dev/badge/skills/kyleoliveiro/sg-gov-skills/sg-gov-corppass.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 212 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,572 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.00212 $0.03572
Opus 5.5 $0.00085 $0.01429
Sonnet 5.5 $0.00042 $0.00714
Haiku 4.5 $0.00021 $0.00357

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

Security

Grade A, and why

sg-gov-corppass 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 29d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (evals/files/auth.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/sg-gov-corppass/SKILL.md · 217 lines

How it starts

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

Corppass: business-user login and Myinfo Business (FAPI 2.0)

Corppass is the Singapore Government's corporate authorisation system. It is not a login credential anymore: authentication is Singpass (the user logs in with the Singpass app as a "Business User"); Corppass supplies the entity and role context: which company the user acts for, and what they are allowed to do. Get this model right first; the two most costly integration mistakes come from getting it wrong:

  1. Treating the ID token sub as the person. In FAPI 2.0 sub is always the entity (UEN, or Corppass Entity ID for non-UEN entities). The acting user lives in act.sub as a UUID.
  2. Treating "user can't log in" as a code bug. Most of the time the user authenticated fine but their entity's Corppass Admin never assigned them to your e-service. That is a provisioning problem, and no code change fixes it.

Two products use one API, onboarded on different portals:

Product What it gives you Onboard via
Corppass Login Entity + user identity, e-service roles (auth_info), third-party authorisations (tp_auth_info) Corppass Developer Portal (CDP) — https://developer.corppass.gov.sg
Myinfo Business (v3) Government-verified corporate data (ACRA profile, appointments, shareholders, financials, licences) + applicant person data Singpass Developer Portal (SDP) — https://developer.singpass.gov.sg

Both integrate against the Corppass Authorization API (FAPI 2.0) (launched 23 Feb 2026; Myinfo Business v3 on it since 18 May 2026). New services must use FAPI 2.0. If you are maintaining an integration built before 23 Mar 2026, or planning its migration (deadline 31 Mar 2027; Myinfo Business v1/v2 by 31 May 2027), read the sg-gov-corppass-legacy skill.

Source and currency

Everything here is embedded from https://docs.corppass.gov.sg as of 2026-07-23. The docs iterate; verify compliance-critical details against the live pages. Append .md to any docs.corppass.gov.sg page URL for a markdown version, index at https://docs.corppass.gov.sg/llms.txt. Read the reference files for exact wire formats:

Read the full file on GitHub · 217 lines

Files

What ships with it

6 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. 29d ago First seen · 217 lines · 212 tokens per session scan A 1f18aaa13f4e

Subscribe to this mod's changes

sg-gov-corppass is a skill published in the GitHub repository kyleoliveiro/sg-gov-skills (18 stars, last pushed 29d ago), licensed MIT. It adds 212 tokens to every session and 3,572 once invoked, about $0.0008 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-11-03.

Related

sg-gov-corppass compared with skills from other repositories

sg-gov-corppass next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sg-gov-corppasskyleoliveiro/sg-gov-skillsSkill1829d agoMITA212Claude Code
mem0-oss-to-platformmem0ai/mem0Skill70k5d agoApache-2.0A217Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.3ktodayApache-2.0A92Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3kyesterdayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.1ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill695yesterdayMITA105Claude Code, Codex