project-scanner

project-scanner is an agent for Claude Code from Lifecycle-Innovations-Limited/claude-ops. It costs 19 tokens per session (1,101 once invoked), scanned A, original, MIT.

A read-only project checker for registered repositories and external services. It reports Git branch and file-change status, pull-request and CI information, and health data for services that are not local repositories.

In plain words
What is it for?
Use it to scan repositories for branch, uncommitted-change, commit, pull-request, and CI status, and to check registered Shopify, Linear, Slack, Notion, or custom projects.
Why use it?
It replaces separate checks across many projects with one consistent status report, while keeping external services in the same project list.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ops plugin — 66 skills, 21 agents, 5 hooks, 1 MCP server shipped together

Good fit Use it to scan repositories for branch, uncommitted-change, commit, pull-request, and CI status, and to check registered Shopify, Linear, Slack, Notion, or custom projects.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Lifecycle-Innovations-Limited/claude-ops
Claude Code
/plugin install ops

Made for: Claude Code.

Or install ops, the plugin that ships this one along with the rest of its 66 skills, 21 agents, 5 hooks, 1 MCP server.

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 project-scanner

README.md
[![agentmods](https://agentmods.dev/badge/agents/lifecycle-innovations-limited/claude-ops/project-scanner.svg)](https://agentmods.dev/agents/lifecycle-innovations-limited/claude-ops/project-scanner)
Your own site
<a href="https://agentmods.dev/agents/lifecycle-innovations-limited/claude-ops/project-scanner"><img src="https://agentmods.dev/badge/agents/lifecycle-innovations-limited/claude-ops/project-scanner.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,101 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00019 $0.01101
Opus 5 $0.00010 $0.00550
Sonnet 5 $0.00004 $0.00220
Haiku 4.5 $0.00002 $0.00110

Measured 7d ago against content hash 7c4c8d1ec754, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

project-scanner 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 7d 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.

claude-ops/agents/project-scanner.md · 143 lines

How it starts

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

PROJECT SCANNER AGENT

Scan all registered projects for git/PR/CI status. Read-only.

Task

Load the project registry:

cat "${CLAUDE_PLUGIN_ROOT}/scripts/registry.json" 2>/dev/null || echo '{}'

For each project in the registry, run these checks in parallel.

Important: Projects with "type": "external" have no local paths or git repos. For these, run the external health check instead:

${CLAUDE_PLUGIN_ROOT}/bin/ops-external 2>/dev/null || echo '[]'

Include external projects in the output under the same projects[] array with "source" set to their type (shopify/linear/slack/notion/custom) and git/PR fields set to null.

Per-project git checks (repo-based projects only)

PROJECT_PATH="[expanded path]"

# Branch and dirty state
branch=$(git -C "$PROJECT_PATH" branch --show-current 2>/dev/null)
dirty=$(git -C "$PROJECT_PATH" status --porcelain 2>/dev/null | wc -l | tr -d ' ')
ahead=$(git -C "$PROJECT_PATH" rev-list --count @{u}..HEAD 2>/dev/null || echo 0)
behind=$(git -C "$PROJECT_PATH" rev-list --count HEAD..@{u} 2>/dev/null || echo 0)
last_commit=$(git -C "$PROJECT_PATH" log -1 --format="%h %s %ar" 2>/dev/null)

echo "{\"branch\":\"$branch\",\"dirty\":$dirty,\"ahead\":$ahead,\"behind\":$behind,\"last_commit\":\"$last_commit\"}"

GSD state

if [ -f "$PROJECT_PATH/.planning/STATE.md" ]; then
  cat "$PROJECT_PATH/.planning/STATE.md" | head -20
fi

Open PRs (if GitHub repo)

REPO=$(git -C "$PROJECT_PATH" remote get-url origin 2>/dev/null | sed 's/.*github.com[:/]//' | sed 's/\.git$//')
gh pr list --repo "$REPO" --state open \
  --json number,title,headRefName,statusCheckRollup,reviewDecision,isDraft,createdAt 2>/dev/null

Output format

{
  "timestamp": "[ISO8601]",
  "projects": [
    {
      "alias": "[alias]",
      "name": "[name]",
      "path": "[path]",
      "git": {
        "branch": "[branch]",
        "dirty": 0,
        "ahead": 0,
        "behind": 0,
        "last_commit": "[hash message age]"
      },
      "gsd": {
        "enabled": true,
        "current_phase": "[N.N]",
        "phase_name": "[name]",
        "progress": "[percent or description]"
      },
      "prs": [
        {
          "number": 0,
          "title": "[title]",
          "branch": "[branch]",
          "ci": "success|failure|pending|none",
          "review": "approved|changes_requested|pending|none",
          "draft": false,
          "ready_to_merge": false,
          "created_at": "[ISO8601]"
        }
      ],
      "health": "clean|dirty|behind|ahead|stale"
    },
    {
      "alias": "[alias]",
      "name": "[name]",
      "source": "shopify|linear|slack|notion|custom",
      "type": "external",
      "git": null,
      "gsd": null,
      "prs": null,
      "external_status": "healthy|auth_expired|unreachable|degraded|not_configured|discovered",
      "external_details": {},
      "health": "healthy|degraded|unreachable|auth_expired|not_configured"
    }
  ],
  "summary": {
    "total_projects": 0,
    "total_repo_projects": 0,
    "total_external_projects": 0,
    "dirty": 0,
    "ready_to_merge_prs": 0,
    "stale_branches": 0,
    "external_unhealthy": 0
  }
}

Read the full file on GitHub · 143 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. 7d ago First seen · 143 lines · 19 tokens per session scan A 7c4c8d1ec754

Subscribe to this mod's changes

project-scanner is an agent published in the GitHub repository Lifecycle-Innovations-Limited/claude-ops (186 stars, last pushed yesterday), licensed MIT. It adds 19 tokens to every session and 1,101 once invoked, about $0.0001 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.

Related

Other agents, from other repositories

catchup-runner

Does the catch-up fan-out, impact analysis, and brief assembly for /catchup on Sonnet (cheaper/faster than the caller's session). Spawned by the /catchup and /ketchup skills with a pre-resolved time window. Not user-invoked directly.

oliver-kriska/claude-elixir-phoenix · 63 tokens

commit

Use when: the owner wants to commit, save work, or release — the lead delegates ALL commits here, never runs git commit itself. Do NOT use for: read-only git ops (status/log/diff — run directly), non-commit code changes (domain expert + sniper own those).

fusengine/agents · 63 tokens

consistency-and-history

Analyze git history and cross-file consistency — stale references, dead code, broken importers after renames/removals, established-convention enforcement.

ncoevoet/claude-review-all · 34 tokens

git-workflow

Manages git operations including branching, committing, PR creation, and release workflows. Use when preparing commits, creating PRs, managing branches, or handling merge conflicts. Enforces conventional commits and branch protection rules.

borghei/Claude-Skills · 46 tokens

release-agent

Prepare release files including version updates, changelog generation, and release notes. Validates prerequisites and prepares for Opus review. Does NOT commit or publish.

Edmonds-Commerce-Limited/claude-code-hooks-daemon · 34 tokens

git-policy-auditor

Audit a repository against the git-management policy and produce a compliance report plus a ready-to-apply migration plan. Read-only — it inspects and proposes, never mutates. Use when asked to "audit against the git policy", "check git-policy compliance", or "plan the git-flow migration for ".

gf-labs/claude-toolbox · 72 tokens