nextclaw: Skill for Codex

.agents/skills/autonomous-maintainability-campaign/SKILL.md

autonomous-maintainability-campaign is a skill for Codex from Peiiii/nextclaw. It costs 54 tokens per session (566 once invoked), scanned A, original, MIT.

A recurring process for improving code maintainability in controlled batches. It requires a clear goal, allowed scope, stopping rules, notes, and machine-readable state so work can continue safely over multiple iterations.

In plain words
What is it for?
Use it to remove duplication, dead code, incorrect ownership, and unnecessary wrappers one responsibility area at a time, with validation after each batch.
Why use it?
It keeps cleanup work focused and verifiable instead of allowing it to expand into unrelated product changes. It also records what was completed, what remains, and why the process stopped.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is Peiiii/nextclaw's own configuration. It tells Codex how to work on nextclaw 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 nextclaw configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Peiiii/nextclaw. 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/Peiiii/nextclaw/master/.agents/skills/autonomous-maintainability-campaign/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Peiiii/nextclaw

Made for: Codex.

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 autonomous-maintainability-campaign

README.md
[![agentmods](https://agentmods.dev/badge/skills/peiiii/nextclaw/autonomous-maintainability-campaign/github.svg)](https://agentmods.dev/skills/peiiii/nextclaw/autonomous-maintainability-campaign)
Your own site
<a href="https://agentmods.dev/skills/peiiii/nextclaw/autonomous-maintainability-campaign"><img src="https://agentmods.dev/badge/skills/peiiii/nextclaw/autonomous-maintainability-campaign/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 autonomous-maintainability-campaign

Your own site · 80×15
<a href="https://agentmods.dev/skills/peiiii/nextclaw/autonomous-maintainability-campaign"><img src="https://agentmods.dev/badge/skills/peiiii/nextclaw/autonomous-maintainability-campaign.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 566 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00054 $0.00566
Opus 5 $0.00027 $0.00283
Sonnet 5 $0.00011 $0.00113
Haiku 4.5 $0.00005 $0.00057

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

Security

Grade A, and why

autonomous-maintainability-campaign 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.

.agents/skills/autonomous-maintainability-campaign/SKILL.md · 45 lines

What it actually says

自治可维护性治理战役

前提

本 skill 只负责长期治理循环,不重新定义代码、目录或验证规范。启动前必须有明确目标、允许范围、停止条件、当前迭代和可执行的最小验证。

最小状态

在当前有效迭代的 work/ 中维护:

  • working-notes.md:目标、当前事实、已完成批次、剩余候选和下一步;
  • state.json:机器续跑需要的当前批次、状态、验证和更新时间。

只保留当前真相,不写 transcript。没有有效迭代且用户未授权提前留痕时,不为启动战役擅自创建目录。

循环

  1. 读取最小状态和最新工作区事实。
  2. 从候选中只选择一个高置信、范围内、可独立验证的批次。
  3. 按已冻结的标准开发合同完成该批次;结构、死代码等专项只在命中时加载一个 owner,不重新加载上游 lifecycle。
  4. 当前批次实现完成后返回生命周期,由 Validation 与 Review 阶段分别完成风险证明、maintainability 自动检查和条件主观复核。
  5. 写回结果、证据、未解决项和下一批候选。
  6. 只有下一步仍高置信且未命中停止条件时继续。

选择原则

  • 优先删除重复路径、死代码、错误 owner、无语义 wrapper 和明确治理违规。
  • 一个批次只解决一个责任域,不借治理名义扩展产品功能。
  • 显式零增长战役才启用 guard 的 --non-feature;普通清理不靠无关删减抵消行数。
  • 不在 dirty 用户文件上做无法隔离的机械重写,不自动 commit/push/release。

停止

  • 候选需要产品或架构决策;
  • 证据不足、验证环境不可用或将触碰未授权外部状态;
  • 连续候选收益低于调查/回归成本;
  • 用户暂停,或目标已完成。

结束时汇总已完成批次、主要证据、剩余候选、工作区状态和恢复入口。不要把每轮过程输出重新加载为上下文。

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 45 lines · 54 tokens per session scan A 3f39df1c2b4e

Subscribe to this mod's changes

autonomous-maintainability-campaign is a skill published in the GitHub repository Peiiii/nextclaw (256 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 566 once invoked, about $0.0003 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 skills, from other repositories

openclaw-github-dedupe

Investigate a cluster of GitHub issues and PRs, determine canonical candidates, post duplicate/related status, preserve contributor credit, and execute cleanup actions. Supports autonomous mode for provided-link-only closeout, merge/fix follow-through, changelog, and post-merge issue/PR cleanup.

vincentkoc/dotskills · 68 tokens

openclaw-pr-batch-sweep

Select, review, repair, validate, and land batches of up to 20 low-risk OpenClaw contributor pull requests using Vincent's maintainer preferences and bounded sub-agent lanes. Use for "next 20", broad contributor PR sweeps, merge-candidate mining, or continued PR-batch work where drafts, maintainer work, trivial…

vincentkoc/dotskills · 95 tokens

semantic-slicing

Build local semantic review slices by combining clawpatch feature maps, deepsec threat candidates, visual review maps, and optional gitcrawl/discrawl evidence for repos such as openclaw/openclaw.

vincentkoc/dotskills · 43 tokens

technical-deslop

Remove AI-style noise from staged and branch diffs while preserving behavior and repository style.

vincentkoc/dotskills · 21 tokens

claude_code_delegation

Delegate coding, review, and refactor tasks to Claude Code CLI through Row-Bot's approval-gated shell workflow.

siddsachar/row-bot · 31 tokens

verify-implementation

A workflow that runs a project’s verification skills to produce a report on coding patterns, architecture rules, and project conventions. It is intended for work after implementation, before a pull request, or during code review.

sangrokjung/claude-forge · 37 tokens