agentleFS
MongoDBKnown publishermongodb/kingfisher/docs/benchmark/AGENTS.md

kingfisher / benchmark

AGENTS.md1.3k starsChanged 10 days agoApache-2.0View on GitHub

Applies to this directory, including main.go, generated reports, and README.md. - Keep main.go as the only Go source file in this directory. It contains the executable benchmark harness and chart generation. Do not add a separate main_test.go or alternate Go implementation. - Build from this directory with go build -o benchmark main.go, and run the resulting executable with the required benchmark options. Check compilation and use targeted benchmark runs to validate changes. - Use a detection-only run of Kingfisher, TruffleHog,…

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Sep 13: 0 new projectsWeek of Sep 20: 0 new projectsWeek of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about mongodb/kingfisher

The biggest 5 of 51 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 51

Talked about on GitHub and Hacker News (51 times).

On GitHub · 50

45 more on GitHub

The file

We split this AGENTS.md into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Keep main.go as the only Go source file in this directory.

    line 8
  2. Very specific:

    Use a detection-only run of Kingfisher, TruffleHog, and Gitleaks for

    line 17
  3. Distinctive:

    Validated / Verified Findings: Use this run's network counts and verified findings for those sections.

    line 24
  4. Distinctive:

    Use the same repository revisions and history for both runs.

    line 26
  5. Distinctive:

    Use the reference image as the visual specification for the runtime chart.

    line 35
  6. Distinctive:

    Keep README commands aligned with the harness and actual execution logs.

    line 72

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Benchmark Agent Guidance

Applies to this directory, including main.go, generated reports, and README.md.

Single Go Source File

  • Keep main.go as the only Go source file in this directory. It contains the executable benchmark harness and chart generation. Do not add a separate main_test.go or alternate Go implementation.
  • Build from this directory with go build -o benchmark main.go, and run the resulting executable with the required benchmark options. Check compilation and use targeted benchmark runs to validate changes.

Separate Comparison Runs

  • Use a detection-only run of Kingfisher, TruffleHog, and Gitleaks for Runtime Comparison. These are the only supported comparison tools. Explicitly disable credential validation in Kingfisher and verification in TruffleHog. Gitleaks runs as a detection-only scanner. Generate the runtime chart from this run's data.
  • Perform a separate run of only TruffleHog and Kingfisher, with credential verification/validation enabled, for Network Requests Comparison and Validated / Verified Findings. Use this run's network counts and verified findings for those sections.
  • Use the same repository revisions and history for both runs. Keep other scan settings comparable, and document any differences that affect interpretation.
  • Preserve separate raw outputs and identify each report's validation mode and data source. Do not mix results between modes or relabel existing validation-enabled timings as detection-only results; rerun the affected comparisons when changing methodology.

Chart Generation

  • Use the reference image as the visual specification for the runtime chart. Match its layout, typography, spacing, legend, axes, grid, bar outlines, arrow annotations, and footer while plotting the newly measured results. Inspect the reference and generated image visually.
  • Generate charts deterministically from benchmark results through the chart renderer in main.go (QuickChart, Chart.js v4). Do not fabricate measurements or use an AI-generated image for the data chart.
  • Render a white-background PNG at 1360 × 966 pixels, with a 52 px Georgia title, “Runtime comparison”. Use Kingfisher green #01ec64, TruffleHog blue #4a85e8, and Gitleaks amber #fabd05, with dark text and Kingfisher bar outlines in #011e2a. Show each program's version beneath its legend name and the analysis month/year directly beneath the title. Read the analysis date from the saved report, not the chart-regeneration clock.
  • Plot grouped bars by repository, with runtime in seconds. Point downward arrows at Kingfisher's bars and calculate faster/slower annotations against the fastest successful competing tool for each repository. Omit failed or missing measurements rather than plotting them as zero. Keep labels legible and free of clipping or overlap.
  • Save the chart as runtime-comparison-<timestamp>.png alongside its source comparison_*.md report. Use only detection-only runtime data; keep the validation-enabled comparison data separate.
  • To regenerate a chart without rescanning, run from this directory: go run main.go -chart-from <results-directory>. This reads the saved report and writes a new timestamped PNG. Confirm the report uses the required validation mode before regenerating, and document this command in the README.

Commands and Reproducibility

  • The README must show the command line used to run each tool, including the distinct detection-only and validation-enabled commands where applicable.
  • Generalize repository and output paths with defined placeholders so each command is printed once per tool and mode, rather than repeated for every repository.
  • Include all flags used, especially those controlling validation, verification, history, concurrency, output, and update checks. Keep run commands limited to the supported scanners; do not restore retired flags or tool integrations from archived reports or source snapshots.
  • Keep README commands aligned with the harness and actual execution logs. Record tool versions, repository revisions, measurement environment, and scan failures or input-processing diagnostics alongside the results.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.