ops-codegraph-tool: Skill for Claude Code

.claude/skills/architect/SKILL.md

architect is a skill for Claude Code from optave/ops-codegraph-tool. It costs 21 tokens per session (2,642 once invoked), scanned A, original, Apache-2.0.

A detailed review of Codegraph's software architecture compared with established code-analysis and code-search tools.

In plain words
What is it for?
Auditing the architecture, comparing technical decisions with other tools, and producing a structured report with recommended improvements.
Why use it?
It identifies design flaws, missing capabilities, and technical risks that may be overlooked during normal development.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

This is optave/ops-codegraph-tool's own configuration. It tells Claude Code how to work on ops-codegraph-tool itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ops-codegraph-tool configures →

Reuse

Borrowing it

Nothing to install: this file belongs to optave/ops-codegraph-tool. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/optave/ops-codegraph-tool/main/.claude/skills/architect/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/optave/ops-codegraph-tool

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 architect

README.md
[![agentmods](https://agentmods.dev/badge/skills/optave/ops-codegraph-tool/architect/github.svg)](https://agentmods.dev/skills/optave/ops-codegraph-tool/architect)
Your own site
<a href="https://agentmods.dev/skills/optave/ops-codegraph-tool/architect"><img src="https://agentmods.dev/badge/skills/optave/ops-codegraph-tool/architect/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 architect

Your own site · 80×15
<a href="https://agentmods.dev/skills/optave/ops-codegraph-tool/architect"><img src="https://agentmods.dev/badge/skills/optave/ops-codegraph-tool/architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,642 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00021 $0.02642
Opus 5.5 $0.00008 $0.01057
Sonnet 5.5 $0.00004 $0.00528
Haiku 4.5 $0.00002 $0.00264

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

Security

Grade A, and why

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

.claude/skills/architect/SKILL.md · 189 lines

How it starts

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

/architect — Full Architectural Audit

Run a cold, harsh architectural audit of codegraph. Compare every decision against state-of-the-art tools (Sourcegraph, CodeScene, Joern, Semgrep, stack-graphs, narsil-mcp, CKB). No soft language — flag every flaw that a principal architect at a top-5 tech company would flag.

Persona

You are a tool executing a skill — and you know that. But you adopt the mindset of an elite architect who finds their entire purpose in exposing flaws, limitations, and missed opportunities in other people's architecture. You have an unrealistically high bar and you know it. You don't care if people think you're harsh, unreasonable, or out of touch with "the stage the project is in." Good architecture is a standard — it doesn't get a discount because the team is small, the company is a startup, or the budget is tight. Until the codebase meets that standard, the audit reflects exactly how far it falls short. No grading on a curve.

You propose enterprise-grade solutions even for startup-stage projects. If the architecture can't support them, that's a finding — not an excuse to lower expectations. "We're early stage" is context for a roadmap, never a justification for bad design.

You are not afraid to contradict other architects, prior audits, or even yourself. If you gave a high score in a previous section and then discover something that changes the picture, you revise it on the spot — "I rated this an 8 above, but after examining X, it's a 6." Intellectual honesty beats consistency. New evidence overwrites old conclusions immediately, within the same document if necessary.

You don't seek consensus. You don't soften findings to preserve relationships. You evaluate against the standard, report what you find, and move on.

Dual-Lens Scoring

Every score, opinion, or evaluation row must be presented through two lenses when applicable:

  1. Current State — How does this hold up given the project's actual stage, team size, constraints, and goals? This is the pragmatic lens: is this good enough for what it is right now?
  2. State of the Art — How does this measure against the absolute standard? What would a principal architect at a $500M code intelligence company expect? This is the aspirational lens: how far is this from where it should be?

Read the full file on GitHub · 189 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 First seen · 189 lines · 21 tokens per session scan A 2ffa78214da5

Subscribe to this mod's changes

architect is a skill published in the GitHub repository optave/ops-codegraph-tool (99 stars, last pushed 5d ago), licensed Apache-2.0. It adds 21 tokens to every session and 2,642 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

Other skills, from other repositories

codespaces

Build and query architecture-aware code search, dependency graphs, call flows, impact analysis, and belief maps for Python, TypeScript, TSX, Rust, C#, Java, Go, Ruby, and Ruby on Rails repositories. Use before non-trivial code changes to find module boundaries, blast radius, architecture violations, and the minimal…

diskd-ai/codespaces · 74 tokens

review

The definitive code review, for any codebase. Five-phase workflow: git context detection (worktree, branch, base, changed files), Pharaoh recon (architecture map, module context, blast radius in one call, with a fallback when the repo isn't mapped), parallel specialized agent dispatch (code quality, security against…

Pharaoh-so/pharaoh-mcp · 131 tokens

dekko-verify

Sanity-check a suspiciously low or zero call-graph result from dekko (getcallers, getcallees, findusages, impactedtests, unused) before concluding "no callers" or "dead code," or a heritage/throws-provenance result (query supertypes, query subtypes, query throws) that labels something (external) when you expect it to…

aahlijia/dekko · 151 tokens

scip-architecture-review

Evaluate architecture and maintainability for coding agents. Find ambiguous owners, duplicated rules, leaked coordination, misleading boundaries, and dependency problems; justify changes from behavior and consumers.

PlunderStruck/scip-query · 39 tokens

dekko-review-context

Give a code-review or PR-description flow a structural head start before reading a diff line by line. Trigger when the user asks for a PR description, a pre-merge summary, or invokes a code-review flow (/code-review, /review, or an equivalent) against a diff in a repo with a .dekko/ directory.

aahlijia/dekko · 74 tokens

refactor

Safe refactoring workflow using Pharaoh codebase knowledge graph. Six-step process: module context, blast radius of downstream callers, reachability verification, dependency mapping, naming conflict detection, and test coverage assessment. Produces a refactoring plan with every caller listed, test files identified…

Pharaoh-so/pharaoh-mcp · 68 tokens