Stats
Actions
Tags
Core PyGraphistry workflow for authentication, shaping edges/nodes/hypergraphs, and plotting. Use for first-run setup, converting tables to graphs, and producing an initial interactive graph quickly and safely.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pygraphistry-core-pack:pygraphistry-coreThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- First route with `../pygraphistry/references/pygraphistry-readthedocs-toc.md`.
../pygraphistry/references/pygraphistry-readthedocs-toc.md.../pygraphistry/references/pygraphistry-readthedocs-top-level.tsv for section-level shortcuts.../pygraphistry/references/pygraphistry-readthedocs-sitemap.xml when a needed page is missing.cat * and serial micro-reads.https://pygraphistry.readthedocs.io/en/latest/... links.import os
import graphistry
graphistry.register(
api=3,
username=os.environ.get('GRAPHISTRY_USERNAME'),
password=os.environ.get('GRAPHISTRY_PASSWORD')
)
# Organization-scoped login (SSO or user/pass org routing)
graphistry.register(api=3, org_name=os.environ['GRAPHISTRY_ORG_NAME'], idp_name=os.environ.get('GRAPHISTRY_IDP_NAME'))
# Service account / personal key flow
graphistry.register(
api=3,
personal_key_id=os.environ['GRAPHISTRY_PERSONAL_KEY_ID'],
personal_key_secret=os.environ['GRAPHISTRY_PERSONAL_KEY_SECRET']
)
# edges_df: src,dst,... and nodes_df: id,...
edges_df['type'] = edges_df.get('type', 'transaction')
nodes_df['type'] = nodes_df.get('type', 'entity')
g = graphistry.edges(edges_df, 'src', 'dst').nodes(nodes_df, 'id')
g.plot()
# Build graph from multiple entity columns in one table
hg = graphistry.hypergraph(df, ['actor', 'event', 'location'])
hg['graph'].plot()
src/dst/id type consistency, null handling).type column on both edges and nodes for legend-friendly defaults and consistent category encodings.g = graphistry.edges(edges_df, 'src', 'dst').materialize_nodes()
g.materialize_nodes()) before node-centric operations..gfql([...]) or .gfql("MATCH ..."). The methods hop() and chain() are deprecated.npx claudepluginhub graphistry/graphistry-skills --plugin pygraphistry-core-packGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.