Borrowing it
Nothing to install: this file belongs to taoq-ai/ziran. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/taoq-ai/ziran/develop/CLAUDE.mdgit clone --depth 1 https://github.com/taoq-ai/ziranWrote 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.
[](https://agentmods.dev/instructions/taoq-ai/ziran/claude-md)<a href="https://agentmods.dev/instructions/taoq-ai/ziran/claude-md"><img src="https://agentmods.dev/badge/instructions/taoq-ai/ziran/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.
<a href="https://agentmods.dev/instructions/taoq-ai/ziran/claude-md"><img src="https://agentmods.dev/badge/instructions/taoq-ai/ziran/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.04939 | $0.04939 |
| Opus 5.5 | $0.01976 | $0.01976 |
| Sonnet 5.5 | $0.00988 | $0.00988 |
| Haiku 4.5 | $0.00494 | $0.00494 |
Grade A, and why
ziran CLAUDE.md 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 23d 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.
How it starts
The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ziran Development Guidelines
Auto-generated from all feature plans. Last updated: 2026-10-04
Active Technologies
- Python 3.11+ (CI matrix: 3.11, 3.12, 3.13) + asyncio, dataclasses, logging, OpenTelemetry (tracing) (003-split-agent-scanner)
- N/A (in-memory knowledge graph via NetworkX) (003-split-agent-scanner)
- Python 3.11+ (CI matrix: 3.11, 3.12, 3.13) + Pydantic (config models), re (stdlib regex) (003-precompile-regex-patterns)
- Python 3.11+ (CI matrix: 3.11, 3.12, 3.13) + PyYAML (scenario loading), Pydantic (schema validation) (007-ground-truth-business-impact)
- YAML files (ground truth scenarios and agent archetypes) (007-ground-truth-business-impact)
- Python 3.11+ (CI matrix: 3.11, 3.12, 3.13) + TypeScript 5.x (frontend) + FastAPI, SQLAlchemy (async), asyncpg, Alembic, uvicorn (backend); React 18, Vite, TanStack Query, shadcn/ui, Tailwind CSS, vis-network (frontend) (008-web-ui-foundation)
- PostgreSQL via asyncpg (configurable via
ZIRAN_DATABASE_URLenv var) (008-web-ui-foundation) - Python 3.11+ (backend), TypeScript 5.x (frontend) + FastAPI, SQLAlchemy 2.0 (async), Alembic, Pydantic v2 (backend); React 18, Vite, TanStack Query, TanStack Table, shadcn/ui, Tailwind CSS (frontend) (009-ui-findings-compliance)
- PostgreSQL via asyncpg (existing
ZIRAN_DATABASE_URL) (009-ui-findings-compliance) - Python 3.11+ (backend), TypeScript 5.x (frontend) + FastAPI, SQLAlchemy 2.0 (async), Pydantic v2 (backend); React 18, Vite, TanStack Query/Table, shadcn/ui, Tailwind CSS, vis-network (frontend) (010-ui-polish-pages)
- Python 3.11+ (CI matrix: 3.11, 3.12, 3.13) + click (CLI), httpx (async HTTP), pydantic (models), networkx (graph), pyyaml (config), rich (output), mdutils (reports). New optional:
langfuse(trace pull). (011-runtime-bridge-v0-8) - Local JSON files for registry snapshots (
.ziran/snapshots/); no database. (011-runtime-bridge-v0-8) - Python 3.11+ (CI matrix: 3.11, 3.12, 3.13) + pydantic (models), PyYAML (vector loader), click (CLI), rich (reports), networkx (graph — unchanged). No new dependencies. (012-benchmark-maturity)
- YAML vector files under
ziran/application/attacks/vectors/; benchmark result JSON underbenchmarks/results/; docs underdocs/reference/benchmarks/. (012-benchmark-maturity) - Python 3.11+ (CI matrix: 3.11, 3.12, 3.13) +
re(stdlib), existingziran.application.detectorsmodule (013-multilingual-refusal-detection) - N/A (in-memory pattern matching) (013-multilingual-refusal-detection)
- Python 3.11+ (CI matrix: 3.11, 3.12, 3.13) + httpx (async HTTP — Slack + GitHub REST), Pydantic v2 (config + entity models), PyYAML (config + new
!envtag), Click (CLI). Composite GitHub Action usesghCLI + bash, no new runtime deps. (017-runtime-loop-alerting) - None new. Dedup is stateless via GitHub-side issue markers; existing registry snapshots stay in
.ziran/snapshots/(local JSON). (017-runtime-loop-alerting) - Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + Pydantic v2 (threshold + dataset models), PyYAML (dataset + config loading, reusing
load_yaml_with_env), Click (benchmark CLI entry point), existingziran.application.detectorspipeline. No new runtime dependencies. (021-detection-accuracy-benchmark) - YAML files for the labelled dataset (under
benchmarks/ground_truth/detection/) and for operator config (.ziran/detectors.yaml); JSON result + baseline artifacts underbenchmarks/results/(existing pattern). (021-detection-accuracy-benchmark) - Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + Pydantic v2 (cassette + comparison + result models), PyYAML (CVE target definitions, reusing spec-007 schema), Click/argparse (benchmark CLI), existing
AgentScanner+PentestOrchestrator. Recording (opt-in) additionally needs the existingpentestextra (langgraph) + a liveBaseLLMClient. No new runtime dependencies. (022-pentest-vs-scanner-benchmark) - YAML for CVE-modeled ground-truth agents (
benchmarks/ground_truth/agents/); JSON cassettes for recorded agent runs (benchmarks/ground_truth/pentest_runs/); JSON results + baseline underbenchmarks/results/(existing pattern). (022-pentest-vs-scanner-benchmark) - Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + Pydantic v2 (
ManyShotConfigmodel + validators), PyYAML (vectors + synthetic corpus loading), existingAttackLibrary/AttackExecutor/AgentScanner. No new runtime dependencies (token estimate is a char heuristic, nottiktoken). (023-many-shot-jailbreak) - YAML — the vector file (
ziran/application/attacks/vectors/many_shot_jailbreak.yaml) and a synthetic shot corpus (ziran/application/attacks/vectors/many_shot_corpus.yaml). (023-many-shot-jailbreak) - Python 3.11+ (CI matrix 3.11/3.12/3.13) backend; TypeScript 5.x / Node frontend — no new source code, only manifests, lockfiles, CI workflows, and docs. + package managers + audit tooling —
uv(Python lock/sync),npm(frontend lock),pip-audit(Python vuln gate),npm audit(frontend vuln gate). No new runtime dependencies inziran/. (024-security-alert-remediation) - N/A (no data store). The committed risk-acceptance record (
docs/security/risk-acceptances.md) is the only new persisted artifact. (024-security-alert-remediation) - Python 3.11+ (CI matrix 3.11/3.12/3.13); TypeScript frontend unaffected. (025-dependency-modernization)
- N/A. Touched persisted artifact:
docs/security/risk-acceptances.md(rows removed). (025-dependency-modernization) - Python 3.11+ (CI matrix 3.11/3.12/3.13) backend; TypeScript 5.x / React 18 frontend. + Backend — FastAPI, SQLAlchemy 2.0 (async), Alembic, asyncpg, Pydantic v2, NetworkX, mdutils/f-string HTML report. Frontend — React 18, Vite, TanStack Query v5, vis-network v10.0.2 + vis-data v8, Tailwind/shadcn. Report — vis-network via CDN (currently v9.1.9). No new runtime dependencies anticipated (vis-network clustering + hierarchical layout already available). (026-interactive-knowledge-graph)
- PostgreSQL via asyncpg (
ZIRAN_DATABASE_URL). New:graph_state_jsonJSONB column onphase_results. (026-interactive-knowledge-graph) - Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + Pydantic v2 (entities/config), PyYAML (vector loading),
re(stdlib). No new dependencies. (027-detector-indicator-false-positives) - N/A — attack vectors are YAML files under
ziran/application/attacks/vectors/; benchmark artifacts underbenchmarks/. (027-detector-indicator-false-positives) - Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + stdlib
re; existing PyYAML (pattern loading), Pydantic v2 (DangerousChain), NetworkX. No new dependencies. (033-claude-code-chain-patterns) - N/A — patterns in
ziran/application/knowledge_graph/chain_patterns.yaml; benchmark YAML underbenchmarks/ground_truth/. (033-claude-code-chain-patterns) - Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + Click (CLI), Pydantic v2 (existing entities), stdlib
re/functools; reusescanonical_tool_name(#417) and SA001 secret rules. No new dependencies. (034-claude-code-otel-traces) - N/A. Report file
trace_analysis.jsonin--out(existing). (034-claude-code-otel-traces) - Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + Click, Pydantic v2 (baseline file models); reuses #418
agent_chains. No new dependencies. (039-audit-allowlist-baseline) - one user-committed JSON file (the baseline); read and written only by the CLI. (039-audit-allowlist-baseline)
- Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + Pydantic v2 (models), PyYAML
safe_load/compose(frontmatter), stdlibjson/re; reusesload_claude_mcp_config(#422) and the domainis_dangerousclassifier. No new dependencies. (037-claude-code-plugin-parser) - N/A — reads plugin files only. (037-claude-code-plugin-parser)
- Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + Click (CLI), existing
StaticAnalyzer,ToolChainAnalyzer(NetworkX) and #416load_claude_code. No new dependencies. (038-audit-claude-code-plugins) - Python 3.11+ (CI matrix 3.11, 3.12, 3.13); composite action in bash. + Click, stdlib
json/pathlib, existingziran/application/cicd/sarif.py, #419--baseline; action uses setup-python + upload-sarif (already used). No new dependencies. (040-action-plugin-audit) - N/A. Files: the SARIF output, the user-committed baseline. (040-action-plugin-audit)
- Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + Pydantic v2, stdlib
math/hashlib/asyncio, existing optionalllmextra (litellmaembedding). No new dependencies. (042-semantic-embedding-detection) - Committed JSON embedding cassette
benchmarks/ground_truth/semantic_embeddings.json(only once recorded with a real model). (042-semantic-embedding-detection) - Markdown (MkDocs Material); Python 3.11+ test and example stdio server (CI matrix 3.11, 3.12, 3.13) + None new; shipped
ziran audit/analyze-traces/watch-registryCLI, ClickCliRunner, stdlibjson/sys(044-claude-code-plugin-guide) - N/A (committed example files; runtime output in git-ignored
reports/ortmp_path) (044-claude-code-plugin-guide) - Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + Pydantic v2 (config + benchmark models), stdlib
asyncio; reusesLLMJudgeDetector,create_llm_client,ReplayLLMClient. No new dependencies. (043-two-tier-judging) - N/A at runtime. Benchmark: optional cheap-model cassette
benchmarks/ground_truth/prefilter_verdicts.json, resultbenchmarks/results/two_tier_judging.json. (043-two-tier-judging) - Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + Pydantic v2 (usage + price models), PyYAML
safe_load(price table), Click (scan flags); reusesBaseLLMClient,many_shot.estimate_tokens, the checkpoint/resume path,PhaseExecutor,ResultBuilder. No new dependencies. (047-token-budget-cost-cap) - shipped
ziran/infrastructure/llm/prices.yamlplus optional operator.ziran/prices.yaml; usage ledger snapshot inside the existing<output>/.checkpoint.json. (047-token-budget-cost-cap) - Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + Pydantic v2 (suppression file + finding models), PyYAML
safe_load, stdlibhashlib/json/datetime, Click. No new dependencies. (046-ci-suppression-baseline) - one user-committed YAML file, read only by
ziran ci. (046-ci-suppression-baseline) - Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + Pydantic v2 (domain models), existing
AttackKnowledgeGraph(NetworkX) andToolChainAnalyzer,langgraph1.2.x +langchain-corevia the existinglangchainextra (transitive). No new dependencies. (050-langgraph-native-scanning) - N/A — in-memory knowledge graph only. (050-langgraph-native-scanning)
- Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + Pydantic v2 (cache models), stdlib
hashlib/json/os/re/shutil/asyncio.to_thread, Click (scan flags,cache clear); reusesPhaseExecutor,ResultBuilder, theCheckpointManager.saveatomic-write pattern. No new dependencies. (049-incremental-scan-cache) - per-vector JSON files under
.ziran/scan_cache/<campaign_key>/(working directory; git-ignored; never committed). (049-incremental-scan-cache) - Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + Pydantic v2 (
Fieldvalidation), stdlibasyncio. No new dependencies. (051-probe-rate-limiting) - N/A (target YAML is read by the existing
load_target_config). (051-probe-rate-limiting) - Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + pytest,
fastapi.testclient.TestClient(fastapi from theuiextra), stdlibunittest.mock. Tests only, no production change. No new dependencies. (052-web-route-handler-tests) - N/A (no database, no files). (052-web-route-handler-tests)
- Python 3.11+ (CI matrix 3.11, 3.12, 3.13) + existing NetworkX-backed
AttackKnowledgeGraph; stdlib only (053-enables-edge-fanout) - N/A (in-memory graph). (053-enables-edge-fanout)
- Python 3.11+ (CI matrix 3.11, 3.12, 3.13); GitHub Actions YAML + bash (the benchmark job uses Python 3.12). + stdlib
argparse/json/pathlib(already imported),actions/checkout@v7(already used). No new dependencies. (054-benchmark-pr-delta) - committed
benchmarks/results/baseline.json(gate); CI-only_bench_base/benchmarks/results/baseline.json(delta, never committed). (054-benchmark-pr-delta) - Markdown (MkDocs Material); Python 3.11+ test (CI matrix 3.11, 3.12, 3.13) + none new. Reads output of the existing
benchmarks/atlas_coverage.py. (055-atlas-coverage-docs)
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.
- 23d ago Changed · +14 lines · +734 tokens per session afc560eeddf5
- 24d ago Changed · +3 lines · +186 tokens per session 6862a3ad0244
- 25d ago Changed · +7 lines · +422 tokens per session 8fd3fa18853c
- 28d ago Changed · +12 lines · +667 tokens per session 74456e491af4
- 1mo ago First seen · 121 lines · 2,930 tokens per session scan A 70f4b9014c1d
ziran CLAUDE.md is an instructions file published in the GitHub repository taoq-ai/ziran (11 stars, last pushed yesterday), licensed Apache-2.0. It adds 4,939 tokens to every session, about $0.0198 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-31.
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).
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.
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).
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.
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).
vscode model-prompts.instructions.md
Model-specific prompt authoring and registry guidelines.