lenserfight: Agent for Claude Code

.cursor/agents/ci-monitor-subagent.md

ci-monitor-subagent is an agent for Claude Code, Cursor from conectlens/lenserfight. It costs 38 tokens per session (433 once invoked), scanned A, a copy of ci-monitor-subagent, MIT.

A helper agent for checking CI status and managing automated fixes. CI, or continuous integration, runs project checks such as tests when code changes are submitted.

In plain words
What is it for?
It is for fetching CI status, summarizing failed tasks and suggested fixes, and updating self-healing fixes through the configured CI service.
Why use it?
It gives a main agent a focused way to retrieve failures, verification results, and self-healing actions without handling the full CI workflow itself.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

This is conectlens/lenserfight's own configuration. It tells Claude Code and Cursor how to work on lenserfight itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything lenserfight configures →

Reuse

Borrowing it

Nothing to install: this file belongs to conectlens/lenserfight. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/conectlens/lenserfight/main/.cursor/agents/ci-monitor-subagent.md
Clone the repo
git clone --depth 1 https://github.com/conectlens/lenserfight

Made for: Claude Code, Cursor.

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 ci-monitor-subagent

README.md
[![agentmods](https://agentmods.dev/badge/agents/conectlens/lenserfight/ci-monitor-subagent/github.svg)](https://agentmods.dev/agents/conectlens/lenserfight/ci-monitor-subagent)
Your own site
<a href="https://agentmods.dev/agents/conectlens/lenserfight/ci-monitor-subagent"><img src="https://agentmods.dev/badge/agents/conectlens/lenserfight/ci-monitor-subagent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ci-monitor-subagent

Your own site · 80×15
<a href="https://agentmods.dev/agents/conectlens/lenserfight/ci-monitor-subagent"><img src="https://agentmods.dev/badge/agents/conectlens/lenserfight/ci-monitor-subagent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 433 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 100% copy Near-identical to another mod 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.00038 $0.00433
Opus 5 $0.00019 $0.00217
Sonnet 5 $0.00008 $0.00087
Haiku 4.5 $0.00004 $0.00043

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

Security

Grade A, and why

ci-monitor-subagent 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 9d 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.

Origin

This is a copy

100% identical to ci-monitor-subagent — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/agents/ci-monitor-subagent.md · 52 lines

What it actually says

CI Monitor Subagent

You are a CI helper. You call ONE MCP tool per invocation and return the result. Do not loop, poll, or sleep.

Commands

The main agent tells you which command to run:

FETCH_STATUS

Call ci_information with the provided branch and select fields. Return a JSON object with ONLY these fields: { cipeStatus, selfHealingStatus, verificationStatus, selfHealingEnabled, selfHealingSkippedReason, failureClassification, failedTaskIds, verifiedTaskIds, couldAutoApplyTasks, autoApplySkipped, autoApplySkipReason, userAction, cipeUrl, commitSha, shortLink }

FETCH_HEAVY

Call ci_information with heavy select fields. Summarize the heavy content and return:

{
  "shortLink": "...",
  "failedTaskIds": ["..."],
  "verifiedTaskIds": ["..."],
  "suggestedFixDescription": "...",
  "suggestedFixSummary": "...",
  "selfHealingSkipMessage": "...",
  "taskFailureSummaries": [{ "taskId": "...", "summary": "..." }]
}

Do NOT return raw suggestedFix diffs or raw taskOutputSummary — summarize them. The main agent uses these summaries to understand what failed and attempt local fixes.

UPDATE_FIX

Call update_self_healing_fix with the provided shortLink and action (APPLY/REJECT/RERUN_ENVIRONMENT_STATE). Return the result message (success/failure string).

FETCH_THROTTLE_INFO

Call ci_information with the provided URL. Return ONLY: { shortLink, cipeUrl }

Important

  • Execute ONE command and return immediately
  • Do NOT poll, loop, sleep, or make decisions
  • Extract and return ONLY the fields specified for each command — do NOT dump the full MCP response
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. 9d ago First seen · 52 lines · 38 tokens per session scan A 9cba3c3aa072

Subscribe to this mod's changes

ci-monitor-subagent is an agent published in the GitHub repository conectlens/lenserfight (18 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 433 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to ci-monitor-subagent, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

mobile-release-manager

App store submissions, mobile CI/CD, ASO, code signing, and beta distribution specialist. Use when preparing app releases, setting up mobile CI/CD, or managing app store presence. Trigger phrases: app store, Play Store, TestFlight, release, code signing, provisioning profile, Fastlane, ASO, beta, OTA update, version…

travisjneuman/.claude · 77 tokens

devsecops-engineer

CI/CD security, SAST/DAST pipelines, supply chain security, container scanning, and security automation specialist. Use when securing CI/CD pipelines, implementing security scanning, or hardening build processes. Trigger phrases: DevSecOps, SAST, DAST, supply chain security, container scanning, CI/CD security, SBOM…

travisjneuman/.claude · 83 tokens

devops-engineer

Expert DevOps and cloud infrastructure engineer for AWS, GCP, Azure, Kubernetes, Terraform, and CI/CD pipelines. Use when setting up pipelines, containerizing apps, writing infrastructure as code, or troubleshooting deployments.

travisjneuman/.claude · 48 tokens

test-generator

Generates comprehensive test suites using TDD patterns. Use when writing tests, improving coverage, or implementing test-first development.

travisjneuman/.claude · 27 tokens

pr-test-analyzer

Use this agent when you need to review a pull request for test coverage quality and completeness. This agent should be invoked after a PR is created or updated to ensure tests adequately cover new functionality and edge cases.

rjmurillo/ai-agents · 46 tokens

iteration

The iteration agent of /auto. Runs the /auto-iteration-loop skill — an autonomous review loop that consumes /auto-verify's four-state output (PASS / FAIL / INCONCLUSIVE / ZEROELIGIBLEVARIANTS) plus the orthogonal deferred bucket and routes each claim to the right back-edge (① variant-only fix / ② baseline-script fix /…

zjunlp/Mechanist · 143 tokens