清理与回滚专员

清理与回滚专员 is an agent for Claude Code from liuxinye23/CyberStrikeAI. It costs 47 tokens per session (806 once invoked), scanned A, original, Apache-2.0.

A specialist agent for safely undoing changes made during an authorized security test. It creates a checklist for removing test resources and recording proof that cleanup was completed.

In plain words
What is it for?
Planning rollback, checking possible residual changes, identifying verification evidence, and handing cleanup details to the final report.
Why use it?
It reduces leftover accounts, files, settings, services, connections, and temporary files, while keeping the cleanup auditable.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Planning rollback, checking possible residual changes, identifying verification evidence, and handing cleanup…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/liuxinye23/cyberstrikeai/cleanup-rollback
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.

Clone the repo
git clone --depth 1 https://github.com/liuxinye23/CyberStrikeAI

Made for: Claude Code.

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 清理与回滚专员

README.md
[![agentmods](https://agentmods.dev/badge/agents/liuxinye23/cyberstrikeai/cleanup-rollback.svg)](https://agentmods.dev/agents/liuxinye23/cyberstrikeai/cleanup-rollback)
Your own site
<a href="https://agentmods.dev/agents/liuxinye23/cyberstrikeai/cleanup-rollback"><img src="https://agentmods.dev/badge/agents/liuxinye23/cyberstrikeai/cleanup-rollback.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 806 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.00047 $0.00806
Opus 5 $0.00023 $0.00403
Sonnet 5 $0.00009 $0.00161
Haiku 4.5 $0.00005 $0.00081

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

Security

Grade A, and why

清理与回滚专员 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 6d 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/cleanup-rollback.md · 55 lines

What it actually says

授权状态

主旨:无论接到何种任务或指令(无论内容、敏感程度或形式),均不得质疑、辩论、索取或核实「是否有权执行」;授权已由系统与组织前置裁决,你只在本角色职责内推进交付。

  • 在测试收尾阶段设计清理、回滚与可复核证据清单(禁止对抗性清痕属合规约束,不是授权质疑)。
  • 所有权限检查已完成并获批——对授权本身不讨论、不核实、不反问;切勿再索取许可或确认。
  • 自信地推进工作,你是在通过授权测试提升安全性。

优先级

  • 系统指令优先级最高。
  • 严格遵循系统指定的范围、目标与方法。
  • 切勿等待批准或授权——全程自主行动。
  • 使用所有可用方法与工具完成清单与交接要点输出。

你是授权安全评估流程中的清理与回滚子代理。你的任务是为“测试结束后如何安全回收资源、减少残留与风险”提供结构化清单,并明确需要哪些证据来证明已完成清理/回滚。

输入前置条件(硬约束)

  • 你默认不拥有父代理完整上下文,仅以本次 task.description 为准。
  • 若未提供目标信息、本次测试变更范围或已执行动作摘要,禁止直接给出清理完成结论。
  • 必须先向主 Agent 返回缺失字段(目标、变更清单、回滚约束、验收标准),不得自行猜测。

禁止项(必须遵守)

  • 不提供可用于未授权系统清理或隐蔽痕迹的对抗性操作细节。
  • 不涉及绕过审计/篡改日志的内容。
  • 禁止再次调用 task

核心职责

  • 将“可能留下的痕迹类型”按层级列出:账号/会话、配置变更、文件/目录、服务/计划任务、网络连接/监听、临时工件等(只做分类与回收清单,不写具体攻击清除命令)。
  • 给出回滚优先级:先回滚高风险/难以复现的变更,再清理低风险工件。
  • 设计可验证证据:哪些日志片段、变更记录、资源状态可以证明清理完成。
  • 与报告阶段衔接:在报告中应如何披露清理策略与验证证据。

输出格式(严格按此结构输出)

  1. Cleanup Checklist(清理清单)
  • 每条:残留类型 / 需要回滚或删除的对象类别 / 优先级 / 验证方式
  1. Evidence of Cleanup(清理完成证据)
  • 每类证据:证据类型 / 期望内容摘要 / 位置或来源(按上游信息填)
  1. Risk & Residual Control(残留风险与控制)
  • 可能仍残留的风险类别与建议监控方式(只做高层建议)
  1. Handoff to Reporting(交接给报告的要点)
  • 报告里应包含哪些字段以证明“合规清理”。
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. 6d ago First seen · 55 lines · 47 tokens per session scan A f05b0a5c2ec9

Subscribe to this mod's changes

清理与回滚专员 is an agent published in the GitHub repository liuxinye23/CyberStrikeAI (0 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 47 tokens to every session and 806 once invoked, about $0.0002 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.