nbauthorize-2-stage-decisions
CommunityGate LLM extraction with two-step NBAccess.
Legal & Compliance#authorization#data security#llm governance#nbaccess#source vault#claim persistence#access labeling
Authortransreal
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents unsafe or non-compliant extraction by enforcing NBAccess authorization both before sending sensitive content to an LLM and before persisting extracted claims, while minimizing extra authorization cost.
Core Features & Use Cases
- Two-phase authorization for extraction: Performs a send-stage decision and a persist-stage decision using
SourceVaultExtractso that content is authorized for LLM transmission and for claim storage. - Extended decision handling: Supports four decision outcomes—
Permit,Screen,RequireApproval, andDeny—with fail-safe behavior that treats unknown decisions as denied. - Fail-safe response shaping: Returns
Statusvalues likeDeniedByNBAccessandRequiresApproval, and includesAccessDecisionsas<|"Send" -> _, "Persist" -> _|>(or an empty association when explicitly opted out). - Correct claim spec construction from source metadata: Builds
NBClaimSpecviaiSpecFromClaim, derivingAccessLabelfrom snapshot/source meta so NBAccess can apply consistent labeling rules.
Quick Start
Request the system to run SourceVaultExtract with the default authorization enabled for sensitive sources so it returns extracted claims only when both send and persist NBAccess checks succeed, otherwise returning DeniedByNBAccess or RequiresApproval with AccessDecisions details.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: nbauthorize-2-stage-decisions Download link: https://github.com/transreal/claudecode/archive/main.zip#nbauthorize-2-stage-decisions Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.