probing AGENTS.md

Project instructions for probing, a system organized into layers for data collection, storage, control, and user-facing diagnostics. It defines where different kinds of changes belong and how modules should interact.

In plain words
What is it for?
Use it when adding metrics, data collectors, server or CLI behavior, diagnostic skills, or other changes to the probing project.
Why use it?
It reduces tightly coupled code and unnecessary changes by keeping responsibilities within clear module boundaries.

Instructions file for CodexOpenCode

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 instructions/deeplink-org/probing/agents-md
Clone the repo
git clone --depth 1 https://github.com/DeepLink-org/probing

Made for: Codex, OpenCode.

Per session 3,615 This file is loaded in full into every session.
When invoked 3,615 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.03615 $0.03615
Opus 5 $0.01808 $0.01808
Sonnet 5 $0.00723 $0.00723
Haiku 4.5 $0.00362 $0.00362

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

Security

Grade A, and why

probing AGENTS.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 3d 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.

AGENTS.md · 270 lines

How it starts

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

Agent instructions — probing

This repository uses the Agent Skills layout for training diagnostics.

Module boundaries

Before adding code, read docs/src/design/modularity.md (中文: modularity.zh.md).

Layer Where Your change belongs if…
L1 Platform probing/core, memtable, proto SQL engine, federation, storage format
L2 Collectors probing/extensions/*, python/probing/profiling New metrics / tables
L3 Control probing/server, probing/cli HTTP, inject, fan-out
L4 Experience skills/, web/, Python hooks Diagnostics UX, skills, UI

Contracts: ProbeDataSource (tables), ProbeExtension (config/HTTP), @table (Python data), skills/*/steps.yaml (workflows). Do not add cross-collector calls — use SQL JOINs.

Coding principles

These rules extend docs/src/design/modularity.md. Read that doc for layer ownership and dependency direction; follow the rules below on every change.

Minimal diff (pragmatic)

  • Solve the stated problem only. No cross-module drive-by refactors, renames, or formatting.
  • In touched files, necessary follow-on edits are OK — fix what the change breaks in the same module; do not expand scope to unrelated modules.
  • One concern per PR. A bug fix should not also add a feature; a skill SQL tweak should not also change server routing.
  • Composition stays at the root. New wiring belongs in probing/server/src/engine.rs (or the relevant composition root), not sprinkled across L2 collectors.
  • Prefer under 500 lines diff. Larger PRs need a short justification in the description.

Refactoring in the same PR is allowed only when under 50 lines and confined to one module/crate. Larger refactors → separate PR first.

High cohesion, low diffusion

Each crate / directory owns one concern end-to-end. Default: ≤2 modules/crates per PR. A third module is OK with justification in the PR description.

Read the full file on GitHub · 270 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. 3d ago First seen · 270 lines · 3,615 tokens per session scan A 3b6c3d3a354a

Subscribe to this mod's changes

probing AGENTS.md is an instructions file published in the GitHub repository DeepLink-org/probing (11 stars, last pushed 4d ago), licensed Apache-2.0. It adds 3,615 tokens to every session, about $0.0181 per session on Opus 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.