npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

create-aletheia-skill

v2.3.0

Published

Installer for the Aletheia Fairness Auditor Plugins

Readme

create-aletheia-skill

An interactive installer for the Aletheia Fairness Auditor plugin. Aletheia is a multi-agent algorithmic fairness auditing framework that profiles datasets, detects bias using 13 statistical and causal algorithms, applies bias mitigations, and compiles structured audit reports — all executed in a secure, sandboxed environment.

This installer packages and delivers the plugin in the correct format for three AI coding environments: Antigravity, Claude Code, and Codex (OpenAI).


Requirements

  • Node.js 18 or later
  • npm 9 or later
  • For the sandbox execution environment: Docker Desktop installed and running

Installation

Run the installer without installing it globally. npm will download the latest version automatically:

npx create-aletheia-skill

The installer is interactive. It will ask you two questions:

  1. Which AI assistant you are installing for
  2. Where to install or save the plugin output

Supported Platforms

Antigravity

The installer copies the plugin directly into the Antigravity plugins directory:

~/.gemini/config/plugins/aletheia-fairness-auditor/

After installation, restart Antigravity. The aletheia-fairness-auditor skill will be available in every session automatically. No further configuration is required.

If you prefer not to install directly, the installer offers a fallback that saves a .zip archive to your Desktop. Extract the archive manually into the directory above and restart.

Plugin structure installed:

aletheia-fairness-auditor/
├── plugin.json
├── skills/
│   └── aletheia-fairness-auditor/
│       ├── SKILL.md
│       └── references/
│           ├── algorithms/          (13 algorithm implementation guides)
│           └── workflows/           (4 step-by-step workflow instructions)
└── mcps/
    └── sandbox/
        └── mcp_server.py           (Docker sandbox MCP server)

Claude Code

The installer generates a .zip archive saved to your Desktop by default. The archive is structured to comply with the Claude Code plugin specification.

To import:

  1. Open Claude Code
  2. Go to Settings > Plugins > Install from file
  3. Select the generated .zip file
  4. Restart Claude Code

The plugin registers five skills under the aletheia namespace:

| Skill | Purpose | |---|---| | aletheia:auditor | Main entry point. Runs the full 4-step audit pipeline. | | aletheia:data-surveyor | Profiles the dataset and identifies protected attributes. | | aletheia:fairness-adjudicator | Selects a fairness algorithm and executes the bias audit. | | aletheia:mitigation-agent | Applies bias mitigation and computes post-mitigation metrics. | | aletheia:report-compiler | Compiles findings and charts into a final audit report. |

The plugin also registers a bundled sandbox MCP server. If the installer prompts for an extract path, provide the directory where you will extract the plugin so that the MCP path can be configured correctly with absolute references.


Codex (OpenAI)

The installer copies the plugin into a plugins/ folder in your current working directory and creates or updates .agents/plugins/marketplace.json.

After restarting Codex, open the Plugins panel. Your local marketplace will appear as a selectable source. Browse and install Aletheia Fairness Auditor from the list.

The marketplace file can be committed to your repository so that other team members can access the same plugin without running the installer individually.


Using the Skill

Once installed, invoke the skill by describing your task in natural language. The agent will activate the appropriate workflow automatically.

Example prompts:

  • "Run a fairness audit on my dataset."
  • "Check whether this model discriminates against protected groups."
  • "Detect disparate impact in this CSV and suggest a mitigation."
  • "Apply reweighing to balance selection rates across demographic groups."

The agent does not require you to specify algorithm names or technical parameters. It selects the appropriate algorithm from the bundled knowledge library based on the structure of your data.


The Audit Pipeline

Every audit follows a four-stage process. Each stage is driven by a dedicated workflow document that the agent reads before proceeding. The agent does not generate mathematical formulas from memory; all implementation logic is read from the bundled reference files.

| Stage | Role | Description | |---|---|---| | 1 | Data Surveyor | Profiles the dataset: shape, types, missing values, class distribution, and identification of protected attributes. | | 2 | Fairness Adjudicator | Selects the most appropriate fairness algorithm, loads its implementation guide, and measures bias metrics before mitigation. | | 3 | Bias Mitigator | Applies the selected mitigation algorithm and recomputes all fairness metrics to quantify the effect. | | 4 | Report Compiler | Assembles findings, statistical tables, and generated charts into a structured markdown audit report. |


Supported Algorithms

The plugin bundles implementation guides for 13 fairness algorithms:

| Algorithm | Type | |---|---| | Disparate Impact Repair | Pre-processing | | Equality of Opportunity | Post-processing | | Fairness Feedback Reparation | In-processing | | SHAP Proxy Detection | Proxy detection | | Mutual Information Proxy Scanner | Proxy detection | | Brownian Distance Covariance | Dependency measurement | | Causal Fair Inference | Causal reasoning | | Causal Explanation Formula | Causal reasoning | | Counterfactual Orthogonalization | Counterfactual | | Intersectional Subgroup Scan | Subgroup analysis | | Recidivism Fairness Calibration | Calibration | | Distributionally Robust Optimization | Robust optimization | | Relational Fairness (PSL) | Relational learning |

The agent selects the algorithm most suitable for your data's structure. You may also specify one directly in your prompt.


Execution Environment

All Python code is executed in a Docker-based sandbox. This isolates audit computations from the host environment and ensures reproducibility across machines.

Prerequisites for sandbox execution:

  1. Docker Desktop must be installed and running before starting an audit.
  2. The sandbox MCP server starts automatically when the agent begins.

If Docker is unavailable, the agent will fall back to native Python execution in the host environment using whatever Python runtime is present. In this mode, chart outputs are saved as .png files rather than being rendered interactively.


Project Structure

aletheia-skill-installer/
├── bin/
│   └── index.js                          # Interactive installer entry point
├── plugins/
│   ├── antigravity_aletheia-fairness-plugin/   # Antigravity plugin
│   ├── claude_aletheia-fairness-plugin/         # Claude Code plugin
│   └── codex_aletheia-fairness-plugin/          # Codex plugin
├── .npmignore
└── package.json

License

ISC