← Browse

@pymc-labs/my-skill

A

Decision Hub is an open-source registry and package manager for AI agent skills, built by PyMC Labs with a focus on data science, statistics, and ML workflows.

skillclaude

Install

agr install @pymc-labs/my-skill --target claude

Writes 13 files into .claude/skills/, pinned to git-bfef498e.

  • .claude/skills/my-skill/.gitignore
  • .claude/skills/my-skill/.pre-commit-config.yaml
  • .claude/skills/my-skill/.python-version
  • .claude/skills/my-skill/AGENTS.md
  • .claude/skills/my-skill/CLAUDE.md
  • .claude/skills/my-skill/LICENSE
  • .claude/skills/my-skill/Makefile
  • .claude/skills/my-skill/README.md
  • .claude/skills/my-skill/SECURITY.md
  • .claude/skills/my-skill/SKILL.md
  • .claude/skills/my-skill/docker-compose-local.yml
  • .claude/skills/my-skill/pyproject.toml
  • .claude/skills/my-skill/uv.lock

Document


name: my-skill description: "A skill"

my-skill

Describe what this skill does and how the agent should use it.

Repository README

Describes pymc-labs/decision-hub as a whole, which may contain artifacts other than this one. Where this artifact had no useful description of its own, its summary was taken from here.

What is Decision Hub?

Decision Hub is an open-source registry and package manager for AI agent skills, built by PyMC Labs with a focus on data science, statistics, and ML workflows. Skills are modular packages of prompts and code that any AI coding agent can use — think npm, but for agent capabilities.

Publish a skill once. Install it into Claude Code, Cursor, Codex, Gemini CLI, Windsurf, or any of 40+ supported agents with a single command. Every skill is security-scanned and can ship with automated eval cases that run on publish — so you know a skill actually works before you trust your agent with it.

Decision Hub is fully open-source (MIT) — the CLI, server, and web UI are all in this repo. You can use the public registry at hub.decision.ai, or deploy your own instance on your company's infrastructure for complete control over your skill supply chain.

Decision Hub is right for you if

  • You work in data science, statistics, or ML and want AI agents that actually know your tools (PyMC, Stan, scikit-learn, pandas, etc.)
  • You want proven skills, not blind trust — Decision Hub's eval pipeline tests skills against real tasks before you install them
  • You maintain best practices or workflows and want to share them across your team as versioned, installable packages
  • You build libraries and want to ship an AI skill alongside your package so agents know how to use it correctly
  • You need a private skill registry for your organization — or want to self-host the entire platform on your own infrastructure
  • You care about safety — you want skills security-scanned and graded before your agents run them

Features

  • 40+ agent support — install once, symlink into Claude Code, Cursor, Codex, Windsurf, Gemini CLI, GitHub Copilot, and many more
  • Publish from anywhere — point at a local directory or a GitHub URL; every SKILL.md inside is discovered and versioned automatically
  • Private skills — scope skills to your GitHub org with --private; grant cross-org access selectively
  • Security gauntlet — every publish is scanned for shell injection, credential exfiltration, and dangerous patterns; skills receive a trust grade (A/B/C/F)
  • Automated evals — ship eval cases with your skill; they run in an isolated sandbox, an LLM judge scores the output, and results are published as a report
  • Auto-tracking — publish from a GitHub URL and a tracker automatically republishes on future commits; no CI setup needed
  • Self-extending agents — Decision Hub ships as a skill itself; install it into your agent and the agent can discover and install new skills mid-conversation
  • Natural language searchdhub ask "I need to do Bayesian statistics" finds relevant skills instantly

Problems Decision Hub Solves

ProblemHow Decision Hub solves it
AI agents hallucinate library APIs — they don't know PyMC, Stan, or your internal toolsInstall skills that teach agents your stack with correct, tested patterns
No way to know if a skill actually works before installing itAutomated evals run real tasks in sandboxes on every publish — results are public
Copy-pasting system prompts between projects and teammatesPublish once, dhub install everywhere — versioned and updatable
No way to know if a community prompt is safe to runSecurity gauntlet scans every publish and assigns a trust grade
Skill registries are vendor-locked SaaS you can't audit or self-hostFully open-source (MIT) — deploy on your own infrastructure
Skills work in one agent but not anotherOne SKILL.md format, 40+ agents supported via --agent all
Skills drift out of sync with the code they referenceGitHub auto-tracking republishes on every commit

Why Decision Hub is special

Three things set Decision Hub apart from every other skill registry:

  1. Eval pipeline — Other registries accept uploads and hope for the best. Decision Hub runs your skill's eval cases in isolated sandboxes on every publish. An LLM judge scores the output. You get a public report showing whether the skill actually works. This is especially critical for data science skills where a wrong statistical method or incorrect API call can silently produce bad results.

  2. Fully open-source and self-hostable — Decision Hub is the only skill registry where the CLI, server, web UI, eval infrastructure, and security scanner are all open-source (MIT). You can use the public registry, or make deploy-local to run the entire platform on your own infrastructure. No vendor lock-in, full auditability, complete control over your skill supply chain.

  3. Built for data science — Created by PyMC Labs, the team behind PyMC. The registry ships with skills for Bayesian modeling, statistical analysis, and ML workflows. The search, categorization, and eval pipeline are designed for technical skills where correctness matters more than convenience.

What Decision Hub is not

  • Not an agent framework — Decision Hub doesn't run agents. It gives agents capabilities. Use it alongside your preferred agent (Claude Code, Cursor, Codex, etc.)
  • Not a prompt marketplace — there's no payment layer. Skills are published freely under open-source licenses (or kept private within your org)
  • Not a closed SaaS — the entire platform is MIT-licensed. There's no "enterprise tier" hiding features behind a paywall
  • Not an MCP server registry — skills are prompt+code packages that agents load directly, not server processes. They complement MCP, not replace it

Quickstart

Install

# Install uv (if needed) and the CLI
curl -LsSf https://astral.sh/uv/install.sh | sh && PATH="$HOME/.local/bin:$PATH" uv tool install dhub-cli

Or if you already have uv or pipx:

uv tool install dhub-cli    # via uv
pipx install dhub-cli       # via pipx

Use

# Authenticate via GitHub
dhub login

# Search for skills in plain English
dhub ask "I need to do Bayesian statistics with PyMC"

# Install a skill into your agent
dhub install pymc-labs/pymc-modeling --agent claude-code

# Or install into all detected agents at once
dhub install pymc-labs/pymc-modeling --agent all

# Scaffold and publish your own skill
dhub init my-skill
dhub publish ./my-skill

The SKILL.md format

Each skill is a directory with a SKILL.md file. YAML front matter defines metadata; the body is the system prompt injected into the agent.

---
name: my-skill                    # 1-64 chars, lowercase alphanumeric + hyphens
description: >
  What this skill does and when
  the agent should activate it.
license: MIT

runtime:                           # optional — makes the skill executable
  language: python
  entrypoint: src/main.py
  env: [OPENAI_API_KEY]
  dependencies:
    package_manager: uv
    lockfile: uv.lock

evals:                             # optional — enables automated evaluation
  agent: claude
  judge_model: claude-sonnet-4-5-20250929
---

System prompt content goes here. This is what the agent sees
when the skill is activated.

Builds on the Agent Skills spec.

FAQ

A skill is a system prompt plus optional code, dependencies, runtime config, and eval cases — packaged, versioned, and distributable. A raw system prompt is just text; a skill is a deployable unit with safety scanning, version history, and automated testing.

40+ agents including Claude Code, Cursor, Codex, Windsurf, Gemini CLI, GitHub Copilot, Roo Code, OpenCode, Cline, Goose, and many more. See the full list below. Use --agent all to install into every detected agent at once.

Every published skill goes through a security gauntlet that scans for shell injection, credential exfiltration, and other dangerous patterns. Skills receive a letter grade: A (clean), B (elevated permissions — warning shown), C (risky — requires --allow-risky), or F (rejected at publish time). Downloads are verified via SHA-256 checksums.

Yes. Publish with dhub publish --private to scope a skill to your GitHub organization. Grant cross-org access selectively with dhub access grant. Visibility can be changed later with dhub visibility.

When you publish from a GitHub URL, a tracker monitors the repo for new commits and automatically republishes affected skills. No CI setup or webhooks needed. Disable with --no-track.

Skills can ship with evals/*.yaml test cases. On publish, each case runs in an isolated sandbox: the configured agent executes the task, and an LLM judge scores the output. Results are published as a report viewable via dhub eval-report or on the web registry.

You need a GitHub account. Run dhub login — it uses GitHub Device Flow (OAuth2). Your GitHub username and org memberships automatically become your publishing namespaces.

Yes. The entire platform — CLI, server, web UI, eval infrastructure, security scanner — is MIT-licensed and in this repo. Run make deploy-local for a fully isolated local instance with its own database and S3 storage, or deploy to your own cloud infrastructure. See the Development section.

Yes. Decision Hub is open-source (MIT) and the public registry is free to use. Self-hosting is free too — you only pay for your own infrastructure.

CLI Reference

Run dhub <command> --help for full usage of any command.

Core Commands

CommandDescription
dhub loginAuthenticate via GitHub Device Flow
dhub logoutRemove stored token
dhub envShow active environment, config path, and API URL
dhub upgradeUpgrade the CLI to the latest version

Publishing & Versioning

dhub publish ./path/to/skills                        # from a local directory
dhub publish https://github.com/org/repo             # from a GitHub URL (auto-tracks)
dhub publish https://github.com/org/repo --ref v1.0  # specific branch/tag
dhub publish ./my-skill --minor                      # version bump: --patch (default) | --minor | --major
dhub publish ./my-skill --version 2.0.0              # explicit version
dhub publish ./my-skill --private                    # org-private visibility
dhub publish https://github.com/org/repo --no-track  # skip auto-tracking

Installing & Running

CommandDescription
dhub install ORG/SKILLDownload a skill to ~/.dhub/skills/
dhub install ORG/SKILL --agent allDownload and symlink into all detected agents
dhub install ORG/SKILL --agent claude-codeDownload and symlink into a specific agent
dhub install ORG/SKILL -v VERSIONInstall a specific version
dhub install ORG/SKILL --allow-riskyAllow installing C-grade skills
dhub uninstall ORG/SKILLRemove a skill and its agent symlinks
dhub run ORG/SKILL [ARGS...]Run a locally installed skill

Discovery

CommandDescription
dhub listList all published skills
dhub list --org ORGFilter by organization
dhub list --skill NAMEFilter by skill name
dhub info ORG/SKILLShow detailed information about a skill
dhub ask "QUERY"Natural language search
dhub init [PATH]Scaffold a new skill project

Evals

CommandDescription
dhub eval-report ORG/SKILL@VERSIONView the evaluation report for a version
dhub logsList recent eval runs
dhub logs ORG/SKILL --followTail eval logs for the latest version
dhub logs RUN_ID --followTail a specific eval run by ID

Organizations, Keys & Access Control

CommandDescription
dhub org listList namespaces you can publish to
dhub config default-orgSet the default namespace for publishing
dhub keys add KEY_NAMEAdd an API key (prompts for value securely)
dhub keys listList stored API key names
dhub keys remove KEY_NAMERemove a stored API key
dhub publish ./skill --privatePublish as org-private
dhub visibility ORG/SKILL public|orgChange visibility
dhub access grant ORG/SKILL OTHER_ORGGrant another org access to a private skill
dhub access revoke ORG/SKILL OTHER_ORGRevoke access
dhub access list ORG/SKILLList access grants
dhub delete ORG/SKILLDelete all versions of a skill

Supported Agents

Skills are installed as symlinks into each agent's skill directory. Use --agent NAME to target one agent or --agent all for all detected agents.

Agent--agentSkill path
AdaLadal~/.adal/skills/{skill}
Ampamp~/.config/agents/skills/{skill}
Antigravityantigravity~/.gemini/antigravity/skills/{skill}
Augmentaugment~/.augment/skills/{skill}
Claude Codeclaude-code~/.claude/skills/{skill}
Clinecline~/.cline/skills/{skill}
CodeBuddycodebuddy~/.codebuddy/skills/{skill}
Codexcodex~/.codex/skills/{skill}
Command Codecommand-code~/.commandcode/skills/{skill}
Continuecontinue~/.continue/skills/{skill}
Cortex Codecortex~/.snowflake/cortex/skills/{skill}
Crushcrush~/.config/crush/skills/{skill}
Cursorcursor~/.cursor/skills/{skill}
Droiddroid~/.factory/skills/{skill}
Gemini CLIgemini-cli~/.gemini/skills/{skill}
GitHub Copilotgithub-copilot~/.copilot/skills/{skill}
Goosegoose~/.config/goose/skills/{skill}
iFlow CLIiflow-cli~/.iflow/skills/{skill}
Juniejunie~/.junie/skills/{skill}
Kilo Codekilo~/.kilocode/skills/{skill}
Kimi Code CLIkimi-cli~/.config/agents/skills/{skill}
Kiro CLIkiro-cli~/.kiro/skills/{skill}
Kodekode~/.kode/skills/{skill}
MCPJammcpjam~/.mcpjam/skills/{skill}
Mistral Vibemistral-vibe~/.vibe/skills/{skill}
Muxmux~/.mux/skills/{skill}
Neovateneovate~/.neovate/skills/{skill}
OpenClawopenclaw~/.openclaw/skills/{skill}
OpenCodeopencode~/.config/opencode/skills/{skill}
OpenHandsopenhands~/.openhands/skills/{skill}
Pipi~/.pi/agent/skills/{skill}
Pochipochi~/.pochi/skills/{skill}
Qoderqoder~/.qoder/skills/{skill}
Qwen Codeqwen-code~/.qwen/skills/{skill}
Replitreplit~/.config/agents/skills/{skill}
Roo Coderoo~/.roo/skills/{skill}
Traetrae~/.trae/skills/{skill}
Trae CNtrae-cn~/.trae-cn/skills/{skill}
Universaluniversal~/.config/agents/skills/{skill}
Windsurfwindsurf~/.codeium/windsurf/skills/{skill}
Zencoderzencoder~/.zencoder/skills/{skill}

Architecture

ComponentDirectoryPackageDescription
CLIclient/dhub-cliOpen-source CLI (Typer + Rich)
Serverserver/decision-hub-serverBackend API (FastAPI on Modal)
Sharedshared/dhub-coreDomain models and SKILL.md parsing
Frontendfrontend/Web UI at hub.decision.ai (React + TypeScript)

Stack: Python 3.11+ / PostgreSQL / S3 / Modal / Gemini (search) / Anthropic (eval judging)

Development

# Clone and install
git clone https://github.com/pymc-labs/decision-hub.git
cd decision-hub
uv sync --all-packages --all-extras
make install-hooks
make help          # see all available targets
make test          # run all tests (client + server + frontend)
make lint          # ruff check + format + frontend lint
make typecheck     # mypy
make fmt           # auto-fix + format

Local development

For fully isolated local development with its own database and S3:

make deploy-local    # start Postgres + MinIO + API + frontend
# Open http://localhost:5173

make local-down      # stop (data preserved)
make local-reset     # stop and destroy all data

Requires Docker Desktop.

Configuration

Copy server/.env.example to server/.env.dev and fill in your values. The project has three environments controlled by DHUB_ENV (dev | prod | local). See CLAUDE.md for detailed development guidelines.

Security

If you discover a security vulnerability, please report it responsibly via SECURITY.md. Do not open a public GitHub issue.

License

MIT — see LICENSE.

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-bfef498e46f72026-07-30