Skip to main content
Glama

Packsmith

A zero-dependency Grok Bot / Agent plugin (stdio MCP server + one skill) that installs and manages skill packs for Grok Bots. It moves the capacity limit off the install template and onto a hash-pinned pack you host yourself, so a bot can carry far more skills than the template size cap allows — and it does not depend on the UpdateSkill tool.

A skill is installed by writing <workflows>/<slug>/SKILL.md (markdown with name + description frontmatter). The default workflows root is /home/box/agent-data/workflows, overridable with PACKSMITH_ROOT (used by the tests so they never touch the real dir).

Data shapes

  • Pack: { "version"?: string, "skills": { "<kebab-slug>": "<SKILL.md text>" } }. A legacy flat map { "skills/<slug>/SKILL.md": "<text>" } (or { "<slug>": "<text>" }) is also accepted.

  • Manifest (<workflows>/.packsmith.json): [{ url, sha256, version, skills[], installedAt, sealed? }].

Related MCP server: pmcp

Tools

Tool

What it does

install_pack(url, sha256, overwrite=false)

Fetch pack JSON, verify sha256, validate, write each skill. Per-skill status.

build_pack(names, version?, outPath?)

Bundle installed skills into a pack JSON file; returns sha256.

seal_pack(names | skillsDir, passphrase, outPath?)

Encrypt skills into an openssl-compatible .enc blob; returns sha256.

unseal_pack(url, sha256, passphrase, overwrite=false)

Fetch + verify + decrypt + install.

list_packs()

List tracked packs from the manifest.

update_packs(trust=false, overwrite=true)

Re-fetch each tracked URL; report up-to-date / update-available; apply only with trust:true (or re-run install_pack with the new sha).

Content is never executed. Packs are data: Packsmith only writes SKILL.md text.

Encryption format

seal_pack/unseal_pack are byte-compatible with:

openssl enc -aes-256-cbc -pbkdf2 -iter 200000 -pass env:PASS

(Salted__ + 8-byte salt + AES-256-CBC, key/iv via PBKDF2-SHA256, 200k iterations). Pass the passphrase via env PACKSMITH_PASSPHRASE (preferred) or the passphrase arg — it is never logged or returned.

Safety

  • https-only (set PACKSMITH_ALLOW_HTTP=1 for tests), optional host allowlist via PACKSMITH_ALLOWED_HOSTS.

  • Slugs are kebab-case only — path-traversal guard. Frontmatter must contain name and description.

  • Size limits: PACKSMITH_MAX_PACK_BYTES (1 MiB), PACKSMITH_MAX_SKILL_BYTES (64 KiB), PACKSMITH_MAX_SKILLS (100).

  • No network beyond the exact URL given; redirects are not followed. sha256 mismatch = refuse, no write.

Publishing a pack (user-side)

  1. build_pack(["my-skill-a","my-skill-b"], "1") → a pack JSON file + sha256.

  2. Upload the JSON to any static host — e.g. Cloudflare Pages, GitHub Pages, S3, or your bot hub.

  3. Share the URL + sha256. Recipients run install_pack(url, sha256). For a private drop, seal_pack first and share the passphrase out of band; recipients run unseal_pack.

Run

node src/server.js        # stdio MCP server
npm test                  # node --test (unit + live)

Layout

plugin.json  mcp.json  package.json  README.md
src/core.js  src/server.js
skills/packsmith-guide/SKILL.md
test/unit.test.js  test/live.test.js

Transport note

Packsmith ships as a local stdio MCP server (node src/server.js, zero dependencies). mcp.json follows the Agent Plugins standard (${PLUGIN_ROOT}); mcp.cursor.json is the Cursor variant (${CURSOR_PLUGIN_ROOT}). Hosts that only accept remote (HTTP/SSE) MCP servers will need a hosted endpoint; that is not provided yet.

License

MIT

Available Tools

6 tools
build_packB

Bundle named installed skills into a pack JSON file and return its sha256. Publishing is user-side (any static host).

Inputs: names (required), outPath, version.

install_packA

Fetch a skill pack JSON from url, verify sha256, validate, and write each skill to the workflows dir. Never executes pack content.

Inputs: url (required), sha256 (required), overwrite.

list_packsA

List installed packs tracked in the manifest (url, sha256, version, skills, installedAt).

Inputs: no named parameters.

seal_packA

Encrypt named skills (or every skill under skillsDir) into an openssl-compatible AES-256-CBC pbkdf2 blob. Passphrase via env PACKSMITH_PASSPHRASE or args.passphrase; never logged or returned.

Inputs: names, outPath, skillsDir, passphrase.

unseal_packB

Fetch an encrypted pack from url, verify sha256, decrypt with passphrase, and install skills. Passphrase via env PACKSMITH_PASSPHRASE or args.passphrase; never logged or returned.

Inputs: url (required), sha256 (required), overwrite, passphrase.

update_packsB

Re-fetch each tracked pack URL and report up-to-date / update-available. Pass trust:true to apply newly-fetched shas.

Inputs: trust, overwrite.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 6 tools

    Disambiguation4/5

    Most tools clearly target distinct operations: build, seal, unseal, install, list, and update. install_pack and unseal_pack both install from a URL, but the encryption/decryption distinction is explicit. update_packs also overlaps with install but is scoped to tracked packs and reporting.

    Naming Consistency5/5

    All tools follow a consistent verb_noun snake_case pattern: install_pack, seal_pack, unseal_pack, build_pack, list_packs, update_packs. The convention is predictable and readable throughout.

    Tool Count5/5

    Six tools is well-scoped for a skill pack manager covering build, install, encryption, listing, and updates. Each tool earns its place without redundancy or excessive surface area.

    Completeness4/5

    The surface covers the main lifecycle: build packs, seal/unseal them, install from URLs, list tracked packs, and check/update versions. A notable gap is the absence of an uninstall/remove operation for installed skills or packs, which leaves a lifecycle dead end. There is also no standalone inspection or validation tool, though install covers validation.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to discover, install, and manage SKILL.md skills from a Git-backed registry via MCP tools for search, install, and list operations.
      28 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to discover and invoke package skills from installed dependencies via MCP tools, without loading every document into context.
      1,266 npm
      1
      Elastic 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables agents to install compatible SKILL.md skills from Git repositories or local directories into a persistent registry, then discover them through search, progressive loading, and asset reads. It exposes only user-selected hot skills as individual activation tools, keeping execution and trust decisions under explicit operator control.
      MIT