Skip to content
Agentmart
Submit a tool

AGENTS.md · laramies/theHarvester

AGENTS.md from laramies/theHarvester: 34 lines covering Before making changes, Upstream publication, Code review rules, Verification and more.

Template by laramies

IndexedGPL-2.0★ 18,039
Write a review

Install

Works with Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code. Read the repository before you give any tool access to your data.

curl -fsSL https://raw.githubusercontent.com/laramies/theHarvester/master/AGENTS.md -o AGENTS.md

Read it and adapt it to your project before use.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The AGENTS.md file that laramies/theHarvester (18,037 stars) keeps for coding agents. It has 34 lines in 5 sections: Before making changes; Upstream publication; Code review rules; Verification; GitHub CLI diagnostics. Use it as a model for your own project's instructions.

Use cases: prompt-engineering

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

What's in it

An AGENTS.md file: instructions coding agents (Codex, Cursor, Copilot, Gemini CLI and others) read before working in a repo.

For
Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code
Length
34 lines
File
AGENTS.md

Sections

  1. Before making changes
  2. Upstream publication
  3. Code review rules
  4. Verification
  5. GitHub CLI diagnostics

First lines (shown under the repo's GPL-2.0 license)

# Agent guidance

theHarvester is a Python OSINT reconnaissance tool for collecting public information about domains, IPs, emails, names, and related assets.

## Before making changes

- Use `uv` for environments and commands. Follow [CONTRIBUTING.md](CONTRIBUTING.md) for setup, coding conventions, verification, and release preparation.
- Preserve unrelated worktree changes.
- Read [CONTEXT.md](CONTEXT.md) before changing domain names or the meaning of targets, runs, sources, results, evidence, or reports.
- Read the [architecture guide](docs/architecture.md) before changing discovery, target scope, DNS validation, P0/P1/P2 activity, run lifecycle, scheduling, persistence, interchange, or reporting.

## Upstream publication

- Target ordinary upstream contribution pull requests at `dev`.
- Treat `upstream/master` as maintainer-owned. An agent may open a `dev`-to-`master` sync pull request only with explicit operator authorization; leave merging and direct branch updates to upstream maintainers.

## Code review rules

- **External compatibility:** Flag changes that remove or rename CLI flags, output formats or fields, REST API response fields, or discovery source identifiers without a backward-compatible path and regression coverage. Preserve the existing contract or document and test the migration.
- **Sensitive-data boundary:** Flag committed credentials, real target or operator data, reconnaissance results, or unsanitized provider payloads, including in logs, fixtures, and examples. Keep only the diagnostic metadata needed, redact sensitive values, and use RFC-reserved domains and TEST-NET IP ranges.
- **Reconnaissance boundary:** Flag routine tests or CI that contact live third-party targets or providers. Use mocks or local fixtures; live reconnaissance belongs only in intentionally configured integration checks against explicitly authorized targets.
- **State-lifetime audit:** When changing network, pagination, retry, proxy, cookie, or cancellation behavior, trace the entire provider conversation using [How to add a new discovery module](docs/wiki/How-to-add-a-new-module.md#own-the-provider-conversation). Account for every owned resource and every shared-helper caller before declaring the change complete.

## Verification

- Start with `uv run pytest <test-path>` for the changed behavior, then expand according to risk. Report skipped checks and their reasons.
- Run the full non-browser suite once at the publication head. Dependent stack layers do not need to repeat it unless they change Python behavior.
- Run the HarvestView browser suite once at the final UI head or rely on its GitHub workflow. Static UI edits should use focused UI tests and a JavaScript syntax check first.
- Before retrying a long-running test, confirm the previous process exited. Poll the existing command or stop only its exact owned process instead of starting an overlapping run.

## GitHub CLI diagnostics

When GitHub access fails, run `gh api user --silent` in the same host context used for `git push`. Report DNS, network, and service errors as connectivity blockers. A sandboxed `gh auth status` failure alone does not establish a credential failure. Use browser publication only when the host command reports missing or invalid credentials.

Signals

Stars
18,039
Forks
2,674
Open issues
2
Last commit (this folder)
Sep 10, 2026 (1 month ago)
Last release
Jun 3, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
GPL-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

AGENTS.md · laramies/theHarvester. Agent Mart. https://agentmart.dev/templates/laramies-theharvester-agents-md (last updated 2026-10-24)