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.6

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.6
File Size Uploaded Provenance Actions
metergraph_skills-0.1.6.tar.gz 34.3 kB With provenance Details for metergraph_skills-0.1.6.tar.gz

Built distribution (wheel)

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

Total release size: 64.6 kB

Release files / metergraph_skills-0.1.6.tar.gz

Download URL metergraph_skills-0.1.6.tar.gz
Size 34.3 kB
Tags Source
SHA-256 checksum
How to use checksums
680d9266a7745d46e958b5eb2ceb5b5029829dc62915815ef9e78594cfe62edd
BLAKE2b-256 checksum
How to use checksums
54595b9087fbd6215004a2ff59ea6187aba77fe55727dc531c08a0c3fd0700a9
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 Nov 23, 2026.

Transparency log

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

Download URL metergraph_skills-0.1.6-py3-none-any.whl
Size 30.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
729c6d678fa48cf2b12004a348ddcc990543ad2db3cb23c00c503aeb569ce90b
BLAKE2b-256 checksum
How to use checksums
5c229b5af60d069e3e757cfc295d16a1adee36e8893a13e6b6848f22b197a115
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 Nov 23, 2026.

Transparency log

Security for metergraph-skills 0.1.6

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for metergraph_skills-0.1.6.tar.gz

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 Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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