SuperAPI AI Directory

skillporter

Skillporter is a package manager, dependency resolver, and supply-chain security layer for AI agent skills (SKILL.md packages). Through a unified manifest file and deterministic lockfile, it installs, synchronizes, pins, audits, and rolls back skill packages across 19 agent runtimes, including Claude Code, OpenAI Codex, Cursor, Windsurf, GitHub Copilot, Gemini CLI, OpenHands, and Goose. The project provides a command-line tool with zero runtime dependencies and an MCP server, with built-in static security scanning, transactional installation, and backup rollback mechanisms.

Open website

About this tool

Skillporter is a package manager, dependency resolver, and supply-chain security layer for AI agent skills. Its core goal is to solve the difficulty of uniformly installing, synchronizing, and auditing the same SKILL.md skill package across different agent runtimes.

Purpose and background Different AI agent runtimes read skills from different directories, such as .claude/skills/, .agents/skills/, .github/skills/, .windsurf/skills/, $HERMES_HOME/skills/, ~/.openclaw/skills/, and others, and their resolution methods differ. Skills placed in .claude/skills/ are invisible to OpenAI Codex, Gemini CLI, Zed, and Windsurf; manually created symbolic links tend to break in Docker builds, CI checkouts, git worktree, and Windows checkouts; manual copying causes silent drift among team members, while simply deleting from a shared .agents/skills/ directory breaks other agents. Skillporter manages skills as dependencies: one manifest, one lockfile, one resolution, and one installation path that all runtimes can read.

Key capabilities

  1. Install and synchronize skill packages across 19 agent runtimes, including Claude Code, OpenAI Codex, Cursor, Windsurf, GitHub Copilot, Gemini CLI, Hermes Agent, OpenHands, Goose, and others.
  2. Deterministic lockfile skillporter.lock: pins the resolved Git commit, SHA-256 tree digest, per-file hashes, pin_state (PINNED_COMMIT, PINNED_CONTENT, or UNPINNED_MUTABLE), dependency and adapter versions.
  3. Synchronization and verification: skillporter sync follows the locked Git commit SHA even if the upstream branch moves, and rejects unexpected upstream content changes when --force is not provided; skillporter lock --check can verify the lockfile in CI and fail on mismatch.
  4. Audit: skillporter audit reports installed sources, lockfile drift, and .skillporter/audit.jsonl events, making risk coverage operations visible after the fact.
  5. Transactional rollback: replacement content is first staged in .skillporter/tmp/txn-* together with a write-ahead log journal.json, old versions are snapshotted to .skillporter/backups/, and skillporter rollback can restore skills together with their dependency graph based on SHA-256-verified backups.
  6. Static supply chain security scanning: checks Python AST, JavaScript and TypeScript scripts, Markdown instructions, and bounded Base64, Hex, and PowerShell payloads, identifying embedded credentials, prompt injection override patterns, hidden Unicode and comments, shell pipeline RCE, insecure deserialization, symlink escapes, and multi-file staged execution, among others.
  7. Archive and filesystem protection: blocks Zip-Slip and Tar-Slip input (../, .., drive-letter paths, Windows reserved device names, Unicode NFC/NFD collisions, symlinks, special files, decompression bombs), and stages installations transactionally with crash recovery logging.
  8. MCP server: skillporter mcp runs a hardened JSON-RPC 2.0 Model Context Protocol server exposing 18 tools (diagnose, detect, scan, inspect, matrix, status, diff, consolidate_preview, suggest, insights, context, preview, add, install, sync, remove, export, import), read-only by default, rejecting paths outside the workspace root, with write tools requiring explicit enablement (SKILLPORTER_MCP_ALLOW_WRITES=1).
  9. Runtime support matrix: distinguishes support status (NATIVE, COMPATIBLE, ADAPTED) from verification evidence (RUNTIME_VERIFIED, INTEGRATION_TESTED, FIXTURE_TESTED, DOCUMENTATION_VERIFIED); skillporter matrix prints the matrix, and skillporter detect reports the runtimes present on the local machine.

Usage Requires Python 3.9 or newer; the standalone installer checks this before unpacking. The package itself has no runtime dependencies. It is available in two forms: a command-line tool and an MCP server; for configuration of MCP clients (such as Claude Code), see its MCP guide. Exit code conventions: 0 indicates clean or successful operation; 1 indicates policy or diagnostic findings (drift, broken symlinks, spec errors, security blocks, lockfile mismatches, cycles, or conflicts); 2 indicates usage or runtime errors (invalid arguments, unknown runtime, missing path).

Use cases Suited for teams that need to uniformly distribute skill packages across multiple AI coding and autonomous agent environments, as well as scenarios requiring reproducible installation, CI validation, supply chain auditing, and fast rollback.

Limitations and security notes Static scanning (STATIC_SECURITY_ASSESSMENT) only checks for known dangerous patterns and structural anomalies; a clean scan does not prove that a skill is safe at runtime; novel natural-language prompt injections or dynamically fetched payloads may still manipulate agents at runtime. The scanning grading approach and its limitations are documented in SECURITY.md. The project is licensed under the MIT License.