graphsmith

graphsmith is a skill for Claude Code, Codex from SathiaAI/graphsmith. It costs 204 tokens per session (2,576 once invoked), scanned A, a copy of graphsmith, MIT.

A method for turning a goal into a reliable workflow made of multiple AI-agent steps. It covers both technical builds and plain-language automation requests.

In plain words
What is it for?
Use it to build agents, bots, pipelines, or swarms that automate a task or workflow.
Why use it?
It adds saved progress, repeatable steps, controlled routing, limited handoffs, and logs to multi-step AI work.

Skill for Claude CodeCodex

Part of the graphsmith plugin — 1 skill shipped together

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.

agentmods
npx agentmods add skills/sathiaai/graphsmith/graphsmith-hooks
Any agent
npx skills add SathiaAI/graphsmith --skill graphsmith-hooks
Clone the repo
git clone --depth 1 https://github.com/SathiaAI/graphsmith

Made for: Claude Code, Codex.

Or install graphsmith, the plugin that ships this one along with the rest of its 1 skill.

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 graphsmith

README.md
[![agentmods](https://agentmods.dev/badge/skills/sathiaai/graphsmith/graphsmith-hooks.svg)](https://agentmods.dev/skills/sathiaai/graphsmith/graphsmith-hooks)
Your own site
<a href="https://agentmods.dev/skills/sathiaai/graphsmith/graphsmith-hooks"><img src="https://agentmods.dev/badge/skills/sathiaai/graphsmith/graphsmith-hooks.svg" alt="Measured on agentmods" height="20"></a>
Per session 204 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,576 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00204 $0.02576
Opus 5 $0.00102 $0.01288
Sonnet 5 $0.00041 $0.00515
Haiku 4.5 $0.00020 $0.00258

Measured 3d ago against content hash d51861f25bcd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

graphsmith 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 3d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (hooks/scripts/lib/guidance.js, hooks/scripts/lib/safe-stdin.js, hooks/scripts/session-start.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

100% identical to graphsmith — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/graphsmith-hooks/SKILL.md · 118 lines

How it starts

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

GraphSmith

Turn a goal into a reliable multi-agent workflow. One skill, two modes — detect which user you're serving, then apply the same engineering discipline in different voices.

The discipline (never negotiable, in either mode):

  1. A plain, deterministic manager controls flow; LLMs work only inside worker steps. Control returns to the manager after every step.
  2. Save after every step — a crashed run resumes, never restarts.
  3. Every step is safe to re-run — assume it WILL be retried.
  4. No clocks or randomness in routing — same inputs, same path.
  5. Minimal handoffs — workers get only what they need.
  6. Grounded claims — anything said about existing code cites KnoSky.
  7. One log line per step — run ID, step, status, duration.

Mode detection (do this first, silently)

Score the context. Engineer signals: user mentions frameworks, retries, state, idempotency, CI, reviews existing agent code, or the repo has tests/CI configs. Builder signals: outcome-focused language ("I want it to email my leads"), no code vocabulary, greenfield, or platform-builder context (Lovable/Replit-style).

  • Builder mode → plain English only. Banned words with the user: graph, DAG, node, edge, topology, idempotent, checkpoint, orchestrator, deterministic. Use: blueprint, worker, handoff, save point, manager, "safe to re-run."
  • Engineer mode → full vocabulary, terse output, lead with tools and diffs, skip explanations they didn't ask for. Never talk down.

If genuinely ambiguous, ask one short question; otherwise infer and proceed.


Phase 0 — Ground (KnoSky)

If the task involves an existing repo or docs folder:

  1. Run node scripts/knosky-sync.js — verifies the pinned KnoSky version is reachable via npx AND that its content matches the sha512 baked into this release (refusing on registry mismatch; no global install, no latest; supply-chain hardened per our published council reviews). Non-blocking: offline or registry failures never stop the task. Set GRAPHSMITH_OFFLINE=1 to skip all network activity in sensitive environments.
  2. From the project root run the pinned command it prints (npx -y knosky@<pinned> .) — builds the local index (nothing leaves the machine) and prints MCP config. Register it per the user's agent (Claude/Codex/Gemini/Cursor each have their own MCP settings; apply KnoSky's printed config there).
  3. Cite or flag. Every claim about existing code carries a KnoSky citation (real path). If you can't cite, say "inferring." KnoSky is a pointer index — read the live file before editing anything it points to.

Read the full file on GitHub · 118 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 118 lines · 204 tokens per session scan A d51861f25bcd

Subscribe to this mod's changes

graphsmith is a skill published in the GitHub repository SathiaAI/graphsmith (3 stars, last pushed 4d ago), licensed MIT. It adds 204 tokens to every session and 2,576 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to graphsmith, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

Angry User Simulator

Simulate aggressive user behavior patterns including rapid clicking, random navigation, form abuse, tab spamming, and unexpected interaction sequences to find UI resilience issues.

PramodDutta/qaskills · 34 tokens

agent-resilience-testing

Orchestrates end-to-end resilience testing for LLM agents with AgentBreak, including LLM infrastructure failures, prompt injection, agent skill supply-chain risk, guardrail verification, and MCP server/tool failures. Use when the user asks to "test my agent for resilience", "chaos test this agent", "find failure modes…

mnvsk97/agentbreak · 97 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens