Skip to content
Back to skills

Graphify

ASecurity

Query a local Graphify code graph before wide reading.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
ai-agentspythongoshellnodegitsecurity

Works with

  • terminal
  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add TrebuchetDynamics/kit --skill graphify --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Graphify?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Graphify
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/trebuchetdynamics-graphify/badge)](https://www.skillsdirectory.com/skills/trebuchetdynamics-graphify)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: graphify
description: "Query a local Graphify code graph before wide reading."
disable-model-invocation: true
---

# Graphify

Apply the [shared Ponytail method](../../../skills/shared/PONYTAIL.md) within this workflow's scope.

Use the [ASD-STE100 and project language rules](../../../skills/shared/COMMUNICATION.md) for user-facing text.

Read the [host contract](../COMMON.md), then use this host's native terminal and file
tools. Graphify maps a project into a local graph; you query that graph instead of
reading many files. This adapter is Kit content that calls the official Graphify
CLI. It does not bundle, install or configure Graphify. Where the official `/graphify`
skill is installed, that skill builds the graph; this workflow owns the
Kit scope, evidence, limit and reporting rules that follow.

## Preconditions

- Require the `graphify` command. The PyPI distribution is `graphifyy` and needs
  Python 3.10+. Detect it with a shell lookup and record `graphify --version`.
- Do not install the tool, change host settings, add hooks or call a model from this
  workflow. When the command is absent, report the missing tool and continue with
  text search. A user can install it with `uv tool install graphifyy`.
- Never run `graphify hook install` or `graphify <agent> install` here; they write
  repository or agent configuration outside this workflow's authority.

## Build or reuse a graph

1. Inspect repository instructions, `git status --short --branch` and existing output.
2. Reuse `graphify-out/graph.json` only when `graph.schema_version` and
   `graph.graphify_version` are readable and one of two conditions holds: that commit
   matches the current `git rev-parse HEAD`, or every node you intend to query is
   untouched by the files changed since `built_at_commit`. Check the second condition
   against the graph's own `source_file` values and the actual changed set, not a
   guess. A missing version, an unknown changed set or a changed node makes the reuse
   stale. Read the keys this file actually has; other releases can rename them.
3. Build code-only output. Parsing is local, deterministic and needs no key:

   ```sh
   graphify extract . --code-only --out <ignored-directory>
   ```

   Use one repository or folder, add `--exclude` for large unrelated trees, and keep
   the run bounded. Keep one shared graph per repository: the first need builds it and
   other readers query it with `--graph`; do not rebuild a graph another worker is
   building or reading. Do not request a semantic pass or network call unless the user
   asks for it.
4. Verify the result before use: a nonempty `graph.json`, `nodes` and `links` counts
   read from that file, its schema and tool version, and `graphify --version`. Each
   link carries `relation` and `confidence`. Empty output is not a map.

## Declared state

A graph is never perfectly current. Report the state defined in the
[shared contract](../../../skills/shared/COMMON-CONTRACT.md#graph-state), and reach it
from these facts:

- `graphify_fresh` only when both reuse conditions above held, `nodes` and `links` are
  nonzero and `graphify --version` is recorded.
- `graphify_stale` or `graphify_partial` for a commit mismatch, an unknown or changed
  node in the queried scope, uncommitted or excluded files, or an integrity warning.
- `graphify_unavailable` for a missing command, missing skill or failed extraction;
  include the exact failure.

Freshness is a statement about the inputs a graph represents, never proof that its
edges are correct. Coverage gaps such as unsupported languages and zero-symbol files
belong in the report under every state.

## Query instead of wide reading

| Purpose | Command |
| --- | --- |
| One node with its neighbors | `graphify explain "<node>"` |
| Shortest connection between two nodes | `graphify path "<A>" "<B>"` |
| What depends on a node | `graphify affected "<node>" --depth 3 --relation calls` |
| Scoped answer to a question | `graphify query "<words>" --budget 2000` |
| Most connected nodes | `graphify god-nodes --top 10 --json` |

`query`, `path` and `explain` exit `0` with an answer, `3` when a name matches
several nodes and `4` when no node matches. On `3`, choose one printed candidate; do
not guess. `path` can also exit `0` and report that no directed path exists; add
`--undirected` only when direction is not part of the question. Pass
`--graph PATH` to read a graph outside the default location.

## Evidence rules

- `EXTRACTED` edges are explicit in the source. `INFERRED` edges are resolved by
  Graphify and are not runtime proof. Source line numbers can be stale.
- A graph is orientation, never proof of behavior, usage or deadness. Verify each lead
  in live source: callers, imports, re-exports, public entrypoints, runtime discovery,
  strings, configuration and tests.
- Absent inbound edges do not prove unreachable code. Deletions follow the
  [Unused Code workflow](../../../skills/unused-code/SKILL.md), including its
  ownership boundaries and post-delete checks.
- Do not commit `graphify-out/`, caches or absolute local paths. Never rewrite tracked
  files, ignore rules or settings to make a scan pass.
- A read-only request builds nothing and writes nothing. Graph counts, query output
  and a rendered `graph.html` are not test, security or runtime evidence.

## Report

State the declared state and which reuse condition it rests on, the scope, the command
and tool version, the graph path and source revision, node and link counts, the queries
with their exit codes, verified findings, coverage gaps such as unsupported languages
or zero-symbol files, and any stale or mixed-state input. Separate what the graph
returned from what the source confirmed. Do not claim dead code, runtime behavior or
effort savings from the graph alone.

Files in this skill

  • SKILL.md5.7 KB
  • agents/openai.yaml43 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.