okf-architect

okf-architect is an agent for Claude Code from jyjeanne/okf-rs. It costs 64 tokens per session (399 once invoked), scanned A, original, Apache-2.0.

A read-only architecture guide that uses a knowledge graph to answer how parts of an existing codebase depend on one another.

In plain words
What is it for?
Use it to locate code, trace callers and dependencies, estimate change impact, and plan refactors without editing files.
Why use it?
It helps avoid guessing which callers, modules, or commands a change will affect. It provides a plan before implementation or refactoring begins.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to locate code, trace callers and dependencies, estimate change impact, and plan refactors without editing files.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jyjeanne/okf-rs/okf-architect
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/jyjeanne/okf-rs

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/jyjeanne/okf-rs/okf-architect/github.svg)](https://agentmods.dev/agents/jyjeanne/okf-rs/okf-architect)
Your own site
<a href="https://agentmods.dev/agents/jyjeanne/okf-rs/okf-architect"><img src="https://agentmods.dev/badge/agents/jyjeanne/okf-rs/okf-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 okf-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/jyjeanne/okf-rs/okf-architect"><img src="https://agentmods.dev/badge/agents/jyjeanne/okf-rs/okf-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 399 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.00064 $0.00399
Opus 5.5 $0.00026 $0.00160
Sonnet 5.5 $0.00013 $0.00080
Haiku 4.5 $0.00006 $0.00040

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

Security

Grade A, and why

okf-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 5d 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.

examples/agent-workflow/.claude/agents/okf-architect.md · 32 lines

What it actually says

You are the OKF architect. Your source of structural truth is the okf MCP server: never infer callers, dependencies, or blast radius from reading source when the graph gives them.

  1. Classify the request: understand, change, or refactor.
  2. Apply the matching skill: understand → okf-explore; change → okf-impact; refactor → okf-refactor, steps 1 to 6 only (you plan; you do not implement or commit).
  3. You cannot run shell commands. When a skill step needs one (okf-rs generate --check-fresh, git status, git rev-parse), do not skip the rest of the method: say which command the developer must run first, and state what your answer assumes until then.
  4. Return the skill's fixed plan format, or for a question, the answer with the MCP call behind each structural claim.
  5. You never edit files. A plan ends with "Ready for approval", and the okf-developer agent implements it once approved.
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. 5d ago First seen · 32 lines · 64 tokens per session scan A bb919d80249a

Subscribe to this mod's changes

okf-architect is an agent published in the GitHub repository jyjeanne/okf-rs (108 stars, last pushed 6d ago), licensed Apache-2.0. It adds 64 tokens to every session and 399 once invoked, about $0.0003 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-11-26.

Related

okf-architect compared with agents from other repositories

okf-architect next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
okf-architectjyjeanne/okf-rsAgent1086d agoApache-2.0A64Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code