agentsclimarketplace

Grim usage

Skill grimoire-rs/grimoire/catalog/skills/grim-usage

Package manager for AI-agent config. grim installs, updates, and publishes skills, rules, agents, MCP servers, and bundles into Claude Code, Copilot, Cursor, Codex, Gemini, Zed, Amp, Kiro, Junie, and opencode — pinned by digest in a lockfile. Storage is any OCI registry; there is no service to run.

Install
npx -y skills add grimoire-rs/grimoire --skill grim-usage

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Drive the grim CLI — the OCI package manager for AI skills, rules, agents, and bundles. Use when installing, updating, searching, or publishing AI-config artifacts with grim; when composing grim init, config, add, lock, install, update, status, context, fetch, describe, search, tui, mcp, build, release, publish, login, logout, or completions commands; when configuring settings, multiple registries, or qualified alias/repo references; or when resolving registries, project vs global scope, client targets, or offline mode.

The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

8.7 KB, as published. Nobody here has run it

Grim Usage

Grimoire (binary: grim) is a package manager for AI-agent configuration. It distributes five artifact kinds — skills, rules, agents, MCP servers, and bundles — through any standard OCI registry (GHCR, Docker Hub, a private Distribution), with lockfile-pinned installs into ten AI clients: Claude Code, OpenCode, GitHub Copilot, Codex, Cursor, Kiro, JetBrains Junie, Gemini CLI, Zed, and Amp. An MCP server artifact installs by registering an entry in each client's native MCP config file (never as a file of its own); uninstall removes only that entry, never the file.

Not every client can host every kind: a skill and an MCP server install everywhere, but a rule needs a per-file scoping surface and an agent needs a shipped file format that some clients lack. Where a client cannot faithfully host a kind, grim warns and skips it (e.g. Codex, Junie, Gemini, Zed, and Amp decline rules; Kiro, Junie, Zed, and Amp decline agents). The authoritative per-client support matrix is the Client Compatibility docs page — trust it over this summary.

Verify Before Acting

Before composing any non-trivial grim command:

  1. Run grim --version. This guide tracks the release it ships beside; on a different minor, treat every flag mentioned here as a hypothesis.
  2. Run grim <command> --help before using flags you have not verified this session — it is the authoritative, always-current flag list.
  3. On any conflict between this skill and live --help output, trust --help. It ships with the binary; this guide can lag.

These pages teach workflows and semantics, never exhaustive flags. The full reference is --help plus the docs site linked below.

Command Map

CommandPurposeDetails
grim initCreate a fresh grimoire.tomlconsume
grim configRead/write grimoire.toml settings and registriesregistries
grim addDeclare an artifact and pin it in the lockconsume
grim lockResolve floating tags to digestsconsume
grim installMaterialize the lock into AI clientsconsume
grim updateRe-resolve, re-materialize, pruneconsume
grim statusReport each declared artifact's stateconsume
grim contextReport the resolved scope, paths, clients, registriesconsume
grim fetchPrint an artifact's content without installingconsume
grim describeReport an artifact's metadata (kind, annotations, tags) without downloading contentconsume
grim remove / uninstallUndeclare vs full inverse of installconsume
grim search / tuiBrowse your declared registries' catalogsregistries
grim mcpRun a local STDIO MCP server for AI agent integrationregistries
grim buildValidate and pack locally, no pushpublish
grim releaseValidate, pack, push with cascade tagspublish
grim publishBatch-release packages from a publish.toml manifestpublish
grim login / logoutManage registry credentialspublish
grim schemaEmit the JSON Schema for grimoire.toml / publish.toml / grimoire.lock / the MCP descriptorpublish
grim completions <shell>Print a shell completion script (bash, elvish, fish, powershell, zsh) to stdout; redirect it into your shell's completion dirgrim completions --help

Deprecation: a publisher can retire a package without unpublishing it; add and status flag it as deprecated (an add of a deprecated reference still succeeds). search and tui hide deprecated artifacts by default unless they are installed — reveal them with grim search --show-deprecated, the TUI h key, or by setting options.show_deprecated = true (grim config set options.show_deprecated true). A replaced-by successor reference, when the publisher named one, surfaces in grim search / grim describe. See Publishing.

Git provenance: build, release, and publish can embed the publishing commit, date, and origin as OCI annotations via opt-in --git; confirm with grim release --help.

Global flags apply to every subcommand — --format, --global, --config, --registry, --offline, --log-level, and --color <auto|always|never> (default auto colorizes clap's help/error output and --format json only when stdout is a terminal; --color always colorizes unconditionally, so never pass it into a pipeline that parses the document. The JSON error document is never colorized in any mode). Confirm the set with grim --help.

Reference Syntax

An artifact is named registry/repository:tag (a floating tag — :1 follows the newest 1.x release) or registry/repository@sha256:… (an immutable digest). A bare reference defaults to :latest.

A third form skips the registry: a local path./skills/x, ../shared/rule.md, or an absolute path — names a directory or file on disk directly. The discriminant is used everywhere a reference is accepted (grim add, grim install, a [skills]/[rules]/[agents]/[bundles] value): a value starting with ./ or ../, or an absolute path, is a local path source; anything else is an OCI reference. See references/consume.md for how it is declared and installed.

A short reference with no registry resolves against the default registry — --registry flag, then GRIM_DEFAULT_REGISTRY, then config, then the built-in fallback registry ghcr.io/grimoire-rs; full precedence in references/registries.md. Browsing with nothing configured (grim search, grim tui, grim mcp) falls back to the public package index at https://index.grimoire.rs instead — see references/registries.md.

When a config declares [[registries]] with aliases, a qualified reference alias/repo[:tag] expands the alias to its configured URL — for example acme/code-review:1 becomes ghcr.io/acme/code-review:1 when acme is aliased to ghcr.io/acme. Full details and the multi-registry browse behavior in references/registries.md.

Routing Table

Read......when
references/consume.mdInstalling, updating, or removing artifacts in a project
references/publish.mdBuilding, releasing, tagging, or logging in to publish
references/registries.mdResolving registries, scopes, client targets, offline mode, or searching
references/troubleshooting.mdA grim command failed — exit codes, integrity gates, common causes
references/updating.mdMaintaining this skill itself against newer grim releases

Further Reading


Verified against the grim release this package ships beside.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.