kanidm-expert

kanidm-expert is a skill for Claude Code, Codex from martinholovsky/claude-skills-generator. It costs 75 tokens per session (11,001 once invoked), scanned B, original, Unlicense.

An expert guide for Kanidm, an identity-management system that handles users, groups, sign-in, permissions, and connections to other systems. It covers OAuth2/OIDC single sign-on, LDAP, RADIUS, SSH keys, WebAuthn, and multi-factor authentication.

In plain words
What is it for?
Use it to manage accounts and groups, set up single sign-on, connect LDAP or RADIUS clients, manage SSH access, configure WebAuthn or MFA, and plan reliable Kanidm deployments.
Why use it?
It helps teams design authentication and access rules without treating every identity system as a collection of unrelated settings. It also emphasizes credential policies, auditing, privilege separation, backups, and replication.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: model in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash tests/test_kanidm_config.sh.

Good fit Use it to manage accounts and groups, set up single sign-on, connect LDAP or RADIUS clients, manage SSH access, configure WebAuthn or MFA, and plan reliable Kanidm deployments.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/martinholovsky/claude-skills-generator
agentmods
npx agentmods add skills/martinholovsky/claude-skills-generator/kanidm-expert

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 kanidm-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/martinholovsky/claude-skills-generator/kanidm-expert/github.svg)](https://agentmods.dev/skills/martinholovsky/claude-skills-generator/kanidm-expert)
Your own site
<a href="https://agentmods.dev/skills/martinholovsky/claude-skills-generator/kanidm-expert"><img src="https://agentmods.dev/badge/skills/martinholovsky/claude-skills-generator/kanidm-expert/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 kanidm-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/martinholovsky/claude-skills-generator/kanidm-expert"><img src="https://agentmods.dev/badge/skills/martinholovsky/claude-skills-generator/kanidm-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,001 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 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.00075 $0.11001
Opus 5.5 $0.00030 $0.04400
Sonnet 5.5 $0.00015 $0.02200
Haiku 4.5 $0.00007 $0.01100

Measured 3mo ago against content hash 7d3a4cf64f37, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

kanidm-expert scanned grade B with 3 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 3mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **PAM Integration**: Unix/Linux authentication, sudo integration, session management

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sf https://idm.example.com/status || exit 1

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.run(["kanidm", "login"])
skills/kanidm-expert/SKILL.md · 1,533 lines

How it starts

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

Kanidm Identity Management Expert

1. Overview

You are an elite Kanidm identity management expert with deep expertise in:

  • Kanidm Core: Modern identity platform, account/group management, service accounts, API tokens
  • Authentication: WebAuthn/FIDO2, TOTP, password policies, credential verification
  • Authorization: POSIX attributes, group membership, access control policies
  • OAuth2/OIDC: SSO provider, client registration, scope management, token flows
  • LDAP Integration: Legacy system compatibility, attribute mapping, search filters
  • RADIUS: Network authentication, wireless/VPN access, shared secrets
  • SSH Management: Public key distribution, certificate authority, authorized keys
  • PAM Integration: Unix/Linux authentication, sudo integration, session management
  • Security: Credential policies, account lockout, audit logging, privilege separation
  • High Availability: Replication, backup/restore, database management

You build Kanidm deployments that are:

  • Secure: WebAuthn-first, strong credential policies, audit trails
  • Modern: OAuth2/OIDC native, REST API driven, CLI-first design
  • Reliable: Replication support, backup strategies, disaster recovery
  • Integrated: LDAP compatibility, RADIUS support, SSH key distribution
  • Maintainable: Clear policies, documented procedures, automation-ready

Risk Level: 🔴 CRITICAL - Identity and access management is the foundation of security. Misconfigurations can lead to unauthorized access, privilege escalation, credential compromise, and complete system takeover.


3. Core Principles

  1. TDD First - Write tests before implementing Kanidm configurations. Validate authentication flows, group memberships, and access policies with automated tests before deployment.

  2. Performance Aware - Optimize for connection reuse, efficient LDAP queries, token caching, and minimize authentication latency. Identity systems must be fast and responsive.

  3. Security First - WebAuthn for privileged accounts, TLS everywhere, strong credential policies, audit everything. Never compromise on security.

Read the full file on GitHub · 1,533 lines

Files

What ships with it

2 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. 3mo ago First seen · 1,533 lines · 75 tokens per session scan B 7d3a4cf64f37

Subscribe to this mod's changes

kanidm-expert is a skill published in the GitHub repository martinholovsky/claude-skills-generator (48 stars, last pushed today), licensed Unlicense. It adds 75 tokens to every session and 11,001 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 3 findings (asks for root, makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

kanidm-expert compared with skills from other repositories

kanidm-expert next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kanidm-expertmartinholovsky/claude-skills-generatorSkill48todayUnlicenseB75Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code