g

g is a command for Claude Code from varienos/agentic-workflow. It costs 37 tokens per session (824 once invoked), scanned A, original, MIT.

A shortcut command for querying Graphify, a knowledge graph that maps relationships in a codebase.

In plain words
What is it for?
It helps search code relationships, explain a component, find the shortest path between two components, view reports, and check graph status.
Why use it?
It makes it quicker to explore how code components connect and to check the graph's current health.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md.

Good fit It helps search code relationships, explain a component, find the shortest path between two components, view reports, and check graph status.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/varienos/agentic-workflow/g.skeleton
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/varienos/agentic-workflow

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for g

README.md
[![agentmods](https://agentmods.dev/badge/commands/varienos/agentic-workflow/g.skeleton/github.svg)](https://agentmods.dev/commands/varienos/agentic-workflow/g.skeleton)
Your own site
<a href="https://agentmods.dev/commands/varienos/agentic-workflow/g.skeleton"><img src="https://agentmods.dev/badge/commands/varienos/agentic-workflow/g.skeleton/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for g

Your own site · 80×15
<a href="https://agentmods.dev/commands/varienos/agentic-workflow/g.skeleton"><img src="https://agentmods.dev/badge/commands/varienos/agentic-workflow/g.skeleton.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 824 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00824
Opus 5.5 $0.00015 $0.00330
Sonnet 5.5 $0.00007 $0.00165
Haiku 4.5 $0.00004 $0.00082

Measured 2mo ago against content hash 7255e9c12c6b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

g scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Agentbase/templates/modules/knowledge-graph/graphify/commands/g.skeleton.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/g — Graphify shortcut

Runs a short graphify query. Generated only when the optional graphify module is selected. If the CLI is absent, say so and continue. Do not install it.



Arguments

The first word of $ARGUMENTS is the mode. The rest is the argument.

Mode Command Meaning
query <question> graphify query "<question>" Code-relation query
explain <Node> graphify explain "<Node>" Node summary
path <A> <B> graphify path "<A>" "<B>" Shortest path
report head -100 graphify-out/GRAPH_REPORT.md Overview
health health block below Age and node count
empty or unknown show this table —

Pass the argument as one quoted string.

health

if [ ! -f graphify-out/graph.json ]; then
  echo "Graph is missing. graphify is optional; bootstrap does not install it."
<!-- GENERATE: GRAPHIFY_UPDATE_COMMAND_ECHO
Filled from the manifest. Printed with echo. Not executed.
Monorepo: one echo line per subproject, then the merge script.
Otherwise one `echo "   graphify update <codebasePath>"`.
Required fields: project structure, project.subprojects, modules.active
Example (single layer):
  echo "   graphify update ."
-->
else
  AGE_HOURS=$(python3 -c "import os,time; print(int((time.time()-os.path.getmtime('graphify-out/graph.json'))/3600))")
  NODES=$(python3 -c "import json; print(len(json.load(open('graphify-out/graph.json'))['nodes']))")
  EDGES=$(python3 -c "import json; print(len(json.load(open('graphify-out/graph.json'))['links']))")
  STATUS="OK"
  [ "$AGE_HOURS" -gt 24 ] && STATUS="STALE (>24h)"
  echo "Graph status: $STATUS"
  echo "   Age hours: ${AGE_HOURS}"
  echo "   Nodes: $NODES"
  echo "   Edges: $EDGES"
fi

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · -51 lines · -3 tokens per session 7255e9c12c6b
  2. 3mo ago First seen · 140 lines · 40 tokens per session scan A d2adb218c73c

Subscribe to this mod's changes

g is a command published in the GitHub repository varienos/agentic-workflow (57 stars, last pushed 2mo ago), licensed MIT. It adds 37 tokens to every session and 824 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

g compared with commands from other repositories

g next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gvarienos/agentic-workflowCommand572mo agoMITA37Claude Code
review-artifact-commentsyonatangross/orchestkitCommand312todayMITA45Claude Code, Cursor
reviewmodu-ai/moai-adkCommand1.3ktodayApache-2.0A15Claude Code
pr-enhanceruvnet/rufloCommand83ktodayMITA0Claude Code
gh-security-reviewsynaptiai/synapti-marketplaceCommand9todayApache-2.0A13Claude Code
review-decidegosha70/code-copilot-teamCommand10todayMITA0Claude Code
feolehsvyrydov/AI-development-teamCommand1810d agoMITA17Claude Code