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 --runtime local

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

Option Values
--client codex, claude, cursor
--runtime local, 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.

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

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.1
File Size Uploaded
metergraph_skills-0.1.1.tar.gz 23.7 kB Details

Built distribution (wheel)

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

Total release size: 46.5 kB

Release files / metergraph_skills-0.1.1.tar.gz

Download URL metergraph_skills-0.1.1.tar.gz
Size 23.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2e5a4cb23ec9429987c363fb440a3c5fa1bffa00dc358496b2c9cd608582de24
BLAKE2b-256 checksum
How to use checksums
d21fe4559716ee27a077bf2404e6e4696241927f920b9db748b984cac1c374b4
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 8, 2026.

Transparency log

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

Download URL metergraph_skills-0.1.1-py3-none-any.whl
Size 22.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ffb74b36fdd996267db3ae79984d9c7b972aa22ab9df305ea2e29ab3ffc55d9
BLAKE2b-256 checksum
How to use checksums
ab1f832537cc75660f4fa1a34ea909f9c39e1024efe01f5525a75f0ae1547525
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 8, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

This release

0.1.1 This release

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