From Confident AI Client
Manage a Confident AI account programmatically with the Admin SDK (the `confidentai` package for Python and TypeScript). TRIGGER when the user wants to create, read, update, or delete organizations, projects, members, invitations, roles, policies, permissions, governance policies, or API keys on Confident AI; provision or rotate organization- and project-scoped API keys; onboard or offboard team members; set up RBAC (permissions → policies → roles → members); assign governance policies to projects; or automate project provisioning (project-per-agent, project-per-environment, project-per-customer). All administrative operations require an Organization API Key (`CONFIDENT_ORG_API_KEY`). DO NOT TRIGGER for sending traces or running evaluations against a project (that uses a project key `CONFIDENT_API_KEY` — see the `deepeval`, `deepeval-tracing`, and `deepeval-otel` skills); this skill is account and project administration only, not tracing or evals.
How this skill is triggered — by the user, by Claude, or both
Slash command
/confident-client:confident-clientThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to manage a **Confident AI account programmatically** with the
Use this skill to manage a Confident AI account programmatically with the
Admin SDK — the confidentai package, available for both Python and
TypeScript. The work is account and project administration: organizations,
projects, members and invitations, RBAC (permissions, policies, roles),
governance policies, and API keys.
This skill stops at administration. Sending traces and running evaluations
against a project is a different job with a different key — see the deepeval,
deepeval-tracing, and deepeval-otel skills.
Use the Admin SDK for administrative workflows that would otherwise be done by hand in the platform UI — project provisioning, member onboarding, role synchronization, and API key rotation. Every operation is scoped to either the organization (account-wide resources) or a single project (project-scoped resources).
Do not reach for this skill to instrument an app or score outputs. Tracing and
evals authenticate with a project key (CONFIDENT_API_KEY); administration
authenticates with an Organization API Key (CONFIDENT_ORG_API_KEY).
confident-client) — administer the account: create and
rename the organization, CRUD projects, invite and manage members, define
RBAC, and provision or rotate API keys. Requires an Organization API Key.deepeval skill — build pytest eval suites: datasets, metrics, traced
evals, deepeval test run, iteration. Requires a project key.deepeval-tracing skill — instrument an app with the DeepEval SDK
(@observe, integrations). Requires a project key.deepeval-otel skill — export raw OpenTelemetry / OTLP traces to
Confident AI. Requires a project key.pip install confidentai (Python) or
npm install confidentai (TypeScript).confident_us_org_...), read by default
from the CONFIDENT_ORG_API_KEY environment variable. This is separate from
the project-scoped CONFIDENT_API_KEY used for tracing and evals, so both can
be configured at once. Retrieve the org key from the Confident AI settings
under organization-level authentication.Each reference file contains both Python and TypeScript examples. Before writing
code, determine which language the user is working in, then use the matching
code block (```python or ```typescript) within the
reference.
*.py, pyproject.toml, requirements.txt, setup.py, Pipfile, a .venv/venv*.ts, *.tsx, package.json, tsconfig.json, node_modules (JavaScript-only counts as TypeScript — same confidentai package)ts/ next to a bare .venv is still ambiguous). Fall back to
Python (never TypeScript) only after asking and getting no answer, and say
you're defaulting.Within each reference, the code block for the target language is authoritative for exact method names, argument shapes (keyword arguments vs an options object), and casing (snake_case vs camelCase). Do not guess a binding from the other language's examples.
deepeval / deepeval-tracing / deepeval-otel skills.references/<topic>.md and
use the code blocks for that language.references/quickstart.md.client.organization()) vs a single
project (client.project(project_id)). Read references/introduction.md for
scope and capabilities.permissions, bundle them into policies,
bundle policies into roles, then assign roles to members. Read
references/roles-policies-permissions.md.value immediately — it is shown only once. Read
references/api-keys.md.CONFIDENT_ORG_API_KEY), never a project key. Keep it out of source
control and logs.client.project(id)) affect one project.value is returned only at creation (creating a
project also mints its first project key). Store it securely then; later
reads are masked.valid to false) over
deleting when you only need to revoke temporarily.a_*
variant.)email), and which role (role_id) to
grant when inviting members or adding them to a project. Ask first, then act.Each topic has one reference file containing both Python and TypeScript examples; use the code block matching the target language.
| Topic | File |
|---|---|
| Install, configure the Organization API Key, first call | references/quickstart.md |
| Read and rename the organization | references/organization.md |
| Create, read, update, delete projects | references/projects.md |
| Members, invitations, and role assignment | references/members-and-invitations.md |
| RBAC: permissions, policies, and roles | references/roles-policies-permissions.md |
| Provision, rotate, enable/disable, and delete API keys | references/api-keys.md |
| Governance policies: list and assign/unassign to projects (org-only) | references/governance.md |
| Admin SDK overview, org vs project scope, and key capabilities | references/introduction.md |
| Background: why observability matters for AI products | references/ai-pm-observability.md |
Routes gstack requests to the correct skill (planning, review, QA, shipping, debugging, docs, security, design). Invokes when user types /gstack or asks which skill to use.
Provides UI/UX design intelligence with 50+ styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 10 stacks. Use for designing pages, components, or reviewing visual quality.
npx claudepluginhub confident-ai/confident-client --plugin confident-client