Logo: Least Privilege

Least Privilege

Organisatioun
runxhq
least-privilege

Review a grant against exact attributable verified receipts, identify recorded and unrecorded authority, and state the policy and usage evidence needed before narrowing it.

Iwwersiicht

Editeurrunxhq
Repositoryrunx
Skill-Nummleast-privilege
Stären
105
Forks
109
Matgeliwwert Dateien
6
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 6 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    runxhq huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Least Privilege an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/runxhq/runx/tree/main/skills/least-privilege
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/runxhq/runx.git /tmp/runx
mkdir -p .claude/skills
cp -r /tmp/runx/skills/least-privilege .claude/skills/least-privilege
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Least Privilege an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Least Privilege automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Least Privilege net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Least Privilege

Review one skill, actor or grant against a bounded set of exact receipts. The result distinguishes authority recorded in signed receipts from authority not recorded in that selection, and gives the reviewer a clear next action. It never changes a grant.

Native Runx owns receipt lookup, signature verification and authority semantics. This skill binds the review subject, checks the completeness of the supplied proof and organizes the authority evidence. It does not implement a scope parser, wildcard matcher, permission hierarchy or policy engine.

Composes

  • receipt-query#read

What the evidence can establish

The native field named exercised_scopes currently projects signed scope references and authority terms. Its source identifies that origin. Those records are not a per-operation successful-usage trace. Counts in this report count receipts recording an exact scope, not successful calls.

A scope missing from a finite receipt window may still support infrequent, reserved, recovery or compliance work. Even a recorded scope is not proved necessary. repo:write does not imply repo:read, and a wildcard cannot be replaced by the first matching string. Scope strings remain opaque here.

The current native evidence is insufficient to prove a minimal replacement grant. The runner therefore retains the entire grant, emits no executable attenuation proposal, and requests policy and representative usage review. A trustworthy narrowing proposal requires the authority owner to establish coverage and replacement semantics; do not add that mechanism to this skill.

When to use it

  • Review authority before renewal, distribution or an incident follow-up.
  • Collect exact receipt references for a scope-by-scope policy decision.
  • Identify where actual usage or reserved-purpose evidence is still missing.

Use receipt-audit to assess governance within one run, policy-draft to draft and lint a policy, and diagnose-skill-run to diagnose an execution failure. This skill neither grants new authority nor substitutes for those jobs.

Procedure and stops

  1. Supply the exact subject reference, current grant and exact receipt ids. subject must match each receipt's skill subject, actor reference or grant reference. A friendly label alone cannot establish attribution.
  2. Resolve evidence through receipt-query#read with native chain verification. Every requested id needs one verified, attributable native detail. Missing, duplicate, unverified or mismatched details stop the comparison. Unrelated receipt rows never contribute authority observations.
  3. Require a checked, intact native chain verdict with no breaks. Supplied replay rows cannot provide this proof even if their fixture labels say verified. Unknown verification remains unknown.
  4. Compare exact scope strings only. Mark each as recorded, not_recorded or defer, preserving the receipt references and native source labels.
  5. Retain the grant. With complete proof return review_required; with incomplete proof return needs_more_evidence. Name the missing policy, actual usage and observation-coverage evidence before any narrowing.

A checked chain, a sealed review receipt and an empty set of changes do not prove that a grant is minimal. Do not describe either status as safe to apply.

Inputs and result

  • subject: exact skill, actor or grant reference being reviewed.
  • granted_scopes: current scope strings, including an empty grant.
  • receipt_ids: exact receipt ids; an empty set stops for evidence.
  • objective: optional review purpose; it does not supply policy authority.
  • receipt_rows and receipt_details: supplied projections for replay only.

audit_report returns the status, subject, completeness and chain verdict, limitations, scope-by-scope recorded authority, retained_grant, not_recorded_scopes and reviewer_action. attenuation_proposals stays empty until native evidence can support a replacement. verdict is a short operator summary. The existing runx/least-privilege.audit.v1 packet is updated in place; there is no alternate contract or compatibility reader.

For a verified review of email:send and payment:spend, a receipt recording only email:send yields recorded and not_recorded, respectively. Both remain in the grant. The missing payment record is a review question, not permission to remove payment authority.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Least Privilege?

Review a grant against exact attributable verified receipts, identify recorded and unrecorded authority, and state the policy and usage evidence needed before narrowing it.

Firwat Least Privilege op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Least Privilege besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Least Privilege an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/runxhq/runx/tree/main/skills/least-privilege an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Least Privilege benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Least Privilege benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Least Privilege domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Least Privilege gratis?

Jo. runxhq huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇