Skip to main content

metergraph-skills

Installs the Metergraph agent skill into a project, so Codex, Claude Code or Cursor can load it. This is the Python equivalent of metergraph skill in the npm CLI (metergraph-cli).

This package does not sign in, connect a workspace, configure MCP or make any network request. For those, use the npm CLI: npx metergraph-cli@next. The Python SDK for instrumenting an application is a different package, metergraph.

Install the skill

pip install metergraph-skills
metergraph-skills install --client claude

Run it in the project directory, or pass --project DIR.

Option Values
--client codex, claude, cursor
--runtime local (default), cloud
--project Project directory. Default: the current directory.
--json Print one JSON line on stdout.

The skill is written to the client's project skill directory:

Client Path
Codex .agents/skills/metergraph/SKILL.md
Claude Code .claude/skills/metergraph/SKILL.md
Cursor .cursor/skills/metergraph/SKILL.md

An ownership receipt is written to .metergraph/skill-installations.json. It holds no secrets. No other file is touched. Restart the client afterwards; the skill is not discovered until the client loads it.

Use metergraph-skills update to replace an older revision installed by Metergraph. A skill file that Metergraph did not install, or that was edited after it was installed, is never replaced.

Same files as the npm CLI

metergraph-skills and metergraph skill write the same paths and the same receipt. A skill installed by one is recognised and updated by the other. The bundled SKILL.md is byte-identical to the one in the npm package and to https://www.metergraph.dev/SKILL.md for the same revision, and its SHA-256 is checked before anything is written.

To copy the file yourself, metergraph-skills path prints the directory that holds the bundled SKILL.md and manifest.json.

More Metergraph skills

The setup skill comes from metergraph/skills, the source for every Metergraph agent skill, at a pinned commit. That repository also has the model-swap skills: choose a workload, choose traces and models, define the eval, run the analysis, read the report and rerun. This package installs only the setup skill. For the others, use npx skills add metergraph/skills, npx --yes metergraph-cli@next skills install --client claude --runtime local, or the metergraph/skills plugin marketplace in Claude Code and Claude Desktop.

Exit codes

Code Outcome
0 ok
1 internal_error: the bundled skill failed its integrity check
2 invalid_input
6 unsupported: the client or runtime cannot load project skill files
8 conflict: an existing file was not replaced
9 filesystem_error

License

Apache-2.0. Source: https://github.com/metergraph/cli.

Metadata

Release files for metergraph-skills 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for metergraph-skills 0.1.3
File Size Uploaded
metergraph_skills-0.1.3.tar.gz 24.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for metergraph-skills 0.1.3
File Interpreter ABI Platform
metergraph_skills-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 48.1 kB

Release files / metergraph_skills-0.1.3.tar.gz

Download URL metergraph_skills-0.1.3.tar.gz
Size 24.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4ca30747f96486f2b2f85c50a34682e96230c9f080e2698546a16d3494ee8957
BLAKE2b-256 checksum
How to use checksums
e9d8cccdaaef32934ada2f020438e24a2b25f564ceaaf2fd7b0113c95b5e83ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / metergraph_skills-0.1.3-py3-none-any.whl

Download URL metergraph_skills-0.1.3-py3-none-any.whl
Size 23.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4169d1b0b2c91194ef7d8c854458ab17eb5c466ef28516a30787d0f834c3b591
BLAKE2b-256 checksum
How to use checksums
61559879af704afb2e4197680c24ff8c92def28f2d32d6e72f1110d80f5a2d1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.4

2 release files

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page