accessflow: Instructions file for Claude Code

CLAUDE.md

accessflow CLAUDE.md is an instructions file for Claude Code from bablsoft/accessflow. It costs 22,048 tokens per session, scanned B, original, Apache-2.0.

Project instructions for AccessFlow, an open-source platform that controls access to databases by reviewing and approving queries before they run. It also covers permissions, audit records, and notifications.

In plain words
What is it for?
Use them when developing AccessFlow’s database proxy, query approval workflows, access roles, audit logging, or related backend code.
Why use it?
They tell coding agents which project patterns and design documents to follow, helping changes fit AccessFlow’s security-sensitive architecture.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is bablsoft/accessflow's own configuration. It tells Claude Code how to work on accessflow 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 accessflow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bablsoft/accessflow. 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/bablsoft/accessflow/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/bablsoft/accessflow

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 accessflow CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/bablsoft/accessflow/claude-md/github.svg)](https://agentmods.dev/instructions/bablsoft/accessflow/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/bablsoft/accessflow/claude-md"><img src="https://agentmods.dev/badge/instructions/bablsoft/accessflow/claude-md/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 accessflow CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bablsoft/accessflow/claude-md"><img src="https://agentmods.dev/badge/instructions/bablsoft/accessflow/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22,048 This file is loaded in full into every session.
When invoked 22,048 The same file — it is already loaded in full.
Security scan B 2 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.22048 $0.22048
Opus 5.5 $0.08819 $0.08819
Sonnet 5.5 $0.04410 $0.04410
Haiku 4.5 $0.02205 $0.02205

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

Security

Grade B, and why

accessflow CLAUDE.md scanned grade B with 2 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 6d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

`default`, so the compiler will not find them all → `.claude/patterns/notification-fanout.md`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

├── deploygov/ # Deployment approval governance (epic AF-682): gate CI/CD deployments behind approval workflows. #684 landed the persistence foundation — pipelines/environments/freeze windows/requests/decisions/routing/g
CLAUDE.md · 763 lines

How it starts

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

CLAUDE.md — AccessFlow Agent Rules

This file is the authoritative guide for AI agents implementing AccessFlow. Read it entirely before writing any code. When in doubt, prefer the rules here over general best-practice intuition.

Before writing code in an area, open .claude/patterns/README.md and read the matching pattern. This file holds the rules that are always true; the patterns hold the per-area detail — canonical examples with file:line, acceptance checklists, and the anti-patterns whose failure mode is silent. docs/ remains the design reference for what to build; the patterns describe how.


Project at a Glance

AccessFlow is an open-source database access governance platform. It is a full query proxy between users and customer databases, enforcing configurable review and approval workflows before any query executes. Core capabilities: AI-powered query analysis, multi-stage human approval chains, role-based access control, a tamper-evident audit log, and real-time notifications.

Supported engines. The relational engines (PostgreSQL, MySQL, MariaDB, Oracle, SQL Server) run over pooled JDBC in-process; any other JDBC engine can be added by uploading its driver JAR (db_type=CUSTOM). Everything else is an engine plugin — a standalone shaded JAR implementing the core.api.QueryEngine SPI, resolved on demand through the connector catalog, SHA-256 verified, and discovered via ServiceLoader:

Category Engines
RELATIONAL PostgreSQL, MySQL, MariaDB, Oracle, SQL Server, CUSTOM (in-process JDBC)
WAREHOUSE Snowflake, BigQuery, Databricks
DOCUMENT MongoDB, Couchbase
KEY_VALUE Redis, DynamoDB
WIDE_COLUMN Cassandra, ScyllaDB (same JAR)
SEARCH Elasticsearch, OpenSearch (same JAR)
GRAPH Neo4j

Each plugin has its own version line, pinned by URL + SHA-256 in connectors/<id>/connector.json; CI fails on pin drift. Per-engine specifics — dialect classifier, row-security shape and where it fails closed, connection model, shading — live in docs/05-backend.md (one section per engine). The host↔plugin contract and the add-an-engine checklist are docs/15-engine-sdk.md.

Read the full file on GitHub · 763 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. 6d ago Changed · +353 tokens per session 41d7e5022253
  2. 8d ago Changed · +290 tokens per session d132f9d24727
  3. 9d ago Changed · +153 tokens per session 66da14068fb0
  4. 23d ago Changed · +170 tokens per session 46c903b9b14b
  5. 25d ago Changed · +228 tokens per session 8f4a7c49b487
  6. 29d ago Changed · +116 tokens per session 5f151f3276f5
  7. 1mo ago Changed · +33 tokens per session 3df28eb4c05c
  8. 1mo ago Changed · +10 lines · +251 tokens per session a65c2a707c22
  9. 1mo ago Changed · +20 lines · +366 tokens per session ba56b50e87dd
  10. 1mo ago First seen · 733 lines · 20,088 tokens per session scan B 1bd9cfbfa81c

Subscribe to this mod's changes

accessflow CLAUDE.md is an instructions file published in the GitHub repository bablsoft/accessflow (11 stars, last pushed today), licensed Apache-2.0. It adds 22,048 tokens to every session, about $0.0882 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens