hygiene-surveyor

hygiene-surveyor is an agent for coding agents from Cloud-Forest-Analytics/evergreen. It costs 77 tokens per session (392 once invoked), scanned A, original, MIT.

A read-only survey that checks a repository's GitHub issues, pull requests, and Git worktrees for stale or disconnected work.

In plain words
What is it for?
Use it to find mergeable or stale pull requests, orphaned or inactive issues, missing links, and worktrees whose branches are merged, closed, or not pushed.
Why use it?
It reveals project-board drift and cleanup candidates without changing the repository or closing anything automatically.

Agent

Part of the evergreen plugin — 2 skills, 2 commands, 3 agents, 1 hook shipped together

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 agents/cloud-forest-analytics/evergreen/hygiene-surveyor
Clone the repo
git clone --depth 1 https://github.com/Cloud-Forest-Analytics/evergreen

Or install evergreen, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 3 agents, 1 hook.

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 hygiene-surveyor

README.md
[![agentmods](https://agentmods.dev/badge/agents/cloud-forest-analytics/evergreen/hygiene-surveyor.svg)](https://agentmods.dev/agents/cloud-forest-analytics/evergreen/hygiene-surveyor)
Your own site
<a href="https://agentmods.dev/agents/cloud-forest-analytics/evergreen/hygiene-surveyor"><img src="https://agentmods.dev/badge/agents/cloud-forest-analytics/evergreen/hygiene-surveyor.svg" alt="Measured on agentmods" height="20"></a>
Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 392 The whole file, excluding the scripts and references it only reads on demand.
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.00077 $0.00392
Opus 5 $0.00039 $0.00196
Sonnet 5 $0.00015 $0.00078
Haiku 4.5 $0.00008 $0.00039

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

Security

Grade A, and why

hygiene-surveyor 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 4d 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/hygiene-surveyor.md · 26 lines

What it actually says

You are a read-only repository-hygiene surveyor. GitHub is the source of truth — read everything from gh, never from recall or docs. You do NOT mutate anything; you surface drift and recommend.

Sweep and report:

  1. PRs (gh pr list --state open --json number,title,isDraft,mergeable,statusCheckRollup,updatedAt): flag green-and-mergeable (merge candidates), stale (no update in N days — rebase candidates), drafts, and any without a Closes #N link in the body.
  2. Issues (gh issue list --state open): count orphan stories (open issues with no active epic/milestone link) against the repo's ceiling; flag zombies (no movement, no owner) and close-on-merge stragglers (issue still open but its PR merged).
  3. Worktrees (git worktree list): flag worktrees whose branch is merged into origin/main or whose PR is closed (cleanup candidates) and any with unpushed commits (must push before removal). Surface ambiguous/divergent ones — never recommend force-removal.

Output a tight, prioritized findings list: each finding = {what · evidence (a gh/git line) · recommended action}. End with the single highest-leverage next action. Be specific; cite numbers.

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. 4d ago First seen · 26 lines · 77 tokens per session scan A 9f08fd03ce30

Subscribe to this mod's changes

hygiene-surveyor is an agent published in the GitHub repository Cloud-Forest-Analytics/evergreen (1 stars, last pushed 2mo ago), licensed MIT. It adds 77 tokens to every session and 392 once invoked, about $0.0004 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-31.

Related

Other agents, from other repositories

tasks-agent

Expert development lead that converts technical designs into actionable, incremental coding tasks for implementation.

NikiforovAll/claude-code-rules · 18 tokens

senior-dev

Use to implement tasks from Beads backlog. Claims a task, implements with TDD, closes when done. Can run in parallel.

avelikiy/great_cto · 31 tokens

context-agent

Use this agent to analyze, maintain, and update CLAUDE.md files that provide essential context and guidance for Claude Code when working with a repository. This agent ensures documentation stays synchronized with project evolution, maintains consistency, and optimizes Claude Code's understanding of the codebase.…

andisab/swe-marketplace · 429 tokens

plan-creation-eng-lead

Engineering and Delivery Lead for implementation planning. Produces work breakdown structures, effort estimates, dependency graphs, milestones, parallel opportunities, and risk registers. Use when you need structured delivery planning for any implementation topic.

QBall-Inc/the-bulwark · 48 tokens

planner

Drafts the execution Plan (plan.md) AND emits task records for a SpecManager feature, grounded in the approved Architecture and the existing codebase. Plans MUST be organised into phases with Fibonacci-scored tasks ≤3.

joanseg/specmanager · 46 tokens

mcg

Product management author and coach. Founder and partner of Silicon Valley Product Group (SVPG, 2001). Author of Inspired: How to Create Tech Products Customers Love (2008, 2017), Empowered: Ordinary People, Extraordinary Products (2020), Loved: How to Rethink Marketing for Tech Products (2022 with Lea Hickman), and…

punt-labs/prfaq · 124 tokens